1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210 #define SWIGTYPE_p_wxRealPoint swig_types[1]
211 #define SWIGTYPE_p_wxSizerItem swig_types[2]
212 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
214 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215 #define SWIGTYPE_p_wxSizer swig_types[6]
216 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
217 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221 #define SWIGTYPE_p_wxMenu swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 #define SWIGTYPE_p_wxGridSizer swig_types[14]
224 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226 #define SWIGTYPE_p_wxItemContainer swig_types[17]
227 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
229 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxFont swig_types[25]
235 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237 #define SWIGTYPE_p_wxFSFile swig_types[28]
238 #define SWIGTYPE_p_wxCaret swig_types[29]
239 #define SWIGTYPE_p_wxRegion swig_types[30]
240 #define SWIGTYPE_p_wxPoint2D swig_types[31]
241 #define SWIGTYPE_p_int swig_types[32]
242 #define SWIGTYPE_p_wxSize swig_types[33]
243 #define SWIGTYPE_p_wxDC swig_types[34]
244 #define SWIGTYPE_p_wxPySizer swig_types[35]
245 #define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246 #define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyEvent swig_types[38]
248 #define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249 #define SWIGTYPE_p_wxAppTraits swig_types[40]
250 #define SWIGTYPE_p_wxArrayString swig_types[41]
251 #define SWIGTYPE_p_wxShowEvent swig_types[42]
252 #define SWIGTYPE_p_wxToolTip swig_types[43]
253 #define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
256 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
257 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
258 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260 #define SWIGTYPE_p_wxIdleEvent swig_types[51]
261 #define SWIGTYPE_p_wxMenuItem swig_types[52]
262 #define SWIGTYPE_p_wxStaticBox swig_types[53]
263 #define SWIGTYPE_p_long swig_types[54]
264 #define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265 #define SWIGTYPE_p_wxXPMHandler swig_types[56]
266 #define SWIGTYPE_p_wxPNMHandler swig_types[57]
267 #define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268 #define SWIGTYPE_p_wxPCXHandler swig_types[59]
269 #define SWIGTYPE_p_wxGIFHandler swig_types[60]
270 #define SWIGTYPE_p_wxPNGHandler swig_types[61]
271 #define SWIGTYPE_p_wxANIHandler swig_types[62]
272 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
274 #define SWIGTYPE_p_wxCURHandler swig_types[65]
275 #define SWIGTYPE_p_wxICOHandler swig_types[66]
276 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
277 #define SWIGTYPE_p_wxImageHandler swig_types[68]
278 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282 #define SWIGTYPE_p_wxRect swig_types[73]
283 #define SWIGTYPE_p_wxGBSpan swig_types[74]
284 #define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285 #define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286 #define SWIGTYPE_p_char swig_types[77]
287 #define SWIGTYPE_p_wxGBPosition swig_types[78]
288 #define SWIGTYPE_p_wxImage swig_types[79]
289 #define SWIGTYPE_p_wxFrame swig_types[80]
290 #define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291 #define SWIGTYPE_p_wxImageHistogram swig_types[82]
292 #define SWIGTYPE_p_byte swig_types[83]
293 #define SWIGTYPE_p_wxPoint swig_types[84]
294 #define SWIGTYPE_p_wxCursor swig_types[85]
295 #define SWIGTYPE_p_wxObject swig_types[86]
296 #define SWIGTYPE_p_wxPyInputStream swig_types[87]
297 #define SWIGTYPE_p_wxOutputStream swig_types[88]
298 #define SWIGTYPE_p_wxInputStream swig_types[89]
299 #define SWIGTYPE_p_wxDateTime swig_types[90]
300 #define SWIGTYPE_p_wxKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303 #define SWIGTYPE_p_wxWindow swig_types[94]
304 #define SWIGTYPE_p_wxMenuBar swig_types[95]
305 #define SWIGTYPE_p_wxFileSystem swig_types[96]
306 #define SWIGTYPE_p_wxBitmap swig_types[97]
307 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
308 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309 #define SWIGTYPE_p_unsigned_char swig_types[100]
310 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
311 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
312 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
313 #define SWIGTYPE_p_wxPyApp swig_types[104]
314 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317 #define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxFocusEvent swig_types[109]
319 #define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320 #define SWIGTYPE_p_wxControlWithItems swig_types[111]
321 #define SWIGTYPE_p_wxColour swig_types[112]
322 #define SWIGTYPE_p_wxValidator swig_types[113]
323 #define SWIGTYPE_p_wxPyValidator swig_types[114]
324 static swig_type_info
*swig_types
[116];
326 /* -------- TYPES TABLE (END) -------- */
329 /*-----------------------------------------------
330 @(target):= _core_.so
331 ------------------------------------------------*/
332 #define SWIG_init init_core_
334 #define SWIG_name "_core_"
336 /* Auxiliar swig macros */
339 #define SWIGSTATICINLINE(a) static inline a
340 #define SWIGSTATIC(a) static a
341 #define swig_new_array(type, size) (new type[(size)])
342 #define swig_delete_array(cptr) delete[] cptr
343 #define swig_const_cast(type,a) const_cast<type>(a)
344 #define swig_static_cast(type,a) static_cast<type>(a)
345 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
347 #ifdef HAVE_NUMERIC_CAST
348 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
350 #define swig_numeric_cast(type,a) static_cast<type>(a)
355 #define SWIGSTATICINLINE(a) static a
356 #define SWIGSTATIC(a) static a
357 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358 #define swig_delete_array(cptr) free((char*)cptr)
359 #define swig_const_cast(type,a) (type)(a)
360 #define swig_static_cast(type,a) (type)(a)
361 #define swig_reinterpret_cast(type,a) (type)(a)
362 #define swig_numeric_cast(type,a) (type)(a)
364 #endif /* __cplusplus */
367 #define SWIG_FromSignedChar PyInt_FromLong
368 #define SWIG_FromUnsignedChar PyInt_FromLong
369 #define SWIG_FromShort PyInt_FromLong
370 #define SWIG_FromUnsignedShort PyInt_FromLong
371 #define SWIG_FromInt PyInt_FromLong
372 #define SWIG_FromLong PyInt_FromLong
373 #define SWIG_FromFloat PyFloat_FromDouble
374 #define SWIG_FromDouble PyFloat_FromDouble
375 #define SWIG_FromFloat PyFloat_FromDouble
376 #define SWIG_FromDouble PyFloat_FromDouble
379 #include "wx/wxPython/wxPython_int.h"
380 #include "wx/wxPython/pyclasses.h"
383 #ifndef wxPyUSE_EXPORT
384 // Helper functions for dealing with SWIG objects and such. These are
385 // located here so they know about the SWIG types and functions declared
386 // in the wrapper code.
388 #include <wx/hashmap.h>
389 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
392 // Maintains a hashmap of className to swig_type_info pointers. Given the
393 // name of a class either looks up the type info in the cache, or scans the
394 // SWIG tables for it.
395 extern PyObject
* wxPyPtrTypeMap
;
397 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
399 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
401 if (typeInfoCache
== NULL
)
402 typeInfoCache
= new wxPyTypeInfoHashMap
;
404 wxString
name(className
);
405 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
408 // it wasn't in the cache, so look it up from SWIG
409 name
.Append(wxT(" *"));
410 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
412 // if it still wasn't found, try looking for a mapped name
417 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
418 (char*)(const char*)name
.mbc_str())) != NULL
) {
419 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
420 name
.Append(wxT(" *"));
421 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
425 // and add it to the map if found
426 (*typeInfoCache
)[className
] = swigType
;
433 // Check if a class name is a type known to SWIG
434 bool wxPyCheckSwigType(const wxChar
* className
) {
436 swig_type_info
* swigType
= wxPyFindSwigType(className
);
437 return swigType
!= NULL
;
441 // Given a pointer to a C++ object and a class name, construct a Python proxy
443 PyObject
* wxPyConstructObject(void* ptr
,
444 const wxChar
* className
,
447 swig_type_info
* swigType
= wxPyFindSwigType(className
);
448 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
450 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
454 // Extract a pointer to the wrapped C++ object from a Python proxy object.
455 // Ensures that the proxy object is of the specified (or derived) type. If
456 // not able to perform the conversion then a Python exception is set and the
457 // error should be handled properly in the caller. Returns True on success.
458 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
459 const wxChar
* className
) {
461 swig_type_info
* swigType
= wxPyFindSwigType(className
);
462 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
464 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
468 // Make a SWIGified pointer object suitable for a .this attribute
469 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
471 PyObject
* robj
= NULL
;
473 swig_type_info
* swigType
= wxPyFindSwigType(className
);
474 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
476 #ifdef SWIG_COBJECT_TYPES
477 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
483 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
484 strcpy(r
, swigType
->name
);
485 robj
= PyString_FromString(result
);
495 // Export a C API in a struct. Other modules will be able to load this from
496 // the wx._core_ module and will then have safe access to these functions,
497 // even if they are located in another shared library.
498 static wxPyCoreAPI API
= {
500 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
501 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
502 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
503 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
504 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
505 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
506 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
507 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
508 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
509 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
510 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
511 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
512 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
513 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
514 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
515 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
516 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
523 wxPyBeginAllowThreads
,
525 wxPyBeginBlockThreads
,
539 wxBitmap_LIST_helper
,
540 wxString_LIST_helper
,
541 wxAcceleratorEntry_LIST_helper
,
550 wxPySimple_typecheck
,
553 wxPyCBH_setCallbackInfo
,
554 wxPyCBH_findCallback
,
555 wxPyCBH_callCallback
,
556 wxPyCBH_callCallbackObj
,
564 wxArrayString2PyList_helper
,
565 wxArrayInt2PyList_helper
,
569 wxPyOORClientData_dtor
,
571 wxPyCBInputStream_create
,
574 wxPySwigInstance_Check
,
584 enum wxHotkeyModifier
592 #define wxEVT_HOTKEY 9999
595 static const wxString
wxPyEmptyString(wxEmptyString
);
596 wxString
wxObject_GetClassName(wxObject
*self
){
597 return self
->GetClassInfo()->GetClassName();
599 void wxObject_Destroy(wxObject
*self
){
604 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
611 SWIGSTATICINLINE(long)
612 SWIG_CheckLongInRange(long value
, const char* type
,
613 long min_value
, long max_value
)
615 if (!PyErr_Occurred()) {
616 if (value
< min_value
) {
618 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
619 value
, type
, min_value
);
621 PyErr_SetObject(PyExc_OverflowError
, err
);
623 } else if (value
> max_value
) {
625 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
626 value
, type
, max_value
);
627 PyErr_SetObject(PyExc_OverflowError
, err
);
635 SWIGSTATICINLINE(long)
636 SWIG_AsLong(PyObject
* obj
)
638 if (PyNumber_Check(obj
))
639 return PyInt_AsLong(obj
);
641 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
642 obj
->ob_type
->tp_name
);
643 PyErr_SetObject(PyExc_TypeError
, errmsg
);
650 #if INT_MAX != LONG_MAX
651 SWIGSTATICINLINE(int)
652 SWIG_AsInt(PyObject
*obj
)
654 return swig_numeric_cast(int,
655 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
656 "int", INT_MIN
, INT_MAX
));
659 #define SWIG_AsInt SWIG_AsLong
663 SWIGSTATICINLINE(int)
664 SWIG_CheckInt(PyObject
* obj
)
667 if (PyErr_Occurred()) {
675 PyObject
*wxSize_Get(wxSize
*self
){
676 bool blocked
= wxPyBeginBlockThreads();
677 PyObject
* tup
= PyTuple_New(2);
678 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
679 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
680 wxPyEndBlockThreads(blocked
);
684 SWIGSTATICINLINE(double)
685 SWIG_AsDouble(PyObject
*obj
)
687 if (PyNumber_Check(obj
))
688 return PyFloat_AsDouble(obj
);
690 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
691 obj
->ob_type
->tp_name
);
692 PyErr_SetObject(PyExc_TypeError
, errmsg
);
699 SWIGSTATICINLINE(int)
700 SWIG_CheckDouble(PyObject
* obj
)
703 if (PyErr_Occurred()) {
711 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
715 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
716 bool blocked
= wxPyBeginBlockThreads();
717 PyObject
* tup
= PyTuple_New(2);
718 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
719 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
720 wxPyEndBlockThreads(blocked
);
724 SWIGSTATICINLINE(int)
725 SWIG_CheckLong(PyObject
* obj
)
728 if (PyErr_Occurred()) {
736 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
740 PyObject
*wxPoint_Get(wxPoint
*self
){
741 bool blocked
= wxPyBeginBlockThreads();
742 PyObject
* tup
= PyTuple_New(2);
743 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
744 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
745 wxPyEndBlockThreads(blocked
);
748 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
752 self
->height
= height
;
754 PyObject
*wxRect_Get(wxRect
*self
){
755 bool blocked
= wxPyBeginBlockThreads();
756 PyObject
* tup
= PyTuple_New(4);
757 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
758 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
759 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
760 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
761 wxPyEndBlockThreads(blocked
);
765 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
768 wxRect
dest(0,0,0,0);
771 reg1
.Intersect(reg2
);
772 dest
= reg1
.GetBox();
774 if (dest
!= wxRect(0,0,0,0)) {
775 bool blocked
= wxPyBeginBlockThreads();
776 wxRect
* newRect
= new wxRect(dest
);
777 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
778 wxPyEndBlockThreads(blocked
);
786 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
792 } else if (target
== Py_None
) {
796 if (!PyTuple_Check(target
)) {
798 target
= PyTuple_New(1);
799 PyTuple_SetItem(target
, 0, o2
);
802 PyTuple_SetItem(o3
, 0, o
);
805 target
= PySequence_Concat(o2
, o3
);
812 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
816 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
817 bool blocked
= wxPyBeginBlockThreads();
818 PyObject
* tup
= PyTuple_New(2);
819 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
820 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
821 wxPyEndBlockThreads(blocked
);
825 #include "wx/wxPython/pyistream.h"
827 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
828 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
830 return new wxPyInputStream(wxis
);
835 SWIGSTATICINLINE(PyObject
*)
836 SWIG_FromChar(char c
)
838 return PyString_FromStringAndSize(&c
,1);
842 SWIGSTATICINLINE(PyObject
* )
843 SWIG_FromUnsignedLong(unsigned long value
)
845 return (value
> LONG_MAX
) ?
846 PyLong_FromUnsignedLong(value
)
847 : PyInt_FromLong(swig_numeric_cast(long,value
));
851 /* returns '1' if the input is a raw char*, '0' if is a PyString */
853 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
855 static swig_type_info
* pchar_info
= 0;
857 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
859 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
861 PyString_AsStringAndSize(obj
, cptr
, &psize
);
862 if (PyErr_Occurred()) {
864 PyErr_SetString(PyExc_TypeError
,"a string is expected");
866 if (size
) *size
= psize
;
869 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
876 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
878 char* cptr
; size_t csize
;
879 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
880 if (PyErr_Occurred()) {
883 PyString_FromFormat("a char array of size %d is expected", size
);
884 PyErr_SetObject(PyExc_TypeError
, err
);
887 /* in C (but not in C++) you can do:
891 ie, assing the array using an extra '0' char.
894 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
898 PyString_FromFormat("a char array of maximum size %d is expected",
900 PyErr_SetObject(PyExc_TypeError
, err
);
903 if (csize
) memcpy(carray
, cptr
, csize
);
904 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
910 SWIGSTATICINLINE(char)
911 SWIG_AsChar(PyObject
*obj
)
914 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
915 c
= swig_numeric_cast(char,
916 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
917 "char", CHAR_MIN
, CHAR_MAX
));
919 SWIG_AsCharArray(obj
, &c
, 1);
920 if (PyErr_Occurred()) {
922 PyErr_SetString(PyExc_TypeError
, "a char is expected");
929 SWIGSTATICINLINE(int)
930 SWIG_CheckChar(PyObject
* obj
)
933 if (PyErr_Occurred()) {
941 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
942 // We use only strings for the streams, not unicode
943 PyObject
* str
= PyObject_Str(obj
);
945 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
948 self
->Write(PyString_AS_STRING(str
),
949 PyString_GET_SIZE(str
));
953 #include "wx/wxPython/pyistream.h"
956 class wxPyFileSystemHandler
: public wxFileSystemHandler
959 wxPyFileSystemHandler() : wxFileSystemHandler() {}
961 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
962 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
963 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
964 DEC_PYCALLBACK_STRING__pure(FindNext
);
966 wxString
GetProtocol(const wxString
& location
) {
967 return wxFileSystemHandler::GetProtocol(location
);
970 wxString
GetLeftLocation(const wxString
& location
) {
971 return wxFileSystemHandler::GetLeftLocation(location
);
974 wxString
GetAnchor(const wxString
& location
) {
975 return wxFileSystemHandler::GetAnchor(location
);
978 wxString
GetRightLocation(const wxString
& location
) {
979 return wxFileSystemHandler::GetRightLocation(location
);
982 wxString
GetMimeTypeFromExt(const wxString
& location
) {
983 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
990 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
991 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
992 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
993 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
996 SWIGSTATICINLINE(bool)
997 SWIG_AsBool(PyObject
*obj
)
999 return PyObject_IsTrue(obj
) ? true : false;
1003 SWIGSTATICINLINE(int)
1004 SWIG_CheckBool(PyObject
* obj
)
1007 if (PyErr_Occurred()) {
1016 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1017 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1018 return fname
.GetFullPath();
1022 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1025 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1028 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1029 const wxBitmap
& bitmap
,
1031 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1034 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1036 wxMemoryFSHandler::AddFile(filename
,
1037 // TODO: Verify data type
1038 (void*)PyString_AsString(data
),
1039 (size_t)PyString_Size(data
));
1043 #include "wx/wxPython/pyistream.h"
1046 SWIGSTATICINLINE(unsigned long)
1047 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1048 unsigned long max_value
)
1050 if (!PyErr_Occurred()) {
1051 if (value
> max_value
) {
1053 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1054 value
, type
, max_value
);
1055 PyErr_SetObject(PyExc_OverflowError
, err
);
1063 SWIGSTATICINLINE(unsigned long)
1064 SWIG_AsUnsignedLong(PyObject
* obj
)
1066 if (PyLong_Check(obj
)) {
1067 return PyLong_AsUnsignedLong(obj
);
1069 long i
= SWIG_AsLong(obj
);
1070 if ( !PyErr_Occurred() && (i
< 0)) {
1071 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1078 SWIGSTATICINLINE(unsigned char)
1079 SWIG_AsUnsignedChar(PyObject
*obj
)
1081 return swig_numeric_cast(unsigned char,
1082 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1083 "unsigned char", UCHAR_MAX
));
1087 SWIGSTATICINLINE(int)
1088 SWIG_CheckUnsignedChar(PyObject
* obj
)
1090 SWIG_AsUnsignedChar(obj
);
1091 if (PyErr_Occurred()) {
1099 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1100 if (width
> 0 && height
> 0)
1101 return new wxImage(width
, height
, clear
);
1105 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1106 return new wxImage(bitmap
.ConvertToImage());
1108 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1109 // Copy the source data so the wxImage can clean it up later
1110 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1115 memcpy(copy
, data
, width
*height
*3);
1116 return new wxImage(width
, height
, copy
, False
);
1118 wxSize
wxImage_GetSize(wxImage
*self
){
1119 wxSize
size(self
->GetWidth(), self
->GetHeight());
1122 PyObject
*wxImage_GetData(wxImage
*self
){
1123 unsigned char* data
= self
->GetData();
1124 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1126 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1129 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1130 unsigned char* dataPtr
;
1132 if (! PyString_Check(data
)) {
1133 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1137 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1138 dataPtr
= (unsigned char*) malloc(len
);
1139 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1140 self
->SetData(dataPtr
);
1141 // wxImage takes ownership of dataPtr...
1143 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1144 unsigned char* data
= self
->GetData();
1145 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1147 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1150 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1151 unsigned char* buffer
;
1154 bool blocked
= wxPyBeginBlockThreads();
1155 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1158 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1159 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1162 self
->SetData(buffer
);
1164 wxPyEndBlockThreads(blocked
);
1166 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1167 unsigned char* data
= self
->GetAlpha();
1171 int len
= self
->GetWidth() * self
->GetHeight();
1173 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1177 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1178 unsigned char* dataPtr
;
1180 if (! PyString_Check(data
)) {
1181 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1185 size_t len
= self
->GetWidth() * self
->GetHeight();
1186 dataPtr
= (unsigned char*) malloc(len
);
1187 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1188 self
->SetAlpha(dataPtr
);
1189 // wxImage takes ownership of dataPtr...
1191 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1192 unsigned char* data
= self
->GetAlpha();
1193 int len
= self
->GetWidth() * self
->GetHeight();
1195 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1198 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1199 unsigned char* buffer
;
1202 bool blocked
= wxPyBeginBlockThreads();
1203 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1206 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1207 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1210 self
->SetAlpha(buffer
);
1212 wxPyEndBlockThreads(blocked
);
1215 SWIGSTATICINLINE(int)
1216 SWIG_CheckUnsignedLong(PyObject
* obj
)
1218 SWIG_AsUnsignedLong(obj
);
1219 if (PyErr_Occurred()) {
1227 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1228 wxBitmap
bitmap(*self
);
1231 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1232 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1233 wxBitmap
bitmap( mono
, 1 );
1236 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1237 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1238 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1239 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1240 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1241 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1242 if (PyCallable_Check(func
)) {
1243 self
->Connect(id
, lastId
, eventType
,
1244 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1245 new wxPyCallback(func
));
1247 else if (func
== Py_None
) {
1248 self
->Disconnect(id
, lastId
, eventType
,
1249 (wxObjectEventFunction
)
1250 &wxPyCallback::EventThunker
);
1254 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1257 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1258 return self
->Disconnect(id
, lastId
, eventType
,
1259 (wxObjectEventFunction
)
1260 &wxPyCallback::EventThunker
);
1262 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1263 if (_self
&& _self
!= Py_None
) {
1264 self
->SetClientObject(new wxPyOORClientData(_self
));
1267 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1269 self
->SetClientObject(NULL
); // This will delete it too
1273 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1275 return self
->GetUnicodeKey();
1281 #if UINT_MAX < LONG_MAX
1282 #define SWIG_FromUnsignedInt SWIG_FromLong
1284 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1288 #if UINT_MAX != ULONG_MAX
1289 SWIGSTATICINLINE(unsigned int)
1290 SWIG_AsUnsignedInt(PyObject
*obj
)
1292 return swig_numeric_cast(unsigned int,
1293 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1294 "unsigned int", UINT_MAX
));
1297 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1301 SWIGSTATICINLINE(int)
1302 SWIG_CheckUnsignedInt(PyObject
* obj
)
1304 SWIG_AsUnsignedInt(obj
);
1305 if (PyErr_Occurred()) {
1313 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1314 self
->m_size
= size
;
1316 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1319 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1320 int count
= self
->GetNumberOfFiles();
1321 wxString
* files
= self
->GetFiles();
1322 PyObject
* list
= PyList_New(count
);
1325 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1329 for (int i
=0; i
<count
; i
++) {
1330 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1336 wxPyApp
*new_wxPyApp(){
1337 wxPythonApp
= new wxPyApp();
1340 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1342 void wxApp_CleanUp() {
1347 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1352 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1353 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1354 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1355 wxWindowList
& list
= self
->GetChildren();
1356 return wxPy_ConvertList(&list
);
1358 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1360 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1365 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1372 long wxWindow_GetHandle(wxWindow
*self
){
1373 return wxPyGetWinHandle(self
);
1376 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1377 return wxWindow::FindWindowById(id
, parent
);
1380 wxWindow
* wxFindWindowByName( const wxString
& name
,
1381 const wxWindow
*parent
= NULL
) {
1382 return wxWindow::FindWindowByName(name
, parent
);
1385 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1386 const wxWindow
*parent
= NULL
) {
1387 return wxWindow::FindWindowByLabel(label
, parent
);
1392 #include <wx/msw/private.h> // to get wxGetWindowId
1396 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1398 WXHWND hWnd
= (WXHWND
)_hWnd
;
1399 long id
= wxGetWindowId(hWnd
);
1400 wxWindow
* win
= new wxWindow
;
1401 parent
->AddChild(win
);
1402 win
->SetEventHandler(win
);
1405 win
->SubclassWin(hWnd
);
1406 win
->AdoptAttributesFromHWND();
1407 win
->SetupColours();
1410 wxPyRaiseNotImplemented();
1416 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1418 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1420 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1422 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1423 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1424 wxMenuItemList
& list
= self
->GetMenuItems();
1425 return wxPy_ConvertList(&list
);
1427 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1428 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1429 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1431 wxPyClientData
* data
= new wxPyClientData(clientData
);
1432 return self
->Append(item
, data
);
1434 return self
->Append(item
);
1436 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1438 wxPyClientData
* data
= new wxPyClientData(clientData
);
1439 return self
->Insert(item
, pos
, data
);
1441 return self
->Insert(item
, pos
);
1443 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1444 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1446 Py_INCREF(data
->m_obj
);
1453 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1454 wxPyClientData
* data
= new wxPyClientData(clientData
);
1455 self
->SetClientObject(n
, data
);
1459 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1460 wxPyUserData
* data
= NULL
;
1462 bool blocked
= wxPyBeginBlockThreads();
1463 data
= new wxPyUserData(userData
);
1464 wxPyEndBlockThreads(blocked
);
1466 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1468 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1469 wxPyUserData
* data
= NULL
;
1471 bool blocked
= wxPyBeginBlockThreads();
1472 data
= new wxPyUserData(userData
);
1473 wxPyEndBlockThreads(blocked
);
1475 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1477 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1478 wxPyUserData
* data
= NULL
;
1480 bool blocked
= wxPyBeginBlockThreads();
1481 data
= new wxPyUserData(userData
);
1482 wxPyEndBlockThreads(blocked
);
1484 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1490 SWIG_FloatCast(double value
)
1493 if (!PyErr_Occurred()) {
1494 if (value
< FLT_MIN
) {
1496 PyString_FromFormat("value %g is less than float minimum %g",
1498 PyErr_SetObject(PyExc_OverflowError
, err
);
1500 } else if (value
> FLT_MAX
) {
1502 PyString_FromFormat("value %g is greater than float maximum %g",
1504 PyErr_SetObject(PyExc_OverflowError
, err
);
1507 f
= swig_numeric_cast(float, value
);
1514 SWIGSTATICINLINE(float)
1515 SWIG_AsFloat(PyObject
*obj
)
1517 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1521 SWIGSTATICINLINE(int)
1522 SWIG_CheckFloat(PyObject
* obj
)
1525 if (PyErr_Occurred()) {
1533 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1534 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1536 Py_INCREF(data
->m_obj
);
1544 // Figure out the type of the sizer item
1546 struct wxPySizerItemInfo
{
1548 : window(NULL
), sizer(NULL
), gotSize(False
),
1549 size(wxDefaultSize
), gotPos(False
), pos(-1)
1560 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1562 wxPySizerItemInfo info
;
1564 wxSize
* sizePtr
= &size
;
1566 // Find out what the type of the item is
1568 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1573 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1577 // try wxSize or (w,h)
1578 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1579 info
.size
= *sizePtr
;
1580 info
.gotSize
= True
;
1584 if (checkIdx
&& PyInt_Check(item
)) {
1585 info
.pos
= PyInt_AsLong(item
);
1591 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1592 // no expected type, figure out what kind of error message to generate
1593 if ( !checkSize
&& !checkIdx
)
1594 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1595 else if ( checkSize
&& !checkIdx
)
1596 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1597 else if ( !checkSize
&& checkIdx
)
1598 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1600 // can this one happen?
1601 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1607 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1608 if (!self
->GetClientObject())
1609 self
->SetClientObject(new wxPyOORClientData(_self
));
1611 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1613 wxPyUserData
* data
= NULL
;
1614 bool blocked
= wxPyBeginBlockThreads();
1615 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1616 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1617 data
= new wxPyUserData(userData
);
1618 wxPyEndBlockThreads(blocked
);
1620 // Now call the real Add method if a valid item type was found
1622 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1623 else if ( info
.sizer
)
1624 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1625 else if (info
.gotSize
)
1626 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1627 proportion
, flag
, border
, data
);
1629 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1631 wxPyUserData
* data
= NULL
;
1632 bool blocked
= wxPyBeginBlockThreads();
1633 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1634 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1635 data
= new wxPyUserData(userData
);
1636 wxPyEndBlockThreads(blocked
);
1638 // Now call the real Insert method if a valid item type was found
1640 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1641 else if ( info
.sizer
)
1642 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1643 else if (info
.gotSize
)
1644 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1645 proportion
, flag
, border
, data
);
1647 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1649 wxPyUserData
* data
= NULL
;
1650 bool blocked
= wxPyBeginBlockThreads();
1651 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1652 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1653 data
= new wxPyUserData(userData
);
1654 wxPyEndBlockThreads(blocked
);
1656 // Now call the real Prepend method if a valid item type was found
1658 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1659 else if ( info
.sizer
)
1660 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1661 else if (info
.gotSize
)
1662 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1663 proportion
, flag
, border
, data
);
1665 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1666 bool blocked
= wxPyBeginBlockThreads();
1667 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1668 wxPyEndBlockThreads(blocked
);
1670 return self
->Remove(info
.window
);
1671 else if ( info
.sizer
)
1672 return self
->Remove(info
.sizer
);
1673 else if ( info
.gotPos
)
1674 return self
->Remove(info
.pos
);
1678 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1679 bool blocked
= wxPyBeginBlockThreads();
1680 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1681 wxPyEndBlockThreads(blocked
);
1683 return self
->Detach(info
.window
);
1684 else if ( info
.sizer
)
1685 return self
->Detach(info
.sizer
);
1686 else if ( info
.gotPos
)
1687 return self
->Detach(info
.pos
);
1691 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1692 bool blocked
= wxPyBeginBlockThreads();
1693 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1694 wxPyEndBlockThreads(blocked
);
1696 self
->SetItemMinSize(info
.window
, size
);
1697 else if ( info
.sizer
)
1698 self
->SetItemMinSize(info
.sizer
, size
);
1699 else if ( info
.gotPos
)
1700 self
->SetItemMinSize(info
.pos
, size
);
1702 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1703 wxSizerItemList
& list
= self
->GetChildren();
1704 return wxPy_ConvertList(&list
);
1706 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1707 bool blocked
= wxPyBeginBlockThreads();
1708 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1709 wxPyEndBlockThreads(blocked
);
1711 self
->Show(info
.window
, show
);
1712 else if ( info
.sizer
)
1713 self
->Show(info
.sizer
, show
);
1714 else if ( info
.gotPos
)
1715 self
->Show(info
.pos
, show
);
1717 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1718 bool blocked
= wxPyBeginBlockThreads();
1719 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1720 wxPyEndBlockThreads(blocked
);
1722 return self
->IsShown(info
.window
);
1723 else if ( info
.sizer
)
1724 return self
->IsShown(info
.sizer
);
1725 else if ( info
.gotPos
)
1726 return self
->IsShown(info
.pos
);
1732 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1733 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1734 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1739 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1741 if (source
== Py_None
) {
1742 **obj
= wxGBPosition(-1,-1);
1745 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1748 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1750 if (source
== Py_None
) {
1751 **obj
= wxGBSpan(-1,-1);
1754 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1758 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1762 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1763 bool blocked
= wxPyBeginBlockThreads();
1764 PyObject
* tup
= PyTuple_New(2);
1765 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1766 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1767 wxPyEndBlockThreads(blocked
);
1770 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1771 self
->SetRowspan(rowspan
);
1772 self
->SetColspan(colspan
);
1774 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1775 bool blocked
= wxPyBeginBlockThreads();
1776 PyObject
* tup
= PyTuple_New(2);
1777 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1778 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1779 wxPyEndBlockThreads(blocked
);
1782 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1783 wxPyUserData
* data
= NULL
;
1785 bool blocked
= wxPyBeginBlockThreads();
1786 data
= new wxPyUserData(userData
);
1787 wxPyEndBlockThreads(blocked
);
1789 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
1791 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1792 wxPyUserData
* data
= NULL
;
1794 bool blocked
= wxPyBeginBlockThreads();
1795 data
= new wxPyUserData(userData
);
1796 wxPyEndBlockThreads(blocked
);
1798 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
1800 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1801 wxPyUserData
* data
= NULL
;
1803 bool blocked
= wxPyBeginBlockThreads();
1804 data
= new wxPyUserData(userData
);
1805 wxPyEndBlockThreads(blocked
);
1807 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
1809 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
1811 self
->GetEndPos(row
, col
);
1812 return wxGBPosition(row
, col
);
1814 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1816 wxPyUserData
* data
= NULL
;
1817 bool blocked
= wxPyBeginBlockThreads();
1818 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1819 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1820 data
= new wxPyUserData(userData
);
1821 wxPyEndBlockThreads(blocked
);
1823 // Now call the real Add method if a valid item type was found
1825 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1826 else if ( info
.sizer
)
1827 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1828 else if (info
.gotSize
)
1829 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1830 pos
, span
, flag
, border
, data
);
1838 static int _wrap_EmptyString_set(PyObject
*_val
) {
1839 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1844 static PyObject
*_wrap_EmptyString_get() {
1849 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1851 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1858 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1859 PyObject
*resultobj
;
1860 wxObject
*arg1
= (wxObject
*) 0 ;
1862 PyObject
* obj0
= 0 ;
1864 (char *) "self", NULL
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1872 result
= wxObject_GetClassName(arg1
);
1874 wxPyEndAllowThreads(__tstate
);
1875 if (PyErr_Occurred()) SWIG_fail
;
1879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1890 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxObject
*arg1
= (wxObject
*) 0 ;
1893 PyObject
* obj0
= 0 ;
1895 (char *) "self", NULL
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1903 wxObject_Destroy(arg1
);
1905 wxPyEndAllowThreads(__tstate
);
1906 if (PyErr_Occurred()) SWIG_fail
;
1908 Py_INCREF(Py_None
); resultobj
= Py_None
;
1915 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1918 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1920 return Py_BuildValue((char *)"");
1922 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxSize
*arg1
= (wxSize
*) 0 ;
1926 PyObject
* obj0
= 0 ;
1927 PyObject
* obj1
= 0 ;
1929 (char *) "self",(char *) "x", NULL
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1935 arg2
= (int) SWIG_AsInt(obj1
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1937 if (arg1
) (arg1
)->x
= arg2
;
1939 Py_INCREF(Py_None
); resultobj
= Py_None
;
1946 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
*resultobj
;
1948 wxSize
*arg1
= (wxSize
*) 0 ;
1950 PyObject
* obj0
= 0 ;
1952 (char *) "self", NULL
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1958 result
= (int) ((arg1
)->x
);
1960 resultobj
= SWIG_FromInt((int)result
);
1967 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
*resultobj
;
1969 wxSize
*arg1
= (wxSize
*) 0 ;
1971 PyObject
* obj0
= 0 ;
1972 PyObject
* obj1
= 0 ;
1974 (char *) "self",(char *) "y", NULL
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1980 arg2
= (int) SWIG_AsInt(obj1
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1982 if (arg1
) (arg1
)->y
= arg2
;
1984 Py_INCREF(Py_None
); resultobj
= Py_None
;
1991 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
*resultobj
;
1993 wxSize
*arg1
= (wxSize
*) 0 ;
1995 PyObject
* obj0
= 0 ;
1997 (char *) "self", NULL
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2003 result
= (int) ((arg1
)->y
);
2005 resultobj
= SWIG_FromInt((int)result
);
2012 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2014 int arg1
= (int) 0 ;
2015 int arg2
= (int) 0 ;
2017 PyObject
* obj0
= 0 ;
2018 PyObject
* obj1
= 0 ;
2020 (char *) "w",(char *) "h", NULL
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2025 arg1
= (int) SWIG_AsInt(obj0
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2029 arg2
= (int) SWIG_AsInt(obj1
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2046 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
*resultobj
;
2048 wxSize
*arg1
= (wxSize
*) 0 ;
2049 PyObject
* obj0
= 0 ;
2051 (char *) "self", NULL
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) SWIG_fail
;
2064 Py_INCREF(Py_None
); resultobj
= Py_None
;
2071 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
;
2073 wxSize
*arg1
= (wxSize
*) 0 ;
2077 PyObject
* obj0
= 0 ;
2078 PyObject
* obj1
= 0 ;
2080 (char *) "self",(char *) "sz", NULL
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2088 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2106 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
*resultobj
;
2108 wxSize
*arg1
= (wxSize
*) 0 ;
2112 PyObject
* obj0
= 0 ;
2113 PyObject
* obj1
= 0 ;
2115 (char *) "self",(char *) "sz", NULL
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2141 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxSize
*arg1
= (wxSize
*) 0 ;
2147 PyObject
* obj0
= 0 ;
2148 PyObject
* obj1
= 0 ;
2150 (char *) "self",(char *) "sz", NULL
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2158 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2169 resultptr
= new wxSize((wxSize
&) result
);
2170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2178 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
*resultobj
;
2180 wxSize
*arg1
= (wxSize
*) 0 ;
2184 PyObject
* obj0
= 0 ;
2185 PyObject
* obj1
= 0 ;
2187 (char *) "self",(char *) "sz", NULL
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2195 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2206 resultptr
= new wxSize((wxSize
&) result
);
2207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2215 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
*resultobj
;
2217 wxSize
*arg1
= (wxSize
*) 0 ;
2220 PyObject
* obj0
= 0 ;
2221 PyObject
* obj1
= 0 ;
2223 (char *) "self",(char *) "sz", NULL
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2231 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 (arg1
)->IncTo((wxSize
const &)*arg2
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 Py_INCREF(Py_None
); resultobj
= Py_None
;
2247 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2249 wxSize
*arg1
= (wxSize
*) 0 ;
2252 PyObject
* obj0
= 0 ;
2253 PyObject
* obj1
= 0 ;
2255 (char *) "self",(char *) "sz", NULL
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2263 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 (arg1
)->DecTo((wxSize
const &)*arg2
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2272 Py_INCREF(Py_None
); resultobj
= Py_None
;
2279 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxSize
*arg1
= (wxSize
*) 0 ;
2284 PyObject
* obj0
= 0 ;
2285 PyObject
* obj1
= 0 ;
2286 PyObject
* obj2
= 0 ;
2288 (char *) "self",(char *) "w",(char *) "h", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2294 arg2
= (int) SWIG_AsInt(obj1
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2296 arg3
= (int) SWIG_AsInt(obj2
);
2297 if (PyErr_Occurred()) SWIG_fail
;
2299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2300 (arg1
)->Set(arg2
,arg3
);
2302 wxPyEndAllowThreads(__tstate
);
2303 if (PyErr_Occurred()) SWIG_fail
;
2305 Py_INCREF(Py_None
); resultobj
= Py_None
;
2312 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
*resultobj
;
2314 wxSize
*arg1
= (wxSize
*) 0 ;
2316 PyObject
* obj0
= 0 ;
2317 PyObject
* obj1
= 0 ;
2319 (char *) "self",(char *) "w", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2325 arg2
= (int) SWIG_AsInt(obj1
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 (arg1
)->SetWidth(arg2
);
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 Py_INCREF(Py_None
); resultobj
= Py_None
;
2341 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 wxSize
*arg1
= (wxSize
*) 0 ;
2345 PyObject
* obj0
= 0 ;
2346 PyObject
* obj1
= 0 ;
2348 (char *) "self",(char *) "h", NULL
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2354 arg2
= (int) SWIG_AsInt(obj1
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 (arg1
)->SetHeight(arg2
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2363 Py_INCREF(Py_None
); resultobj
= Py_None
;
2370 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2372 wxSize
*arg1
= (wxSize
*) 0 ;
2374 PyObject
* obj0
= 0 ;
2376 (char *) "self", NULL
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2386 wxPyEndAllowThreads(__tstate
);
2387 if (PyErr_Occurred()) SWIG_fail
;
2389 resultobj
= SWIG_FromInt((int)result
);
2396 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2398 wxSize
*arg1
= (wxSize
*) 0 ;
2400 PyObject
* obj0
= 0 ;
2402 (char *) "self", NULL
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2415 resultobj
= SWIG_FromInt((int)result
);
2422 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2424 wxSize
*arg1
= (wxSize
*) 0 ;
2426 PyObject
* obj0
= 0 ;
2428 (char *) "self", NULL
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2450 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2452 wxSize
*arg1
= (wxSize
*) 0 ;
2455 PyObject
* obj0
= 0 ;
2456 PyObject
* obj1
= 0 ;
2458 (char *) "self",(char *) "size", NULL
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2466 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) SWIG_fail
;
2475 Py_INCREF(Py_None
); resultobj
= Py_None
;
2482 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
*resultobj
;
2484 wxSize
*arg1
= (wxSize
*) 0 ;
2486 PyObject
* obj0
= 0 ;
2488 (char *) "self", NULL
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2496 result
= (PyObject
*)wxSize_Get(arg1
);
2498 wxPyEndAllowThreads(__tstate
);
2499 if (PyErr_Occurred()) SWIG_fail
;
2508 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2511 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2513 return Py_BuildValue((char *)"");
2515 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
*resultobj
;
2517 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2519 PyObject
* obj0
= 0 ;
2520 PyObject
* obj1
= 0 ;
2522 (char *) "self",(char *) "x", NULL
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2528 arg2
= (double) SWIG_AsDouble(obj1
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2530 if (arg1
) (arg1
)->x
= arg2
;
2532 Py_INCREF(Py_None
); resultobj
= Py_None
;
2539 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
*resultobj
;
2541 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2543 PyObject
* obj0
= 0 ;
2545 (char *) "self", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2551 result
= (double) ((arg1
)->x
);
2553 resultobj
= SWIG_FromDouble((double)result
);
2560 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
*resultobj
;
2562 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2564 PyObject
* obj0
= 0 ;
2565 PyObject
* obj1
= 0 ;
2567 (char *) "self",(char *) "y", NULL
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2573 arg2
= (double) SWIG_AsDouble(obj1
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2575 if (arg1
) (arg1
)->y
= arg2
;
2577 Py_INCREF(Py_None
); resultobj
= Py_None
;
2584 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2588 PyObject
* obj0
= 0 ;
2590 (char *) "self", NULL
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2596 result
= (double) ((arg1
)->y
);
2598 resultobj
= SWIG_FromDouble((double)result
);
2605 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2607 double arg1
= (double) 0.0 ;
2608 double arg2
= (double) 0.0 ;
2609 wxRealPoint
*result
;
2610 PyObject
* obj0
= 0 ;
2611 PyObject
* obj1
= 0 ;
2613 (char *) "x",(char *) "y", NULL
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2618 arg1
= (double) SWIG_AsDouble(obj0
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2622 arg2
= (double) SWIG_AsDouble(obj1
);
2623 if (PyErr_Occurred()) SWIG_fail
;
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2639 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2642 PyObject
* obj0
= 0 ;
2644 (char *) "self", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2657 Py_INCREF(Py_None
); resultobj
= Py_None
;
2664 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2666 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2667 wxRealPoint
*arg2
= 0 ;
2670 PyObject
* obj0
= 0 ;
2671 PyObject
* obj1
= 0 ;
2673 (char *) "self",(char *) "pt", NULL
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2681 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2699 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2702 wxRealPoint
*arg2
= 0 ;
2705 PyObject
* obj0
= 0 ;
2706 PyObject
* obj1
= 0 ;
2708 (char *) "self",(char *) "pt", NULL
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2716 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) SWIG_fail
;
2726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2734 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
*resultobj
;
2736 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2737 wxRealPoint
*arg2
= 0 ;
2740 PyObject
* obj0
= 0 ;
2741 PyObject
* obj1
= 0 ;
2743 (char *) "self",(char *) "pt", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2751 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2761 wxRealPoint
* resultptr
;
2762 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2771 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2773 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2774 wxRealPoint
*arg2
= 0 ;
2777 PyObject
* obj0
= 0 ;
2778 PyObject
* obj1
= 0 ;
2780 (char *) "self",(char *) "pt", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2788 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) SWIG_fail
;
2798 wxRealPoint
* resultptr
;
2799 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2808 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2813 PyObject
* obj0
= 0 ;
2814 PyObject
* obj1
= 0 ;
2815 PyObject
* obj2
= 0 ;
2817 (char *) "self",(char *) "x",(char *) "y", NULL
2820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2823 arg2
= (double) SWIG_AsDouble(obj1
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2825 arg3
= (double) SWIG_AsDouble(obj2
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 wxRealPoint_Set(arg1
,arg2
,arg3
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2834 Py_INCREF(Py_None
); resultobj
= Py_None
;
2841 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2843 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2845 PyObject
* obj0
= 0 ;
2847 (char *) "self", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2867 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2870 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2872 return Py_BuildValue((char *)"");
2874 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
*resultobj
;
2876 wxPoint
*arg1
= (wxPoint
*) 0 ;
2878 PyObject
* obj0
= 0 ;
2879 PyObject
* obj1
= 0 ;
2881 (char *) "self",(char *) "x", NULL
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2887 arg2
= (int) SWIG_AsInt(obj1
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2889 if (arg1
) (arg1
)->x
= arg2
;
2891 Py_INCREF(Py_None
); resultobj
= Py_None
;
2898 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxPoint
*arg1
= (wxPoint
*) 0 ;
2902 PyObject
* obj0
= 0 ;
2904 (char *) "self", NULL
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2910 result
= (int) ((arg1
)->x
);
2912 resultobj
= SWIG_FromInt((int)result
);
2919 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
;
2921 wxPoint
*arg1
= (wxPoint
*) 0 ;
2923 PyObject
* obj0
= 0 ;
2924 PyObject
* obj1
= 0 ;
2926 (char *) "self",(char *) "y", NULL
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2932 arg2
= (int) SWIG_AsInt(obj1
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2934 if (arg1
) (arg1
)->y
= arg2
;
2936 Py_INCREF(Py_None
); resultobj
= Py_None
;
2943 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2945 wxPoint
*arg1
= (wxPoint
*) 0 ;
2947 PyObject
* obj0
= 0 ;
2949 (char *) "self", NULL
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2955 result
= (int) ((arg1
)->y
);
2957 resultobj
= SWIG_FromInt((int)result
);
2964 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 int arg1
= (int) 0 ;
2967 int arg2
= (int) 0 ;
2969 PyObject
* obj0
= 0 ;
2970 PyObject
* obj1
= 0 ;
2972 (char *) "x",(char *) "y", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2977 arg1
= (int) SWIG_AsInt(obj0
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2981 arg2
= (int) SWIG_AsInt(obj1
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2998 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxPoint
*arg1
= (wxPoint
*) 0 ;
3001 PyObject
* obj0
= 0 ;
3003 (char *) "self", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3016 Py_INCREF(Py_None
); resultobj
= Py_None
;
3023 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
*resultobj
;
3025 wxPoint
*arg1
= (wxPoint
*) 0 ;
3029 PyObject
* obj0
= 0 ;
3030 PyObject
* obj1
= 0 ;
3032 (char *) "self",(char *) "pt", NULL
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3058 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxPoint
*arg1
= (wxPoint
*) 0 ;
3064 PyObject
* obj0
= 0 ;
3065 PyObject
* obj1
= 0 ;
3067 (char *) "self",(char *) "pt", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3075 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3093 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
*resultobj
;
3095 wxPoint
*arg1
= (wxPoint
*) 0 ;
3099 PyObject
* obj0
= 0 ;
3100 PyObject
* obj1
= 0 ;
3102 (char *) "self",(char *) "pt", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3120 wxPoint
* resultptr
;
3121 resultptr
= new wxPoint((wxPoint
&) result
);
3122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3130 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxPoint
*arg1
= (wxPoint
*) 0 ;
3136 PyObject
* obj0
= 0 ;
3137 PyObject
* obj1
= 0 ;
3139 (char *) "self",(char *) "pt", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3157 wxPoint
* resultptr
;
3158 resultptr
= new wxPoint((wxPoint
&) result
);
3159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3167 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
*resultobj
;
3169 wxPoint
*arg1
= (wxPoint
*) 0 ;
3173 PyObject
* obj0
= 0 ;
3174 PyObject
* obj1
= 0 ;
3176 (char *) "self",(char *) "pt", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3184 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3190 result
= (wxPoint
*) &_result_ref
;
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3203 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxPoint
*arg1
= (wxPoint
*) 0 ;
3209 PyObject
* obj0
= 0 ;
3210 PyObject
* obj1
= 0 ;
3212 (char *) "self",(char *) "pt", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3226 result
= (wxPoint
*) &_result_ref
;
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3239 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
*resultobj
;
3241 wxPoint
*arg1
= (wxPoint
*) 0 ;
3244 PyObject
* obj0
= 0 ;
3245 PyObject
* obj1
= 0 ;
3246 PyObject
* obj2
= 0 ;
3248 (char *) "self",(char *) "x",(char *) "y", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3254 arg2
= (long) SWIG_AsLong(obj1
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3256 arg3
= (long) SWIG_AsLong(obj2
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 wxPoint_Set(arg1
,arg2
,arg3
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3265 Py_INCREF(Py_None
); resultobj
= Py_None
;
3272 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
*resultobj
;
3274 wxPoint
*arg1
= (wxPoint
*) 0 ;
3276 PyObject
* obj0
= 0 ;
3278 (char *) "self", NULL
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 result
= (PyObject
*)wxPoint_Get(arg1
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3298 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3301 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3303 return Py_BuildValue((char *)"");
3305 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 int arg1
= (int) 0 ;
3308 int arg2
= (int) 0 ;
3309 int arg3
= (int) 0 ;
3310 int arg4
= (int) 0 ;
3312 PyObject
* obj0
= 0 ;
3313 PyObject
* obj1
= 0 ;
3314 PyObject
* obj2
= 0 ;
3315 PyObject
* obj3
= 0 ;
3317 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3322 arg1
= (int) SWIG_AsInt(obj0
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3326 arg2
= (int) SWIG_AsInt(obj1
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3330 arg3
= (int) SWIG_AsInt(obj2
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3334 arg4
= (int) SWIG_AsInt(obj3
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3351 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
;
3358 PyObject
* obj0
= 0 ;
3359 PyObject
* obj1
= 0 ;
3361 (char *) "topLeft",(char *) "bottomRight", NULL
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3367 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3371 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3387 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
*resultobj
;
3394 PyObject
* obj0
= 0 ;
3395 PyObject
* obj1
= 0 ;
3397 (char *) "pos",(char *) "size", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3403 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3407 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3423 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxRect
*arg1
= (wxRect
*) 0 ;
3426 PyObject
* obj0
= 0 ;
3428 (char *) "self", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 Py_INCREF(Py_None
); resultobj
= Py_None
;
3448 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxRect
*arg1
= (wxRect
*) 0 ;
3452 PyObject
* obj0
= 0 ;
3454 (char *) "self", NULL
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 result
= (int)((wxRect
const *)arg1
)->GetX();
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3467 resultobj
= SWIG_FromInt((int)result
);
3474 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3476 wxRect
*arg1
= (wxRect
*) 0 ;
3478 PyObject
* obj0
= 0 ;
3479 PyObject
* obj1
= 0 ;
3481 (char *) "self",(char *) "x", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3487 arg2
= (int) SWIG_AsInt(obj1
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3496 Py_INCREF(Py_None
); resultobj
= Py_None
;
3503 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxRect
*arg1
= (wxRect
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3509 (char *) "self", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (int)(arg1
)->GetY();
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 resultobj
= SWIG_FromInt((int)result
);
3529 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxRect
*arg1
= (wxRect
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3536 (char *) "self",(char *) "y", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3542 arg2
= (int) SWIG_AsInt(obj1
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 Py_INCREF(Py_None
); resultobj
= Py_None
;
3558 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxRect
*arg1
= (wxRect
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3564 (char *) "self", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_FromInt((int)result
);
3584 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxRect
*arg1
= (wxRect
*) 0 ;
3588 PyObject
* obj0
= 0 ;
3589 PyObject
* obj1
= 0 ;
3591 (char *) "self",(char *) "w", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3597 arg2
= (int) SWIG_AsInt(obj1
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 (arg1
)->SetWidth(arg2
);
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 Py_INCREF(Py_None
); resultobj
= Py_None
;
3613 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxRect
*arg1
= (wxRect
*) 0 ;
3617 PyObject
* obj0
= 0 ;
3619 (char *) "self", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3632 resultobj
= SWIG_FromInt((int)result
);
3639 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
*resultobj
;
3641 wxRect
*arg1
= (wxRect
*) 0 ;
3643 PyObject
* obj0
= 0 ;
3644 PyObject
* obj1
= 0 ;
3646 (char *) "self",(char *) "h", NULL
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3652 arg2
= (int) SWIG_AsInt(obj1
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 (arg1
)->SetHeight(arg2
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3661 Py_INCREF(Py_None
); resultobj
= Py_None
;
3668 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
*resultobj
;
3670 wxRect
*arg1
= (wxRect
*) 0 ;
3672 PyObject
* obj0
= 0 ;
3674 (char *) "self", NULL
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 result
= ((wxRect
const *)arg1
)->GetPosition();
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3688 wxPoint
* resultptr
;
3689 resultptr
= new wxPoint((wxPoint
&) result
);
3690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3698 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
;
3700 wxRect
*arg1
= (wxRect
*) 0 ;
3703 PyObject
* obj0
= 0 ;
3704 PyObject
* obj1
= 0 ;
3706 (char *) "self",(char *) "p", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3714 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 Py_INCREF(Py_None
); resultobj
= Py_None
;
3730 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
;
3732 wxRect
*arg1
= (wxRect
*) 0 ;
3734 PyObject
* obj0
= 0 ;
3736 (char *) "self", NULL
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 result
= ((wxRect
const *)arg1
)->GetSize();
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3751 resultptr
= new wxSize((wxSize
&) result
);
3752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3760 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3762 wxRect
*arg1
= (wxRect
*) 0 ;
3765 PyObject
* obj0
= 0 ;
3766 PyObject
* obj1
= 0 ;
3768 (char *) "self",(char *) "s", NULL
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3776 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 (arg1
)->SetSize((wxSize
const &)*arg2
);
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 Py_INCREF(Py_None
); resultobj
= Py_None
;
3792 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxRect
*arg1
= (wxRect
*) 0 ;
3796 PyObject
* obj0
= 0 ;
3798 (char *) "self", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3812 wxPoint
* resultptr
;
3813 resultptr
= new wxPoint((wxPoint
&) result
);
3814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3822 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxRect
*arg1
= (wxRect
*) 0 ;
3827 PyObject
* obj0
= 0 ;
3828 PyObject
* obj1
= 0 ;
3830 (char *) "self",(char *) "p", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3838 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 Py_INCREF(Py_None
); resultobj
= Py_None
;
3854 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxRect
*arg1
= (wxRect
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3860 (char *) "self", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3874 wxPoint
* resultptr
;
3875 resultptr
= new wxPoint((wxPoint
&) result
);
3876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3884 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
*resultobj
;
3886 wxRect
*arg1
= (wxRect
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3890 PyObject
* obj1
= 0 ;
3892 (char *) "self",(char *) "p", NULL
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 Py_INCREF(Py_None
); resultobj
= Py_None
;
3916 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
;
3918 wxRect
*arg1
= (wxRect
*) 0 ;
3920 PyObject
* obj0
= 0 ;
3922 (char *) "self", NULL
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3935 resultobj
= SWIG_FromInt((int)result
);
3942 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
;
3944 wxRect
*arg1
= (wxRect
*) 0 ;
3946 PyObject
* obj0
= 0 ;
3948 (char *) "self", NULL
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 result
= (int)((wxRect
const *)arg1
)->GetTop();
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 resultobj
= SWIG_FromInt((int)result
);
3968 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
;
3970 wxRect
*arg1
= (wxRect
*) 0 ;
3972 PyObject
* obj0
= 0 ;
3974 (char *) "self", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 resultobj
= SWIG_FromInt((int)result
);
3994 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxRect
*arg1
= (wxRect
*) 0 ;
3998 PyObject
* obj0
= 0 ;
4000 (char *) "self", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 result
= (int)((wxRect
const *)arg1
)->GetRight();
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 resultobj
= SWIG_FromInt((int)result
);
4020 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxRect
*arg1
= (wxRect
*) 0 ;
4024 PyObject
* obj0
= 0 ;
4025 PyObject
* obj1
= 0 ;
4027 (char *) "self",(char *) "left", NULL
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4033 arg2
= (int) SWIG_AsInt(obj1
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 (arg1
)->SetLeft(arg2
);
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4042 Py_INCREF(Py_None
); resultobj
= Py_None
;
4049 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4051 wxRect
*arg1
= (wxRect
*) 0 ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4056 (char *) "self",(char *) "right", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4062 arg2
= (int) SWIG_AsInt(obj1
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 (arg1
)->SetRight(arg2
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 Py_INCREF(Py_None
); resultobj
= Py_None
;
4078 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxRect
*arg1
= (wxRect
*) 0 ;
4082 PyObject
* obj0
= 0 ;
4083 PyObject
* obj1
= 0 ;
4085 (char *) "self",(char *) "top", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4091 arg2
= (int) SWIG_AsInt(obj1
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 (arg1
)->SetTop(arg2
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 Py_INCREF(Py_None
); resultobj
= Py_None
;
4107 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxRect
*arg1
= (wxRect
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4112 PyObject
* obj1
= 0 ;
4114 (char *) "self",(char *) "bottom", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 arg2
= (int) SWIG_AsInt(obj1
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 (arg1
)->SetBottom(arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 Py_INCREF(Py_None
); resultobj
= Py_None
;
4136 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxRect
*arg1
= (wxRect
*) 0 ;
4142 PyObject
* obj0
= 0 ;
4143 PyObject
* obj1
= 0 ;
4144 PyObject
* obj2
= 0 ;
4146 (char *) "self",(char *) "dx",(char *) "dy", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4152 arg2
= (int) SWIG_AsInt(obj1
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4154 arg3
= (int) SWIG_AsInt(obj2
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4160 result
= (wxRect
*) &_result_ref
;
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4173 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
;
4175 wxRect
*arg1
= (wxRect
*) 0 ;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4181 PyObject
* obj2
= 0 ;
4183 (char *) "self",(char *) "dx",(char *) "dy", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4189 arg2
= (int) SWIG_AsInt(obj1
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4191 arg3
= (int) SWIG_AsInt(obj2
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4197 result
= (wxRect
*) &_result_ref
;
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4210 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxRect
*arg1
= (wxRect
*) 0 ;
4215 PyObject
* obj0
= 0 ;
4216 PyObject
* obj1
= 0 ;
4217 PyObject
* obj2
= 0 ;
4219 (char *) "self",(char *) "dx",(char *) "dy", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4225 arg2
= (int) SWIG_AsInt(obj1
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4227 arg3
= (int) SWIG_AsInt(obj2
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 (arg1
)->Offset(arg2
,arg3
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 Py_INCREF(Py_None
); resultobj
= Py_None
;
4243 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxRect
*arg1
= (wxRect
*) 0 ;
4248 PyObject
* obj0
= 0 ;
4249 PyObject
* obj1
= 0 ;
4251 (char *) "self",(char *) "pt", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4259 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 (arg1
)->Offset((wxPoint
const &)*arg2
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 Py_INCREF(Py_None
); resultobj
= Py_None
;
4275 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxRect
*arg1
= (wxRect
*) 0 ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4284 (char *) "self",(char *) "rect", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4292 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4298 result
= (wxRect
*) &_result_ref
;
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4311 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxRect
*arg1
= (wxRect
*) 0 ;
4317 PyObject
* obj0
= 0 ;
4318 PyObject
* obj1
= 0 ;
4320 (char *) "self",(char *) "rect", NULL
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4328 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4339 resultptr
= new wxRect((wxRect
&) result
);
4340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4348 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4350 wxRect
*arg1
= (wxRect
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4357 (char *) "self",(char *) "rect", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4365 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4371 result
= (wxRect
*) &_result_ref
;
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4384 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxRect
*arg1
= (wxRect
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4391 PyObject
* obj1
= 0 ;
4393 (char *) "self",(char *) "rect", NULL
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4401 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4419 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxRect
*arg1
= (wxRect
*) 0 ;
4425 PyObject
* obj0
= 0 ;
4426 PyObject
* obj1
= 0 ;
4428 (char *) "self",(char *) "rect", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4436 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4454 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4456 wxRect
*arg1
= (wxRect
*) 0 ;
4460 PyObject
* obj0
= 0 ;
4461 PyObject
* obj1
= 0 ;
4462 PyObject
* obj2
= 0 ;
4464 (char *) "self",(char *) "x",(char *) "y", NULL
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4470 arg2
= (int) SWIG_AsInt(obj1
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4472 arg3
= (int) SWIG_AsInt(obj2
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4490 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxRect
*arg1
= (wxRect
*) 0 ;
4496 PyObject
* obj0
= 0 ;
4497 PyObject
* obj1
= 0 ;
4499 (char *) "self",(char *) "pt", NULL
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4525 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxRect
*arg1
= (wxRect
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4532 PyObject
* obj1
= 0 ;
4534 (char *) "self",(char *) "rect", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4542 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4560 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
*resultobj
;
4562 wxRect
*arg1
= (wxRect
*) 0 ;
4564 PyObject
* obj0
= 0 ;
4565 PyObject
* obj1
= 0 ;
4567 (char *) "self",(char *) "x", NULL
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4573 arg2
= (int) SWIG_AsInt(obj1
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4575 if (arg1
) (arg1
)->x
= arg2
;
4577 Py_INCREF(Py_None
); resultobj
= Py_None
;
4584 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxRect
*arg1
= (wxRect
*) 0 ;
4588 PyObject
* obj0
= 0 ;
4590 (char *) "self", NULL
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4596 result
= (int) ((arg1
)->x
);
4598 resultobj
= SWIG_FromInt((int)result
);
4605 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
;
4607 wxRect
*arg1
= (wxRect
*) 0 ;
4609 PyObject
* obj0
= 0 ;
4610 PyObject
* obj1
= 0 ;
4612 (char *) "self",(char *) "y", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4618 arg2
= (int) SWIG_AsInt(obj1
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4620 if (arg1
) (arg1
)->y
= arg2
;
4622 Py_INCREF(Py_None
); resultobj
= Py_None
;
4629 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
;
4631 wxRect
*arg1
= (wxRect
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4635 (char *) "self", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4641 result
= (int) ((arg1
)->y
);
4643 resultobj
= SWIG_FromInt((int)result
);
4650 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
;
4652 wxRect
*arg1
= (wxRect
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4657 (char *) "self",(char *) "width", NULL
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4663 arg2
= (int) SWIG_AsInt(obj1
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4665 if (arg1
) (arg1
)->width
= arg2
;
4667 Py_INCREF(Py_None
); resultobj
= Py_None
;
4674 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxRect
*arg1
= (wxRect
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4680 (char *) "self", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4686 result
= (int) ((arg1
)->width
);
4688 resultobj
= SWIG_FromInt((int)result
);
4695 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
*resultobj
;
4697 wxRect
*arg1
= (wxRect
*) 0 ;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4702 (char *) "self",(char *) "height", NULL
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4708 arg2
= (int) SWIG_AsInt(obj1
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4710 if (arg1
) (arg1
)->height
= arg2
;
4712 Py_INCREF(Py_None
); resultobj
= Py_None
;
4719 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxRect
*arg1
= (wxRect
*) 0 ;
4723 PyObject
* obj0
= 0 ;
4725 (char *) "self", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4731 result
= (int) ((arg1
)->height
);
4733 resultobj
= SWIG_FromInt((int)result
);
4740 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
*resultobj
;
4742 wxRect
*arg1
= (wxRect
*) 0 ;
4743 int arg2
= (int) 0 ;
4744 int arg3
= (int) 0 ;
4745 int arg4
= (int) 0 ;
4746 int arg5
= (int) 0 ;
4747 PyObject
* obj0
= 0 ;
4748 PyObject
* obj1
= 0 ;
4749 PyObject
* obj2
= 0 ;
4750 PyObject
* obj3
= 0 ;
4751 PyObject
* obj4
= 0 ;
4753 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4760 arg2
= (int) SWIG_AsInt(obj1
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4764 arg3
= (int) SWIG_AsInt(obj2
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4768 arg4
= (int) SWIG_AsInt(obj3
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4772 arg5
= (int) SWIG_AsInt(obj4
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 Py_INCREF(Py_None
); resultobj
= Py_None
;
4789 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxRect
*arg1
= (wxRect
*) 0 ;
4793 PyObject
* obj0
= 0 ;
4795 (char *) "self", NULL
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (PyObject
*)wxRect_Get(arg1
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4815 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4818 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4820 return Py_BuildValue((char *)"");
4822 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
;
4824 wxRect
*arg1
= (wxRect
*) 0 ;
4825 wxRect
*arg2
= (wxRect
*) 0 ;
4827 PyObject
* obj0
= 0 ;
4828 PyObject
* obj1
= 0 ;
4830 (char *) "r1",(char *) "r2", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4839 if (!wxPyCheckForApp()) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4853 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 double arg1
= (double) 0.0 ;
4856 double arg2
= (double) 0.0 ;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4861 (char *) "x",(char *) "y", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4866 arg1
= (double) SWIG_AsDouble(obj0
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4870 arg2
= (double) SWIG_AsDouble(obj1
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4887 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4889 wxPoint2D
*arg1
= 0 ;
4892 PyObject
* obj0
= 0 ;
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4900 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4916 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4921 PyObject
* obj0
= 0 ;
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4929 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4945 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4947 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4948 int *arg2
= (int *) 0 ;
4949 int *arg3
= (int *) 0 ;
4952 PyObject
* obj0
= 0 ;
4954 (char *) "self", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 Py_INCREF(Py_None
); resultobj
= Py_None
;
4971 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4972 resultobj
= t_output_helper(resultobj
,o
);
4975 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4976 resultobj
= t_output_helper(resultobj
,o
);
4984 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4987 int *arg2
= (int *) 0 ;
4988 int *arg3
= (int *) 0 ;
4991 PyObject
* obj0
= 0 ;
4993 (char *) "self", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 Py_INCREF(Py_None
); resultobj
= Py_None
;
5010 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
5011 resultobj
= t_output_helper(resultobj
,o
);
5014 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5015 resultobj
= t_output_helper(resultobj
,o
);
5023 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5027 PyObject
* obj0
= 0 ;
5029 (char *) "self", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_FromDouble((double)result
);
5049 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5053 PyObject
* obj0
= 0 ;
5055 (char *) "self", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= SWIG_FromDouble((double)result
);
5075 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5082 (char *) "self",(char *) "length", NULL
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5088 arg2
= (double) SWIG_AsDouble(obj1
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 (arg1
)->SetVectorLength(arg2
);
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5097 Py_INCREF(Py_None
); resultobj
= Py_None
;
5104 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
;
5106 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5108 PyObject
* obj0
= 0 ;
5109 PyObject
* obj1
= 0 ;
5111 (char *) "self",(char *) "degrees", NULL
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5117 arg2
= (double) SWIG_AsDouble(obj1
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 (arg1
)->SetVectorAngle(arg2
);
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 Py_INCREF(Py_None
); resultobj
= Py_None
;
5133 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
*resultobj
;
5135 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5136 wxPoint2D
*arg2
= 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5142 (char *) "self",(char *) "pt", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5150 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_FromDouble((double)result
);
5166 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
*resultobj
;
5168 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5169 wxPoint2D
*arg2
= 0 ;
5172 PyObject
* obj0
= 0 ;
5173 PyObject
* obj1
= 0 ;
5175 (char *) "self",(char *) "pt", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5183 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5192 resultobj
= SWIG_FromDouble((double)result
);
5199 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5200 PyObject
*resultobj
;
5201 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5202 wxPoint2D
*arg2
= 0 ;
5205 PyObject
* obj0
= 0 ;
5206 PyObject
* obj1
= 0 ;
5208 (char *) "self",(char *) "vec", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5216 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5225 resultobj
= SWIG_FromDouble((double)result
);
5232 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5235 wxPoint2D
*arg2
= 0 ;
5238 PyObject
* obj0
= 0 ;
5239 PyObject
* obj1
= 0 ;
5241 (char *) "self",(char *) "vec", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5249 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= SWIG_FromDouble((double)result
);
5265 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5269 PyObject
* obj0
= 0 ;
5271 (char *) "self", NULL
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= (arg1
)->operator -();
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5285 wxPoint2D
* resultptr
;
5286 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5295 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5298 wxPoint2D
*arg2
= 0 ;
5301 PyObject
* obj0
= 0 ;
5302 PyObject
* obj1
= 0 ;
5304 (char *) "self",(char *) "pt", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5312 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5318 result
= (wxPoint2D
*) &_result_ref
;
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5331 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
;
5333 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5334 wxPoint2D
*arg2
= 0 ;
5337 PyObject
* obj0
= 0 ;
5338 PyObject
* obj1
= 0 ;
5340 (char *) "self",(char *) "pt", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5354 result
= (wxPoint2D
*) &_result_ref
;
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5367 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
;
5369 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5370 wxPoint2D
*arg2
= 0 ;
5373 PyObject
* obj0
= 0 ;
5374 PyObject
* obj1
= 0 ;
5376 (char *) "self",(char *) "pt", NULL
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5384 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5390 result
= (wxPoint2D
*) &_result_ref
;
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5403 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5406 wxPoint2D
*arg2
= 0 ;
5409 PyObject
* obj0
= 0 ;
5410 PyObject
* obj1
= 0 ;
5412 (char *) "self",(char *) "pt", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5420 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5426 result
= (wxPoint2D
*) &_result_ref
;
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5439 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5442 wxPoint2D
*arg2
= 0 ;
5445 PyObject
* obj0
= 0 ;
5446 PyObject
* obj1
= 0 ;
5448 (char *) "self",(char *) "pt", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5456 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5474 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5477 wxPoint2D
*arg2
= 0 ;
5480 PyObject
* obj0
= 0 ;
5481 PyObject
* obj1
= 0 ;
5483 (char *) "self",(char *) "pt", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5491 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5509 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
*resultobj
;
5511 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5516 (char *) "self",(char *) "m_x", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5522 arg2
= (double) SWIG_AsDouble(obj1
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5524 if (arg1
) (arg1
)->m_x
= arg2
;
5526 Py_INCREF(Py_None
); resultobj
= Py_None
;
5533 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5537 PyObject
* obj0
= 0 ;
5539 (char *) "self", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5545 result
= (double) ((arg1
)->m_x
);
5547 resultobj
= SWIG_FromDouble((double)result
);
5554 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5558 PyObject
* obj0
= 0 ;
5559 PyObject
* obj1
= 0 ;
5561 (char *) "self",(char *) "m_y", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 arg2
= (double) SWIG_AsDouble(obj1
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5569 if (arg1
) (arg1
)->m_y
= arg2
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5584 (char *) "self", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5590 result
= (double) ((arg1
)->m_y
);
5592 resultobj
= SWIG_FromDouble((double)result
);
5599 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5602 double arg2
= (double) 0 ;
5603 double arg3
= (double) 0 ;
5604 PyObject
* obj0
= 0 ;
5605 PyObject
* obj1
= 0 ;
5606 PyObject
* obj2
= 0 ;
5608 (char *) "self",(char *) "x",(char *) "y", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5615 arg2
= (double) SWIG_AsDouble(obj1
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5619 arg3
= (double) SWIG_AsDouble(obj2
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 wxPoint2D_Set(arg1
,arg2
,arg3
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 Py_INCREF(Py_None
); resultobj
= Py_None
;
5636 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5640 PyObject
* obj0
= 0 ;
5642 (char *) "self", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5662 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5665 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5667 return Py_BuildValue((char *)"");
5669 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5670 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5675 static PyObject
*_wrap_DefaultPosition_get() {
5678 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5683 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5684 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5689 static PyObject
*_wrap_DefaultSize_get() {
5692 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5697 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 PyObject
*arg1
= (PyObject
*) 0 ;
5700 wxPyInputStream
*result
;
5701 PyObject
* obj0
= 0 ;
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5722 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5724 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5727 (char *) "self", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 Py_INCREF(Py_None
); resultobj
= Py_None
;
5747 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5752 (char *) "self", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 Py_INCREF(Py_None
); resultobj
= Py_None
;
5772 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5776 PyObject
* obj0
= 0 ;
5778 (char *) "self", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (bool)(arg1
)->eof();
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5800 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
;
5802 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5803 int arg2
= (int) -1 ;
5805 PyObject
* obj0
= 0 ;
5806 PyObject
* obj1
= 0 ;
5808 (char *) "self",(char *) "size", NULL
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5815 arg2
= (int) SWIG_AsInt(obj1
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= (PyObject
*)(arg1
)->read(arg2
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5832 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5835 int arg2
= (int) -1 ;
5837 PyObject
* obj0
= 0 ;
5838 PyObject
* obj1
= 0 ;
5840 (char *) "self",(char *) "size", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5847 arg2
= (int) SWIG_AsInt(obj1
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 result
= (PyObject
*)(arg1
)->readline(arg2
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5864 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5867 int arg2
= (int) -1 ;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5872 (char *) "self",(char *) "sizehint", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5879 arg2
= (int) SWIG_AsInt(obj1
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5896 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5900 int arg3
= (int) 0 ;
5901 PyObject
* obj0
= 0 ;
5902 PyObject
* obj1
= 0 ;
5903 PyObject
* obj2
= 0 ;
5905 (char *) "self",(char *) "offset",(char *) "whence", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5911 arg2
= (int) SWIG_AsInt(obj1
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 arg3
= (int) SWIG_AsInt(obj2
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 (arg1
)->seek(arg2
,arg3
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 Py_INCREF(Py_None
); resultobj
= Py_None
;
5931 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
;
5933 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5935 PyObject
* obj0
= 0 ;
5937 (char *) "self", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= (int)(arg1
)->tell();
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_FromInt((int)result
);
5957 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5959 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5963 (char *) "self", NULL
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (char)(arg1
)->Peek();
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= SWIG_FromChar((char)result
);
5983 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5987 PyObject
* obj0
= 0 ;
5989 (char *) "self", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (char)(arg1
)->GetC();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6002 resultobj
= SWIG_FromChar((char)result
);
6009 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6013 PyObject
* obj0
= 0 ;
6015 (char *) "self", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 result
= (size_t)(arg1
)->LastRead();
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6035 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6039 PyObject
* obj0
= 0 ;
6041 (char *) "self", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 result
= (bool)(arg1
)->CanRead();
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6067 PyObject
* obj0
= 0 ;
6069 (char *) "self", NULL
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 result
= (bool)(arg1
)->Eof();
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6091 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6096 PyObject
* obj0
= 0 ;
6097 PyObject
* obj1
= 0 ;
6099 (char *) "self",(char *) "c", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6105 arg2
= (char) SWIG_AsChar(obj1
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (bool)(arg1
)->Ungetch(arg2
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6123 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6127 int arg3
= (int) wxFromStart
;
6129 PyObject
* obj0
= 0 ;
6130 PyObject
* obj1
= 0 ;
6131 PyObject
* obj2
= 0 ;
6133 (char *) "self",(char *) "pos",(char *) "mode", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 arg2
= (long) SWIG_AsLong(obj1
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= SWIG_FromLong((long)result
);
6159 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6161 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6163 PyObject
* obj0
= 0 ;
6165 (char *) "self", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (long)(arg1
)->TellI();
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_FromLong((long)result
);
6185 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6188 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6190 return Py_BuildValue((char *)"");
6192 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
;
6194 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6195 PyObject
*arg2
= (PyObject
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6199 (char *) "self",(char *) "obj", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 wxOutputStream_write(arg1
,arg2
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 Py_INCREF(Py_None
); resultobj
= Py_None
;
6220 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6223 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6225 return Py_BuildValue((char *)"");
6227 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6229 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6230 wxString
*arg2
= 0 ;
6231 wxString
*arg3
= 0 ;
6232 wxString
*arg4
= 0 ;
6235 wxPyInputStream
*temp1
;
6237 bool temp2
= False
;
6238 bool temp3
= False
;
6239 bool temp4
= False
;
6241 PyObject
* obj0
= 0 ;
6242 PyObject
* obj1
= 0 ;
6243 PyObject
* obj2
= 0 ;
6244 PyObject
* obj3
= 0 ;
6245 PyObject
* obj4
= 0 ;
6247 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6252 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6253 arg1
= temp1
->m_wxis
;
6256 PyErr_Clear(); // clear the failure of the wxPyConvert above
6257 arg1
= wxPyCBInputStream_create(obj0
, False
);
6259 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6266 arg2
= wxString_in_helper(obj1
);
6267 if (arg2
== NULL
) SWIG_fail
;
6271 arg3
= wxString_in_helper(obj2
);
6272 if (arg3
== NULL
) SWIG_fail
;
6276 arg4
= wxString_in_helper(obj3
);
6277 if (arg4
== NULL
) SWIG_fail
;
6280 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6281 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= wxPyMake_wxObject(result
, 1);
6331 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6334 PyObject
* obj0
= 0 ;
6336 (char *) "self", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 Py_INCREF(Py_None
); resultobj
= Py_None
;
6356 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
*resultobj
;
6358 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6359 wxInputStream
*result
;
6360 PyObject
* obj0
= 0 ;
6362 (char *) "self", NULL
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= (wxInputStream
*)(arg1
)->GetStream();
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6376 wxPyInputStream
* _ptr
= NULL
;
6379 _ptr
= new wxPyInputStream(result
);
6381 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6389 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6395 (char *) "self", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6405 result
= (wxString
*) &_result_ref
;
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6415 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6424 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6430 (char *) "self", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 wxString
const &_result_ref
= (arg1
)->GetLocation();
6440 result
= (wxString
*) &_result_ref
;
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6450 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6459 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
;
6461 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6463 PyObject
* obj0
= 0 ;
6465 (char *) "self", NULL
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6475 result
= (wxString
*) &_result_ref
;
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6485 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6494 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6498 PyObject
* obj0
= 0 ;
6500 (char *) "self", NULL
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (arg1
)->GetModificationTime();
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6514 wxDateTime
* resultptr
;
6515 resultptr
= new wxDateTime((wxDateTime
&) result
);
6516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6524 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6527 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6529 return Py_BuildValue((char *)"");
6531 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6534 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6536 return Py_BuildValue((char *)"");
6538 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxPyFileSystemHandler
*result
;
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6560 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6563 PyObject
*arg2
= (PyObject
*) 0 ;
6564 PyObject
*arg3
= (PyObject
*) 0 ;
6565 PyObject
* obj0
= 0 ;
6566 PyObject
* obj1
= 0 ;
6567 PyObject
* obj2
= 0 ;
6569 (char *) "self",(char *) "self",(char *) "_class", NULL
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 Py_INCREF(Py_None
); resultobj
= Py_None
;
6591 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6594 wxString
*arg2
= 0 ;
6596 bool temp2
= False
;
6597 PyObject
* obj0
= 0 ;
6598 PyObject
* obj1
= 0 ;
6600 (char *) "self",(char *) "location", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6607 arg2
= wxString_in_helper(obj1
);
6608 if (arg2
== NULL
) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6635 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6638 wxFileSystem
*arg2
= 0 ;
6639 wxString
*arg3
= 0 ;
6641 bool temp3
= False
;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6644 PyObject
* obj2
= 0 ;
6646 (char *) "self",(char *) "fs",(char *) "location", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6656 PyErr_SetString(PyExc_TypeError
,"null reference");
6660 arg3
= wxString_in_helper(obj2
);
6661 if (arg3
== NULL
) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= wxPyMake_wxObject(result
, 0);
6688 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6691 wxString
*arg2
= 0 ;
6692 int arg3
= (int) 0 ;
6694 bool temp2
= False
;
6695 PyObject
* obj0
= 0 ;
6696 PyObject
* obj1
= 0 ;
6697 PyObject
* obj2
= 0 ;
6699 (char *) "self",(char *) "spec",(char *) "flags", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6706 arg2
= wxString_in_helper(obj1
);
6707 if (arg2
== NULL
) SWIG_fail
;
6711 arg3
= (int) SWIG_AsInt(obj2
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6742 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6746 PyObject
* obj0
= 0 ;
6748 (char *) "self", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= (arg1
)->FindNext();
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6774 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6776 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6777 wxString
*arg2
= 0 ;
6779 bool temp2
= False
;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6783 (char *) "self",(char *) "location", NULL
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6790 arg2
= wxString_in_helper(obj1
);
6791 if (arg2
== NULL
) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6822 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6824 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6825 wxString
*arg2
= 0 ;
6827 bool temp2
= False
;
6828 PyObject
* obj0
= 0 ;
6829 PyObject
* obj1
= 0 ;
6831 (char *) "self",(char *) "location", NULL
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6838 arg2
= wxString_in_helper(obj1
);
6839 if (arg2
== NULL
) SWIG_fail
;
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6870 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
;
6872 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6873 wxString
*arg2
= 0 ;
6875 bool temp2
= False
;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj1
= 0 ;
6879 (char *) "self",(char *) "location", NULL
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6886 arg2
= wxString_in_helper(obj1
);
6887 if (arg2
== NULL
) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6918 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6921 wxString
*arg2
= 0 ;
6923 bool temp2
= False
;
6924 PyObject
* obj0
= 0 ;
6925 PyObject
* obj1
= 0 ;
6927 (char *) "self",(char *) "location", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6934 arg2
= wxString_in_helper(obj1
);
6935 if (arg2
== NULL
) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6966 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6969 wxString
*arg2
= 0 ;
6971 bool temp2
= False
;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6975 (char *) "self",(char *) "location", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6982 arg2
= wxString_in_helper(obj1
);
6983 if (arg2
== NULL
) SWIG_fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7014 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7017 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7019 return Py_BuildValue((char *)"");
7021 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxFileSystem
*result
;
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 result
= (wxFileSystem
*)new wxFileSystem();
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= wxPyMake_wxObject(result
, 1);
7045 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
;
7047 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7048 PyObject
* obj0
= 0 ;
7050 (char *) "self", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 Py_INCREF(Py_None
); resultobj
= Py_None
;
7070 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7073 wxString
*arg2
= 0 ;
7074 bool arg3
= (bool) False
;
7075 bool temp2
= False
;
7076 PyObject
* obj0
= 0 ;
7077 PyObject
* obj1
= 0 ;
7078 PyObject
* obj2
= 0 ;
7080 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7087 arg2
= wxString_in_helper(obj1
);
7088 if (arg2
== NULL
) SWIG_fail
;
7092 arg3
= (bool) SWIG_AsBool(obj2
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 Py_INCREF(Py_None
); resultobj
= Py_None
;
7117 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7123 (char *) "self", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 result
= (arg1
)->GetPath();
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7149 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
;
7151 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7152 wxString
*arg2
= 0 ;
7154 bool temp2
= False
;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7158 (char *) "self",(char *) "location", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7165 arg2
= wxString_in_helper(obj1
);
7166 if (arg2
== NULL
) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= wxPyMake_wxObject(result
, 0);
7193 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7196 wxString
*arg2
= 0 ;
7197 int arg3
= (int) 0 ;
7199 bool temp2
= False
;
7200 PyObject
* obj0
= 0 ;
7201 PyObject
* obj1
= 0 ;
7202 PyObject
* obj2
= 0 ;
7204 (char *) "self",(char *) "spec",(char *) "flags", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7211 arg2
= wxString_in_helper(obj1
);
7212 if (arg2
== NULL
) SWIG_fail
;
7216 arg3
= (int) SWIG_AsInt(obj2
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7247 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (arg1
)->FindNext();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7279 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7281 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7282 PyObject
* obj0
= 0 ;
7284 (char *) "handler", NULL
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 wxFileSystem::AddHandler(arg1
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 Py_INCREF(Py_None
); resultobj
= Py_None
;
7304 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7305 PyObject
*resultobj
;
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 wxFileSystem::CleanUpHandlers();
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 Py_INCREF(Py_None
); resultobj
= Py_None
;
7325 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
;
7327 wxString
*arg1
= 0 ;
7329 bool temp1
= False
;
7330 PyObject
* obj0
= 0 ;
7332 (char *) "filename", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7337 arg1
= wxString_in_helper(obj0
);
7338 if (arg1
== NULL
) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7369 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7372 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7374 return Py_BuildValue((char *)"");
7376 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxString
*arg1
= 0 ;
7380 bool temp1
= False
;
7381 PyObject
* obj0
= 0 ;
7383 (char *) "url", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7388 arg1
= wxString_in_helper(obj0
);
7389 if (arg1
== NULL
) SWIG_fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7420 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
*resultobj
;
7422 wxInternetFSHandler
*result
;
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7442 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7445 wxString
*arg2
= 0 ;
7447 bool temp2
= False
;
7448 PyObject
* obj0
= 0 ;
7449 PyObject
* obj1
= 0 ;
7451 (char *) "self",(char *) "location", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7458 arg2
= wxString_in_helper(obj1
);
7459 if (arg2
== NULL
) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7486 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7489 wxFileSystem
*arg2
= 0 ;
7490 wxString
*arg3
= 0 ;
7492 bool temp3
= False
;
7493 PyObject
* obj0
= 0 ;
7494 PyObject
* obj1
= 0 ;
7495 PyObject
* obj2
= 0 ;
7497 (char *) "self",(char *) "fs",(char *) "location", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7507 PyErr_SetString(PyExc_TypeError
,"null reference");
7511 arg3
= wxString_in_helper(obj2
);
7512 if (arg3
== NULL
) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= wxPyMake_wxObject(result
, 0);
7539 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7542 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7544 return Py_BuildValue((char *)"");
7546 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxZipFSHandler
*result
;
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7556 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7568 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7570 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7571 wxString
*arg2
= 0 ;
7573 bool temp2
= False
;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7577 (char *) "self",(char *) "location", NULL
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7584 arg2
= wxString_in_helper(obj1
);
7585 if (arg2
== NULL
) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7612 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
;
7614 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7615 wxFileSystem
*arg2
= 0 ;
7616 wxString
*arg3
= 0 ;
7618 bool temp3
= False
;
7619 PyObject
* obj0
= 0 ;
7620 PyObject
* obj1
= 0 ;
7621 PyObject
* obj2
= 0 ;
7623 (char *) "self",(char *) "fs",(char *) "location", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7633 PyErr_SetString(PyExc_TypeError
,"null reference");
7637 arg3
= wxString_in_helper(obj2
);
7638 if (arg3
== NULL
) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7649 resultobj
= wxPyMake_wxObject(result
, 0);
7665 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7668 wxString
*arg2
= 0 ;
7669 int arg3
= (int) 0 ;
7671 bool temp2
= False
;
7672 PyObject
* obj0
= 0 ;
7673 PyObject
* obj1
= 0 ;
7674 PyObject
* obj2
= 0 ;
7676 (char *) "self",(char *) "spec",(char *) "flags", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7683 arg2
= wxString_in_helper(obj1
);
7684 if (arg2
== NULL
) SWIG_fail
;
7688 arg3
= (int) SWIG_AsInt(obj2
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7719 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7723 PyObject
* obj0
= 0 ;
7725 (char *) "self", NULL
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 result
= (arg1
)->FindNext();
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7751 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7754 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7756 return Py_BuildValue((char *)"");
7758 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxString
*arg1
= 0 ;
7763 bool temp1
= False
;
7764 PyObject
* obj0
= 0 ;
7765 PyObject
* obj1
= 0 ;
7766 PyObject
* obj2
= 0 ;
7768 (char *) "filename",(char *) "image",(char *) "type", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7773 arg1
= wxString_in_helper(obj0
);
7774 if (arg1
== NULL
) SWIG_fail
;
7777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7781 PyErr_SetString(PyExc_TypeError
,"null reference");
7784 arg3
= (long) SWIG_AsLong(obj2
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 Py_INCREF(Py_None
); resultobj
= Py_None
;
7808 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxString
*arg1
= 0 ;
7811 wxBitmap
*arg2
= 0 ;
7813 bool temp1
= False
;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7816 PyObject
* obj2
= 0 ;
7818 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7823 arg1
= wxString_in_helper(obj0
);
7824 if (arg1
== NULL
) SWIG_fail
;
7827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7831 PyErr_SetString(PyExc_TypeError
,"null reference");
7834 arg3
= (long) SWIG_AsLong(obj2
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7843 Py_INCREF(Py_None
); resultobj
= Py_None
;
7858 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
*resultobj
;
7860 wxString
*arg1
= 0 ;
7861 PyObject
*arg2
= (PyObject
*) 0 ;
7862 bool temp1
= False
;
7863 PyObject
* obj0
= 0 ;
7864 PyObject
* obj1
= 0 ;
7866 (char *) "filename",(char *) "data", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7871 arg1
= wxString_in_helper(obj0
);
7872 if (arg1
== NULL
) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 Py_INCREF(Py_None
); resultobj
= Py_None
;
7898 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
;
7900 wxMemoryFSHandler
*result
;
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7920 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxString
*arg1
= 0 ;
7923 bool temp1
= False
;
7924 PyObject
* obj0
= 0 ;
7926 (char *) "filename", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7931 arg1
= wxString_in_helper(obj0
);
7932 if (arg1
== NULL
) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 Py_INCREF(Py_None
); resultobj
= Py_None
;
7957 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7960 wxString
*arg2
= 0 ;
7962 bool temp2
= False
;
7963 PyObject
* obj0
= 0 ;
7964 PyObject
* obj1
= 0 ;
7966 (char *) "self",(char *) "location", NULL
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7973 arg2
= wxString_in_helper(obj1
);
7974 if (arg2
== NULL
) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8001 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8004 wxFileSystem
*arg2
= 0 ;
8005 wxString
*arg3
= 0 ;
8007 bool temp3
= False
;
8008 PyObject
* obj0
= 0 ;
8009 PyObject
* obj1
= 0 ;
8010 PyObject
* obj2
= 0 ;
8012 (char *) "self",(char *) "fs",(char *) "location", NULL
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8022 PyErr_SetString(PyExc_TypeError
,"null reference");
8026 arg3
= wxString_in_helper(obj2
);
8027 if (arg3
== NULL
) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= wxPyMake_wxObject(result
, 0);
8054 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8056 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8057 wxString
*arg2
= 0 ;
8058 int arg3
= (int) 0 ;
8060 bool temp2
= False
;
8061 PyObject
* obj0
= 0 ;
8062 PyObject
* obj1
= 0 ;
8063 PyObject
* obj2
= 0 ;
8065 (char *) "self",(char *) "spec",(char *) "flags", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8072 arg2
= wxString_in_helper(obj1
);
8073 if (arg2
== NULL
) SWIG_fail
;
8077 arg3
= (int) SWIG_AsInt(obj2
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8108 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8114 (char *) "self", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= (arg1
)->FindNext();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8140 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8143 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8145 return Py_BuildValue((char *)"");
8147 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
;
8149 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8151 PyObject
* obj0
= 0 ;
8153 (char *) "self", NULL
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 result
= (arg1
)->GetName();
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8179 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8185 (char *) "self", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (arg1
)->GetExtension();
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8211 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8215 PyObject
* obj0
= 0 ;
8217 (char *) "self", NULL
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 result
= (long)(arg1
)->GetType();
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= SWIG_FromLong((long)result
);
8237 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8241 PyObject
* obj0
= 0 ;
8243 (char *) "self", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 result
= (arg1
)->GetMimeType();
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8269 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8272 wxString
*arg2
= 0 ;
8274 bool temp2
= False
;
8275 PyObject
* obj0
= 0 ;
8276 PyObject
* obj1
= 0 ;
8278 (char *) "self",(char *) "name", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8285 arg2
= wxString_in_helper(obj1
);
8286 if (arg2
== NULL
) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8313 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8316 wxString
*arg2
= 0 ;
8317 bool temp2
= False
;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8321 (char *) "self",(char *) "name", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 arg2
= wxString_in_helper(obj1
);
8329 if (arg2
== NULL
) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 (arg1
)->SetName((wxString
const &)*arg2
);
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 Py_INCREF(Py_None
); resultobj
= Py_None
;
8354 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
;
8356 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8357 wxString
*arg2
= 0 ;
8358 bool temp2
= False
;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8362 (char *) "self",(char *) "extension", NULL
8365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8369 arg2
= wxString_in_helper(obj1
);
8370 if (arg2
== NULL
) SWIG_fail
;
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 (arg1
)->SetExtension((wxString
const &)*arg2
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8380 Py_INCREF(Py_None
); resultobj
= Py_None
;
8395 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
;
8397 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8399 PyObject
* obj0
= 0 ;
8400 PyObject
* obj1
= 0 ;
8402 (char *) "self",(char *) "type", NULL
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8408 arg2
= (long) SWIG_AsLong(obj1
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 (arg1
)->SetType(arg2
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 Py_INCREF(Py_None
); resultobj
= Py_None
;
8424 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
;
8426 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8427 wxString
*arg2
= 0 ;
8428 bool temp2
= False
;
8429 PyObject
* obj0
= 0 ;
8430 PyObject
* obj1
= 0 ;
8432 (char *) "self",(char *) "mimetype", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8439 arg2
= wxString_in_helper(obj1
);
8440 if (arg2
== NULL
) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 Py_INCREF(Py_None
); resultobj
= Py_None
;
8465 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8468 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8470 return Py_BuildValue((char *)"");
8472 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxImageHistogram
*result
;
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (wxImageHistogram
*)new wxImageHistogram();
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8494 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
;
8496 unsigned char arg1
;
8497 unsigned char arg2
;
8498 unsigned char arg3
;
8499 unsigned long result
;
8500 PyObject
* obj0
= 0 ;
8501 PyObject
* obj1
= 0 ;
8502 PyObject
* obj2
= 0 ;
8504 (char *) "r",(char *) "g",(char *) "b", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8508 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8510 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8512 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8528 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8531 unsigned char *arg2
= (unsigned char *) 0 ;
8532 unsigned char *arg3
= (unsigned char *) 0 ;
8533 unsigned char *arg4
= (unsigned char *) 0 ;
8534 unsigned char arg5
= (unsigned char) 1 ;
8535 unsigned char arg6
= (unsigned char) 0 ;
8536 unsigned char arg7
= (unsigned char) 0 ;
8538 unsigned char temp2
;
8539 unsigned char temp3
;
8540 unsigned char temp4
;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8543 PyObject
* obj2
= 0 ;
8544 PyObject
* obj3
= 0 ;
8546 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8556 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8560 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8564 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8578 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8579 resultobj
= t_output_helper(resultobj
,o
);
8582 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8583 resultobj
= t_output_helper(resultobj
,o
);
8586 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8587 resultobj
= t_output_helper(resultobj
,o
);
8595 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8598 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8600 return Py_BuildValue((char *)"");
8602 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxString
*arg1
= 0 ;
8605 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8606 int arg3
= (int) -1 ;
8608 bool temp1
= False
;
8609 PyObject
* obj0
= 0 ;
8610 PyObject
* obj1
= 0 ;
8611 PyObject
* obj2
= 0 ;
8613 (char *) "name",(char *) "type",(char *) "index", NULL
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8618 arg1
= wxString_in_helper(obj0
);
8619 if (arg1
== NULL
) SWIG_fail
;
8623 arg2
= (long) SWIG_AsLong(obj1
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8627 arg3
= (int) SWIG_AsInt(obj2
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8652 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxImage
*arg1
= (wxImage
*) 0 ;
8655 PyObject
* obj0
= 0 ;
8657 (char *) "self", NULL
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 Py_INCREF(Py_None
); resultobj
= Py_None
;
8677 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxString
*arg1
= 0 ;
8680 wxString
*arg2
= 0 ;
8681 int arg3
= (int) -1 ;
8683 bool temp1
= False
;
8684 bool temp2
= False
;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8687 PyObject
* obj2
= 0 ;
8689 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8694 arg1
= wxString_in_helper(obj0
);
8695 if (arg1
== NULL
) SWIG_fail
;
8699 arg2
= wxString_in_helper(obj1
);
8700 if (arg2
== NULL
) SWIG_fail
;
8704 arg3
= (int) SWIG_AsInt(obj2
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8737 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxInputStream
*arg1
= 0 ;
8740 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8741 int arg3
= (int) -1 ;
8743 wxPyInputStream
*temp1
;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8749 (char *) "stream",(char *) "type",(char *) "index", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8754 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8755 arg1
= temp1
->m_wxis
;
8758 PyErr_Clear(); // clear the failure of the wxPyConvert above
8759 arg1
= wxPyCBInputStream_create(obj0
, False
);
8761 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8768 arg2
= (long) SWIG_AsLong(obj1
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8772 arg3
= (int) SWIG_AsInt(obj2
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8797 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxInputStream
*arg1
= 0 ;
8800 wxString
*arg2
= 0 ;
8801 int arg3
= (int) -1 ;
8803 wxPyInputStream
*temp1
;
8805 bool temp2
= False
;
8806 PyObject
* obj0
= 0 ;
8807 PyObject
* obj1
= 0 ;
8808 PyObject
* obj2
= 0 ;
8810 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8815 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8816 arg1
= temp1
->m_wxis
;
8819 PyErr_Clear(); // clear the failure of the wxPyConvert above
8820 arg1
= wxPyCBInputStream_create(obj0
, False
);
8822 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8829 arg2
= wxString_in_helper(obj1
);
8830 if (arg2
== NULL
) SWIG_fail
;
8834 arg3
= (int) SWIG_AsInt(obj2
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8867 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 int arg1
= (int) 0 ;
8870 int arg2
= (int) 0 ;
8871 bool arg3
= (bool) True
;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8875 PyObject
* obj2
= 0 ;
8877 (char *) "width",(char *) "height",(char *) "clear", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8882 arg1
= (int) SWIG_AsInt(obj0
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8886 arg2
= (int) SWIG_AsInt(obj1
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8890 arg3
= (bool) SWIG_AsBool(obj2
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8907 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
;
8909 wxBitmap
*arg1
= 0 ;
8911 PyObject
* obj0
= 0 ;
8913 (char *) "bitmap", NULL
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8921 PyErr_SetString(PyExc_TypeError
,"null reference");
8925 if (!wxPyCheckForApp()) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8939 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8943 unsigned char *arg3
= (unsigned char *) 0 ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8947 PyObject
* obj2
= 0 ;
8949 (char *) "width",(char *) "height",(char *) "data", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8953 arg1
= (int) SWIG_AsInt(obj0
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8955 arg2
= (int) SWIG_AsInt(obj1
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8957 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8973 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxImage
*arg1
= (wxImage
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8982 (char *) "self",(char *) "width",(char *) "height", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8988 arg2
= (int) SWIG_AsInt(obj1
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8990 arg3
= (int) SWIG_AsInt(obj2
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 (arg1
)->Create(arg2
,arg3
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 Py_INCREF(Py_None
); resultobj
= Py_None
;
9006 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
;
9008 wxImage
*arg1
= (wxImage
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9011 (char *) "self", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 Py_INCREF(Py_None
); resultobj
= Py_None
;
9031 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9033 wxImage
*arg1
= (wxImage
*) 0 ;
9036 SwigValueWrapper
< wxImage
> result
;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9039 PyObject
* obj2
= 0 ;
9041 (char *) "self",(char *) "width",(char *) "height", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9047 arg2
= (int) SWIG_AsInt(obj1
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9049 arg3
= (int) SWIG_AsInt(obj2
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 result
= (arg1
)->Scale(arg2
,arg3
);
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9059 wxImage
* resultptr
;
9060 resultptr
= new wxImage((wxImage
&) result
);
9061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9069 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxImage
*arg1
= (wxImage
*) 0 ;
9074 SwigValueWrapper
< wxImage
> result
;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 PyObject
* obj2
= 0 ;
9079 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9085 arg2
= (int) SWIG_AsInt(obj1
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9087 arg3
= (int) SWIG_AsInt(obj2
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9097 wxImage
* resultptr
;
9098 resultptr
= new wxImage((wxImage
&) result
);
9099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9107 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9109 wxImage
*arg1
= (wxImage
*) 0 ;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9115 PyObject
* obj2
= 0 ;
9117 (char *) "self",(char *) "width",(char *) "height", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9123 arg2
= (int) SWIG_AsInt(obj1
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9125 arg3
= (int) SWIG_AsInt(obj2
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9131 result
= (wxImage
*) &_result_ref
;
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9144 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxImage
*arg1
= (wxImage
*) 0 ;
9149 unsigned char arg4
;
9150 unsigned char arg5
;
9151 unsigned char arg6
;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9154 PyObject
* obj2
= 0 ;
9155 PyObject
* obj3
= 0 ;
9156 PyObject
* obj4
= 0 ;
9157 PyObject
* obj5
= 0 ;
9159 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9165 arg2
= (int) SWIG_AsInt(obj1
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9167 arg3
= (int) SWIG_AsInt(obj2
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9169 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9171 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9173 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 Py_INCREF(Py_None
); resultobj
= Py_None
;
9189 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
*resultobj
;
9191 wxImage
*arg1
= (wxImage
*) 0 ;
9194 unsigned char result
;
9195 PyObject
* obj0
= 0 ;
9196 PyObject
* obj1
= 0 ;
9197 PyObject
* obj2
= 0 ;
9199 (char *) "self",(char *) "x",(char *) "y", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9205 arg2
= (int) SWIG_AsInt(obj1
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9207 arg3
= (int) SWIG_AsInt(obj2
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9223 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
*resultobj
;
9225 wxImage
*arg1
= (wxImage
*) 0 ;
9228 unsigned char result
;
9229 PyObject
* obj0
= 0 ;
9230 PyObject
* obj1
= 0 ;
9231 PyObject
* obj2
= 0 ;
9233 (char *) "self",(char *) "x",(char *) "y", NULL
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9239 arg2
= (int) SWIG_AsInt(obj1
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9241 arg3
= (int) SWIG_AsInt(obj2
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9257 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
;
9259 wxImage
*arg1
= (wxImage
*) 0 ;
9262 unsigned char result
;
9263 PyObject
* obj0
= 0 ;
9264 PyObject
* obj1
= 0 ;
9265 PyObject
* obj2
= 0 ;
9267 (char *) "self",(char *) "x",(char *) "y", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9273 arg2
= (int) SWIG_AsInt(obj1
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9275 arg3
= (int) SWIG_AsInt(obj2
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9291 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9293 wxImage
*arg1
= (wxImage
*) 0 ;
9296 unsigned char arg4
;
9297 PyObject
* obj0
= 0 ;
9298 PyObject
* obj1
= 0 ;
9299 PyObject
* obj2
= 0 ;
9300 PyObject
* obj3
= 0 ;
9302 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9308 arg2
= (int) SWIG_AsInt(obj1
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9310 arg3
= (int) SWIG_AsInt(obj2
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9312 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 Py_INCREF(Py_None
); resultobj
= Py_None
;
9328 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxImage
*arg1
= (wxImage
*) 0 ;
9333 unsigned char result
;
9334 PyObject
* obj0
= 0 ;
9335 PyObject
* obj1
= 0 ;
9336 PyObject
* obj2
= 0 ;
9338 (char *) "self",(char *) "x",(char *) "y", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9344 arg2
= (int) SWIG_AsInt(obj1
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9346 arg3
= (int) SWIG_AsInt(obj2
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9362 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxImage
*arg1
= (wxImage
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9368 (char *) "self", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (bool)(arg1
)->HasAlpha();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9390 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9392 wxImage
*arg1
= (wxImage
*) 0 ;
9393 byte
*arg2
= (byte
*) 0 ;
9394 byte
*arg3
= (byte
*) 0 ;
9395 byte
*arg4
= (byte
*) 0 ;
9396 byte arg5
= (byte
) 0 ;
9397 byte arg6
= (byte
) 0 ;
9398 byte arg7
= (byte
) 0 ;
9403 PyObject
* obj0
= 0 ;
9404 PyObject
* obj1
= 0 ;
9405 PyObject
* obj2
= 0 ;
9406 PyObject
* obj3
= 0 ;
9408 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9418 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9422 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9426 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9440 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9441 resultobj
= t_output_helper(resultobj
,o
);
9444 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9445 resultobj
= t_output_helper(resultobj
,o
);
9448 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9449 resultobj
= t_output_helper(resultobj
,o
);
9457 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxImage
*arg1
= (wxImage
*) 0 ;
9465 PyObject
* obj0
= 0 ;
9466 PyObject
* obj1
= 0 ;
9467 PyObject
* obj2
= 0 ;
9468 PyObject
* obj3
= 0 ;
9469 PyObject
* obj4
= 0 ;
9471 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9481 PyErr_SetString(PyExc_TypeError
,"null reference");
9484 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9486 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9488 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9506 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9508 wxString
*arg1
= 0 ;
9510 bool temp1
= False
;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "name", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9518 arg1
= wxString_in_helper(obj0
);
9519 if (arg1
== NULL
) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9546 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
*resultobj
;
9548 wxString
*arg1
= 0 ;
9549 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9551 bool temp1
= False
;
9552 PyObject
* obj0
= 0 ;
9553 PyObject
* obj1
= 0 ;
9555 (char *) "name",(char *) "type", NULL
9558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9560 arg1
= wxString_in_helper(obj0
);
9561 if (arg1
== NULL
) SWIG_fail
;
9565 arg2
= (long) SWIG_AsLong(obj1
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= SWIG_FromInt((int)result
);
9590 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxImage
*arg1
= (wxImage
*) 0 ;
9593 wxString
*arg2
= 0 ;
9594 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9595 int arg4
= (int) -1 ;
9597 bool temp2
= False
;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 PyObject
* obj2
= 0 ;
9601 PyObject
* obj3
= 0 ;
9603 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 arg2
= wxString_in_helper(obj1
);
9611 if (arg2
== NULL
) SWIG_fail
;
9615 arg3
= (long) SWIG_AsLong(obj2
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9619 arg4
= (int) SWIG_AsInt(obj3
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9646 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxImage
*arg1
= (wxImage
*) 0 ;
9649 wxString
*arg2
= 0 ;
9650 wxString
*arg3
= 0 ;
9651 int arg4
= (int) -1 ;
9653 bool temp2
= False
;
9654 bool temp3
= False
;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9657 PyObject
* obj2
= 0 ;
9658 PyObject
* obj3
= 0 ;
9660 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9667 arg2
= wxString_in_helper(obj1
);
9668 if (arg2
== NULL
) SWIG_fail
;
9672 arg3
= wxString_in_helper(obj2
);
9673 if (arg3
== NULL
) SWIG_fail
;
9677 arg4
= (int) SWIG_AsInt(obj3
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9712 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxImage
*arg1
= (wxImage
*) 0 ;
9715 wxString
*arg2
= 0 ;
9718 bool temp2
= False
;
9719 PyObject
* obj0
= 0 ;
9720 PyObject
* obj1
= 0 ;
9721 PyObject
* obj2
= 0 ;
9723 (char *) "self",(char *) "name",(char *) "type", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9730 arg2
= wxString_in_helper(obj1
);
9731 if (arg2
== NULL
) SWIG_fail
;
9734 arg3
= (int) SWIG_AsInt(obj2
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9760 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxImage
*arg1
= (wxImage
*) 0 ;
9763 wxString
*arg2
= 0 ;
9764 wxString
*arg3
= 0 ;
9766 bool temp2
= False
;
9767 bool temp3
= False
;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 PyObject
* obj2
= 0 ;
9772 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9779 arg2
= wxString_in_helper(obj1
);
9780 if (arg2
== NULL
) SWIG_fail
;
9784 arg3
= wxString_in_helper(obj2
);
9785 if (arg3
== NULL
) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9820 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxInputStream
*arg1
= 0 ;
9824 wxPyInputStream
*temp1
;
9826 PyObject
* obj0
= 0 ;
9828 (char *) "stream", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9833 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9834 arg1
= temp1
->m_wxis
;
9837 PyErr_Clear(); // clear the failure of the wxPyConvert above
9838 arg1
= wxPyCBInputStream_create(obj0
, False
);
9840 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (bool)wxImage::CanRead(*arg1
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9870 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
;
9872 wxImage
*arg1
= (wxImage
*) 0 ;
9873 wxInputStream
*arg2
= 0 ;
9874 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9875 int arg4
= (int) -1 ;
9877 wxPyInputStream
*temp2
;
9879 PyObject
* obj0
= 0 ;
9880 PyObject
* obj1
= 0 ;
9881 PyObject
* obj2
= 0 ;
9882 PyObject
* obj3
= 0 ;
9884 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9891 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9892 arg2
= temp2
->m_wxis
;
9895 PyErr_Clear(); // clear the failure of the wxPyConvert above
9896 arg2
= wxPyCBInputStream_create(obj1
, False
);
9898 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9905 arg3
= (long) SWIG_AsLong(obj2
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9909 arg4
= (int) SWIG_AsInt(obj3
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9936 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxImage
*arg1
= (wxImage
*) 0 ;
9939 wxInputStream
*arg2
= 0 ;
9940 wxString
*arg3
= 0 ;
9941 int arg4
= (int) -1 ;
9943 wxPyInputStream
*temp2
;
9945 bool temp3
= False
;
9946 PyObject
* obj0
= 0 ;
9947 PyObject
* obj1
= 0 ;
9948 PyObject
* obj2
= 0 ;
9949 PyObject
* obj3
= 0 ;
9951 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9958 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9959 arg2
= temp2
->m_wxis
;
9962 PyErr_Clear(); // clear the failure of the wxPyConvert above
9963 arg2
= wxPyCBInputStream_create(obj1
, False
);
9965 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9972 arg3
= wxString_in_helper(obj2
);
9973 if (arg3
== NULL
) SWIG_fail
;
9977 arg4
= (int) SWIG_AsInt(obj3
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10012 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
;
10014 wxImage
*arg1
= (wxImage
*) 0 ;
10016 PyObject
* obj0
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "self", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (bool)(arg1
)->Ok();
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10040 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
*resultobj
;
10042 wxImage
*arg1
= (wxImage
*) 0 ;
10044 PyObject
* obj0
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "self", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= (int)(arg1
)->GetWidth();
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_FromInt((int)result
);
10066 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
;
10068 wxImage
*arg1
= (wxImage
*) 0 ;
10070 PyObject
* obj0
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 result
= (int)(arg1
)->GetHeight();
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= SWIG_FromInt((int)result
);
10092 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
;
10094 wxImage
*arg1
= (wxImage
*) 0 ;
10096 PyObject
* obj0
= 0 ;
10097 char *kwnames
[] = {
10098 (char *) "self", NULL
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 result
= wxImage_GetSize(arg1
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10112 wxSize
* resultptr
;
10113 resultptr
= new wxSize((wxSize
&) result
);
10114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10122 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxImage
*arg1
= (wxImage
*) 0 ;
10126 SwigValueWrapper
< wxImage
> result
;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 char *kwnames
[] = {
10131 (char *) "self",(char *) "rect", NULL
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10139 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10149 wxImage
* resultptr
;
10150 resultptr
= new wxImage((wxImage
&) result
);
10151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10159 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxImage
*arg1
= (wxImage
*) 0 ;
10162 SwigValueWrapper
< wxImage
> result
;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (arg1
)->Copy();
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10179 wxImage
* resultptr
;
10180 resultptr
= new wxImage((wxImage
&) result
);
10181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10189 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxImage
*arg1
= (wxImage
*) 0 ;
10192 wxImage
*arg2
= 0 ;
10195 PyObject
* obj0
= 0 ;
10196 PyObject
* obj1
= 0 ;
10197 PyObject
* obj2
= 0 ;
10198 PyObject
* obj3
= 0 ;
10199 char *kwnames
[] = {
10200 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10209 if (arg2
== NULL
) {
10210 PyErr_SetString(PyExc_TypeError
,"null reference");
10213 arg3
= (int) SWIG_AsInt(obj2
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10215 arg4
= (int) SWIG_AsInt(obj3
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 Py_INCREF(Py_None
); resultobj
= Py_None
;
10231 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10233 wxImage
*arg1
= (wxImage
*) 0 ;
10235 PyObject
* obj0
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (PyObject
*)wxImage_GetData(arg1
);
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10250 resultobj
= result
;
10257 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
;
10259 wxImage
*arg1
= (wxImage
*) 0 ;
10260 PyObject
*arg2
= (PyObject
*) 0 ;
10261 PyObject
* obj0
= 0 ;
10262 PyObject
* obj1
= 0 ;
10263 char *kwnames
[] = {
10264 (char *) "self",(char *) "data", NULL
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 wxImage_SetData(arg1
,arg2
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 Py_INCREF(Py_None
); resultobj
= Py_None
;
10285 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
;
10287 wxImage
*arg1
= (wxImage
*) 0 ;
10289 PyObject
* obj0
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self", NULL
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= result
;
10311 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
;
10313 wxImage
*arg1
= (wxImage
*) 0 ;
10314 PyObject
*arg2
= (PyObject
*) 0 ;
10315 PyObject
* obj0
= 0 ;
10316 PyObject
* obj1
= 0 ;
10317 char *kwnames
[] = {
10318 (char *) "self",(char *) "data", NULL
10321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 wxImage_SetDataBuffer(arg1
,arg2
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 Py_INCREF(Py_None
); resultobj
= Py_None
;
10339 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxImage
*arg1
= (wxImage
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= result
;
10365 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxImage
*arg1
= (wxImage
*) 0 ;
10368 PyObject
*arg2
= (PyObject
*) 0 ;
10369 PyObject
* obj0
= 0 ;
10370 PyObject
* obj1
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self",(char *) "data", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 wxImage_SetAlphaData(arg1
,arg2
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 Py_INCREF(Py_None
); resultobj
= Py_None
;
10393 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxImage
*arg1
= (wxImage
*) 0 ;
10397 PyObject
* obj0
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= result
;
10419 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
;
10421 wxImage
*arg1
= (wxImage
*) 0 ;
10422 PyObject
*arg2
= (PyObject
*) 0 ;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self",(char *) "data", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 wxImage_SetAlphaBuffer(arg1
,arg2
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 Py_INCREF(Py_None
); resultobj
= Py_None
;
10447 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxImage
*arg1
= (wxImage
*) 0 ;
10450 unsigned char arg2
;
10451 unsigned char arg3
;
10452 unsigned char arg4
;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 PyObject
* obj2
= 0 ;
10456 PyObject
* obj3
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10466 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10468 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 Py_INCREF(Py_None
); resultobj
= Py_None
;
10484 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxImage
*arg1
= (wxImage
*) 0 ;
10487 unsigned char result
;
10488 PyObject
* obj0
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (unsigned char)(arg1
)->GetMaskRed();
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10510 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
;
10512 wxImage
*arg1
= (wxImage
*) 0 ;
10513 unsigned char result
;
10514 PyObject
* obj0
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 result
= (unsigned char)(arg1
)->GetMaskGreen();
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10536 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxImage
*arg1
= (wxImage
*) 0 ;
10539 unsigned char result
;
10540 PyObject
* obj0
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (unsigned char)(arg1
)->GetMaskBlue();
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10562 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxImage
*arg1
= (wxImage
*) 0 ;
10565 bool arg2
= (bool) True
;
10566 PyObject
* obj0
= 0 ;
10567 PyObject
* obj1
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self",(char *) "mask", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10576 arg2
= (bool) SWIG_AsBool(obj1
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 (arg1
)->SetMask(arg2
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 Py_INCREF(Py_None
); resultobj
= Py_None
;
10593 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxImage
*arg1
= (wxImage
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (bool)(arg1
)->HasMask();
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10621 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxImage
*arg1
= (wxImage
*) 0 ;
10625 wxPoint
*arg3
= 0 ;
10626 bool arg4
= (bool) True
;
10627 wxPoint
*arg5
= (wxPoint
*) NULL
;
10628 SwigValueWrapper
< wxImage
> result
;
10630 PyObject
* obj0
= 0 ;
10631 PyObject
* obj1
= 0 ;
10632 PyObject
* obj2
= 0 ;
10633 PyObject
* obj3
= 0 ;
10634 PyObject
* obj4
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10642 arg2
= (double) SWIG_AsDouble(obj1
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10649 arg4
= (bool) SWIG_AsBool(obj3
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10664 wxImage
* resultptr
;
10665 resultptr
= new wxImage((wxImage
&) result
);
10666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10674 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxImage
*arg1
= (wxImage
*) 0 ;
10677 bool arg2
= (bool) True
;
10678 SwigValueWrapper
< wxImage
> result
;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 char *kwnames
[] = {
10682 (char *) "self",(char *) "clockwise", NULL
10685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10689 arg2
= (bool) SWIG_AsBool(obj1
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 result
= (arg1
)->Rotate90(arg2
);
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10700 wxImage
* resultptr
;
10701 resultptr
= new wxImage((wxImage
&) result
);
10702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10710 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
*resultobj
;
10712 wxImage
*arg1
= (wxImage
*) 0 ;
10713 bool arg2
= (bool) True
;
10714 SwigValueWrapper
< wxImage
> result
;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self",(char *) "horizontally", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10725 arg2
= (bool) SWIG_AsBool(obj1
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= (arg1
)->Mirror(arg2
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10736 wxImage
* resultptr
;
10737 resultptr
= new wxImage((wxImage
&) result
);
10738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10746 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxImage
*arg1
= (wxImage
*) 0 ;
10749 unsigned char arg2
;
10750 unsigned char arg3
;
10751 unsigned char arg4
;
10752 unsigned char arg5
;
10753 unsigned char arg6
;
10754 unsigned char arg7
;
10755 PyObject
* obj0
= 0 ;
10756 PyObject
* obj1
= 0 ;
10757 PyObject
* obj2
= 0 ;
10758 PyObject
* obj3
= 0 ;
10759 PyObject
* obj4
= 0 ;
10760 PyObject
* obj5
= 0 ;
10761 PyObject
* obj6
= 0 ;
10762 char *kwnames
[] = {
10763 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10769 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10771 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10773 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10775 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10777 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10779 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 Py_INCREF(Py_None
); resultobj
= Py_None
;
10795 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
;
10797 wxImage
*arg1
= (wxImage
*) 0 ;
10798 unsigned char arg2
;
10799 unsigned char arg3
;
10800 unsigned char arg4
;
10801 SwigValueWrapper
< wxImage
> result
;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 PyObject
* obj2
= 0 ;
10805 PyObject
* obj3
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10813 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10815 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10817 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10827 wxImage
* resultptr
;
10828 resultptr
= new wxImage((wxImage
&) result
);
10829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10837 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxImage
*arg1
= (wxImage
*) 0 ;
10840 wxString
*arg2
= 0 ;
10841 wxString
*arg3
= 0 ;
10842 bool temp2
= False
;
10843 bool temp3
= False
;
10844 PyObject
* obj0
= 0 ;
10845 PyObject
* obj1
= 0 ;
10846 PyObject
* obj2
= 0 ;
10847 char *kwnames
[] = {
10848 (char *) "self",(char *) "name",(char *) "value", NULL
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10855 arg2
= wxString_in_helper(obj1
);
10856 if (arg2
== NULL
) SWIG_fail
;
10860 arg3
= wxString_in_helper(obj2
);
10861 if (arg3
== NULL
) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 Py_INCREF(Py_None
); resultobj
= Py_None
;
10894 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
;
10896 wxImage
*arg1
= (wxImage
*) 0 ;
10897 wxString
*arg2
= 0 ;
10899 bool temp2
= False
;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 PyObject
* obj2
= 0 ;
10903 char *kwnames
[] = {
10904 (char *) "self",(char *) "name",(char *) "value", NULL
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10911 arg2
= wxString_in_helper(obj1
);
10912 if (arg2
== NULL
) SWIG_fail
;
10915 arg3
= (int) SWIG_AsInt(obj2
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 Py_INCREF(Py_None
); resultobj
= Py_None
;
10939 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxImage
*arg1
= (wxImage
*) 0 ;
10942 wxString
*arg2
= 0 ;
10944 bool temp2
= False
;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "name", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10955 arg2
= wxString_in_helper(obj1
);
10956 if (arg2
== NULL
) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10987 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 wxImage
*arg1
= (wxImage
*) 0 ;
10990 wxString
*arg2
= 0 ;
10992 bool temp2
= False
;
10993 PyObject
* obj0
= 0 ;
10994 PyObject
* obj1
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self",(char *) "name", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11003 arg2
= wxString_in_helper(obj1
);
11004 if (arg2
== NULL
) SWIG_fail
;
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11014 resultobj
= SWIG_FromInt((int)result
);
11029 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
;
11031 wxImage
*arg1
= (wxImage
*) 0 ;
11032 wxString
*arg2
= 0 ;
11034 bool temp2
= False
;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self",(char *) "name", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11045 arg2
= wxString_in_helper(obj1
);
11046 if (arg2
== NULL
) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11073 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 wxImage
*arg1
= (wxImage
*) 0 ;
11076 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11077 unsigned long result
;
11078 PyObject
* obj0
= 0 ;
11079 PyObject
* obj1
= 0 ;
11080 char *kwnames
[] = {
11081 (char *) "self",(char *) "stopafter", NULL
11084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11088 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11105 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxImage
*arg1
= (wxImage
*) 0 ;
11108 wxImageHistogram
*arg2
= 0 ;
11109 unsigned long result
;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self",(char *) "h", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11122 if (arg2
== NULL
) {
11123 PyErr_SetString(PyExc_TypeError
,"null reference");
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11133 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11140 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
*resultobj
;
11142 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11143 PyObject
* obj0
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "handler", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 wxImage::AddHandler(arg1
);
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 Py_INCREF(Py_None
); resultobj
= Py_None
;
11165 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
;
11167 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11168 PyObject
* obj0
= 0 ;
11169 char *kwnames
[] = {
11170 (char *) "handler", NULL
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 wxImage::InsertHandler(arg1
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 Py_INCREF(Py_None
); resultobj
= Py_None
;
11190 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
;
11192 wxString
*arg1
= 0 ;
11194 bool temp1
= False
;
11195 PyObject
* obj0
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "name", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11202 arg1
= wxString_in_helper(obj0
);
11203 if (arg1
== NULL
) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11230 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
;
11233 char *kwnames
[] = {
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= wxImage::GetImageExtWildcard();
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11258 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
;
11260 wxImage
*arg1
= (wxImage
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11271 if (!wxPyCheckForApp()) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 result
= wxImage_ConvertToBitmap(arg1
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11279 wxBitmap
* resultptr
;
11280 resultptr
= new wxBitmap((wxBitmap
&) result
);
11281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11289 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
;
11291 wxImage
*arg1
= (wxImage
*) 0 ;
11292 unsigned char arg2
;
11293 unsigned char arg3
;
11294 unsigned char arg4
;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 PyObject
* obj2
= 0 ;
11299 PyObject
* obj3
= 0 ;
11300 char *kwnames
[] = {
11301 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11307 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11309 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11311 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 if (!wxPyCheckForApp()) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11322 wxBitmap
* resultptr
;
11323 resultptr
= new wxBitmap((wxBitmap
&) result
);
11324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11332 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11335 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11337 return Py_BuildValue((char *)"");
11339 static int _wrap_NullImage_set(PyObject
*_val
) {
11340 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11345 static PyObject
*_wrap_NullImage_get() {
11348 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11353 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11354 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11359 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11364 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11366 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11373 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11374 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11379 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11384 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11386 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11393 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11394 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11399 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11404 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11406 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11413 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11414 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11419 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11424 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11426 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11433 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11434 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11439 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11444 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11446 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11453 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxBMPHandler
*result
;
11456 char *kwnames
[] = {
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (wxBMPHandler
*)new wxBMPHandler();
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11475 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11478 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11480 return Py_BuildValue((char *)"");
11482 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxICOHandler
*result
;
11485 char *kwnames
[] = {
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= (wxICOHandler
*)new wxICOHandler();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11504 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11507 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11509 return Py_BuildValue((char *)"");
11511 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxCURHandler
*result
;
11514 char *kwnames
[] = {
11518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 result
= (wxCURHandler
*)new wxCURHandler();
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11533 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11536 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11538 return Py_BuildValue((char *)"");
11540 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxANIHandler
*result
;
11543 char *kwnames
[] = {
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 result
= (wxANIHandler
*)new wxANIHandler();
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11562 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11565 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11567 return Py_BuildValue((char *)"");
11569 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxPNGHandler
*result
;
11572 char *kwnames
[] = {
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= (wxPNGHandler
*)new wxPNGHandler();
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11591 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11594 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11596 return Py_BuildValue((char *)"");
11598 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxGIFHandler
*result
;
11601 char *kwnames
[] = {
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 result
= (wxGIFHandler
*)new wxGIFHandler();
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11620 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11623 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11625 return Py_BuildValue((char *)"");
11627 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
;
11629 wxPCXHandler
*result
;
11630 char *kwnames
[] = {
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (wxPCXHandler
*)new wxPCXHandler();
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11649 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11652 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11654 return Py_BuildValue((char *)"");
11656 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
;
11658 wxJPEGHandler
*result
;
11659 char *kwnames
[] = {
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11678 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11681 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11683 return Py_BuildValue((char *)"");
11685 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxPNMHandler
*result
;
11688 char *kwnames
[] = {
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 result
= (wxPNMHandler
*)new wxPNMHandler();
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11707 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11710 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11712 return Py_BuildValue((char *)"");
11714 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
*resultobj
;
11716 wxXPMHandler
*result
;
11717 char *kwnames
[] = {
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 result
= (wxXPMHandler
*)new wxXPMHandler();
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11736 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11739 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11741 return Py_BuildValue((char *)"");
11743 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxTIFFHandler
*result
;
11746 char *kwnames
[] = {
11750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11755 wxPyEndAllowThreads(__tstate
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11765 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11768 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11770 return Py_BuildValue((char *)"");
11772 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
;
11774 wxEvtHandler
*result
;
11775 char *kwnames
[] = {
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (wxEvtHandler
*)new wxEvtHandler();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
11794 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
;
11796 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11797 wxEvtHandler
*result
;
11798 PyObject
* obj0
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= wxPyMake_wxObject(result
, 0);
11822 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11825 wxEvtHandler
*result
;
11826 PyObject
* obj0
= 0 ;
11827 char *kwnames
[] = {
11828 (char *) "self", NULL
11831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= wxPyMake_wxObject(result
, 0);
11850 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11853 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "self",(char *) "handler", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 (arg1
)->SetNextHandler(arg2
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 Py_INCREF(Py_None
); resultobj
= Py_None
;
11879 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
;
11881 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11882 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11883 PyObject
* obj0
= 0 ;
11884 PyObject
* obj1
= 0 ;
11885 char *kwnames
[] = {
11886 (char *) "self",(char *) "handler", NULL
11889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 (arg1
)->SetPreviousHandler(arg2
);
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11901 Py_INCREF(Py_None
); resultobj
= Py_None
;
11908 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11910 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11912 PyObject
* obj0
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11936 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
;
11938 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11940 PyObject
* obj0
= 0 ;
11941 PyObject
* obj1
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self",(char *) "enabled", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11949 arg2
= (bool) SWIG_AsBool(obj1
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 (arg1
)->SetEvtHandlerEnabled(arg2
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 Py_INCREF(Py_None
); resultobj
= Py_None
;
11965 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11968 wxEvent
*arg2
= 0 ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self",(char *) "event", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11982 if (arg2
== NULL
) {
11983 PyErr_SetString(PyExc_TypeError
,"null reference");
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12002 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12005 wxEvent
*arg2
= 0 ;
12006 PyObject
* obj0
= 0 ;
12007 PyObject
* obj1
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "self",(char *) "event", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12018 if (arg2
== NULL
) {
12019 PyErr_SetString(PyExc_TypeError
,"null reference");
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 (arg1
)->AddPendingEvent(*arg2
);
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12029 Py_INCREF(Py_None
); resultobj
= Py_None
;
12036 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12039 PyObject
* obj0
= 0 ;
12040 char *kwnames
[] = {
12041 (char *) "self", NULL
12044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 (arg1
)->ProcessPendingEvents();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12054 Py_INCREF(Py_None
); resultobj
= Py_None
;
12061 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
;
12063 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12067 PyObject
*arg5
= (PyObject
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 PyObject
* obj2
= 0 ;
12071 PyObject
* obj3
= 0 ;
12072 PyObject
* obj4
= 0 ;
12073 char *kwnames
[] = {
12074 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12080 arg2
= (int) SWIG_AsInt(obj1
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12082 arg3
= (int) SWIG_AsInt(obj2
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12084 arg4
= (int) SWIG_AsInt(obj3
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 Py_INCREF(Py_None
); resultobj
= Py_None
;
12101 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12105 int arg3
= (int) -1 ;
12106 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12108 PyObject
* obj0
= 0 ;
12109 PyObject
* obj1
= 0 ;
12110 PyObject
* obj2
= 0 ;
12111 PyObject
* obj3
= 0 ;
12112 char *kwnames
[] = {
12113 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12119 arg2
= (int) SWIG_AsInt(obj1
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 arg3
= (int) SWIG_AsInt(obj2
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12145 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12148 PyObject
*arg2
= (PyObject
*) 0 ;
12149 PyObject
* obj0
= 0 ;
12150 PyObject
* obj1
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "self",(char *) "_self", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 wxEvtHandler__setOORInfo(arg1
,arg2
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 Py_INCREF(Py_None
); resultobj
= Py_None
;
12173 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12176 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12178 return Py_BuildValue((char *)"");
12180 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
;
12182 wxEventType result
;
12183 char *kwnames
[] = {
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 result
= (wxEventType
)wxNewEventType();
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_FromInt((int)result
);
12202 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxEvent
*arg1
= (wxEvent
*) 0 ;
12205 PyObject
* obj0
= 0 ;
12206 char *kwnames
[] = {
12207 (char *) "self", NULL
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 Py_INCREF(Py_None
); resultobj
= Py_None
;
12227 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
;
12229 wxEvent
*arg1
= (wxEvent
*) 0 ;
12231 PyObject
* obj0
= 0 ;
12232 PyObject
* obj1
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self",(char *) "typ", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12240 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 (arg1
)->SetEventType(arg2
);
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 Py_INCREF(Py_None
); resultobj
= Py_None
;
12256 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
;
12258 wxEvent
*arg1
= (wxEvent
*) 0 ;
12259 wxEventType result
;
12260 PyObject
* obj0
= 0 ;
12261 char *kwnames
[] = {
12262 (char *) "self", NULL
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= SWIG_FromInt((int)result
);
12282 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxEvent
*arg1
= (wxEvent
*) 0 ;
12286 PyObject
* obj0
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= wxPyMake_wxObject(result
, 0);
12310 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxEvent
*arg1
= (wxEvent
*) 0 ;
12313 wxObject
*arg2
= (wxObject
*) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 PyObject
* obj1
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self",(char *) "obj", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 (arg1
)->SetEventObject(arg2
);
12329 wxPyEndAllowThreads(__tstate
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 Py_INCREF(Py_None
); resultobj
= Py_None
;
12339 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
;
12341 wxEvent
*arg1
= (wxEvent
*) 0 ;
12343 PyObject
* obj0
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "self", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_FromLong((long)result
);
12365 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxEvent
*arg1
= (wxEvent
*) 0 ;
12368 long arg2
= (long) 0 ;
12369 PyObject
* obj0
= 0 ;
12370 PyObject
* obj1
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self",(char *) "ts", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12379 arg2
= (long) SWIG_AsLong(obj1
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 (arg1
)->SetTimestamp(arg2
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 Py_INCREF(Py_None
); resultobj
= Py_None
;
12396 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxEvent
*arg1
= (wxEvent
*) 0 ;
12400 PyObject
* obj0
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (int)((wxEvent
const *)arg1
)->GetId();
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_FromInt((int)result
);
12422 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxEvent
*arg1
= (wxEvent
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 PyObject
* obj1
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self",(char *) "Id", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 arg2
= (int) SWIG_AsInt(obj1
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 (arg1
)->SetId(arg2
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 Py_INCREF(Py_None
); resultobj
= Py_None
;
12451 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
;
12453 wxEvent
*arg1
= (wxEvent
*) 0 ;
12455 PyObject
* obj0
= 0 ;
12456 char *kwnames
[] = {
12457 (char *) "self", NULL
12460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12479 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 wxEvent
*arg1
= (wxEvent
*) 0 ;
12482 bool arg2
= (bool) True
;
12483 PyObject
* obj0
= 0 ;
12484 PyObject
* obj1
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self",(char *) "skip", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12493 arg2
= (bool) SWIG_AsBool(obj1
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 (arg1
)->Skip(arg2
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 Py_INCREF(Py_None
); resultobj
= Py_None
;
12510 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxEvent
*arg1
= (wxEvent
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12538 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxEvent
*arg1
= (wxEvent
*) 0 ;
12542 PyObject
* obj0
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12566 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxEvent
*arg1
= (wxEvent
*) 0 ;
12570 PyObject
* obj0
= 0 ;
12571 char *kwnames
[] = {
12572 (char *) "self", NULL
12575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 result
= (int)(arg1
)->StopPropagation();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_FromInt((int)result
);
12592 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxEvent
*arg1
= (wxEvent
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 PyObject
* obj1
= 0 ;
12598 char *kwnames
[] = {
12599 (char *) "self",(char *) "propagationLevel", NULL
12602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12605 arg2
= (int) SWIG_AsInt(obj1
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 (arg1
)->ResumePropagation(arg2
);
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 Py_INCREF(Py_None
); resultobj
= Py_None
;
12621 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxEvent
*arg1
= (wxEvent
*) 0 ;
12625 PyObject
* obj0
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= (wxEvent
*)(arg1
)->Clone();
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12647 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12650 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12652 return Py_BuildValue((char *)"");
12654 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12655 PyObject
*resultobj
;
12656 wxEvent
*arg1
= 0 ;
12657 wxPropagationDisabler
*result
;
12658 PyObject
* obj0
= 0 ;
12659 char *kwnames
[] = {
12660 (char *) "event", NULL
12663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12667 if (arg1
== NULL
) {
12668 PyErr_SetString(PyExc_TypeError
,"null reference");
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12685 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 Py_INCREF(Py_None
); resultobj
= Py_None
;
12710 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12713 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12715 return Py_BuildValue((char *)"");
12717 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxEvent
*arg1
= 0 ;
12720 wxPropagateOnce
*result
;
12721 PyObject
* obj0
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "event", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12730 if (arg1
== NULL
) {
12731 PyErr_SetString(PyExc_TypeError
,"null reference");
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12748 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12749 PyObject
*resultobj
;
12750 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12751 PyObject
* obj0
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12766 Py_INCREF(Py_None
); resultobj
= Py_None
;
12773 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12776 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12778 return Py_BuildValue((char *)"");
12780 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
;
12782 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12783 int arg2
= (int) 0 ;
12784 wxCommandEvent
*result
;
12785 PyObject
* obj0
= 0 ;
12786 PyObject
* obj1
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "commandType",(char *) "winid", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12793 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12797 arg2
= (int) SWIG_AsInt(obj1
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12814 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
;
12816 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12818 PyObject
* obj0
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "self", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= SWIG_FromInt((int)result
);
12840 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12843 wxString
*arg2
= 0 ;
12844 bool temp2
= False
;
12845 PyObject
* obj0
= 0 ;
12846 PyObject
* obj1
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self",(char *) "s", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12855 arg2
= wxString_in_helper(obj1
);
12856 if (arg2
== NULL
) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 (arg1
)->SetString((wxString
const &)*arg2
);
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 Py_INCREF(Py_None
); resultobj
= Py_None
;
12881 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
;
12883 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12885 PyObject
* obj0
= 0 ;
12886 char *kwnames
[] = {
12887 (char *) "self", NULL
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12913 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
*resultobj
;
12915 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12917 PyObject
* obj0
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "self", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12941 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
;
12943 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12945 PyObject
* obj0
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "self", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12969 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 PyObject
* obj1
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self",(char *) "extraLong", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 arg2
= (long) SWIG_AsLong(obj1
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 (arg1
)->SetExtraLong(arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 Py_INCREF(Py_None
); resultobj
= Py_None
;
12998 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_FromLong((long)result
);
13024 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "self",(char *) "i", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13037 arg2
= (int) SWIG_AsInt(obj1
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 (arg1
)->SetInt(arg2
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 Py_INCREF(Py_None
); resultobj
= Py_None
;
13053 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 resultobj
= SWIG_FromLong((long)result
);
13079 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
;
13081 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13083 PyObject
* obj0
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "self", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13105 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13108 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13110 return Py_BuildValue((char *)"");
13112 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13115 int arg2
= (int) 0 ;
13116 wxNotifyEvent
*result
;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 char *kwnames
[] = {
13120 (char *) "commandType",(char *) "winid", NULL
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13125 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13129 arg2
= (int) SWIG_AsInt(obj1
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13146 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13147 PyObject
*resultobj
;
13148 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13149 PyObject
* obj0
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 Py_INCREF(Py_None
); resultobj
= Py_None
;
13171 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 Py_INCREF(Py_None
); resultobj
= Py_None
;
13196 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
;
13198 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13200 PyObject
* obj0
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (bool)(arg1
)->IsAllowed();
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13224 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13227 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13229 return Py_BuildValue((char *)"");
13231 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13233 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13234 int arg2
= (int) 0 ;
13235 int arg3
= (int) 0 ;
13236 int arg4
= (int) 0 ;
13237 wxScrollEvent
*result
;
13238 PyObject
* obj0
= 0 ;
13239 PyObject
* obj1
= 0 ;
13240 PyObject
* obj2
= 0 ;
13241 PyObject
* obj3
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13248 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13252 arg2
= (int) SWIG_AsInt(obj1
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13256 arg3
= (int) SWIG_AsInt(obj2
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13260 arg4
= (int) SWIG_AsInt(obj3
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13277 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= SWIG_FromInt((int)result
);
13303 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_FromInt((int)result
);
13329 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
;
13331 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13333 PyObject
* obj0
= 0 ;
13334 PyObject
* obj1
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "self",(char *) "orient", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 arg2
= (int) SWIG_AsInt(obj1
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 (arg1
)->SetOrientation(arg2
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 Py_INCREF(Py_None
); resultobj
= Py_None
;
13358 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13362 PyObject
* obj0
= 0 ;
13363 PyObject
* obj1
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self",(char *) "pos", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13371 arg2
= (int) SWIG_AsInt(obj1
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 (arg1
)->SetPosition(arg2
);
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13380 Py_INCREF(Py_None
); resultobj
= Py_None
;
13387 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13390 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13392 return Py_BuildValue((char *)"");
13394 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13397 int arg2
= (int) 0 ;
13398 int arg3
= (int) 0 ;
13399 wxScrollWinEvent
*result
;
13400 PyObject
* obj0
= 0 ;
13401 PyObject
* obj1
= 0 ;
13402 PyObject
* obj2
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13409 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13413 arg2
= (int) SWIG_AsInt(obj1
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13417 arg3
= (int) SWIG_AsInt(obj2
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13434 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
;
13436 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13438 PyObject
* obj0
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_FromInt((int)result
);
13460 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_FromInt((int)result
);
13486 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
;
13488 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13490 PyObject
* obj0
= 0 ;
13491 PyObject
* obj1
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "self",(char *) "orient", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13499 arg2
= (int) SWIG_AsInt(obj1
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 (arg1
)->SetOrientation(arg2
);
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 Py_INCREF(Py_None
); resultobj
= Py_None
;
13515 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
;
13517 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13519 PyObject
* obj0
= 0 ;
13520 PyObject
* obj1
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self",(char *) "pos", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13528 arg2
= (int) SWIG_AsInt(obj1
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 (arg1
)->SetPosition(arg2
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 Py_INCREF(Py_None
); resultobj
= Py_None
;
13544 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13547 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13549 return Py_BuildValue((char *)"");
13551 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13554 wxMouseEvent
*result
;
13555 PyObject
* obj0
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "mouseType", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13562 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= wxPyMake_wxObject(result
, 1);
13581 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13585 PyObject
* obj0
= 0 ;
13586 char *kwnames
[] = {
13587 (char *) "self", NULL
13590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13609 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
;
13611 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13612 int arg2
= (int) wxMOUSE_BTN_ANY
;
13614 PyObject
* obj0
= 0 ;
13615 PyObject
* obj1
= 0 ;
13616 char *kwnames
[] = {
13617 (char *) "self",(char *) "but", NULL
13620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13624 arg2
= (int) SWIG_AsInt(obj1
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13643 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
;
13645 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13646 int arg2
= (int) wxMOUSE_BTN_ANY
;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self",(char *) "but", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13658 arg2
= (int) SWIG_AsInt(obj1
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13677 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13680 int arg2
= (int) wxMOUSE_BTN_ANY
;
13682 PyObject
* obj0
= 0 ;
13683 PyObject
* obj1
= 0 ;
13684 char *kwnames
[] = {
13685 (char *) "self",(char *) "but", NULL
13688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13692 arg2
= (int) SWIG_AsInt(obj1
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13711 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
*resultobj
;
13713 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13716 PyObject
* obj0
= 0 ;
13717 PyObject
* obj1
= 0 ;
13718 char *kwnames
[] = {
13719 (char *) "self",(char *) "but", NULL
13722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13725 arg2
= (int) SWIG_AsInt(obj1
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13729 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13743 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
;
13745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13748 PyObject
* obj0
= 0 ;
13749 PyObject
* obj1
= 0 ;
13750 char *kwnames
[] = {
13751 (char *) "self",(char *) "but", NULL
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13757 arg2
= (int) SWIG_AsInt(obj1
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13775 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13779 PyObject
* obj0
= 0 ;
13780 char *kwnames
[] = {
13781 (char *) "self", NULL
13784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= SWIG_FromInt((int)result
);
13801 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13805 PyObject
* obj0
= 0 ;
13806 char *kwnames
[] = {
13807 (char *) "self", NULL
13810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13829 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
;
13831 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13833 PyObject
* obj0
= 0 ;
13834 char *kwnames
[] = {
13835 (char *) "self", NULL
13838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13857 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13861 PyObject
* obj0
= 0 ;
13862 char *kwnames
[] = {
13863 (char *) "self", NULL
13866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13885 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
;
13887 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13889 PyObject
* obj0
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "self", NULL
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13913 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
;
13915 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13917 PyObject
* obj0
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13941 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
;
13943 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 char *kwnames
[] = {
13947 (char *) "self", NULL
13950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13969 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
;
13971 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13973 PyObject
* obj0
= 0 ;
13974 char *kwnames
[] = {
13975 (char *) "self", NULL
13978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13997 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
;
13999 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14001 PyObject
* obj0
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14025 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
;
14027 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14029 PyObject
* obj0
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14053 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14057 PyObject
* obj0
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14081 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14082 PyObject
*resultobj
;
14083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14085 PyObject
* obj0
= 0 ;
14086 char *kwnames
[] = {
14087 (char *) "self", NULL
14090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14109 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14110 PyObject
*resultobj
;
14111 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14113 PyObject
* obj0
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14137 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14141 PyObject
* obj0
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "self", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14165 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
;
14167 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14169 PyObject
* obj0
= 0 ;
14170 char *kwnames
[] = {
14171 (char *) "self", NULL
14174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14193 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (bool)(arg1
)->LeftIsDown();
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14221 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
;
14223 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14225 PyObject
* obj0
= 0 ;
14226 char *kwnames
[] = {
14227 (char *) "self", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (bool)(arg1
)->MiddleIsDown();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14249 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (bool)(arg1
)->RightIsDown();
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14277 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
;
14279 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14281 PyObject
* obj0
= 0 ;
14282 char *kwnames
[] = {
14283 (char *) "self", NULL
14286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14305 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
;
14307 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14309 PyObject
* obj0
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14333 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14361 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14362 PyObject
*resultobj
;
14363 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14365 PyObject
* obj0
= 0 ;
14366 char *kwnames
[] = {
14367 (char *) "self", NULL
14370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14389 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
;
14391 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 char *kwnames
[] = {
14395 (char *) "self", NULL
14398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= (arg1
)->GetPosition();
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14409 wxPoint
* resultptr
;
14410 resultptr
= new wxPoint((wxPoint
&) result
);
14411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14419 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
;
14421 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14422 long *arg2
= (long *) 0 ;
14423 long *arg3
= (long *) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 (arg1
)->GetPosition(arg2
,arg3
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 Py_INCREF(Py_None
); resultobj
= Py_None
;
14445 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14446 resultobj
= t_output_helper(resultobj
,o
);
14449 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14450 resultobj
= t_output_helper(resultobj
,o
);
14458 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 PyObject
* obj1
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self",(char *) "dc", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14475 if (arg2
== NULL
) {
14476 PyErr_SetString(PyExc_TypeError
,"null reference");
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14487 wxPoint
* resultptr
;
14488 resultptr
= new wxPoint((wxPoint
&) result
);
14489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14497 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14501 PyObject
* obj0
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_FromInt((int)result
);
14523 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14527 PyObject
* obj0
= 0 ;
14528 char *kwnames
[] = {
14529 (char *) "self", NULL
14532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14537 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= SWIG_FromInt((int)result
);
14549 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
;
14551 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14553 PyObject
* obj0
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "self", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= SWIG_FromInt((int)result
);
14575 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14579 PyObject
* obj0
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= SWIG_FromInt((int)result
);
14601 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14605 PyObject
* obj0
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "self", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= SWIG_FromInt((int)result
);
14627 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14631 PyObject
* obj0
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "self", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14655 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
;
14657 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14659 PyObject
* obj0
= 0 ;
14660 PyObject
* obj1
= 0 ;
14661 char *kwnames
[] = {
14662 (char *) "self",(char *) "m_x", NULL
14665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14668 arg2
= (int) SWIG_AsInt(obj1
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14670 if (arg1
) (arg1
)->m_x
= arg2
;
14672 Py_INCREF(Py_None
); resultobj
= Py_None
;
14679 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14691 result
= (int) ((arg1
)->m_x
);
14693 resultobj
= SWIG_FromInt((int)result
);
14700 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14704 PyObject
* obj0
= 0 ;
14705 PyObject
* obj1
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "self",(char *) "m_y", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14713 arg2
= (int) SWIG_AsInt(obj1
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14715 if (arg1
) (arg1
)->m_y
= arg2
;
14717 Py_INCREF(Py_None
); resultobj
= Py_None
;
14724 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 char *kwnames
[] = {
14730 (char *) "self", NULL
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14736 result
= (int) ((arg1
)->m_y
);
14738 resultobj
= SWIG_FromInt((int)result
);
14745 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self",(char *) "m_leftDown", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14758 arg2
= (bool) SWIG_AsBool(obj1
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14760 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14762 Py_INCREF(Py_None
); resultobj
= Py_None
;
14769 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14770 PyObject
*resultobj
;
14771 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14773 PyObject
* obj0
= 0 ;
14774 char *kwnames
[] = {
14775 (char *) "self", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14781 result
= (bool) ((arg1
)->m_leftDown
);
14784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14792 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 PyObject
* obj1
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self",(char *) "m_middleDown", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14805 arg2
= (bool) SWIG_AsBool(obj1
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14807 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14809 Py_INCREF(Py_None
); resultobj
= Py_None
;
14816 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14828 result
= (bool) ((arg1
)->m_middleDown
);
14831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14839 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self",(char *) "m_rightDown", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14852 arg2
= (bool) SWIG_AsBool(obj1
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14854 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14856 Py_INCREF(Py_None
); resultobj
= Py_None
;
14863 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "self", NULL
14872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14875 result
= (bool) ((arg1
)->m_rightDown
);
14878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14886 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 PyObject
* obj1
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self",(char *) "m_controlDown", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 arg2
= (bool) SWIG_AsBool(obj1
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14901 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14903 Py_INCREF(Py_None
); resultobj
= Py_None
;
14910 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14914 PyObject
* obj0
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14922 result
= (bool) ((arg1
)->m_controlDown
);
14925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14933 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 PyObject
* obj1
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self",(char *) "m_shiftDown", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14946 arg2
= (bool) SWIG_AsBool(obj1
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14948 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14950 Py_INCREF(Py_None
); resultobj
= Py_None
;
14957 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14969 result
= (bool) ((arg1
)->m_shiftDown
);
14972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14980 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
;
14982 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14984 PyObject
* obj0
= 0 ;
14985 PyObject
* obj1
= 0 ;
14986 char *kwnames
[] = {
14987 (char *) "self",(char *) "m_altDown", NULL
14990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14993 arg2
= (bool) SWIG_AsBool(obj1
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14995 if (arg1
) (arg1
)->m_altDown
= arg2
;
14997 Py_INCREF(Py_None
); resultobj
= Py_None
;
15004 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15016 result
= (bool) ((arg1
)->m_altDown
);
15019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15027 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 char *kwnames
[] = {
15034 (char *) "self",(char *) "m_metaDown", NULL
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15040 arg2
= (bool) SWIG_AsBool(obj1
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15042 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15044 Py_INCREF(Py_None
); resultobj
= Py_None
;
15051 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15055 PyObject
* obj0
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 result
= (bool) ((arg1
)->m_metaDown
);
15066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15074 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
;
15076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self",(char *) "m_wheelRotation", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15087 arg2
= (int) SWIG_AsInt(obj1
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15089 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15091 Py_INCREF(Py_None
); resultobj
= Py_None
;
15098 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 result
= (int) ((arg1
)->m_wheelRotation
);
15112 resultobj
= SWIG_FromInt((int)result
);
15119 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self",(char *) "m_wheelDelta", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15132 arg2
= (int) SWIG_AsInt(obj1
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15134 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15136 Py_INCREF(Py_None
); resultobj
= Py_None
;
15143 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
;
15145 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15155 result
= (int) ((arg1
)->m_wheelDelta
);
15157 resultobj
= SWIG_FromInt((int)result
);
15164 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
;
15166 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15168 PyObject
* obj0
= 0 ;
15169 PyObject
* obj1
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self",(char *) "m_linesPerAction", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15177 arg2
= (int) SWIG_AsInt(obj1
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15179 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15181 Py_INCREF(Py_None
); resultobj
= Py_None
;
15188 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15192 PyObject
* obj0
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15200 result
= (int) ((arg1
)->m_linesPerAction
);
15202 resultobj
= SWIG_FromInt((int)result
);
15209 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15212 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15214 return Py_BuildValue((char *)"");
15216 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 int arg1
= (int) 0 ;
15219 int arg2
= (int) 0 ;
15220 wxSetCursorEvent
*result
;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "x",(char *) "y", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15229 arg1
= (int) SWIG_AsInt(obj0
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15233 arg2
= (int) SWIG_AsInt(obj1
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15250 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= SWIG_FromInt((int)result
);
15276 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 char *kwnames
[] = {
15282 (char *) "self", NULL
15285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= SWIG_FromInt((int)result
);
15302 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15305 wxCursor
*arg2
= 0 ;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self",(char *) "cursor", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15318 if (arg2
== NULL
) {
15319 PyErr_SetString(PyExc_TypeError
,"null reference");
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 Py_INCREF(Py_None
); resultobj
= Py_None
;
15336 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15352 result
= (wxCursor
*) &_result_ref
;
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15359 wxCursor
* resultptr
= new wxCursor(*result
);
15360 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15368 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15372 PyObject
* obj0
= 0 ;
15373 char *kwnames
[] = {
15374 (char *) "self", NULL
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15396 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15399 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15401 return Py_BuildValue((char *)"");
15403 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15406 wxKeyEvent
*result
;
15407 PyObject
* obj0
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "keyType", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15414 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15431 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15459 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15463 PyObject
* obj0
= 0 ;
15464 char *kwnames
[] = {
15465 (char *) "self", NULL
15468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15487 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "self", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15515 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15519 PyObject
* obj0
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15543 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15547 PyObject
* obj0
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "self", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15571 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15575 PyObject
* obj0
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15599 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 resultobj
= SWIG_FromInt((int)result
);
15625 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self", NULL
15634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 resultobj
= SWIG_FromInt((int)result
);
15651 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15654 unsigned int result
;
15655 PyObject
* obj0
= 0 ;
15656 char *kwnames
[] = {
15657 (char *) "self", NULL
15660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15677 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15680 unsigned int result
;
15681 PyObject
* obj0
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "self", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15703 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15707 PyObject
* obj0
= 0 ;
15708 char *kwnames
[] = {
15709 (char *) "self", NULL
15712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 result
= (arg1
)->GetPosition();
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15723 wxPoint
* resultptr
;
15724 resultptr
= new wxPoint((wxPoint
&) result
);
15725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15733 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15736 long *arg2
= (long *) 0 ;
15737 long *arg3
= (long *) 0 ;
15740 PyObject
* obj0
= 0 ;
15741 char *kwnames
[] = {
15742 (char *) "self", NULL
15747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 (arg1
)->GetPosition(arg2
,arg3
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15757 Py_INCREF(Py_None
); resultobj
= Py_None
;
15759 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15760 resultobj
= t_output_helper(resultobj
,o
);
15763 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15764 resultobj
= t_output_helper(resultobj
,o
);
15772 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
;
15774 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15776 PyObject
* obj0
= 0 ;
15777 char *kwnames
[] = {
15778 (char *) "self", NULL
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 resultobj
= SWIG_FromInt((int)result
);
15798 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
;
15800 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15802 PyObject
* obj0
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "self", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= SWIG_FromInt((int)result
);
15824 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 PyObject
* obj1
= 0 ;
15830 char *kwnames
[] = {
15831 (char *) "self",(char *) "m_x", NULL
15834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 arg2
= (int) SWIG_AsInt(obj1
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15839 if (arg1
) (arg1
)->m_x
= arg2
;
15841 Py_INCREF(Py_None
); resultobj
= Py_None
;
15848 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15852 PyObject
* obj0
= 0 ;
15853 char *kwnames
[] = {
15854 (char *) "self", NULL
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15860 result
= (int) ((arg1
)->m_x
);
15862 resultobj
= SWIG_FromInt((int)result
);
15869 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
;
15871 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15873 PyObject
* obj0
= 0 ;
15874 PyObject
* obj1
= 0 ;
15875 char *kwnames
[] = {
15876 (char *) "self",(char *) "m_y", NULL
15879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15882 arg2
= (int) SWIG_AsInt(obj1
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15884 if (arg1
) (arg1
)->m_y
= arg2
;
15886 Py_INCREF(Py_None
); resultobj
= Py_None
;
15893 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
;
15895 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15897 PyObject
* obj0
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15905 result
= (int) ((arg1
)->m_y
);
15907 resultobj
= SWIG_FromInt((int)result
);
15914 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15918 PyObject
* obj0
= 0 ;
15919 PyObject
* obj1
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self",(char *) "m_keyCode", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15927 arg2
= (long) SWIG_AsLong(obj1
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15929 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15950 result
= (long) ((arg1
)->m_keyCode
);
15952 resultobj
= SWIG_FromLong((long)result
);
15959 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15963 PyObject
* obj0
= 0 ;
15964 PyObject
* obj1
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self",(char *) "m_controlDown", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15972 arg2
= (bool) SWIG_AsBool(obj1
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15974 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15976 Py_INCREF(Py_None
); resultobj
= Py_None
;
15983 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15995 result
= (bool) ((arg1
)->m_controlDown
);
15998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16006 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16010 PyObject
* obj0
= 0 ;
16011 PyObject
* obj1
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self",(char *) "m_shiftDown", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16019 arg2
= (bool) SWIG_AsBool(obj1
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16021 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16023 Py_INCREF(Py_None
); resultobj
= Py_None
;
16030 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16042 result
= (bool) ((arg1
)->m_shiftDown
);
16045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16053 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 char *kwnames
[] = {
16060 (char *) "self",(char *) "m_altDown", NULL
16063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16066 arg2
= (bool) SWIG_AsBool(obj1
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16068 if (arg1
) (arg1
)->m_altDown
= arg2
;
16070 Py_INCREF(Py_None
); resultobj
= Py_None
;
16077 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16089 result
= (bool) ((arg1
)->m_altDown
);
16092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16100 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self",(char *) "m_metaDown", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16113 arg2
= (bool) SWIG_AsBool(obj1
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16115 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16117 Py_INCREF(Py_None
); resultobj
= Py_None
;
16124 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
;
16126 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16128 PyObject
* obj0
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "self", NULL
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16136 result
= (bool) ((arg1
)->m_metaDown
);
16139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16147 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 PyObject
* obj1
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self",(char *) "m_scanCode", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16160 arg2
= (bool) SWIG_AsBool(obj1
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16162 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16164 Py_INCREF(Py_None
); resultobj
= Py_None
;
16171 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16183 result
= (bool) ((arg1
)->m_scanCode
);
16186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16194 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
;
16196 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16197 unsigned int arg2
;
16198 PyObject
* obj0
= 0 ;
16199 PyObject
* obj1
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "self",(char *) "m_rawCode", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16207 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16209 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16211 Py_INCREF(Py_None
); resultobj
= Py_None
;
16218 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
;
16220 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16221 unsigned int result
;
16222 PyObject
* obj0
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16230 result
= (unsigned int) ((arg1
)->m_rawCode
);
16232 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16239 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16242 unsigned int arg2
;
16243 PyObject
* obj0
= 0 ;
16244 PyObject
* obj1
= 0 ;
16245 char *kwnames
[] = {
16246 (char *) "self",(char *) "m_rawFlags", NULL
16249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16252 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16254 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16256 Py_INCREF(Py_None
); resultobj
= Py_None
;
16263 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16266 unsigned int result
;
16267 PyObject
* obj0
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "self", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16275 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16277 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16284 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16287 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16289 return Py_BuildValue((char *)"");
16291 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
;
16293 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16294 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16295 int arg2
= (int) 0 ;
16296 wxSizeEvent
*result
;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "sz",(char *) "winid", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16308 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16312 arg2
= (int) SWIG_AsInt(obj1
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16329 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 wxSize
* resultptr
;
16350 resultptr
= new wxSize((wxSize
&) result
);
16351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16359 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16379 wxRect
* resultptr
;
16380 resultptr
= new wxRect((wxRect
&) result
);
16381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16389 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "self",(char *) "rect", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16403 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16404 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 (arg1
)->SetRect(arg2
);
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 Py_INCREF(Py_None
); resultobj
= Py_None
;
16420 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
;
16422 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16425 PyObject
* obj0
= 0 ;
16426 PyObject
* obj1
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "self",(char *) "size", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16434 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16435 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 wxSizeEvent_SetSize(arg1
,arg2
);
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 Py_INCREF(Py_None
); resultobj
= Py_None
;
16451 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16454 wxSize
*arg2
= (wxSize
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 PyObject
* obj1
= 0 ;
16457 char *kwnames
[] = {
16458 (char *) "self",(char *) "m_size", NULL
16461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16466 if (arg1
) (arg1
)->m_size
= *arg2
;
16468 Py_INCREF(Py_None
); resultobj
= Py_None
;
16475 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16487 result
= (wxSize
*)& ((arg1
)->m_size
);
16489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16496 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16499 wxRect
*arg2
= (wxRect
*) 0 ;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self",(char *) "m_rect", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16511 if (arg1
) (arg1
)->m_rect
= *arg2
;
16513 Py_INCREF(Py_None
); resultobj
= Py_None
;
16520 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "self", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16532 result
= (wxRect
*)& ((arg1
)->m_rect
);
16534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16541 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16544 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16546 return Py_BuildValue((char *)"");
16548 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16551 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16552 int arg2
= (int) 0 ;
16553 wxMoveEvent
*result
;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "pos",(char *) "winid", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16565 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16569 arg2
= (int) SWIG_AsInt(obj1
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16586 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
;
16588 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16606 wxPoint
* resultptr
;
16607 resultptr
= new wxPoint((wxPoint
&) result
);
16608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16616 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 char *kwnames
[] = {
16622 (char *) "self", NULL
16625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16636 wxRect
* resultptr
;
16637 resultptr
= new wxRect((wxRect
&) result
);
16638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16646 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
;
16648 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16651 PyObject
* obj0
= 0 ;
16652 PyObject
* obj1
= 0 ;
16653 char *kwnames
[] = {
16654 (char *) "self",(char *) "rect", NULL
16657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16660 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16661 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 (arg1
)->SetRect(arg2
);
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16670 Py_INCREF(Py_None
); resultobj
= Py_None
;
16677 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
;
16679 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 PyObject
* obj1
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self",(char *) "pos", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16691 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16692 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 wxMoveEvent_SetPosition(arg1
,arg2
);
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 Py_INCREF(Py_None
); resultobj
= Py_None
;
16708 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
;
16710 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16711 wxPoint
*arg2
= (wxPoint
*) 0 ;
16712 PyObject
* obj0
= 0 ;
16713 PyObject
* obj1
= 0 ;
16714 char *kwnames
[] = {
16715 (char *) "self",(char *) "m_pos", NULL
16718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16723 if (arg1
) (arg1
)->m_pos
= *arg2
;
16725 Py_INCREF(Py_None
); resultobj
= Py_None
;
16732 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16736 PyObject
* obj0
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16744 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16753 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
;
16755 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16756 wxRect
*arg2
= (wxRect
*) 0 ;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 char *kwnames
[] = {
16760 (char *) "self",(char *) "m_rect", NULL
16763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16768 if (arg1
) (arg1
)->m_rect
= *arg2
;
16770 Py_INCREF(Py_None
); resultobj
= Py_None
;
16777 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "self", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16789 result
= (wxRect
*)& ((arg1
)->m_rect
);
16791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16798 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16801 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16803 return Py_BuildValue((char *)"");
16805 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 int arg1
= (int) 0 ;
16808 wxPaintEvent
*result
;
16809 PyObject
* obj0
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "Id", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16816 arg1
= (int) SWIG_AsInt(obj0
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16833 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16836 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16838 return Py_BuildValue((char *)"");
16840 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 int arg1
= (int) 0 ;
16843 wxNcPaintEvent
*result
;
16844 PyObject
* obj0
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "winid", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16851 arg1
= (int) SWIG_AsInt(obj0
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16868 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16871 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16873 return Py_BuildValue((char *)"");
16875 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16877 int arg1
= (int) 0 ;
16878 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16879 wxEraseEvent
*result
;
16880 PyObject
* obj0
= 0 ;
16881 PyObject
* obj1
= 0 ;
16882 char *kwnames
[] = {
16883 (char *) "Id",(char *) "dc", NULL
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16888 arg1
= (int) SWIG_AsInt(obj0
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16909 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16911 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16913 PyObject
* obj0
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= wxPyMake_wxObject(result
, 0);
16937 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16940 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16942 return Py_BuildValue((char *)"");
16944 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16947 int arg2
= (int) 0 ;
16948 wxFocusEvent
*result
;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "type",(char *) "winid", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16957 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16961 arg2
= (int) SWIG_AsInt(obj1
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16978 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16980 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16982 PyObject
* obj0
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= wxPyMake_wxObject(result
, 0);
17006 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17009 wxWindow
*arg2
= (wxWindow
*) 0 ;
17010 PyObject
* obj0
= 0 ;
17011 PyObject
* obj1
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self",(char *) "win", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 (arg1
)->SetWindow(arg2
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 Py_INCREF(Py_None
); resultobj
= Py_None
;
17035 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17038 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17040 return Py_BuildValue((char *)"");
17042 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxWindow
*arg1
= (wxWindow
*) NULL
;
17045 wxChildFocusEvent
*result
;
17046 PyObject
* obj0
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "win", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17070 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= wxPyMake_wxObject(result
, 0);
17098 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17101 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17103 return Py_BuildValue((char *)"");
17105 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
;
17107 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17108 bool arg2
= (bool) True
;
17109 int arg3
= (int) 0 ;
17110 wxActivateEvent
*result
;
17111 PyObject
* obj0
= 0 ;
17112 PyObject
* obj1
= 0 ;
17113 PyObject
* obj2
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "type",(char *) "active",(char *) "Id", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17120 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17124 arg2
= (bool) SWIG_AsBool(obj1
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 arg3
= (int) SWIG_AsInt(obj2
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17145 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17147 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17149 PyObject
* obj0
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17173 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17176 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17178 return Py_BuildValue((char *)"");
17180 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 int arg1
= (int) 0 ;
17183 wxInitDialogEvent
*result
;
17184 PyObject
* obj0
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "Id", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17191 arg1
= (int) SWIG_AsInt(obj0
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17208 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17211 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17213 return Py_BuildValue((char *)"");
17215 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17218 int arg2
= (int) 0 ;
17219 wxMenu
*arg3
= (wxMenu
*) NULL
;
17220 wxMenuEvent
*result
;
17221 PyObject
* obj0
= 0 ;
17222 PyObject
* obj1
= 0 ;
17223 PyObject
* obj2
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "type",(char *) "winid",(char *) "menu", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17230 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 arg2
= (int) SWIG_AsInt(obj1
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17255 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17259 PyObject
* obj0
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17269 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17271 wxPyEndAllowThreads(__tstate
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= SWIG_FromInt((int)result
);
17281 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17285 PyObject
* obj0
= 0 ;
17286 char *kwnames
[] = {
17287 (char *) "self", NULL
17290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17309 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17311 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17313 PyObject
* obj0
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "self", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= wxPyMake_wxObject(result
, 0);
17337 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17340 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17342 return Py_BuildValue((char *)"");
17344 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17346 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17347 int arg2
= (int) 0 ;
17348 wxCloseEvent
*result
;
17349 PyObject
* obj0
= 0 ;
17350 PyObject
* obj1
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "type",(char *) "winid", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17357 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 arg2
= (int) SWIG_AsInt(obj1
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17378 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
;
17380 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17382 PyObject
* obj0
= 0 ;
17383 PyObject
* obj1
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self",(char *) "logOff", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17391 arg2
= (bool) SWIG_AsBool(obj1
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 (arg1
)->SetLoggingOff(arg2
);
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17400 Py_INCREF(Py_None
); resultobj
= Py_None
;
17407 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17408 PyObject
*resultobj
;
17409 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17411 PyObject
* obj0
= 0 ;
17412 char *kwnames
[] = {
17413 (char *) "self", NULL
17416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17435 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
;
17437 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17438 bool arg2
= (bool) True
;
17439 PyObject
* obj0
= 0 ;
17440 PyObject
* obj1
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "self",(char *) "veto", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17449 arg2
= (bool) SWIG_AsBool(obj1
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 (arg1
)->Veto(arg2
);
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17459 Py_INCREF(Py_None
); resultobj
= Py_None
;
17466 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17470 PyObject
* obj0
= 0 ;
17471 PyObject
* obj1
= 0 ;
17472 char *kwnames
[] = {
17473 (char *) "self",(char *) "canVeto", NULL
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17479 arg2
= (bool) SWIG_AsBool(obj1
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 (arg1
)->SetCanVeto(arg2
);
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 Py_INCREF(Py_None
); resultobj
= Py_None
;
17495 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17523 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17524 PyObject
*resultobj
;
17525 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17527 PyObject
* obj0
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17551 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17554 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17556 return Py_BuildValue((char *)"");
17558 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17560 int arg1
= (int) 0 ;
17561 bool arg2
= (bool) False
;
17562 wxShowEvent
*result
;
17563 PyObject
* obj0
= 0 ;
17564 PyObject
* obj1
= 0 ;
17565 char *kwnames
[] = {
17566 (char *) "winid",(char *) "show", NULL
17569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17571 arg1
= (int) SWIG_AsInt(obj0
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 arg2
= (bool) SWIG_AsBool(obj1
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17592 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17596 PyObject
* obj0
= 0 ;
17597 PyObject
* obj1
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self",(char *) "show", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17605 arg2
= (bool) SWIG_AsBool(obj1
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 (arg1
)->SetShow(arg2
);
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 Py_INCREF(Py_None
); resultobj
= Py_None
;
17621 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17649 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17652 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17654 return Py_BuildValue((char *)"");
17656 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
;
17658 int arg1
= (int) 0 ;
17659 bool arg2
= (bool) True
;
17660 wxIconizeEvent
*result
;
17661 PyObject
* obj0
= 0 ;
17662 PyObject
* obj1
= 0 ;
17663 char *kwnames
[] = {
17664 (char *) "id",(char *) "iconized", NULL
17667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17669 arg1
= (int) SWIG_AsInt(obj0
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17673 arg2
= (bool) SWIG_AsBool(obj1
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17680 wxPyEndAllowThreads(__tstate
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17690 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17691 PyObject
*resultobj
;
17692 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17694 PyObject
* obj0
= 0 ;
17695 char *kwnames
[] = {
17696 (char *) "self", NULL
17699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 result
= (bool)(arg1
)->Iconized();
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17718 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17721 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17723 return Py_BuildValue((char *)"");
17725 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 int arg1
= (int) 0 ;
17728 wxMaximizeEvent
*result
;
17729 PyObject
* obj0
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "id", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17736 arg1
= (int) SWIG_AsInt(obj0
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17753 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17756 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17758 return Py_BuildValue((char *)"");
17760 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= (arg1
)->GetPosition();
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 wxPoint
* resultptr
;
17781 resultptr
= new wxPoint((wxPoint
&) result
);
17782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17790 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17794 PyObject
* obj0
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (int)(arg1
)->GetNumberOfFiles();
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= SWIG_FromInt((int)result
);
17816 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= result
;
17842 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17845 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17847 return Py_BuildValue((char *)"");
17849 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 int arg1
= (int) 0 ;
17852 wxUpdateUIEvent
*result
;
17853 PyObject
* obj0
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "commandId", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17860 arg1
= (int) SWIG_AsInt(obj0
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17877 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17905 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17909 PyObject
* obj0
= 0 ;
17910 char *kwnames
[] = {
17911 (char *) "self", NULL
17914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17933 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17935 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17965 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17993 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18021 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18049 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18051 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18053 PyObject
* obj0
= 0 ;
18054 PyObject
* obj1
= 0 ;
18055 char *kwnames
[] = {
18056 (char *) "self",(char *) "check", NULL
18059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18062 arg2
= (bool) SWIG_AsBool(obj1
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 (arg1
)->Check(arg2
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 Py_INCREF(Py_None
); resultobj
= Py_None
;
18078 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18082 PyObject
* obj0
= 0 ;
18083 PyObject
* obj1
= 0 ;
18084 char *kwnames
[] = {
18085 (char *) "self",(char *) "enable", NULL
18088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18091 arg2
= (bool) SWIG_AsBool(obj1
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 (arg1
)->Enable(arg2
);
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 Py_INCREF(Py_None
); resultobj
= Py_None
;
18107 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18110 wxString
*arg2
= 0 ;
18111 bool temp2
= False
;
18112 PyObject
* obj0
= 0 ;
18113 PyObject
* obj1
= 0 ;
18114 char *kwnames
[] = {
18115 (char *) "self",(char *) "text", NULL
18118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18122 arg2
= wxString_in_helper(obj1
);
18123 if (arg2
== NULL
) SWIG_fail
;
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 (arg1
)->SetText((wxString
const &)*arg2
);
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 Py_INCREF(Py_None
); resultobj
= Py_None
;
18148 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18151 PyObject
* obj0
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "updateInterval", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18157 arg1
= (long) SWIG_AsLong(obj0
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 Py_INCREF(Py_None
); resultobj
= Py_None
;
18173 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18176 char *kwnames
[] = {
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= SWIG_FromLong((long)result
);
18195 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxWindow
*arg1
= (wxWindow
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "win", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18223 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 char *kwnames
[] = {
18229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 wxUpdateUIEvent::ResetUpdateTime();
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 Py_INCREF(Py_None
); resultobj
= Py_None
;
18244 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
;
18247 PyObject
* obj0
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "mode", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18253 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 Py_INCREF(Py_None
); resultobj
= Py_None
;
18269 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18272 char *kwnames
[] = {
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 result
= (int)wxUpdateUIEvent::GetMode();
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= SWIG_FromInt((int)result
);
18291 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18294 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18296 return Py_BuildValue((char *)"");
18298 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxSysColourChangedEvent
*result
;
18301 char *kwnames
[] = {
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18320 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18323 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18325 return Py_BuildValue((char *)"");
18327 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
;
18329 int arg1
= (int) 0 ;
18330 wxWindow
*arg2
= (wxWindow
*) NULL
;
18331 wxMouseCaptureChangedEvent
*result
;
18332 PyObject
* obj0
= 0 ;
18333 PyObject
* obj1
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "winid",(char *) "gainedCapture", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18340 arg1
= (int) SWIG_AsInt(obj0
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18361 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= wxPyMake_wxObject(result
, 0);
18389 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18392 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18394 return Py_BuildValue((char *)"");
18396 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxDisplayChangedEvent
*result
;
18399 char *kwnames
[] = {
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18418 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18421 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18423 return Py_BuildValue((char *)"");
18425 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 int arg1
= (int) 0 ;
18428 wxPaletteChangedEvent
*result
;
18429 PyObject
* obj0
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "id", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18436 arg1
= (int) SWIG_AsInt(obj0
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18453 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18456 wxWindow
*arg2
= (wxWindow
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self",(char *) "win", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 (arg1
)->SetChangedWindow(arg2
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 Py_INCREF(Py_None
); resultobj
= Py_None
;
18482 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= wxPyMake_wxObject(result
, 0);
18510 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18513 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18515 return Py_BuildValue((char *)"");
18517 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 int arg1
= (int) 0 ;
18520 wxQueryNewPaletteEvent
*result
;
18521 PyObject
* obj0
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "winid", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18528 arg1
= (int) SWIG_AsInt(obj0
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18545 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 PyObject
* obj1
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self",(char *) "realized", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18558 arg2
= (bool) SWIG_AsBool(obj1
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 (arg1
)->SetPaletteRealized(arg2
);
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 Py_INCREF(Py_None
); resultobj
= Py_None
;
18574 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18578 PyObject
* obj0
= 0 ;
18579 char *kwnames
[] = {
18580 (char *) "self", NULL
18583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18602 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18605 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18607 return Py_BuildValue((char *)"");
18609 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxNavigationKeyEvent
*result
;
18612 char *kwnames
[] = {
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18631 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
;
18633 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18659 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 PyObject
* obj1
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self",(char *) "forward", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18672 arg2
= (bool) SWIG_AsBool(obj1
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 (arg1
)->SetDirection(arg2
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 Py_INCREF(Py_None
); resultobj
= Py_None
;
18688 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18716 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18720 PyObject
* obj0
= 0 ;
18721 PyObject
* obj1
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "self",(char *) "ischange", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18729 arg2
= (bool) SWIG_AsBool(obj1
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 (arg1
)->SetWindowChange(arg2
);
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 Py_INCREF(Py_None
); resultobj
= Py_None
;
18745 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18749 PyObject
* obj0
= 0 ;
18750 PyObject
* obj1
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self",(char *) "flags", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
18756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18758 arg2
= (long) SWIG_AsLong(obj1
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 (arg1
)->SetFlags(arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 Py_INCREF(Py_None
); resultobj
= Py_None
;
18774 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= wxPyMake_wxObject(result
, 0);
18802 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18805 wxWindow
*arg2
= (wxWindow
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 PyObject
* obj1
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self",(char *) "win", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 (arg1
)->SetCurrentFocus(arg2
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 Py_INCREF(Py_None
); resultobj
= Py_None
;
18831 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18834 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18836 return Py_BuildValue((char *)"");
18838 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxWindow
*arg1
= (wxWindow
*) NULL
;
18841 wxWindowCreateEvent
*result
;
18842 PyObject
* obj0
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "win", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18866 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
;
18868 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18870 PyObject
* obj0
= 0 ;
18871 char *kwnames
[] = {
18872 (char *) "self", NULL
18875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= wxPyMake_wxObject(result
, 0);
18894 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18897 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18899 return Py_BuildValue((char *)"");
18901 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxWindow
*arg1
= (wxWindow
*) NULL
;
18904 wxWindowDestroyEvent
*result
;
18905 PyObject
* obj0
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "win", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18929 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
;
18931 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18933 PyObject
* obj0
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18949 resultobj
= wxPyMake_wxObject(result
, 0);
18957 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18960 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18962 return Py_BuildValue((char *)"");
18964 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18967 int arg2
= (int) 0 ;
18968 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18969 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18970 wxContextMenuEvent
*result
;
18972 PyObject
* obj0
= 0 ;
18973 PyObject
* obj1
= 0 ;
18974 PyObject
* obj2
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "type",(char *) "winid",(char *) "pt", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18981 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18985 arg2
= (int) SWIG_AsInt(obj1
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18991 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19008 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19012 PyObject
* obj0
= 0 ;
19013 char *kwnames
[] = {
19014 (char *) "self", NULL
19017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19024 result
= (wxPoint
*) &_result_ref
;
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19037 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
;
19039 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19040 wxPoint
*arg2
= 0 ;
19042 PyObject
* obj0
= 0 ;
19043 PyObject
* obj1
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self",(char *) "pos", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 Py_INCREF(Py_None
); resultobj
= Py_None
;
19069 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19072 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19074 return Py_BuildValue((char *)"");
19076 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxIdleEvent
*result
;
19079 char *kwnames
[] = {
19083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 result
= (wxIdleEvent
*)new wxIdleEvent();
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19098 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19101 bool arg2
= (bool) True
;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self",(char *) "needMore", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 arg2
= (bool) SWIG_AsBool(obj1
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 (arg1
)->RequestMore(arg2
);
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 Py_INCREF(Py_None
); resultobj
= Py_None
;
19129 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19157 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19160 PyObject
* obj0
= 0 ;
19161 char *kwnames
[] = {
19162 (char *) "mode", NULL
19165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19166 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19175 Py_INCREF(Py_None
); resultobj
= Py_None
;
19182 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19185 char *kwnames
[] = {
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 result
= (int)wxIdleEvent::GetMode();
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19197 resultobj
= SWIG_FromInt((int)result
);
19204 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19205 PyObject
*resultobj
;
19206 wxWindow
*arg1
= (wxWindow
*) 0 ;
19208 PyObject
* obj0
= 0 ;
19209 char *kwnames
[] = {
19210 (char *) "win", NULL
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 result
= (bool)wxIdleEvent::CanSend(arg1
);
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19232 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19235 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19237 return Py_BuildValue((char *)"");
19239 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 int arg1
= (int) 0 ;
19242 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "winid",(char *) "commandType", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19252 arg1
= (int) SWIG_AsInt(obj0
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19256 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19273 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19274 PyObject
*resultobj
;
19275 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19276 PyObject
* obj0
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 Py_INCREF(Py_None
); resultobj
= Py_None
;
19298 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19301 PyObject
*arg2
= (PyObject
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "self",(char *) "self", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 (arg1
)->SetSelf(arg2
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 Py_INCREF(Py_None
); resultobj
= Py_None
;
19326 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19330 PyObject
* obj0
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "self", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 result
= (PyObject
*)(arg1
)->GetSelf();
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= result
;
19352 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19355 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19357 return Py_BuildValue((char *)"");
19359 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19362 int arg2
= (int) 0 ;
19363 wxPyCommandEvent
*result
;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "commandType",(char *) "id", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19372 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19376 arg2
= (int) SWIG_AsInt(obj1
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19393 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19395 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19396 PyObject
* obj0
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "self", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19411 Py_INCREF(Py_None
); resultobj
= Py_None
;
19418 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19421 PyObject
*arg2
= (PyObject
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self",(char *) "self", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 (arg1
)->SetSelf(arg2
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 Py_INCREF(Py_None
); resultobj
= Py_None
;
19446 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 result
= (PyObject
*)(arg1
)->GetSelf();
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 resultobj
= result
;
19472 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19475 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19477 return Py_BuildValue((char *)"");
19479 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19480 PyObject
*resultobj
;
19482 char *kwnames
[] = {
19486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 result
= (wxPyApp
*)new_wxPyApp();
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19501 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 char *kwnames
[] = {
19506 (char *) "self", NULL
19509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19519 Py_INCREF(Py_None
); resultobj
= Py_None
;
19526 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19527 PyObject
*resultobj
;
19528 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19529 PyObject
*arg2
= (PyObject
*) 0 ;
19530 PyObject
*arg3
= (PyObject
*) 0 ;
19531 PyObject
* obj0
= 0 ;
19532 PyObject
* obj1
= 0 ;
19533 PyObject
* obj2
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self",(char *) "self",(char *) "_class", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 Py_INCREF(Py_None
); resultobj
= Py_None
;
19557 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19573 wxPyEndAllowThreads(__tstate
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19589 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19591 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19592 wxString
*arg2
= 0 ;
19593 bool temp2
= False
;
19594 PyObject
* obj0
= 0 ;
19595 PyObject
* obj1
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "self",(char *) "name", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19604 arg2
= wxString_in_helper(obj1
);
19605 if (arg2
== NULL
) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 (arg1
)->SetAppName((wxString
const &)*arg2
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 Py_INCREF(Py_None
); resultobj
= Py_None
;
19630 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
;
19632 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19634 PyObject
* obj0
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19662 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19665 wxString
*arg2
= 0 ;
19666 bool temp2
= False
;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self",(char *) "name", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19677 arg2
= wxString_in_helper(obj1
);
19678 if (arg2
== NULL
) SWIG_fail
;
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 (arg1
)->SetClassName((wxString
const &)*arg2
);
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 Py_INCREF(Py_None
); resultobj
= Py_None
;
19703 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
;
19705 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19707 PyObject
* obj0
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19719 result
= (wxString
*) &_result_ref
;
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19729 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19738 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
;
19740 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19741 wxString
*arg2
= 0 ;
19742 bool temp2
= False
;
19743 PyObject
* obj0
= 0 ;
19744 PyObject
* obj1
= 0 ;
19745 char *kwnames
[] = {
19746 (char *) "self",(char *) "name", NULL
19749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19753 arg2
= wxString_in_helper(obj1
);
19754 if (arg2
== NULL
) SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 Py_INCREF(Py_None
); resultobj
= Py_None
;
19779 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19782 wxAppTraits
*result
;
19783 PyObject
* obj0
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19805 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19808 PyObject
* obj0
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 (arg1
)->ProcessPendingEvents();
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 Py_INCREF(Py_None
); resultobj
= Py_None
;
19830 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19833 bool arg2
= (bool) False
;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self",(char *) "onlyIfNeeded", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19845 arg2
= (bool) SWIG_AsBool(obj1
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (bool)(arg1
)->Yield(arg2
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19864 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "self", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 (arg1
)->WakeUpIdle();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 Py_INCREF(Py_None
); resultobj
= Py_None
;
19889 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 result
= (int)(arg1
)->MainLoop();
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19908 resultobj
= SWIG_FromInt((int)result
);
19915 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19918 PyObject
* obj0
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 Py_INCREF(Py_None
); resultobj
= Py_None
;
19940 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
;
19942 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 (arg1
)->ExitMainLoop();
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19958 Py_INCREF(Py_None
); resultobj
= Py_None
;
19965 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
;
19967 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19969 PyObject
* obj0
= 0 ;
19970 char *kwnames
[] = {
19971 (char *) "self", NULL
19974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 result
= (bool)(arg1
)->Pending();
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19993 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19997 PyObject
* obj0
= 0 ;
19998 char *kwnames
[] = {
19999 (char *) "self", NULL
20002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 result
= (bool)(arg1
)->Dispatch();
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20021 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20025 PyObject
* obj0
= 0 ;
20026 char *kwnames
[] = {
20027 (char *) "self", NULL
20030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20035 result
= (bool)(arg1
)->ProcessIdle();
20037 wxPyEndAllowThreads(__tstate
);
20038 if (PyErr_Occurred()) SWIG_fail
;
20041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20049 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
;
20051 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20052 wxWindow
*arg2
= (wxWindow
*) 0 ;
20053 wxIdleEvent
*arg3
= 0 ;
20055 PyObject
* obj0
= 0 ;
20056 PyObject
* obj1
= 0 ;
20057 PyObject
* obj2
= 0 ;
20058 char *kwnames
[] = {
20059 (char *) "self",(char *) "win",(char *) "event", NULL
20062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20067 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20070 if (arg3
== NULL
) {
20071 PyErr_SetString(PyExc_TypeError
,"null reference");
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20090 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 char *kwnames
[] = {
20096 (char *) "self", NULL
20099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20118 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
;
20120 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20121 wxWindow
*arg2
= (wxWindow
*) 0 ;
20122 PyObject
* obj0
= 0 ;
20123 PyObject
* obj1
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self",(char *) "win", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 (arg1
)->SetTopWindow(arg2
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 Py_INCREF(Py_None
); resultobj
= Py_None
;
20147 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
;
20149 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20151 PyObject
* obj0
= 0 ;
20152 char *kwnames
[] = {
20153 (char *) "self", NULL
20156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= wxPyMake_wxObject(result
, 0);
20175 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
;
20177 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20179 PyObject
* obj0
= 0 ;
20180 PyObject
* obj1
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self",(char *) "flag", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20188 arg2
= (bool) SWIG_AsBool(obj1
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 (arg1
)->SetExitOnFrameDelete(arg2
);
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20197 Py_INCREF(Py_None
); resultobj
= Py_None
;
20204 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20208 PyObject
* obj0
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20232 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 PyObject
* obj1
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self",(char *) "flag", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20245 arg2
= (bool) SWIG_AsBool(obj1
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 (arg1
)->SetUseBestVisual(arg2
);
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 Py_INCREF(Py_None
); resultobj
= Py_None
;
20261 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20265 PyObject
* obj0
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20289 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self",(char *) "mode", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20302 arg2
= (int) SWIG_AsInt(obj1
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 (arg1
)->SetPrintMode(arg2
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 Py_INCREF(Py_None
); resultobj
= Py_None
;
20318 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20322 PyObject
* obj0
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= SWIG_FromInt((int)result
);
20344 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self",(char *) "mode", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20357 arg2
= (int) SWIG_AsInt(obj1
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 (arg1
)->SetAssertMode(arg2
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 Py_INCREF(Py_None
); resultobj
= Py_None
;
20373 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
;
20375 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20377 PyObject
* obj0
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 result
= (int)(arg1
)->GetAssertMode();
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= SWIG_FromInt((int)result
);
20399 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20402 char *kwnames
[] = {
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20423 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20426 char *kwnames
[] = {
20430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= SWIG_FromLong((long)result
);
20445 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20446 PyObject
*resultobj
;
20448 char *kwnames
[] = {
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 resultobj
= SWIG_FromLong((long)result
);
20467 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
;
20470 char *kwnames
[] = {
20474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (long)wxPyApp::GetMacExitMenuItemId();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_FromLong((long)result
);
20489 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20492 char *kwnames
[] = {
20496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= wxPyApp::GetMacHelpMenuTitleName();
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20517 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20520 PyObject
* obj0
= 0 ;
20521 char *kwnames
[] = {
20522 (char *) "val", NULL
20525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20526 arg1
= (bool) SWIG_AsBool(obj0
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 Py_INCREF(Py_None
); resultobj
= Py_None
;
20542 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20545 PyObject
* obj0
= 0 ;
20546 char *kwnames
[] = {
20547 (char *) "val", NULL
20550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20551 arg1
= (long) SWIG_AsLong(obj0
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 wxPyApp::SetMacAboutMenuItemId(arg1
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 Py_INCREF(Py_None
); resultobj
= Py_None
;
20567 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20570 PyObject
* obj0
= 0 ;
20571 char *kwnames
[] = {
20572 (char *) "val", NULL
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20576 arg1
= (long) SWIG_AsLong(obj0
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 Py_INCREF(Py_None
); resultobj
= Py_None
;
20592 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20595 PyObject
* obj0
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "val", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20601 arg1
= (long) SWIG_AsLong(obj0
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 wxPyApp::SetMacExitMenuItemId(arg1
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 Py_INCREF(Py_None
); resultobj
= Py_None
;
20617 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
;
20619 wxString
*arg1
= 0 ;
20620 bool temp1
= False
;
20621 PyObject
* obj0
= 0 ;
20622 char *kwnames
[] = {
20623 (char *) "val", NULL
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20628 arg1
= wxString_in_helper(obj0
);
20629 if (arg1
== NULL
) SWIG_fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 Py_INCREF(Py_None
); resultobj
= Py_None
;
20654 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
;
20656 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20657 PyObject
* obj0
= 0 ;
20658 char *kwnames
[] = {
20659 (char *) "self", NULL
20662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 (arg1
)->_BootstrapApp();
20669 wxPyEndAllowThreads(__tstate
);
20670 if (PyErr_Occurred()) SWIG_fail
;
20672 Py_INCREF(Py_None
); resultobj
= Py_None
;
20679 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20680 PyObject
*resultobj
;
20682 char *kwnames
[] = {
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 result
= (int)PyApp_GetComCtl32Version();
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20694 resultobj
= SWIG_FromInt((int)result
);
20701 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20704 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20706 return Py_BuildValue((char *)"");
20708 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
;
20710 char *kwnames
[] = {
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 Py_INCREF(Py_None
); resultobj
= Py_None
;
20729 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20732 char *kwnames
[] = {
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (bool)wxYield();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20753 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20756 char *kwnames
[] = {
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 result
= (bool)wxYieldIfNeeded();
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20777 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxWindow
*arg1
= (wxWindow
*) NULL
;
20780 bool arg2
= (bool) False
;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "win",(char *) "onlyIfNeeded", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20794 arg2
= (bool) SWIG_AsBool(obj1
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (bool)wxSafeYield(arg1
,arg2
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20813 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 char *kwnames
[] = {
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 Py_INCREF(Py_None
); resultobj
= Py_None
;
20834 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20837 wxEvent
*arg2
= 0 ;
20838 PyObject
* obj0
= 0 ;
20839 PyObject
* obj1
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "dest",(char *) "event", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20850 if (arg2
== NULL
) {
20851 PyErr_SetString(PyExc_TypeError
,"null reference");
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 wxPostEvent(arg1
,*arg2
);
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20861 Py_INCREF(Py_None
); resultobj
= Py_None
;
20868 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20870 char *kwnames
[] = {
20874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 Py_INCREF(Py_None
); resultobj
= Py_None
;
20889 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20892 char *kwnames
[] = {
20896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (wxPyApp
*)wxPyGetApp();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= wxPyMake_wxObject(result
, 0);
20913 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 int arg1
= (int) 0 ;
20916 int arg2
= (int) 0 ;
20917 int arg3
= (int) 0 ;
20918 wxAcceleratorEntry
*result
;
20919 PyObject
* obj0
= 0 ;
20920 PyObject
* obj1
= 0 ;
20921 PyObject
* obj2
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20928 arg1
= (int) SWIG_AsInt(obj0
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20932 arg2
= (int) SWIG_AsInt(obj1
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20936 arg3
= (int) SWIG_AsInt(obj2
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20953 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20956 PyObject
* obj0
= 0 ;
20957 char *kwnames
[] = {
20958 (char *) "self", NULL
20961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 Py_INCREF(Py_None
); resultobj
= Py_None
;
20978 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20984 PyObject
* obj0
= 0 ;
20985 PyObject
* obj1
= 0 ;
20986 PyObject
* obj2
= 0 ;
20987 PyObject
* obj3
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20995 arg2
= (int) SWIG_AsInt(obj1
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20997 arg3
= (int) SWIG_AsInt(obj2
);
20998 if (PyErr_Occurred()) SWIG_fail
;
20999 arg4
= (int) SWIG_AsInt(obj3
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 (arg1
)->Set(arg2
,arg3
,arg4
);
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 Py_INCREF(Py_None
); resultobj
= Py_None
;
21015 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21017 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21019 PyObject
* obj0
= 0 ;
21020 char *kwnames
[] = {
21021 (char *) "self", NULL
21024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 result
= (int)(arg1
)->GetFlags();
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21034 resultobj
= SWIG_FromInt((int)result
);
21041 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21042 PyObject
*resultobj
;
21043 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21045 PyObject
* obj0
= 0 ;
21046 char *kwnames
[] = {
21047 (char *) "self", NULL
21050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 result
= (int)(arg1
)->GetKeyCode();
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= SWIG_FromInt((int)result
);
21067 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
;
21069 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21071 PyObject
* obj0
= 0 ;
21072 char *kwnames
[] = {
21073 (char *) "self", NULL
21076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 result
= (int)(arg1
)->GetCommand();
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= SWIG_FromInt((int)result
);
21093 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21096 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21098 return Py_BuildValue((char *)"");
21100 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
;
21103 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21104 wxAcceleratorTable
*result
;
21105 PyObject
* obj0
= 0 ;
21106 char *kwnames
[] = {
21110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21112 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21113 if (arg2
) arg1
= PyList_Size(obj0
);
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21136 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "self", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21154 Py_INCREF(Py_None
); resultobj
= Py_None
;
21161 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21162 PyObject
*resultobj
;
21163 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21165 PyObject
* obj0
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21189 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21192 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21194 return Py_BuildValue((char *)"");
21196 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21197 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21202 static PyObject
*_wrap_NullAcceleratorTable_get() {
21205 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21210 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
;
21212 wxString
*arg1
= 0 ;
21213 wxAcceleratorEntry
*result
;
21214 bool temp1
= False
;
21215 PyObject
* obj0
= 0 ;
21216 char *kwnames
[] = {
21217 (char *) "label", NULL
21220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21222 arg1
= wxString_in_helper(obj0
);
21223 if (arg1
== NULL
) SWIG_fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21228 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21248 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21249 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21254 static PyObject
*_wrap_PanelNameStr_get() {
21259 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21261 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21268 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxVisualAttributes
*result
;
21271 char *kwnames
[] = {
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21278 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21290 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
;
21292 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21293 PyObject
* obj0
= 0 ;
21294 char *kwnames
[] = {
21295 (char *) "self", NULL
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 delete_wxVisualAttributes(arg1
);
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 Py_INCREF(Py_None
); resultobj
= Py_None
;
21315 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
;
21317 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21318 wxFont
*arg2
= (wxFont
*) 0 ;
21319 PyObject
* obj0
= 0 ;
21320 PyObject
* obj1
= 0 ;
21321 char *kwnames
[] = {
21322 (char *) "self",(char *) "font", NULL
21325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21330 if (arg1
) (arg1
)->font
= *arg2
;
21332 Py_INCREF(Py_None
); resultobj
= Py_None
;
21339 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 result
= (wxFont
*)& ((arg1
)->font
);
21353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21360 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
;
21362 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21363 wxColour
*arg2
= (wxColour
*) 0 ;
21364 PyObject
* obj0
= 0 ;
21365 PyObject
* obj1
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self",(char *) "colFg", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21375 if (arg1
) (arg1
)->colFg
= *arg2
;
21377 Py_INCREF(Py_None
); resultobj
= Py_None
;
21384 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
;
21386 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21388 PyObject
* obj0
= 0 ;
21389 char *kwnames
[] = {
21390 (char *) "self", NULL
21393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21396 result
= (wxColour
*)& ((arg1
)->colFg
);
21398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21405 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
;
21407 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21408 wxColour
*arg2
= (wxColour
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self",(char *) "colBg", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21420 if (arg1
) (arg1
)->colBg
= *arg2
;
21422 Py_INCREF(Py_None
); resultobj
= Py_None
;
21429 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21431 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21441 result
= (wxColour
*)& ((arg1
)->colBg
);
21443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21450 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21453 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21455 return Py_BuildValue((char *)"");
21457 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
;
21459 wxWindow
*arg1
= (wxWindow
*) 0 ;
21460 int arg2
= (int) (int)-1 ;
21461 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21462 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21463 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21464 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21465 long arg5
= (long) 0 ;
21466 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21467 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21471 bool temp6
= False
;
21472 PyObject
* obj0
= 0 ;
21473 PyObject
* obj1
= 0 ;
21474 PyObject
* obj2
= 0 ;
21475 PyObject
* obj3
= 0 ;
21476 PyObject
* obj4
= 0 ;
21477 PyObject
* obj5
= 0 ;
21478 char *kwnames
[] = {
21479 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21486 arg2
= (int const) SWIG_AsInt(obj1
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21498 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21502 arg5
= (long) SWIG_AsLong(obj4
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21507 arg6
= wxString_in_helper(obj5
);
21508 if (arg6
== NULL
) SWIG_fail
;
21513 if (!wxPyCheckForApp()) SWIG_fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21535 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21538 char *kwnames
[] = {
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21544 if (!wxPyCheckForApp()) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (wxWindow
*)new wxWindow();
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21558 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxWindow
*arg1
= (wxWindow
*) 0 ;
21561 wxWindow
*arg2
= (wxWindow
*) 0 ;
21562 int arg3
= (int) (int)-1 ;
21563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21567 long arg6
= (long) 0 ;
21568 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21569 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21573 bool temp7
= False
;
21574 PyObject
* obj0
= 0 ;
21575 PyObject
* obj1
= 0 ;
21576 PyObject
* obj2
= 0 ;
21577 PyObject
* obj3
= 0 ;
21578 PyObject
* obj4
= 0 ;
21579 PyObject
* obj5
= 0 ;
21580 PyObject
* obj6
= 0 ;
21581 char *kwnames
[] = {
21582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21591 arg3
= (int const) SWIG_AsInt(obj2
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21597 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21603 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21607 arg6
= (long) SWIG_AsLong(obj5
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21612 arg7
= wxString_in_helper(obj6
);
21613 if (arg7
== NULL
) SWIG_fail
;
21618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21621 wxPyEndAllowThreads(__tstate
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21641 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxWindow
*arg1
= (wxWindow
*) 0 ;
21644 bool arg2
= (bool) False
;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "self",(char *) "force", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21656 arg2
= (bool) SWIG_AsBool(obj1
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= (bool)(arg1
)->Close(arg2
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21675 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxWindow
*arg1
= (wxWindow
*) 0 ;
21679 PyObject
* obj0
= 0 ;
21680 char *kwnames
[] = {
21681 (char *) "self", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= (bool)(arg1
)->Destroy();
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21703 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21704 PyObject
*resultobj
;
21705 wxWindow
*arg1
= (wxWindow
*) 0 ;
21707 PyObject
* obj0
= 0 ;
21708 char *kwnames
[] = {
21709 (char *) "self", NULL
21712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 result
= (bool)(arg1
)->DestroyChildren();
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21731 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxWindow
*arg1
= (wxWindow
*) 0 ;
21735 PyObject
* obj0
= 0 ;
21736 char *kwnames
[] = {
21737 (char *) "self", NULL
21740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21759 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
;
21761 wxWindow
*arg1
= (wxWindow
*) 0 ;
21762 wxString
*arg2
= 0 ;
21763 bool temp2
= False
;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 char *kwnames
[] = {
21767 (char *) "self",(char *) "title", NULL
21770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21774 arg2
= wxString_in_helper(obj1
);
21775 if (arg2
== NULL
) SWIG_fail
;
21779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21780 (arg1
)->SetTitle((wxString
const &)*arg2
);
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21785 Py_INCREF(Py_None
); resultobj
= Py_None
;
21800 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21801 PyObject
*resultobj
;
21802 wxWindow
*arg1
= (wxWindow
*) 0 ;
21804 PyObject
* obj0
= 0 ;
21805 char *kwnames
[] = {
21806 (char *) "self", NULL
21809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= ((wxWindow
const *)arg1
)->GetTitle();
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21832 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxWindow
*arg1
= (wxWindow
*) 0 ;
21835 wxString
*arg2
= 0 ;
21836 bool temp2
= False
;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 char *kwnames
[] = {
21840 (char *) "self",(char *) "label", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21847 arg2
= wxString_in_helper(obj1
);
21848 if (arg2
== NULL
) SWIG_fail
;
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 (arg1
)->SetLabel((wxString
const &)*arg2
);
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 Py_INCREF(Py_None
); resultobj
= Py_None
;
21873 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxWindow
*arg1
= (wxWindow
*) 0 ;
21877 PyObject
* obj0
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= ((wxWindow
const *)arg1
)->GetLabel();
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21905 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21906 PyObject
*resultobj
;
21907 wxWindow
*arg1
= (wxWindow
*) 0 ;
21908 wxString
*arg2
= 0 ;
21909 bool temp2
= False
;
21910 PyObject
* obj0
= 0 ;
21911 PyObject
* obj1
= 0 ;
21912 char *kwnames
[] = {
21913 (char *) "self",(char *) "name", NULL
21916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21920 arg2
= wxString_in_helper(obj1
);
21921 if (arg2
== NULL
) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 (arg1
)->SetName((wxString
const &)*arg2
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 Py_INCREF(Py_None
); resultobj
= Py_None
;
21946 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
;
21948 wxWindow
*arg1
= (wxWindow
*) 0 ;
21950 PyObject
* obj0
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= ((wxWindow
const *)arg1
)->GetName();
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21978 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 wxWindow
*arg1
= (wxWindow
*) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "self",(char *) "variant", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21991 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22000 Py_INCREF(Py_None
); resultobj
= Py_None
;
22007 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22008 PyObject
*resultobj
;
22009 wxWindow
*arg1
= (wxWindow
*) 0 ;
22011 PyObject
* obj0
= 0 ;
22012 char *kwnames
[] = {
22013 (char *) "self", NULL
22016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 resultobj
= SWIG_FromInt((int)result
);
22033 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
;
22035 wxWindow
*arg1
= (wxWindow
*) 0 ;
22037 PyObject
* obj0
= 0 ;
22038 PyObject
* obj1
= 0 ;
22039 char *kwnames
[] = {
22040 (char *) "self",(char *) "winid", NULL
22043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22046 arg2
= (int) SWIG_AsInt(obj1
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 (arg1
)->SetId(arg2
);
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 Py_INCREF(Py_None
); resultobj
= Py_None
;
22062 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
;
22064 wxWindow
*arg1
= (wxWindow
*) 0 ;
22066 PyObject
* obj0
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (int)((wxWindow
const *)arg1
)->GetId();
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= SWIG_FromInt((int)result
);
22088 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22089 PyObject
*resultobj
;
22091 char *kwnames
[] = {
22095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 result
= (int)wxWindow::NewControlId();
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= SWIG_FromInt((int)result
);
22110 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
;
22114 PyObject
* obj0
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "winid", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22120 arg1
= (int) SWIG_AsInt(obj0
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (int)wxWindow::NextControlId(arg1
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= SWIG_FromInt((int)result
);
22136 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
;
22140 PyObject
* obj0
= 0 ;
22141 char *kwnames
[] = {
22142 (char *) "winid", NULL
22145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22146 arg1
= (int) SWIG_AsInt(obj0
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (int)wxWindow::PrevControlId(arg1
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= SWIG_FromInt((int)result
);
22162 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
;
22164 wxWindow
*arg1
= (wxWindow
*) 0 ;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 char *kwnames
[] = {
22170 (char *) "self",(char *) "size", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22178 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 (arg1
)->SetSize((wxSize
const &)*arg2
);
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 Py_INCREF(Py_None
); resultobj
= Py_None
;
22194 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22196 wxWindow
*arg1
= (wxWindow
*) 0 ;
22201 int arg6
= (int) wxSIZE_AUTO
;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 PyObject
* obj2
= 0 ;
22205 PyObject
* obj3
= 0 ;
22206 PyObject
* obj4
= 0 ;
22207 PyObject
* obj5
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22215 arg2
= (int) SWIG_AsInt(obj1
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22217 arg3
= (int) SWIG_AsInt(obj2
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22219 arg4
= (int) SWIG_AsInt(obj3
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22221 arg5
= (int) SWIG_AsInt(obj4
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 arg6
= (int) SWIG_AsInt(obj5
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22234 Py_INCREF(Py_None
); resultobj
= Py_None
;
22241 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22242 PyObject
*resultobj
;
22243 wxWindow
*arg1
= (wxWindow
*) 0 ;
22245 int arg3
= (int) wxSIZE_AUTO
;
22247 PyObject
* obj0
= 0 ;
22248 PyObject
* obj1
= 0 ;
22249 PyObject
* obj2
= 0 ;
22250 char *kwnames
[] = {
22251 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22259 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22262 arg3
= (int) SWIG_AsInt(obj2
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 Py_INCREF(Py_None
); resultobj
= Py_None
;
22279 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 wxWindow
*arg1
= (wxWindow
*) 0 ;
22284 PyObject
* obj0
= 0 ;
22285 PyObject
* obj1
= 0 ;
22286 PyObject
* obj2
= 0 ;
22287 char *kwnames
[] = {
22288 (char *) "self",(char *) "width",(char *) "height", NULL
22291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22294 arg2
= (int) SWIG_AsInt(obj1
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22296 arg3
= (int) SWIG_AsInt(obj2
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22300 (arg1
)->SetSize(arg2
,arg3
);
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22305 Py_INCREF(Py_None
); resultobj
= Py_None
;
22312 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxWindow
*arg1
= (wxWindow
*) 0 ;
22315 wxPoint
*arg2
= 0 ;
22316 int arg3
= (int) wxSIZE_USE_EXISTING
;
22318 PyObject
* obj0
= 0 ;
22319 PyObject
* obj1
= 0 ;
22320 PyObject
* obj2
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self",(char *) "pt",(char *) "flags", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22333 arg3
= (int) SWIG_AsInt(obj2
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 Py_INCREF(Py_None
); resultobj
= Py_None
;
22350 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
;
22352 wxWindow
*arg1
= (wxWindow
*) 0 ;
22355 int arg4
= (int) wxSIZE_USE_EXISTING
;
22356 PyObject
* obj0
= 0 ;
22357 PyObject
* obj1
= 0 ;
22358 PyObject
* obj2
= 0 ;
22359 PyObject
* obj3
= 0 ;
22360 char *kwnames
[] = {
22361 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 arg2
= (int) SWIG_AsInt(obj1
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22369 arg3
= (int) SWIG_AsInt(obj2
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 arg4
= (int) SWIG_AsInt(obj3
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 (arg1
)->Move(arg2
,arg3
,arg4
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 Py_INCREF(Py_None
); resultobj
= Py_None
;
22389 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
;
22391 wxWindow
*arg1
= (wxWindow
*) 0 ;
22392 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22393 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self",(char *) "size", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22407 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 Py_INCREF(Py_None
); resultobj
= Py_None
;
22424 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxWindow
*arg1
= (wxWindow
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 Py_INCREF(Py_None
); resultobj
= Py_None
;
22449 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxWindow
*arg1
= (wxWindow
*) 0 ;
22452 PyObject
* obj0
= 0 ;
22453 char *kwnames
[] = {
22454 (char *) "self", NULL
22457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 Py_INCREF(Py_None
); resultobj
= Py_None
;
22474 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
;
22476 wxWindow
*arg1
= (wxWindow
*) 0 ;
22479 PyObject
* obj0
= 0 ;
22480 PyObject
* obj1
= 0 ;
22481 char *kwnames
[] = {
22482 (char *) "self",(char *) "size", NULL
22485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22490 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 Py_INCREF(Py_None
); resultobj
= Py_None
;
22506 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxWindow
*arg1
= (wxWindow
*) 0 ;
22511 PyObject
* obj0
= 0 ;
22512 PyObject
* obj1
= 0 ;
22513 PyObject
* obj2
= 0 ;
22514 char *kwnames
[] = {
22515 (char *) "self",(char *) "width",(char *) "height", NULL
22518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22521 arg2
= (int) SWIG_AsInt(obj1
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22523 arg3
= (int) SWIG_AsInt(obj2
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 (arg1
)->SetClientSize(arg2
,arg3
);
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 Py_INCREF(Py_None
); resultobj
= Py_None
;
22539 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22540 PyObject
*resultobj
;
22541 wxWindow
*arg1
= (wxWindow
*) 0 ;
22544 PyObject
* obj0
= 0 ;
22545 PyObject
* obj1
= 0 ;
22546 char *kwnames
[] = {
22547 (char *) "self",(char *) "rect", NULL
22550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22555 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 Py_INCREF(Py_None
); resultobj
= Py_None
;
22571 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxWindow
*arg1
= (wxWindow
*) 0 ;
22575 PyObject
* obj0
= 0 ;
22576 char *kwnames
[] = {
22577 (char *) "self", NULL
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 result
= (arg1
)->GetPosition();
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22591 wxPoint
* resultptr
;
22592 resultptr
= new wxPoint((wxPoint
&) result
);
22593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22601 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 wxWindow
*arg1
= (wxWindow
*) 0 ;
22604 int *arg2
= (int *) 0 ;
22605 int *arg3
= (int *) 0 ;
22608 PyObject
* obj0
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 (arg1
)->GetPosition(arg2
,arg3
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 Py_INCREF(Py_None
); resultobj
= Py_None
;
22627 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22628 resultobj
= t_output_helper(resultobj
,o
);
22631 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22632 resultobj
= t_output_helper(resultobj
,o
);
22640 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxWindow
*arg1
= (wxWindow
*) 0 ;
22644 PyObject
* obj0
= 0 ;
22645 char *kwnames
[] = {
22646 (char *) "self", NULL
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 result
= ((wxWindow
const *)arg1
)->GetSize();
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22660 wxSize
* resultptr
;
22661 resultptr
= new wxSize((wxSize
&) result
);
22662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22670 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
;
22672 wxWindow
*arg1
= (wxWindow
*) 0 ;
22673 int *arg2
= (int *) 0 ;
22674 int *arg3
= (int *) 0 ;
22677 PyObject
* obj0
= 0 ;
22678 char *kwnames
[] = {
22679 (char *) "self", NULL
22684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 Py_INCREF(Py_None
); resultobj
= Py_None
;
22696 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22697 resultobj
= t_output_helper(resultobj
,o
);
22700 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22701 resultobj
= t_output_helper(resultobj
,o
);
22709 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxWindow
*arg1
= (wxWindow
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= ((wxWindow
const *)arg1
)->GetRect();
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22729 wxRect
* resultptr
;
22730 resultptr
= new wxRect((wxRect
&) result
);
22731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22739 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxWindow
*arg1
= (wxWindow
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22759 wxSize
* resultptr
;
22760 resultptr
= new wxSize((wxSize
&) result
);
22761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22769 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
;
22771 wxWindow
*arg1
= (wxWindow
*) 0 ;
22772 int *arg2
= (int *) 0 ;
22773 int *arg3
= (int *) 0 ;
22776 PyObject
* obj0
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self", NULL
22783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22788 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 Py_INCREF(Py_None
); resultobj
= Py_None
;
22795 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22796 resultobj
= t_output_helper(resultobj
,o
);
22799 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22800 resultobj
= t_output_helper(resultobj
,o
);
22808 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22809 PyObject
*resultobj
;
22810 wxWindow
*arg1
= (wxWindow
*) 0 ;
22812 PyObject
* obj0
= 0 ;
22813 char *kwnames
[] = {
22814 (char *) "self", NULL
22817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22828 wxPoint
* resultptr
;
22829 resultptr
= new wxPoint((wxPoint
&) result
);
22830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22838 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
;
22840 wxWindow
*arg1
= (wxWindow
*) 0 ;
22842 PyObject
* obj0
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22858 wxRect
* resultptr
;
22859 resultptr
= new wxRect((wxRect
&) result
);
22860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22868 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22869 PyObject
*resultobj
;
22870 wxWindow
*arg1
= (wxWindow
*) 0 ;
22872 PyObject
* obj0
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22888 wxSize
* resultptr
;
22889 resultptr
= new wxSize((wxSize
&) result
);
22890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22898 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxWindow
*arg1
= (wxWindow
*) 0 ;
22901 int *arg2
= (int *) 0 ;
22902 int *arg3
= (int *) 0 ;
22905 PyObject
* obj0
= 0 ;
22906 char *kwnames
[] = {
22907 (char *) "self", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 Py_INCREF(Py_None
); resultobj
= Py_None
;
22924 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22925 resultobj
= t_output_helper(resultobj
,o
);
22928 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22929 resultobj
= t_output_helper(resultobj
,o
);
22937 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
;
22939 wxWindow
*arg1
= (wxWindow
*) 0 ;
22940 PyObject
* obj0
= 0 ;
22941 char *kwnames
[] = {
22942 (char *) "self", NULL
22945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
22946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 (arg1
)->InvalidateBestSize();
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 Py_INCREF(Py_None
); resultobj
= Py_None
;
22962 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxWindow
*arg1
= (wxWindow
*) 0 ;
22966 PyObject
* obj0
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
22972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22982 wxSize
* resultptr
;
22983 resultptr
= new wxSize((wxSize
&) result
);
22984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22992 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
;
22994 wxWindow
*arg1
= (wxWindow
*) 0 ;
22996 PyObject
* obj0
= 0 ;
22997 char *kwnames
[] = {
22998 (char *) "self", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23012 wxSize
* resultptr
;
23013 resultptr
= new wxSize((wxSize
&) result
);
23014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23022 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
;
23024 wxWindow
*arg1
= (wxWindow
*) 0 ;
23025 int arg2
= (int) wxBOTH
;
23026 PyObject
* obj0
= 0 ;
23027 PyObject
* obj1
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self",(char *) "direction", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23036 arg2
= (int) SWIG_AsInt(obj1
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 (arg1
)->Center(arg2
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 Py_INCREF(Py_None
); resultobj
= Py_None
;
23053 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxWindow
*arg1
= (wxWindow
*) 0 ;
23056 int arg2
= (int) wxBOTH
;
23057 PyObject
* obj0
= 0 ;
23058 PyObject
* obj1
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "self",(char *) "dir", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23067 arg2
= (int) SWIG_AsInt(obj1
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 (arg1
)->CenterOnScreen(arg2
);
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 Py_INCREF(Py_None
); resultobj
= Py_None
;
23084 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxWindow
*arg1
= (wxWindow
*) 0 ;
23087 int arg2
= (int) wxBOTH
;
23088 PyObject
* obj0
= 0 ;
23089 PyObject
* obj1
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self",(char *) "dir", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23098 arg2
= (int) SWIG_AsInt(obj1
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 (arg1
)->CenterOnParent(arg2
);
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 Py_INCREF(Py_None
); resultobj
= Py_None
;
23115 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
;
23117 wxWindow
*arg1
= (wxWindow
*) 0 ;
23118 PyObject
* obj0
= 0 ;
23119 char *kwnames
[] = {
23120 (char *) "self", NULL
23123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 Py_INCREF(Py_None
); resultobj
= Py_None
;
23140 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23141 PyObject
*resultobj
;
23142 wxWindow
*arg1
= (wxWindow
*) 0 ;
23143 PyObject
* obj0
= 0 ;
23144 char *kwnames
[] = {
23145 (char *) "self", NULL
23148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 (arg1
)->FitInside();
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 Py_INCREF(Py_None
); resultobj
= Py_None
;
23165 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23166 PyObject
*resultobj
;
23167 wxWindow
*arg1
= (wxWindow
*) 0 ;
23169 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23170 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23171 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23172 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23176 PyObject
* obj0
= 0 ;
23177 PyObject
* obj1
= 0 ;
23178 PyObject
* obj2
= 0 ;
23179 PyObject
* obj3
= 0 ;
23181 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23186 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23191 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23197 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 Py_INCREF(Py_None
); resultobj
= Py_None
;
23214 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23215 PyObject
*resultobj
;
23216 wxWindow
*arg1
= (wxWindow
*) 0 ;
23219 int arg4
= (int) -1 ;
23220 int arg5
= (int) -1 ;
23221 int arg6
= (int) -1 ;
23222 int arg7
= (int) -1 ;
23223 PyObject
* obj0
= 0 ;
23224 PyObject
* obj1
= 0 ;
23225 PyObject
* obj2
= 0 ;
23226 PyObject
* obj3
= 0 ;
23227 PyObject
* obj4
= 0 ;
23228 PyObject
* obj5
= 0 ;
23229 PyObject
* obj6
= 0 ;
23231 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23234 arg2
= (int) SWIG_AsInt(obj1
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23236 arg3
= (int) SWIG_AsInt(obj2
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 arg4
= (int) SWIG_AsInt(obj3
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23243 arg5
= (int) SWIG_AsInt(obj4
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23247 arg6
= (int) SWIG_AsInt(obj5
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23251 arg7
= (int) SWIG_AsInt(obj6
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23261 Py_INCREF(Py_None
); resultobj
= Py_None
;
23268 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23273 argc
= PyObject_Length(args
);
23274 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23275 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23277 if ((argc
>= 2) && (argc
<= 4)) {
23281 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23290 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23294 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23297 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23301 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23304 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23307 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23313 if ((argc
>= 3) && (argc
<= 7)) {
23317 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23325 _v
= SWIG_CheckInt(argv
[1]);
23327 _v
= SWIG_CheckInt(argv
[2]);
23330 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23332 _v
= SWIG_CheckInt(argv
[3]);
23335 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23337 _v
= SWIG_CheckInt(argv
[4]);
23340 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23342 _v
= SWIG_CheckInt(argv
[5]);
23345 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23347 _v
= SWIG_CheckInt(argv
[6]);
23349 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23359 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23364 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23365 PyObject
*resultobj
;
23366 wxWindow
*arg1
= (wxWindow
*) 0 ;
23368 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23369 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23372 PyObject
* obj0
= 0 ;
23373 PyObject
* obj1
= 0 ;
23374 PyObject
* obj2
= 0 ;
23376 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23381 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23386 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 Py_INCREF(Py_None
); resultobj
= Py_None
;
23403 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23404 PyObject
*resultobj
;
23405 wxWindow
*arg1
= (wxWindow
*) 0 ;
23408 int arg4
= (int) -1 ;
23409 int arg5
= (int) -1 ;
23410 PyObject
* obj0
= 0 ;
23411 PyObject
* obj1
= 0 ;
23412 PyObject
* obj2
= 0 ;
23413 PyObject
* obj3
= 0 ;
23414 PyObject
* obj4
= 0 ;
23416 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23419 arg2
= (int) SWIG_AsInt(obj1
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23421 arg3
= (int) SWIG_AsInt(obj2
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 arg4
= (int) SWIG_AsInt(obj3
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23428 arg5
= (int) SWIG_AsInt(obj4
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 Py_INCREF(Py_None
); resultobj
= Py_None
;
23445 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23450 argc
= PyObject_Length(args
);
23451 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23452 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23454 if ((argc
>= 2) && (argc
<= 3)) {
23458 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23467 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23471 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23474 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23477 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23482 if ((argc
>= 3) && (argc
<= 5)) {
23486 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23494 _v
= SWIG_CheckInt(argv
[1]);
23496 _v
= SWIG_CheckInt(argv
[2]);
23499 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23501 _v
= SWIG_CheckInt(argv
[3]);
23504 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23506 _v
= SWIG_CheckInt(argv
[4]);
23508 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23516 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23521 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxWindow
*arg1
= (wxWindow
*) 0 ;
23525 PyObject
* obj0
= 0 ;
23526 char *kwnames
[] = {
23527 (char *) "self", NULL
23530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23541 wxSize
* resultptr
;
23542 resultptr
= new wxSize((wxSize
&) result
);
23543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23551 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23552 PyObject
*resultobj
;
23553 wxWindow
*arg1
= (wxWindow
*) 0 ;
23555 PyObject
* obj0
= 0 ;
23556 char *kwnames
[] = {
23557 (char *) "self", NULL
23560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23571 wxSize
* resultptr
;
23572 resultptr
= new wxSize((wxSize
&) result
);
23573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23581 static PyObject
*_wrap_Window_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23582 PyObject
*resultobj
;
23583 wxWindow
*arg1
= (wxWindow
*) 0 ;
23586 PyObject
* obj0
= 0 ;
23587 PyObject
* obj1
= 0 ;
23588 char *kwnames
[] = {
23589 (char *) "self",(char *) "minSize", NULL
23592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23597 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23606 Py_INCREF(Py_None
); resultobj
= Py_None
;
23613 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
;
23615 wxWindow
*arg1
= (wxWindow
*) 0 ;
23618 PyObject
* obj0
= 0 ;
23619 PyObject
* obj1
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self",(char *) "maxSize", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23629 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 Py_INCREF(Py_None
); resultobj
= Py_None
;
23645 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23646 PyObject
*resultobj
;
23647 wxWindow
*arg1
= (wxWindow
*) 0 ;
23649 PyObject
* obj0
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 resultobj
= SWIG_FromInt((int)result
);
23671 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxWindow
*arg1
= (wxWindow
*) 0 ;
23675 PyObject
* obj0
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23690 resultobj
= SWIG_FromInt((int)result
);
23697 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23698 PyObject
*resultobj
;
23699 wxWindow
*arg1
= (wxWindow
*) 0 ;
23701 PyObject
* obj0
= 0 ;
23702 char *kwnames
[] = {
23703 (char *) "self", NULL
23706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23716 resultobj
= SWIG_FromInt((int)result
);
23723 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxWindow
*arg1
= (wxWindow
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= SWIG_FromInt((int)result
);
23749 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
;
23751 wxWindow
*arg1
= (wxWindow
*) 0 ;
23754 PyObject
* obj0
= 0 ;
23755 PyObject
* obj1
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self",(char *) "size", NULL
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23765 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 Py_INCREF(Py_None
); resultobj
= Py_None
;
23781 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxWindow
*arg1
= (wxWindow
*) 0 ;
23786 PyObject
* obj0
= 0 ;
23787 PyObject
* obj1
= 0 ;
23788 PyObject
* obj2
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self",(char *) "w",(char *) "h", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23796 arg2
= (int) SWIG_AsInt(obj1
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23798 arg3
= (int) SWIG_AsInt(obj2
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 (arg1
)->SetVirtualSize(arg2
,arg3
);
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 Py_INCREF(Py_None
); resultobj
= Py_None
;
23814 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
;
23816 wxWindow
*arg1
= (wxWindow
*) 0 ;
23818 PyObject
* obj0
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23834 wxSize
* resultptr
;
23835 resultptr
= new wxSize((wxSize
&) result
);
23836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23844 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
;
23846 wxWindow
*arg1
= (wxWindow
*) 0 ;
23847 int *arg2
= (int *) 0 ;
23848 int *arg3
= (int *) 0 ;
23851 PyObject
* obj0
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 Py_INCREF(Py_None
); resultobj
= Py_None
;
23870 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23871 resultobj
= t_output_helper(resultobj
,o
);
23874 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23875 resultobj
= t_output_helper(resultobj
,o
);
23883 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23884 PyObject
*resultobj
;
23885 wxWindow
*arg1
= (wxWindow
*) 0 ;
23887 PyObject
* obj0
= 0 ;
23888 char *kwnames
[] = {
23889 (char *) "self", NULL
23892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23903 wxSize
* resultptr
;
23904 resultptr
= new wxSize((wxSize
&) result
);
23905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23913 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
;
23915 wxWindow
*arg1
= (wxWindow
*) 0 ;
23916 bool arg2
= (bool) True
;
23918 PyObject
* obj0
= 0 ;
23919 PyObject
* obj1
= 0 ;
23920 char *kwnames
[] = {
23921 (char *) "self",(char *) "show", NULL
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23928 arg2
= (bool) SWIG_AsBool(obj1
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 result
= (bool)(arg1
)->Show(arg2
);
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23947 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23949 wxWindow
*arg1
= (wxWindow
*) 0 ;
23951 PyObject
* obj0
= 0 ;
23952 char *kwnames
[] = {
23953 (char *) "self", NULL
23956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (bool)(arg1
)->Hide();
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23975 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
;
23977 wxWindow
*arg1
= (wxWindow
*) 0 ;
23978 bool arg2
= (bool) True
;
23980 PyObject
* obj0
= 0 ;
23981 PyObject
* obj1
= 0 ;
23982 char *kwnames
[] = {
23983 (char *) "self",(char *) "enable", NULL
23986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23990 arg2
= (bool) SWIG_AsBool(obj1
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (bool)(arg1
)->Enable(arg2
);
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24009 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
;
24011 wxWindow
*arg1
= (wxWindow
*) 0 ;
24013 PyObject
* obj0
= 0 ;
24014 char *kwnames
[] = {
24015 (char *) "self", NULL
24018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= (bool)(arg1
)->Disable();
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24037 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxWindow
*arg1
= (wxWindow
*) 0 ;
24041 PyObject
* obj0
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "self", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24051 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24053 wxPyEndAllowThreads(__tstate
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24065 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 wxWindow
*arg1
= (wxWindow
*) 0 ;
24069 PyObject
* obj0
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "self", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24093 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
;
24095 wxWindow
*arg1
= (wxWindow
*) 0 ;
24097 PyObject
* obj0
= 0 ;
24098 PyObject
* obj1
= 0 ;
24099 char *kwnames
[] = {
24100 (char *) "self",(char *) "style", NULL
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24106 arg2
= (long) SWIG_AsLong(obj1
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 (arg1
)->SetWindowStyleFlag(arg2
);
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 Py_INCREF(Py_None
); resultobj
= Py_None
;
24122 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
;
24124 wxWindow
*arg1
= (wxWindow
*) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 resultobj
= SWIG_FromLong((long)result
);
24148 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24149 PyObject
*resultobj
;
24150 wxWindow
*arg1
= (wxWindow
*) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self",(char *) "flag", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24162 arg2
= (int) SWIG_AsInt(obj1
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24180 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
;
24182 wxWindow
*arg1
= (wxWindow
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24208 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxWindow
*arg1
= (wxWindow
*) 0 ;
24212 PyObject
* obj0
= 0 ;
24213 PyObject
* obj1
= 0 ;
24214 char *kwnames
[] = {
24215 (char *) "self",(char *) "exStyle", NULL
24218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24221 arg2
= (long) SWIG_AsLong(obj1
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 (arg1
)->SetExtraStyle(arg2
);
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 Py_INCREF(Py_None
); resultobj
= Py_None
;
24237 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
;
24239 wxWindow
*arg1
= (wxWindow
*) 0 ;
24241 PyObject
* obj0
= 0 ;
24242 char *kwnames
[] = {
24243 (char *) "self", NULL
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_FromLong((long)result
);
24263 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxWindow
*arg1
= (wxWindow
*) 0 ;
24266 bool arg2
= (bool) True
;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 char *kwnames
[] = {
24270 (char *) "self",(char *) "modal", NULL
24273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24277 arg2
= (bool) SWIG_AsBool(obj1
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 (arg1
)->MakeModal(arg2
);
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24287 Py_INCREF(Py_None
); resultobj
= Py_None
;
24294 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
;
24296 wxWindow
*arg1
= (wxWindow
*) 0 ;
24298 PyObject
* obj0
= 0 ;
24299 PyObject
* obj1
= 0 ;
24300 char *kwnames
[] = {
24301 (char *) "self",(char *) "enableTheme", NULL
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24307 arg2
= (bool) SWIG_AsBool(obj1
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 (arg1
)->SetThemeEnabled(arg2
);
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24316 Py_INCREF(Py_None
); resultobj
= Py_None
;
24323 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
;
24325 wxWindow
*arg1
= (wxWindow
*) 0 ;
24327 PyObject
* obj0
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24351 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
;
24353 wxWindow
*arg1
= (wxWindow
*) 0 ;
24354 PyObject
* obj0
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 (arg1
)->SetFocus();
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24369 Py_INCREF(Py_None
); resultobj
= Py_None
;
24376 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxWindow
*arg1
= (wxWindow
*) 0 ;
24379 PyObject
* obj0
= 0 ;
24380 char *kwnames
[] = {
24381 (char *) "self", NULL
24384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 (arg1
)->SetFocusFromKbd();
24391 wxPyEndAllowThreads(__tstate
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24394 Py_INCREF(Py_None
); resultobj
= Py_None
;
24401 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24402 PyObject
*resultobj
;
24404 char *kwnames
[] = {
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24410 if (!wxPyCheckForApp()) SWIG_fail
;
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 result
= (wxWindow
*)wxWindow::FindFocus();
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24418 resultobj
= wxPyMake_wxObject(result
, 0);
24426 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
;
24428 wxWindow
*arg1
= (wxWindow
*) 0 ;
24430 PyObject
* obj0
= 0 ;
24431 char *kwnames
[] = {
24432 (char *) "self", NULL
24435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24440 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24454 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
;
24456 wxWindow
*arg1
= (wxWindow
*) 0 ;
24458 PyObject
* obj0
= 0 ;
24459 char *kwnames
[] = {
24460 (char *) "self", NULL
24463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24482 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
;
24484 wxWindow
*arg1
= (wxWindow
*) 0 ;
24486 PyObject
* obj0
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= wxPyMake_wxObject(result
, 0);
24510 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
;
24512 wxWindow
*arg1
= (wxWindow
*) 0 ;
24513 wxWindow
*arg2
= (wxWindow
*) 0 ;
24515 PyObject
* obj0
= 0 ;
24516 PyObject
* obj1
= 0 ;
24517 char *kwnames
[] = {
24518 (char *) "self",(char *) "child", NULL
24521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= wxPyMake_wxObject(result
, 0);
24542 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
;
24544 wxWindow
*arg1
= (wxWindow
*) 0 ;
24545 wxWindow
*arg2
= (wxWindow
*) 0 ;
24546 PyObject
* obj0
= 0 ;
24547 PyObject
* obj1
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self",(char *) "win", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 (arg1
)->SetTmpDefaultItem(arg2
);
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24564 Py_INCREF(Py_None
); resultobj
= Py_None
;
24571 static PyObject
*_wrap_Window_Navigate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
;
24573 wxWindow
*arg1
= (wxWindow
*) 0 ;
24574 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self",(char *) "flags", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24586 arg2
= (int) SWIG_AsInt(obj1
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 result
= (bool)(arg1
)->Navigate(arg2
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24605 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
;
24607 wxWindow
*arg1
= (wxWindow
*) 0 ;
24608 wxWindow
*arg2
= (wxWindow
*) 0 ;
24609 PyObject
* obj0
= 0 ;
24610 PyObject
* obj1
= 0 ;
24611 char *kwnames
[] = {
24612 (char *) "self",(char *) "win", NULL
24615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 (arg1
)->MoveAfterInTabOrder(arg2
);
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 Py_INCREF(Py_None
); resultobj
= Py_None
;
24634 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
;
24636 wxWindow
*arg1
= (wxWindow
*) 0 ;
24637 wxWindow
*arg2
= (wxWindow
*) 0 ;
24638 PyObject
* obj0
= 0 ;
24639 PyObject
* obj1
= 0 ;
24640 char *kwnames
[] = {
24641 (char *) "self",(char *) "win", NULL
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 (arg1
)->MoveBeforeInTabOrder(arg2
);
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24656 Py_INCREF(Py_None
); resultobj
= Py_None
;
24663 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
;
24665 wxWindow
*arg1
= (wxWindow
*) 0 ;
24667 PyObject
* obj0
= 0 ;
24668 char *kwnames
[] = {
24669 (char *) "self", NULL
24672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24679 wxPyEndAllowThreads(__tstate
);
24680 if (PyErr_Occurred()) SWIG_fail
;
24682 resultobj
= result
;
24689 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
;
24691 wxWindow
*arg1
= (wxWindow
*) 0 ;
24693 PyObject
* obj0
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= wxPyMake_wxObject(result
, 0);
24717 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
;
24719 wxWindow
*arg1
= (wxWindow
*) 0 ;
24721 PyObject
* obj0
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24737 resultobj
= wxPyMake_wxObject(result
, 0);
24745 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
;
24747 wxWindow
*arg1
= (wxWindow
*) 0 ;
24749 PyObject
* obj0
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24773 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
;
24775 wxWindow
*arg1
= (wxWindow
*) 0 ;
24776 wxWindow
*arg2
= (wxWindow
*) 0 ;
24778 PyObject
* obj0
= 0 ;
24779 PyObject
* obj1
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self",(char *) "newParent", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= (bool)(arg1
)->Reparent(arg2
);
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24805 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxWindow
*arg1
= (wxWindow
*) 0 ;
24808 wxWindow
*arg2
= (wxWindow
*) 0 ;
24809 PyObject
* obj0
= 0 ;
24810 PyObject
* obj1
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self",(char *) "child", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 (arg1
)->AddChild(arg2
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 Py_INCREF(Py_None
); resultobj
= Py_None
;
24834 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxWindow
*arg1
= (wxWindow
*) 0 ;
24837 wxWindow
*arg2
= (wxWindow
*) 0 ;
24838 PyObject
* obj0
= 0 ;
24839 PyObject
* obj1
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self",(char *) "child", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 (arg1
)->RemoveChild(arg2
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 Py_INCREF(Py_None
); resultobj
= Py_None
;
24863 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24864 PyObject
*resultobj
;
24865 wxWindow
*arg1
= (wxWindow
*) 0 ;
24868 PyObject
* obj0
= 0 ;
24869 PyObject
* obj1
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self",(char *) "winid", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24877 arg2
= (long) SWIG_AsLong(obj1
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= wxPyMake_wxObject(result
, 0);
24895 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxWindow
*arg1
= (wxWindow
*) 0 ;
24898 wxString
*arg2
= 0 ;
24900 bool temp2
= False
;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self",(char *) "name", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24911 arg2
= wxString_in_helper(obj1
);
24912 if (arg2
== NULL
) SWIG_fail
;
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24923 resultobj
= wxPyMake_wxObject(result
, 0);
24939 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
;
24941 wxWindow
*arg1
= (wxWindow
*) 0 ;
24942 wxEvtHandler
*result
;
24943 PyObject
* obj0
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "self", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= wxPyMake_wxObject(result
, 0);
24967 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24968 PyObject
*resultobj
;
24969 wxWindow
*arg1
= (wxWindow
*) 0 ;
24970 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24971 PyObject
* obj0
= 0 ;
24972 PyObject
* obj1
= 0 ;
24973 char *kwnames
[] = {
24974 (char *) "self",(char *) "handler", NULL
24977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 (arg1
)->SetEventHandler(arg2
);
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24989 Py_INCREF(Py_None
); resultobj
= Py_None
;
24996 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxWindow
*arg1
= (wxWindow
*) 0 ;
24999 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25000 PyObject
* obj0
= 0 ;
25001 PyObject
* obj1
= 0 ;
25002 char *kwnames
[] = {
25003 (char *) "self",(char *) "handler", NULL
25006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 (arg1
)->PushEventHandler(arg2
);
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25018 Py_INCREF(Py_None
); resultobj
= Py_None
;
25025 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
;
25027 wxWindow
*arg1
= (wxWindow
*) 0 ;
25028 bool arg2
= (bool) False
;
25029 wxEvtHandler
*result
;
25030 PyObject
* obj0
= 0 ;
25031 PyObject
* obj1
= 0 ;
25032 char *kwnames
[] = {
25033 (char *) "self",(char *) "deleteHandler", NULL
25036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25040 arg2
= (bool) SWIG_AsBool(obj1
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= wxPyMake_wxObject(result
, 0);
25059 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
;
25061 wxWindow
*arg1
= (wxWindow
*) 0 ;
25062 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25064 PyObject
* obj0
= 0 ;
25065 PyObject
* obj1
= 0 ;
25066 char *kwnames
[] = {
25067 (char *) "self",(char *) "handler", NULL
25070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25091 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
;
25093 wxWindow
*arg1
= (wxWindow
*) 0 ;
25094 wxValidator
*arg2
= 0 ;
25095 PyObject
* obj0
= 0 ;
25096 PyObject
* obj1
= 0 ;
25097 char *kwnames
[] = {
25098 (char *) "self",(char *) "validator", NULL
25101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25107 if (arg2
== NULL
) {
25108 PyErr_SetString(PyExc_TypeError
,"null reference");
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25118 Py_INCREF(Py_None
); resultobj
= Py_None
;
25125 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25126 PyObject
*resultobj
;
25127 wxWindow
*arg1
= (wxWindow
*) 0 ;
25128 wxValidator
*result
;
25129 PyObject
* obj0
= 0 ;
25130 char *kwnames
[] = {
25131 (char *) "self", NULL
25134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 result
= (wxValidator
*)(arg1
)->GetValidator();
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25145 resultobj
= wxPyMake_wxObject(result
, 0);
25153 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
;
25155 wxWindow
*arg1
= (wxWindow
*) 0 ;
25157 PyObject
* obj0
= 0 ;
25158 char *kwnames
[] = {
25159 (char *) "self", NULL
25162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 result
= (bool)(arg1
)->Validate();
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25181 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25182 PyObject
*resultobj
;
25183 wxWindow
*arg1
= (wxWindow
*) 0 ;
25185 PyObject
* obj0
= 0 ;
25186 char *kwnames
[] = {
25187 (char *) "self", NULL
25190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25195 result
= (bool)(arg1
)->TransferDataToWindow();
25197 wxPyEndAllowThreads(__tstate
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25209 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25210 PyObject
*resultobj
;
25211 wxWindow
*arg1
= (wxWindow
*) 0 ;
25213 PyObject
* obj0
= 0 ;
25214 char *kwnames
[] = {
25215 (char *) "self", NULL
25218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25223 result
= (bool)(arg1
)->TransferDataFromWindow();
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25237 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxWindow
*arg1
= (wxWindow
*) 0 ;
25240 PyObject
* obj0
= 0 ;
25241 char *kwnames
[] = {
25242 (char *) "self", NULL
25245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 (arg1
)->InitDialog();
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 Py_INCREF(Py_None
); resultobj
= Py_None
;
25262 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25263 PyObject
*resultobj
;
25264 wxWindow
*arg1
= (wxWindow
*) 0 ;
25265 wxAcceleratorTable
*arg2
= 0 ;
25266 PyObject
* obj0
= 0 ;
25267 PyObject
* obj1
= 0 ;
25268 char *kwnames
[] = {
25269 (char *) "self",(char *) "accel", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25278 if (arg2
== NULL
) {
25279 PyErr_SetString(PyExc_TypeError
,"null reference");
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 Py_INCREF(Py_None
); resultobj
= Py_None
;
25296 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25298 wxWindow
*arg1
= (wxWindow
*) 0 ;
25299 wxAcceleratorTable
*result
;
25300 PyObject
* obj0
= 0 ;
25301 char *kwnames
[] = {
25302 (char *) "self", NULL
25305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25322 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25323 PyObject
*resultobj
;
25324 wxWindow
*arg1
= (wxWindow
*) 0 ;
25329 PyObject
* obj0
= 0 ;
25330 PyObject
* obj1
= 0 ;
25331 PyObject
* obj2
= 0 ;
25332 PyObject
* obj3
= 0 ;
25333 char *kwnames
[] = {
25334 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25340 arg2
= (int) SWIG_AsInt(obj1
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25342 arg3
= (int) SWIG_AsInt(obj2
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25344 arg4
= (int) SWIG_AsInt(obj3
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25362 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
;
25364 wxWindow
*arg1
= (wxWindow
*) 0 ;
25367 PyObject
* obj0
= 0 ;
25368 PyObject
* obj1
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "self",(char *) "hotkeyId", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25376 arg2
= (int) SWIG_AsInt(obj1
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25394 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxWindow
*arg1
= (wxWindow
*) 0 ;
25397 wxPoint
*arg2
= 0 ;
25400 PyObject
* obj0
= 0 ;
25401 PyObject
* obj1
= 0 ;
25402 char *kwnames
[] = {
25403 (char *) "self",(char *) "pt", NULL
25406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25411 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25421 wxPoint
* resultptr
;
25422 resultptr
= new wxPoint((wxPoint
&) result
);
25423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25431 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25432 PyObject
*resultobj
;
25433 wxWindow
*arg1
= (wxWindow
*) 0 ;
25437 PyObject
* obj0
= 0 ;
25438 PyObject
* obj1
= 0 ;
25439 char *kwnames
[] = {
25440 (char *) "self",(char *) "sz", NULL
25443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25448 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25458 wxSize
* resultptr
;
25459 resultptr
= new wxSize((wxSize
&) result
);
25460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25468 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25470 wxWindow
*arg1
= (wxWindow
*) 0 ;
25471 wxPoint
*arg2
= 0 ;
25474 PyObject
* obj0
= 0 ;
25475 PyObject
* obj1
= 0 ;
25476 char *kwnames
[] = {
25477 (char *) "self",(char *) "pt", NULL
25480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25495 wxPoint
* resultptr
;
25496 resultptr
= new wxPoint((wxPoint
&) result
);
25497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25505 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
;
25507 wxWindow
*arg1
= (wxWindow
*) 0 ;
25511 PyObject
* obj0
= 0 ;
25512 PyObject
* obj1
= 0 ;
25513 char *kwnames
[] = {
25514 (char *) "self",(char *) "sz", NULL
25517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25522 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25532 wxSize
* resultptr
;
25533 resultptr
= new wxSize((wxSize
&) result
);
25534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25542 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25543 PyObject
*resultobj
;
25544 wxWindow
*arg1
= (wxWindow
*) 0 ;
25545 wxPoint
*arg2
= 0 ;
25548 PyObject
* obj0
= 0 ;
25549 PyObject
* obj1
= 0 ;
25550 char *kwnames
[] = {
25551 (char *) "self",(char *) "pt", NULL
25554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25559 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25563 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25565 wxPyEndAllowThreads(__tstate
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25569 wxPoint
* resultptr
;
25570 resultptr
= new wxPoint((wxPoint
&) result
);
25571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25579 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25580 PyObject
*resultobj
;
25581 wxWindow
*arg1
= (wxWindow
*) 0 ;
25585 PyObject
* obj0
= 0 ;
25586 PyObject
* obj1
= 0 ;
25587 char *kwnames
[] = {
25588 (char *) "self",(char *) "sz", NULL
25591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25596 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25606 wxSize
* resultptr
;
25607 resultptr
= new wxSize((wxSize
&) result
);
25608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25616 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
;
25618 wxWindow
*arg1
= (wxWindow
*) 0 ;
25621 PyObject
* obj0
= 0 ;
25622 PyObject
* obj1
= 0 ;
25623 PyObject
* obj2
= 0 ;
25624 char *kwnames
[] = {
25625 (char *) "self",(char *) "x",(char *) "y", NULL
25628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25631 arg2
= (int) SWIG_AsInt(obj1
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25633 arg3
= (int) SWIG_AsInt(obj2
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25637 (arg1
)->WarpPointer(arg2
,arg3
);
25639 wxPyEndAllowThreads(__tstate
);
25640 if (PyErr_Occurred()) SWIG_fail
;
25642 Py_INCREF(Py_None
); resultobj
= Py_None
;
25649 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25650 PyObject
*resultobj
;
25651 wxWindow
*arg1
= (wxWindow
*) 0 ;
25652 PyObject
* obj0
= 0 ;
25653 char *kwnames
[] = {
25654 (char *) "self", NULL
25657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25662 (arg1
)->CaptureMouse();
25664 wxPyEndAllowThreads(__tstate
);
25665 if (PyErr_Occurred()) SWIG_fail
;
25667 Py_INCREF(Py_None
); resultobj
= Py_None
;
25674 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
;
25676 wxWindow
*arg1
= (wxWindow
*) 0 ;
25677 PyObject
* obj0
= 0 ;
25678 char *kwnames
[] = {
25679 (char *) "self", NULL
25682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 (arg1
)->ReleaseMouse();
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25692 Py_INCREF(Py_None
); resultobj
= Py_None
;
25699 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
;
25702 char *kwnames
[] = {
25706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25708 if (!wxPyCheckForApp()) SWIG_fail
;
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= (wxWindow
*)wxWindow::GetCapture();
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= wxPyMake_wxObject(result
, 0);
25724 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
;
25726 wxWindow
*arg1
= (wxWindow
*) 0 ;
25728 PyObject
* obj0
= 0 ;
25729 char *kwnames
[] = {
25730 (char *) "self", NULL
25733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25752 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxWindow
*arg1
= (wxWindow
*) 0 ;
25755 bool arg2
= (bool) True
;
25756 wxRect
*arg3
= (wxRect
*) NULL
;
25757 PyObject
* obj0
= 0 ;
25758 PyObject
* obj1
= 0 ;
25759 PyObject
* obj2
= 0 ;
25760 char *kwnames
[] = {
25761 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25768 arg2
= (bool) SWIG_AsBool(obj1
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25772 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25782 Py_INCREF(Py_None
); resultobj
= Py_None
;
25789 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
;
25791 wxWindow
*arg1
= (wxWindow
*) 0 ;
25794 PyObject
* obj0
= 0 ;
25795 PyObject
* obj1
= 0 ;
25796 char *kwnames
[] = {
25797 (char *) "self",(char *) "rect", NULL
25800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25805 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 Py_INCREF(Py_None
); resultobj
= Py_None
;
25821 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25822 PyObject
*resultobj
;
25823 wxWindow
*arg1
= (wxWindow
*) 0 ;
25824 PyObject
* obj0
= 0 ;
25825 char *kwnames
[] = {
25826 (char *) "self", NULL
25829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25839 Py_INCREF(Py_None
); resultobj
= Py_None
;
25846 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
;
25848 wxWindow
*arg1
= (wxWindow
*) 0 ;
25849 PyObject
* obj0
= 0 ;
25850 char *kwnames
[] = {
25851 (char *) "self", NULL
25854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 (arg1
)->ClearBackground();
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 Py_INCREF(Py_None
); resultobj
= Py_None
;
25871 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
;
25873 wxWindow
*arg1
= (wxWindow
*) 0 ;
25874 PyObject
* obj0
= 0 ;
25875 char *kwnames
[] = {
25876 (char *) "self", NULL
25879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 Py_INCREF(Py_None
); resultobj
= Py_None
;
25896 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
;
25898 wxWindow
*arg1
= (wxWindow
*) 0 ;
25899 PyObject
* obj0
= 0 ;
25900 char *kwnames
[] = {
25901 (char *) "self", NULL
25904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 Py_INCREF(Py_None
); resultobj
= Py_None
;
25921 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
;
25923 wxWindow
*arg1
= (wxWindow
*) 0 ;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self",(char *) "dc", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25937 if (arg2
== NULL
) {
25938 PyErr_SetString(PyExc_TypeError
,"null reference");
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25943 (arg1
)->PrepareDC(*arg2
);
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 Py_INCREF(Py_None
); resultobj
= Py_None
;
25955 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25956 PyObject
*resultobj
;
25957 wxWindow
*arg1
= (wxWindow
*) 0 ;
25959 PyObject
* obj0
= 0 ;
25960 char *kwnames
[] = {
25961 (char *) "self", NULL
25964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25971 result
= (wxRegion
*) &_result_ref
;
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25984 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
;
25986 wxWindow
*arg1
= (wxWindow
*) 0 ;
25988 PyObject
* obj0
= 0 ;
25989 char *kwnames
[] = {
25990 (char *) "self", NULL
25993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25998 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26004 wxRect
* resultptr
;
26005 resultptr
= new wxRect((wxRect
&) result
);
26006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26014 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
;
26016 wxWindow
*arg1
= (wxWindow
*) 0 ;
26019 int arg4
= (int) 1 ;
26020 int arg5
= (int) 1 ;
26022 PyObject
* obj0
= 0 ;
26023 PyObject
* obj1
= 0 ;
26024 PyObject
* obj2
= 0 ;
26025 PyObject
* obj3
= 0 ;
26026 PyObject
* obj4
= 0 ;
26027 char *kwnames
[] = {
26028 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26034 arg2
= (int) SWIG_AsInt(obj1
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26036 arg3
= (int) SWIG_AsInt(obj2
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 arg4
= (int) SWIG_AsInt(obj3
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26043 arg5
= (int) SWIG_AsInt(obj4
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26062 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26063 PyObject
*resultobj
;
26064 wxWindow
*arg1
= (wxWindow
*) 0 ;
26065 wxPoint
*arg2
= 0 ;
26068 PyObject
* obj0
= 0 ;
26069 PyObject
* obj1
= 0 ;
26070 char *kwnames
[] = {
26071 (char *) "self",(char *) "pt", NULL
26074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26079 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26083 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26085 wxPyEndAllowThreads(__tstate
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26097 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
;
26099 wxWindow
*arg1
= (wxWindow
*) 0 ;
26103 PyObject
* obj0
= 0 ;
26104 PyObject
* obj1
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self",(char *) "rect", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26114 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26132 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26133 PyObject
*resultobj
;
26134 wxWindow
*arg1
= (wxWindow
*) 0 ;
26135 wxVisualAttributes result
;
26136 PyObject
* obj0
= 0 ;
26137 char *kwnames
[] = {
26138 (char *) "self", NULL
26141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26152 wxVisualAttributes
* resultptr
;
26153 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26162 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
;
26164 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26165 wxVisualAttributes result
;
26166 PyObject
* obj0
= 0 ;
26167 char *kwnames
[] = {
26168 (char *) "variant", NULL
26171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26173 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26177 if (!wxPyCheckForApp()) SWIG_fail
;
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26185 wxVisualAttributes
* resultptr
;
26186 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26195 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
;
26197 wxWindow
*arg1
= (wxWindow
*) 0 ;
26198 wxColour
*arg2
= 0 ;
26201 PyObject
* obj0
= 0 ;
26202 PyObject
* obj1
= 0 ;
26203 char *kwnames
[] = {
26204 (char *) "self",(char *) "colour", NULL
26207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26212 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26216 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26218 wxPyEndAllowThreads(__tstate
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26230 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26231 PyObject
*resultobj
;
26232 wxWindow
*arg1
= (wxWindow
*) 0 ;
26233 wxColour
*arg2
= 0 ;
26235 PyObject
* obj0
= 0 ;
26236 PyObject
* obj1
= 0 ;
26237 char *kwnames
[] = {
26238 (char *) "self",(char *) "colour", NULL
26241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26246 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26255 Py_INCREF(Py_None
); resultobj
= Py_None
;
26262 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
;
26264 wxWindow
*arg1
= (wxWindow
*) 0 ;
26265 wxColour
*arg2
= 0 ;
26268 PyObject
* obj0
= 0 ;
26269 PyObject
* obj1
= 0 ;
26270 char *kwnames
[] = {
26271 (char *) "self",(char *) "colour", NULL
26274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26279 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26297 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxWindow
*arg1
= (wxWindow
*) 0 ;
26300 wxColour
*arg2
= 0 ;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 char *kwnames
[] = {
26305 (char *) "self",(char *) "colour", NULL
26308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26313 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26322 Py_INCREF(Py_None
); resultobj
= Py_None
;
26329 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26330 PyObject
*resultobj
;
26331 wxWindow
*arg1
= (wxWindow
*) 0 ;
26333 PyObject
* obj0
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "self", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26349 wxColour
* resultptr
;
26350 resultptr
= new wxColour((wxColour
&) result
);
26351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26359 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26360 PyObject
*resultobj
;
26361 wxWindow
*arg1
= (wxWindow
*) 0 ;
26363 PyObject
* obj0
= 0 ;
26364 char *kwnames
[] = {
26365 (char *) "self", NULL
26368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26379 wxColour
* resultptr
;
26380 resultptr
= new wxColour((wxColour
&) result
);
26381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26389 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
;
26391 wxWindow
*arg1
= (wxWindow
*) 0 ;
26392 wxCursor
*arg2
= 0 ;
26394 PyObject
* obj0
= 0 ;
26395 PyObject
* obj1
= 0 ;
26396 char *kwnames
[] = {
26397 (char *) "self",(char *) "cursor", NULL
26400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26406 if (arg2
== NULL
) {
26407 PyErr_SetString(PyExc_TypeError
,"null reference");
26411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26412 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26414 wxPyEndAllowThreads(__tstate
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26426 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
;
26428 wxWindow
*arg1
= (wxWindow
*) 0 ;
26430 PyObject
* obj0
= 0 ;
26431 char *kwnames
[] = {
26432 (char *) "self", NULL
26435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 result
= (arg1
)->GetCursor();
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26446 wxCursor
* resultptr
;
26447 resultptr
= new wxCursor((wxCursor
&) result
);
26448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26456 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26458 wxWindow
*arg1
= (wxWindow
*) 0 ;
26461 PyObject
* obj0
= 0 ;
26462 PyObject
* obj1
= 0 ;
26463 char *kwnames
[] = {
26464 (char *) "self",(char *) "font", NULL
26467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26473 if (arg2
== NULL
) {
26474 PyErr_SetString(PyExc_TypeError
,"null reference");
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26493 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxWindow
*arg1
= (wxWindow
*) 0 ;
26497 PyObject
* obj0
= 0 ;
26498 PyObject
* obj1
= 0 ;
26499 char *kwnames
[] = {
26500 (char *) "self",(char *) "font", NULL
26503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26507 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26509 if (arg2
== NULL
) {
26510 PyErr_SetString(PyExc_TypeError
,"null reference");
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26520 Py_INCREF(Py_None
); resultobj
= Py_None
;
26527 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
;
26529 wxWindow
*arg1
= (wxWindow
*) 0 ;
26531 PyObject
* obj0
= 0 ;
26532 char *kwnames
[] = {
26533 (char *) "self", NULL
26536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 result
= (arg1
)->GetFont();
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26547 wxFont
* resultptr
;
26548 resultptr
= new wxFont((wxFont
&) result
);
26549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26557 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
;
26559 wxWindow
*arg1
= (wxWindow
*) 0 ;
26560 wxCaret
*arg2
= (wxCaret
*) 0 ;
26561 PyObject
* obj0
= 0 ;
26562 PyObject
* obj1
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self",(char *) "caret", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 (arg1
)->SetCaret(arg2
);
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26579 Py_INCREF(Py_None
); resultobj
= Py_None
;
26586 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26587 PyObject
*resultobj
;
26588 wxWindow
*arg1
= (wxWindow
*) 0 ;
26590 PyObject
* obj0
= 0 ;
26591 char *kwnames
[] = {
26592 (char *) "self", NULL
26595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26602 wxPyEndAllowThreads(__tstate
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26612 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26613 PyObject
*resultobj
;
26614 wxWindow
*arg1
= (wxWindow
*) 0 ;
26616 PyObject
* obj0
= 0 ;
26617 char *kwnames
[] = {
26618 (char *) "self", NULL
26621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26626 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26628 wxPyEndAllowThreads(__tstate
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= SWIG_FromInt((int)result
);
26638 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26639 PyObject
*resultobj
;
26640 wxWindow
*arg1
= (wxWindow
*) 0 ;
26642 PyObject
* obj0
= 0 ;
26643 char *kwnames
[] = {
26644 (char *) "self", NULL
26647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26652 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 resultobj
= SWIG_FromInt((int)result
);
26664 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26665 PyObject
*resultobj
;
26666 wxWindow
*arg1
= (wxWindow
*) 0 ;
26667 wxString
*arg2
= 0 ;
26668 int *arg3
= (int *) 0 ;
26669 int *arg4
= (int *) 0 ;
26670 bool temp2
= False
;
26673 PyObject
* obj0
= 0 ;
26674 PyObject
* obj1
= 0 ;
26675 char *kwnames
[] = {
26676 (char *) "self",(char *) "string", NULL
26681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26685 arg2
= wxString_in_helper(obj1
);
26686 if (arg2
== NULL
) SWIG_fail
;
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26691 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26696 Py_INCREF(Py_None
); resultobj
= Py_None
;
26698 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26699 resultobj
= t_output_helper(resultobj
,o
);
26702 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26703 resultobj
= t_output_helper(resultobj
,o
);
26719 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
;
26721 wxWindow
*arg1
= (wxWindow
*) 0 ;
26722 wxString
*arg2
= 0 ;
26723 int *arg3
= (int *) 0 ;
26724 int *arg4
= (int *) 0 ;
26725 int *arg5
= (int *) 0 ;
26726 int *arg6
= (int *) 0 ;
26727 wxFont
*arg7
= (wxFont
*) NULL
;
26728 bool temp2
= False
;
26733 PyObject
* obj0
= 0 ;
26734 PyObject
* obj1
= 0 ;
26735 PyObject
* obj2
= 0 ;
26736 char *kwnames
[] = {
26737 (char *) "self",(char *) "string",(char *) "font", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26748 arg2
= wxString_in_helper(obj1
);
26749 if (arg2
== NULL
) SWIG_fail
;
26753 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26763 Py_INCREF(Py_None
); resultobj
= Py_None
;
26765 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26766 resultobj
= t_output_helper(resultobj
,o
);
26769 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26770 resultobj
= t_output_helper(resultobj
,o
);
26773 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26774 resultobj
= t_output_helper(resultobj
,o
);
26777 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26778 resultobj
= t_output_helper(resultobj
,o
);
26794 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26795 PyObject
*resultobj
;
26796 wxWindow
*arg1
= (wxWindow
*) 0 ;
26797 int *arg2
= (int *) 0 ;
26798 int *arg3
= (int *) 0 ;
26801 PyObject
* obj0
= 0 ;
26802 PyObject
* obj1
= 0 ;
26803 PyObject
* obj2
= 0 ;
26804 char *kwnames
[] = {
26805 (char *) "self",(char *) "x",(char *) "y", NULL
26808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26812 temp2
= PyInt_AsLong(obj1
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26817 temp3
= PyInt_AsLong(obj2
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26823 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26825 wxPyEndAllowThreads(__tstate
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26828 Py_INCREF(Py_None
); resultobj
= Py_None
;
26830 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26831 resultobj
= t_output_helper(resultobj
,o
);
26834 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26835 resultobj
= t_output_helper(resultobj
,o
);
26843 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
;
26845 wxWindow
*arg1
= (wxWindow
*) 0 ;
26846 int *arg2
= (int *) 0 ;
26847 int *arg3
= (int *) 0 ;
26850 PyObject
* obj0
= 0 ;
26851 PyObject
* obj1
= 0 ;
26852 PyObject
* obj2
= 0 ;
26853 char *kwnames
[] = {
26854 (char *) "self",(char *) "x",(char *) "y", NULL
26857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26861 temp2
= PyInt_AsLong(obj1
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26866 temp3
= PyInt_AsLong(obj2
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26872 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26874 wxPyEndAllowThreads(__tstate
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26877 Py_INCREF(Py_None
); resultobj
= Py_None
;
26879 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26880 resultobj
= t_output_helper(resultobj
,o
);
26883 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26884 resultobj
= t_output_helper(resultobj
,o
);
26892 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
;
26894 wxWindow
*arg1
= (wxWindow
*) 0 ;
26895 wxPoint
*arg2
= 0 ;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 char *kwnames
[] = {
26901 (char *) "self",(char *) "pt", NULL
26904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26909 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26913 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26915 wxPyEndAllowThreads(__tstate
);
26916 if (PyErr_Occurred()) SWIG_fail
;
26919 wxPoint
* resultptr
;
26920 resultptr
= new wxPoint((wxPoint
&) result
);
26921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26929 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26930 PyObject
*resultobj
;
26931 wxWindow
*arg1
= (wxWindow
*) 0 ;
26932 wxPoint
*arg2
= 0 ;
26935 PyObject
* obj0
= 0 ;
26936 PyObject
* obj1
= 0 ;
26937 char *kwnames
[] = {
26938 (char *) "self",(char *) "pt", NULL
26941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26950 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26952 wxPyEndAllowThreads(__tstate
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26956 wxPoint
* resultptr
;
26957 resultptr
= new wxPoint((wxPoint
&) result
);
26958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26966 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
;
26968 wxWindow
*arg1
= (wxWindow
*) 0 ;
26972 PyObject
* obj0
= 0 ;
26973 PyObject
* obj1
= 0 ;
26974 PyObject
* obj2
= 0 ;
26975 char *kwnames
[] = {
26976 (char *) "self",(char *) "x",(char *) "y", NULL
26979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26982 arg2
= (int) SWIG_AsInt(obj1
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26984 arg3
= (int) SWIG_AsInt(obj2
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26988 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26990 wxPyEndAllowThreads(__tstate
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26993 resultobj
= SWIG_FromInt((int)result
);
27000 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
;
27002 wxWindow
*arg1
= (wxWindow
*) 0 ;
27003 wxPoint
*arg2
= 0 ;
27006 PyObject
* obj0
= 0 ;
27007 PyObject
* obj1
= 0 ;
27008 char *kwnames
[] = {
27009 (char *) "self",(char *) "pt", NULL
27012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27017 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27021 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27023 wxPyEndAllowThreads(__tstate
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27026 resultobj
= SWIG_FromInt((int)result
);
27033 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
27034 PyObject
*resultobj
;
27035 wxWindow
*arg1
= (wxWindow
*) 0 ;
27038 PyObject
* obj0
= 0 ;
27039 PyObject
* obj1
= 0 ;
27041 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27044 arg2
= (long) SWIG_AsLong(obj1
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27048 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27050 wxPyEndAllowThreads(__tstate
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27053 resultobj
= SWIG_FromInt((int)result
);
27060 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
27061 PyObject
*resultobj
;
27062 wxWindow
*arg1
= (wxWindow
*) 0 ;
27064 PyObject
* obj0
= 0 ;
27066 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_FromInt((int)result
);
27083 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27088 argc
= PyObject_Length(args
);
27089 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27090 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27096 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27104 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27111 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27119 _v
= SWIG_CheckLong(argv
[1]);
27121 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27126 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27131 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27132 PyObject
*resultobj
;
27133 wxWindow
*arg1
= (wxWindow
*) 0 ;
27134 long arg2
= (long) wxUPDATE_UI_NONE
;
27135 PyObject
* obj0
= 0 ;
27136 PyObject
* obj1
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self",(char *) "flags", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27145 arg2
= (long) SWIG_AsLong(obj1
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27150 (arg1
)->UpdateWindowUI(arg2
);
27152 wxPyEndAllowThreads(__tstate
);
27153 if (PyErr_Occurred()) SWIG_fail
;
27155 Py_INCREF(Py_None
); resultobj
= Py_None
;
27162 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27163 PyObject
*resultobj
;
27164 wxWindow
*arg1
= (wxWindow
*) 0 ;
27165 wxMenu
*arg2
= (wxMenu
*) 0 ;
27166 int arg3
= (int) -1 ;
27167 int arg4
= (int) -1 ;
27169 PyObject
* obj0
= 0 ;
27170 PyObject
* obj1
= 0 ;
27171 PyObject
* obj2
= 0 ;
27172 PyObject
* obj3
= 0 ;
27173 char *kwnames
[] = {
27174 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27183 arg3
= (int) SWIG_AsInt(obj2
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27187 arg4
= (int) SWIG_AsInt(obj3
);
27188 if (PyErr_Occurred()) SWIG_fail
;
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27206 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27207 PyObject
*resultobj
;
27208 wxWindow
*arg1
= (wxWindow
*) 0 ;
27209 wxMenu
*arg2
= (wxMenu
*) 0 ;
27210 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27211 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27214 PyObject
* obj0
= 0 ;
27215 PyObject
* obj1
= 0 ;
27216 PyObject
* obj2
= 0 ;
27217 char *kwnames
[] = {
27218 (char *) "self",(char *) "menu",(char *) "pos", NULL
27221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27229 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27236 wxPyEndAllowThreads(__tstate
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27248 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
;
27250 wxWindow
*arg1
= (wxWindow
*) 0 ;
27252 PyObject
* obj0
= 0 ;
27253 char *kwnames
[] = {
27254 (char *) "self", NULL
27257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 result
= (long)wxWindow_GetHandle(arg1
);
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27267 resultobj
= SWIG_FromLong((long)result
);
27274 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
;
27276 wxWindow
*arg1
= (wxWindow
*) 0 ;
27279 PyObject
* obj0
= 0 ;
27280 PyObject
* obj1
= 0 ;
27281 char *kwnames
[] = {
27282 (char *) "self",(char *) "orient", NULL
27285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27288 arg2
= (int) SWIG_AsInt(obj1
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27292 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27294 wxPyEndAllowThreads(__tstate
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27306 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27307 PyObject
*resultobj
;
27308 wxWindow
*arg1
= (wxWindow
*) 0 ;
27313 bool arg6
= (bool) True
;
27314 PyObject
* obj0
= 0 ;
27315 PyObject
* obj1
= 0 ;
27316 PyObject
* obj2
= 0 ;
27317 PyObject
* obj3
= 0 ;
27318 PyObject
* obj4
= 0 ;
27319 PyObject
* obj5
= 0 ;
27320 char *kwnames
[] = {
27321 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27327 arg2
= (int) SWIG_AsInt(obj1
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27329 arg3
= (int) SWIG_AsInt(obj2
);
27330 if (PyErr_Occurred()) SWIG_fail
;
27331 arg4
= (int) SWIG_AsInt(obj3
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27333 arg5
= (int) SWIG_AsInt(obj4
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 arg6
= (bool) SWIG_AsBool(obj5
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 Py_INCREF(Py_None
); resultobj
= Py_None
;
27353 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
;
27355 wxWindow
*arg1
= (wxWindow
*) 0 ;
27358 bool arg4
= (bool) True
;
27359 PyObject
* obj0
= 0 ;
27360 PyObject
* obj1
= 0 ;
27361 PyObject
* obj2
= 0 ;
27362 PyObject
* obj3
= 0 ;
27363 char *kwnames
[] = {
27364 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27370 arg2
= (int) SWIG_AsInt(obj1
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27372 arg3
= (int) SWIG_AsInt(obj2
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27375 arg4
= (bool) SWIG_AsBool(obj3
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27385 Py_INCREF(Py_None
); resultobj
= Py_None
;
27392 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27393 PyObject
*resultobj
;
27394 wxWindow
*arg1
= (wxWindow
*) 0 ;
27397 PyObject
* obj0
= 0 ;
27398 PyObject
* obj1
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self",(char *) "orientation", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27406 arg2
= (int) SWIG_AsInt(obj1
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= SWIG_FromInt((int)result
);
27422 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
;
27424 wxWindow
*arg1
= (wxWindow
*) 0 ;
27427 PyObject
* obj0
= 0 ;
27428 PyObject
* obj1
= 0 ;
27429 char *kwnames
[] = {
27430 (char *) "self",(char *) "orientation", NULL
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27436 arg2
= (int) SWIG_AsInt(obj1
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 resultobj
= SWIG_FromInt((int)result
);
27452 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
;
27454 wxWindow
*arg1
= (wxWindow
*) 0 ;
27457 PyObject
* obj0
= 0 ;
27458 PyObject
* obj1
= 0 ;
27459 char *kwnames
[] = {
27460 (char *) "self",(char *) "orientation", NULL
27463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27466 arg2
= (int) SWIG_AsInt(obj1
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27475 resultobj
= SWIG_FromInt((int)result
);
27482 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxWindow
*arg1
= (wxWindow
*) 0 ;
27487 wxRect
*arg4
= (wxRect
*) NULL
;
27488 PyObject
* obj0
= 0 ;
27489 PyObject
* obj1
= 0 ;
27490 PyObject
* obj2
= 0 ;
27491 PyObject
* obj3
= 0 ;
27492 char *kwnames
[] = {
27493 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27499 arg2
= (int) SWIG_AsInt(obj1
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27501 arg3
= (int) SWIG_AsInt(obj2
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27509 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 Py_INCREF(Py_None
); resultobj
= Py_None
;
27521 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27522 PyObject
*resultobj
;
27523 wxWindow
*arg1
= (wxWindow
*) 0 ;
27526 PyObject
* obj0
= 0 ;
27527 PyObject
* obj1
= 0 ;
27528 char *kwnames
[] = {
27529 (char *) "self",(char *) "lines", NULL
27532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27535 arg2
= (int) SWIG_AsInt(obj1
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 result
= (bool)(arg1
)->ScrollLines(arg2
);
27541 wxPyEndAllowThreads(__tstate
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27553 static PyObject
*_wrap_Window_ScrollPages(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 *) "pages", NULL
27564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",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
)->ScrollPages(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_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
;
27587 wxWindow
*arg1
= (wxWindow
*) 0 ;
27589 PyObject
* obj0
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 result
= (bool)(arg1
)->LineUp();
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27613 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
;
27615 wxWindow
*arg1
= (wxWindow
*) 0 ;
27617 PyObject
* obj0
= 0 ;
27618 char *kwnames
[] = {
27619 (char *) "self", NULL
27622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27627 result
= (bool)(arg1
)->LineDown();
27629 wxPyEndAllowThreads(__tstate
);
27630 if (PyErr_Occurred()) SWIG_fail
;
27633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27641 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27642 PyObject
*resultobj
;
27643 wxWindow
*arg1
= (wxWindow
*) 0 ;
27645 PyObject
* obj0
= 0 ;
27646 char *kwnames
[] = {
27647 (char *) "self", NULL
27650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27655 result
= (bool)(arg1
)->PageUp();
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27669 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27670 PyObject
*resultobj
;
27671 wxWindow
*arg1
= (wxWindow
*) 0 ;
27673 PyObject
* obj0
= 0 ;
27674 char *kwnames
[] = {
27675 (char *) "self", NULL
27678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 result
= (bool)(arg1
)->PageDown();
27685 wxPyEndAllowThreads(__tstate
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27697 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxWindow
*arg1
= (wxWindow
*) 0 ;
27700 wxString
*arg2
= 0 ;
27701 bool temp2
= False
;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "self",(char *) "text", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27712 arg2
= wxString_in_helper(obj1
);
27713 if (arg2
== NULL
) SWIG_fail
;
27717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27718 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27720 wxPyEndAllowThreads(__tstate
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27723 Py_INCREF(Py_None
); resultobj
= Py_None
;
27738 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27739 PyObject
*resultobj
;
27740 wxWindow
*arg1
= (wxWindow
*) 0 ;
27741 wxString
*arg2
= 0 ;
27742 bool temp2
= False
;
27743 PyObject
* obj0
= 0 ;
27744 PyObject
* obj1
= 0 ;
27745 char *kwnames
[] = {
27746 (char *) "self",(char *) "text", NULL
27749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27753 arg2
= wxString_in_helper(obj1
);
27754 if (arg2
== NULL
) SWIG_fail
;
27758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27761 wxPyEndAllowThreads(__tstate
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27764 Py_INCREF(Py_None
); resultobj
= Py_None
;
27779 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27780 PyObject
*resultobj
;
27781 wxWindow
*arg1
= (wxWindow
*) 0 ;
27783 PyObject
* obj0
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27811 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
;
27813 wxWindow
*arg1
= (wxWindow
*) 0 ;
27814 wxString
*arg2
= 0 ;
27815 bool temp2
= False
;
27816 PyObject
* obj0
= 0 ;
27817 PyObject
* obj1
= 0 ;
27818 char *kwnames
[] = {
27819 (char *) "self",(char *) "tip", NULL
27822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27826 arg2
= wxString_in_helper(obj1
);
27827 if (arg2
== NULL
) SWIG_fail
;
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27837 Py_INCREF(Py_None
); resultobj
= Py_None
;
27852 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27853 PyObject
*resultobj
;
27854 wxWindow
*arg1
= (wxWindow
*) 0 ;
27855 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27856 PyObject
* obj0
= 0 ;
27857 PyObject
* obj1
= 0 ;
27858 char *kwnames
[] = {
27859 (char *) "self",(char *) "tip", NULL
27862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27869 (arg1
)->SetToolTip(arg2
);
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27874 Py_INCREF(Py_None
); resultobj
= Py_None
;
27881 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27882 PyObject
*resultobj
;
27883 wxWindow
*arg1
= (wxWindow
*) 0 ;
27885 PyObject
* obj0
= 0 ;
27886 char *kwnames
[] = {
27887 (char *) "self", NULL
27890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= wxPyMake_wxObject(result
, 0);
27909 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27910 PyObject
*resultobj
;
27911 wxWindow
*arg1
= (wxWindow
*) 0 ;
27912 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27913 PyObject
* obj0
= 0 ;
27914 PyObject
* obj1
= 0 ;
27915 char *kwnames
[] = {
27916 (char *) "self",(char *) "dropTarget", NULL
27919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27923 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 (arg1
)->SetDropTarget(arg2
);
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27931 Py_INCREF(Py_None
); resultobj
= Py_None
;
27938 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27939 PyObject
*resultobj
;
27940 wxWindow
*arg1
= (wxWindow
*) 0 ;
27941 wxPyDropTarget
*result
;
27942 PyObject
* obj0
= 0 ;
27943 char *kwnames
[] = {
27944 (char *) "self", NULL
27947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27954 wxPyEndAllowThreads(__tstate
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27964 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 wxWindow
*arg1
= (wxWindow
*) 0 ;
27967 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27968 PyObject
* obj0
= 0 ;
27969 PyObject
* obj1
= 0 ;
27970 char *kwnames
[] = {
27971 (char *) "self",(char *) "constraints", NULL
27974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27981 (arg1
)->SetConstraints(arg2
);
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27986 Py_INCREF(Py_None
); resultobj
= Py_None
;
27993 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27994 PyObject
*resultobj
;
27995 wxWindow
*arg1
= (wxWindow
*) 0 ;
27996 wxLayoutConstraints
*result
;
27997 PyObject
* obj0
= 0 ;
27998 char *kwnames
[] = {
27999 (char *) "self", NULL
28002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28007 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28019 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28020 PyObject
*resultobj
;
28021 wxWindow
*arg1
= (wxWindow
*) 0 ;
28023 PyObject
* obj0
= 0 ;
28024 PyObject
* obj1
= 0 ;
28025 char *kwnames
[] = {
28026 (char *) "self",(char *) "autoLayout", NULL
28029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28032 arg2
= (bool) SWIG_AsBool(obj1
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28036 (arg1
)->SetAutoLayout(arg2
);
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28041 Py_INCREF(Py_None
); resultobj
= Py_None
;
28048 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28049 PyObject
*resultobj
;
28050 wxWindow
*arg1
= (wxWindow
*) 0 ;
28052 PyObject
* obj0
= 0 ;
28053 char *kwnames
[] = {
28054 (char *) "self", NULL
28057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28062 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28064 wxPyEndAllowThreads(__tstate
);
28065 if (PyErr_Occurred()) SWIG_fail
;
28068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28076 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28077 PyObject
*resultobj
;
28078 wxWindow
*arg1
= (wxWindow
*) 0 ;
28080 PyObject
* obj0
= 0 ;
28081 char *kwnames
[] = {
28082 (char *) "self", NULL
28085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28090 result
= (bool)(arg1
)->Layout();
28092 wxPyEndAllowThreads(__tstate
);
28093 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28104 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
;
28106 wxWindow
*arg1
= (wxWindow
*) 0 ;
28107 wxSizer
*arg2
= (wxSizer
*) 0 ;
28108 bool arg3
= (bool) True
;
28109 PyObject
* obj0
= 0 ;
28110 PyObject
* obj1
= 0 ;
28111 PyObject
* obj2
= 0 ;
28112 char *kwnames
[] = {
28113 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28122 arg3
= (bool) SWIG_AsBool(obj2
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 (arg1
)->SetSizer(arg2
,arg3
);
28129 wxPyEndAllowThreads(__tstate
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28132 Py_INCREF(Py_None
); resultobj
= Py_None
;
28139 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28140 PyObject
*resultobj
;
28141 wxWindow
*arg1
= (wxWindow
*) 0 ;
28142 wxSizer
*arg2
= (wxSizer
*) 0 ;
28143 bool arg3
= (bool) True
;
28144 PyObject
* obj0
= 0 ;
28145 PyObject
* obj1
= 0 ;
28146 PyObject
* obj2
= 0 ;
28147 char *kwnames
[] = {
28148 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28157 arg3
= (bool) SWIG_AsBool(obj2
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28167 Py_INCREF(Py_None
); resultobj
= Py_None
;
28174 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28175 PyObject
*resultobj
;
28176 wxWindow
*arg1
= (wxWindow
*) 0 ;
28178 PyObject
* obj0
= 0 ;
28179 char *kwnames
[] = {
28180 (char *) "self", NULL
28183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= wxPyMake_wxSizer(result
, 0);
28202 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28203 PyObject
*resultobj
;
28204 wxWindow
*arg1
= (wxWindow
*) 0 ;
28205 wxSizer
*arg2
= (wxSizer
*) 0 ;
28206 PyObject
* obj0
= 0 ;
28207 PyObject
* obj1
= 0 ;
28208 char *kwnames
[] = {
28209 (char *) "self",(char *) "sizer", NULL
28212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 (arg1
)->SetContainingSizer(arg2
);
28221 wxPyEndAllowThreads(__tstate
);
28222 if (PyErr_Occurred()) SWIG_fail
;
28224 Py_INCREF(Py_None
); resultobj
= Py_None
;
28231 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28232 PyObject
*resultobj
;
28233 wxWindow
*arg1
= (wxWindow
*) 0 ;
28235 PyObject
* obj0
= 0 ;
28236 char *kwnames
[] = {
28237 (char *) "self", NULL
28240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28245 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28251 resultobj
= wxPyMake_wxSizer(result
, 0);
28259 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
;
28261 wxWindow
*arg1
= (wxWindow
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 char *kwnames
[] = {
28264 (char *) "self", NULL
28267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 (arg1
)->InheritAttributes();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 Py_INCREF(Py_None
); resultobj
= Py_None
;
28284 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
;
28286 wxWindow
*arg1
= (wxWindow
*) 0 ;
28288 PyObject
* obj0
= 0 ;
28289 char *kwnames
[] = {
28290 (char *) "self", NULL
28293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28312 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28315 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28317 return Py_BuildValue((char *)"");
28319 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28320 PyObject
*resultobj
;
28322 wxWindow
*arg2
= (wxWindow
*) NULL
;
28324 PyObject
* obj0
= 0 ;
28325 PyObject
* obj1
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "id",(char *) "parent", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28331 arg1
= (long) SWIG_AsLong(obj0
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28338 if (!wxPyCheckForApp()) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= wxPyMake_wxObject(result
, 0);
28354 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28355 PyObject
*resultobj
;
28356 wxString
*arg1
= 0 ;
28357 wxWindow
*arg2
= (wxWindow
*) NULL
;
28359 bool temp1
= False
;
28360 PyObject
* obj0
= 0 ;
28361 PyObject
* obj1
= 0 ;
28362 char *kwnames
[] = {
28363 (char *) "name",(char *) "parent", NULL
28366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28368 arg1
= wxString_in_helper(obj0
);
28369 if (arg1
== NULL
) SWIG_fail
;
28373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28377 if (!wxPyCheckForApp()) SWIG_fail
;
28378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28379 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28381 wxPyEndAllowThreads(__tstate
);
28382 if (PyErr_Occurred()) SWIG_fail
;
28385 resultobj
= wxPyMake_wxObject(result
, 0);
28401 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28402 PyObject
*resultobj
;
28403 wxString
*arg1
= 0 ;
28404 wxWindow
*arg2
= (wxWindow
*) NULL
;
28406 bool temp1
= False
;
28407 PyObject
* obj0
= 0 ;
28408 PyObject
* obj1
= 0 ;
28409 char *kwnames
[] = {
28410 (char *) "label",(char *) "parent", NULL
28413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28415 arg1
= wxString_in_helper(obj0
);
28416 if (arg1
== NULL
) SWIG_fail
;
28420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28424 if (!wxPyCheckForApp()) SWIG_fail
;
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28428 wxPyEndAllowThreads(__tstate
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28432 resultobj
= wxPyMake_wxObject(result
, 0);
28448 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28449 PyObject
*resultobj
;
28450 wxWindow
*arg1
= (wxWindow
*) 0 ;
28451 unsigned long arg2
;
28453 PyObject
* obj0
= 0 ;
28454 PyObject
* obj1
= 0 ;
28455 char *kwnames
[] = {
28456 (char *) "parent",(char *) "_hWnd", NULL
28459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28462 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28472 resultobj
= wxPyMake_wxObject(result
, 0);
28480 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
;
28482 wxValidator
*result
;
28483 char *kwnames
[] = {
28487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 result
= (wxValidator
*)new wxValidator();
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28502 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
;
28504 wxValidator
*arg1
= (wxValidator
*) 0 ;
28505 wxValidator
*result
;
28506 PyObject
* obj0
= 0 ;
28507 char *kwnames
[] = {
28508 (char *) "self", NULL
28511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 result
= (wxValidator
*)(arg1
)->Clone();
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= wxPyMake_wxObject(result
, 0);
28530 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
;
28532 wxValidator
*arg1
= (wxValidator
*) 0 ;
28533 wxWindow
*arg2
= (wxWindow
*) 0 ;
28535 PyObject
* obj0
= 0 ;
28536 PyObject
* obj1
= 0 ;
28537 char *kwnames
[] = {
28538 (char *) "self",(char *) "parent", NULL
28541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 result
= (bool)(arg1
)->Validate(arg2
);
28550 wxPyEndAllowThreads(__tstate
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28562 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28563 PyObject
*resultobj
;
28564 wxValidator
*arg1
= (wxValidator
*) 0 ;
28566 PyObject
* obj0
= 0 ;
28567 char *kwnames
[] = {
28568 (char *) "self", NULL
28571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28576 result
= (bool)(arg1
)->TransferToWindow();
28578 wxPyEndAllowThreads(__tstate
);
28579 if (PyErr_Occurred()) SWIG_fail
;
28582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28590 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28591 PyObject
*resultobj
;
28592 wxValidator
*arg1
= (wxValidator
*) 0 ;
28594 PyObject
* obj0
= 0 ;
28595 char *kwnames
[] = {
28596 (char *) "self", NULL
28599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 result
= (bool)(arg1
)->TransferFromWindow();
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28618 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28619 PyObject
*resultobj
;
28620 wxValidator
*arg1
= (wxValidator
*) 0 ;
28622 PyObject
* obj0
= 0 ;
28623 char *kwnames
[] = {
28624 (char *) "self", NULL
28627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 result
= (wxWindow
*)(arg1
)->GetWindow();
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28638 resultobj
= wxPyMake_wxObject(result
, 0);
28646 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28647 PyObject
*resultobj
;
28648 wxValidator
*arg1
= (wxValidator
*) 0 ;
28649 wxWindow
*arg2
= (wxWindow
*) 0 ;
28650 PyObject
* obj0
= 0 ;
28651 PyObject
* obj1
= 0 ;
28652 char *kwnames
[] = {
28653 (char *) "self",(char *) "window", NULL
28656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28663 (arg1
)->SetWindow(arg2
);
28665 wxPyEndAllowThreads(__tstate
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28668 Py_INCREF(Py_None
); resultobj
= Py_None
;
28675 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28676 PyObject
*resultobj
;
28678 char *kwnames
[] = {
28682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 result
= (bool)wxValidator::IsSilent();
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28699 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
;
28701 int arg1
= (int) True
;
28702 PyObject
* obj0
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "doIt", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28709 arg1
= (int) SWIG_AsInt(obj0
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28714 wxValidator::SetBellOnError(arg1
);
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 Py_INCREF(Py_None
); resultobj
= Py_None
;
28726 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28729 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28731 return Py_BuildValue((char *)"");
28733 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
;
28735 wxPyValidator
*result
;
28736 char *kwnames
[] = {
28740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28743 result
= (wxPyValidator
*)new wxPyValidator();
28745 wxPyEndAllowThreads(__tstate
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28755 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
;
28757 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28758 PyObject
*arg2
= (PyObject
*) 0 ;
28759 PyObject
*arg3
= (PyObject
*) 0 ;
28760 int arg4
= (int) True
;
28761 PyObject
* obj0
= 0 ;
28762 PyObject
* obj1
= 0 ;
28763 PyObject
* obj2
= 0 ;
28764 PyObject
* obj3
= 0 ;
28765 char *kwnames
[] = {
28766 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28775 arg4
= (int) SWIG_AsInt(obj3
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28780 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28785 Py_INCREF(Py_None
); resultobj
= Py_None
;
28792 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28795 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28797 return Py_BuildValue((char *)"");
28799 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28800 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28805 static PyObject
*_wrap_DefaultValidator_get() {
28808 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28813 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28814 PyObject
*resultobj
;
28815 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28816 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28817 long arg2
= (long) 0 ;
28819 bool temp1
= False
;
28820 PyObject
* obj0
= 0 ;
28821 PyObject
* obj1
= 0 ;
28822 char *kwnames
[] = {
28823 (char *) "title",(char *) "style", NULL
28826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28829 arg1
= wxString_in_helper(obj0
);
28830 if (arg1
== NULL
) SWIG_fail
;
28835 arg2
= (long) SWIG_AsLong(obj1
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28839 if (!wxPyCheckForApp()) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
28861 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
;
28863 wxMenu
*arg1
= (wxMenu
*) 0 ;
28865 wxString
*arg3
= 0 ;
28866 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28867 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28868 int arg5
= (int) wxITEM_NORMAL
;
28869 wxMenuItem
*result
;
28870 bool temp3
= False
;
28871 bool temp4
= False
;
28872 PyObject
* obj0
= 0 ;
28873 PyObject
* obj1
= 0 ;
28874 PyObject
* obj2
= 0 ;
28875 PyObject
* obj3
= 0 ;
28876 PyObject
* obj4
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28884 arg2
= (int) SWIG_AsInt(obj1
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28887 arg3
= wxString_in_helper(obj2
);
28888 if (arg3
== NULL
) SWIG_fail
;
28893 arg4
= wxString_in_helper(obj3
);
28894 if (arg4
== NULL
) SWIG_fail
;
28899 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28906 wxPyEndAllowThreads(__tstate
);
28907 if (PyErr_Occurred()) SWIG_fail
;
28910 resultobj
= wxPyMake_wxObject(result
, 0);
28934 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28935 PyObject
*resultobj
;
28936 wxMenu
*arg1
= (wxMenu
*) 0 ;
28937 wxMenuItem
*result
;
28938 PyObject
* obj0
= 0 ;
28939 char *kwnames
[] = {
28940 (char *) "self", NULL
28943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28950 wxPyEndAllowThreads(__tstate
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= wxPyMake_wxObject(result
, 0);
28962 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
;
28964 wxMenu
*arg1
= (wxMenu
*) 0 ;
28966 wxString
*arg3
= 0 ;
28967 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28968 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28969 wxMenuItem
*result
;
28970 bool temp3
= False
;
28971 bool temp4
= False
;
28972 PyObject
* obj0
= 0 ;
28973 PyObject
* obj1
= 0 ;
28974 PyObject
* obj2
= 0 ;
28975 PyObject
* obj3
= 0 ;
28976 char *kwnames
[] = {
28977 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28983 arg2
= (int) SWIG_AsInt(obj1
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28986 arg3
= wxString_in_helper(obj2
);
28987 if (arg3
== NULL
) SWIG_fail
;
28992 arg4
= wxString_in_helper(obj3
);
28993 if (arg4
== NULL
) SWIG_fail
;
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29001 wxPyEndAllowThreads(__tstate
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29005 resultobj
= wxPyMake_wxObject(result
, 0);
29029 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29030 PyObject
*resultobj
;
29031 wxMenu
*arg1
= (wxMenu
*) 0 ;
29033 wxString
*arg3
= 0 ;
29034 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29035 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29036 wxMenuItem
*result
;
29037 bool temp3
= False
;
29038 bool temp4
= False
;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 PyObject
* obj2
= 0 ;
29042 PyObject
* obj3
= 0 ;
29043 char *kwnames
[] = {
29044 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29050 arg2
= (int) SWIG_AsInt(obj1
);
29051 if (PyErr_Occurred()) SWIG_fail
;
29053 arg3
= wxString_in_helper(obj2
);
29054 if (arg3
== NULL
) SWIG_fail
;
29059 arg4
= wxString_in_helper(obj3
);
29060 if (arg4
== NULL
) SWIG_fail
;
29065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29068 wxPyEndAllowThreads(__tstate
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= wxPyMake_wxObject(result
, 0);
29096 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
;
29098 wxMenu
*arg1
= (wxMenu
*) 0 ;
29100 wxString
*arg3
= 0 ;
29101 wxMenu
*arg4
= (wxMenu
*) 0 ;
29102 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29103 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29104 wxMenuItem
*result
;
29105 bool temp3
= False
;
29106 bool temp5
= False
;
29107 PyObject
* obj0
= 0 ;
29108 PyObject
* obj1
= 0 ;
29109 PyObject
* obj2
= 0 ;
29110 PyObject
* obj3
= 0 ;
29111 PyObject
* obj4
= 0 ;
29112 char *kwnames
[] = {
29113 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29119 arg2
= (int) SWIG_AsInt(obj1
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29122 arg3
= wxString_in_helper(obj2
);
29123 if (arg3
== NULL
) SWIG_fail
;
29126 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29130 arg5
= wxString_in_helper(obj4
);
29131 if (arg5
== NULL
) SWIG_fail
;
29136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29137 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29139 wxPyEndAllowThreads(__tstate
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29143 resultobj
= wxPyMake_wxObject(result
, 0);
29167 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29168 PyObject
*resultobj
;
29169 wxMenu
*arg1
= (wxMenu
*) 0 ;
29170 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29171 wxMenuItem
*result
;
29172 PyObject
* obj0
= 0 ;
29173 PyObject
* obj1
= 0 ;
29174 char *kwnames
[] = {
29175 (char *) "self",(char *) "item", NULL
29178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29191 resultobj
= wxPyMake_wxObject(result
, 0);
29199 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29200 PyObject
*resultobj
;
29201 wxMenu
*arg1
= (wxMenu
*) 0 ;
29202 PyObject
* obj0
= 0 ;
29203 char *kwnames
[] = {
29204 (char *) "self", NULL
29207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29217 Py_INCREF(Py_None
); resultobj
= Py_None
;
29224 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29225 PyObject
*resultobj
;
29226 wxMenu
*arg1
= (wxMenu
*) 0 ;
29228 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29229 wxMenuItem
*result
;
29230 PyObject
* obj0
= 0 ;
29231 PyObject
* obj1
= 0 ;
29232 PyObject
* obj2
= 0 ;
29233 char *kwnames
[] = {
29234 (char *) "self",(char *) "pos",(char *) "item", NULL
29237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29240 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29242 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29252 resultobj
= wxPyMake_wxObject(result
, 0);
29260 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
;
29262 wxMenu
*arg1
= (wxMenu
*) 0 ;
29265 wxString
*arg4
= 0 ;
29266 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29267 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29268 int arg6
= (int) wxITEM_NORMAL
;
29269 wxMenuItem
*result
;
29270 bool temp4
= False
;
29271 bool temp5
= False
;
29272 PyObject
* obj0
= 0 ;
29273 PyObject
* obj1
= 0 ;
29274 PyObject
* obj2
= 0 ;
29275 PyObject
* obj3
= 0 ;
29276 PyObject
* obj4
= 0 ;
29277 PyObject
* obj5
= 0 ;
29278 char *kwnames
[] = {
29279 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29285 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29287 arg3
= (int) SWIG_AsInt(obj2
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29290 arg4
= wxString_in_helper(obj3
);
29291 if (arg4
== NULL
) SWIG_fail
;
29296 arg5
= wxString_in_helper(obj4
);
29297 if (arg5
== NULL
) SWIG_fail
;
29302 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29307 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29313 resultobj
= wxPyMake_wxObject(result
, 0);
29337 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29338 PyObject
*resultobj
;
29339 wxMenu
*arg1
= (wxMenu
*) 0 ;
29341 wxMenuItem
*result
;
29342 PyObject
* obj0
= 0 ;
29343 PyObject
* obj1
= 0 ;
29344 char *kwnames
[] = {
29345 (char *) "self",(char *) "pos", NULL
29348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29351 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29355 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29357 wxPyEndAllowThreads(__tstate
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29361 resultobj
= wxPyMake_wxObject(result
, 0);
29369 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
;
29371 wxMenu
*arg1
= (wxMenu
*) 0 ;
29374 wxString
*arg4
= 0 ;
29375 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29376 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29377 wxMenuItem
*result
;
29378 bool temp4
= False
;
29379 bool temp5
= False
;
29380 PyObject
* obj0
= 0 ;
29381 PyObject
* obj1
= 0 ;
29382 PyObject
* obj2
= 0 ;
29383 PyObject
* obj3
= 0 ;
29384 PyObject
* obj4
= 0 ;
29385 char *kwnames
[] = {
29386 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29392 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29394 arg3
= (int) SWIG_AsInt(obj2
);
29395 if (PyErr_Occurred()) SWIG_fail
;
29397 arg4
= wxString_in_helper(obj3
);
29398 if (arg4
== NULL
) SWIG_fail
;
29403 arg5
= wxString_in_helper(obj4
);
29404 if (arg5
== NULL
) SWIG_fail
;
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= wxPyMake_wxObject(result
, 0);
29440 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29441 PyObject
*resultobj
;
29442 wxMenu
*arg1
= (wxMenu
*) 0 ;
29445 wxString
*arg4
= 0 ;
29446 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29447 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29448 wxMenuItem
*result
;
29449 bool temp4
= False
;
29450 bool temp5
= False
;
29451 PyObject
* obj0
= 0 ;
29452 PyObject
* obj1
= 0 ;
29453 PyObject
* obj2
= 0 ;
29454 PyObject
* obj3
= 0 ;
29455 PyObject
* obj4
= 0 ;
29456 char *kwnames
[] = {
29457 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29463 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29465 arg3
= (int) SWIG_AsInt(obj2
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29468 arg4
= wxString_in_helper(obj3
);
29469 if (arg4
== NULL
) SWIG_fail
;
29474 arg5
= wxString_in_helper(obj4
);
29475 if (arg5
== NULL
) SWIG_fail
;
29480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29481 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29483 wxPyEndAllowThreads(__tstate
);
29484 if (PyErr_Occurred()) SWIG_fail
;
29487 resultobj
= wxPyMake_wxObject(result
, 0);
29511 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29512 PyObject
*resultobj
;
29513 wxMenu
*arg1
= (wxMenu
*) 0 ;
29516 wxString
*arg4
= 0 ;
29517 wxMenu
*arg5
= (wxMenu
*) 0 ;
29518 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29519 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29520 wxMenuItem
*result
;
29521 bool temp4
= False
;
29522 bool temp6
= False
;
29523 PyObject
* obj0
= 0 ;
29524 PyObject
* obj1
= 0 ;
29525 PyObject
* obj2
= 0 ;
29526 PyObject
* obj3
= 0 ;
29527 PyObject
* obj4
= 0 ;
29528 PyObject
* obj5
= 0 ;
29529 char *kwnames
[] = {
29530 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29536 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29537 if (PyErr_Occurred()) SWIG_fail
;
29538 arg3
= (int) SWIG_AsInt(obj2
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29541 arg4
= wxString_in_helper(obj3
);
29542 if (arg4
== NULL
) SWIG_fail
;
29545 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29549 arg6
= wxString_in_helper(obj5
);
29550 if (arg6
== NULL
) SWIG_fail
;
29555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29556 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29558 wxPyEndAllowThreads(__tstate
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29562 resultobj
= wxPyMake_wxObject(result
, 0);
29586 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
;
29588 wxMenu
*arg1
= (wxMenu
*) 0 ;
29589 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29590 wxMenuItem
*result
;
29591 PyObject
* obj0
= 0 ;
29592 PyObject
* obj1
= 0 ;
29593 char *kwnames
[] = {
29594 (char *) "self",(char *) "item", NULL
29597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29604 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29606 wxPyEndAllowThreads(__tstate
);
29607 if (PyErr_Occurred()) SWIG_fail
;
29610 resultobj
= wxPyMake_wxObject(result
, 0);
29618 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29619 PyObject
*resultobj
;
29620 wxMenu
*arg1
= (wxMenu
*) 0 ;
29622 wxString
*arg3
= 0 ;
29623 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29624 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29625 int arg5
= (int) wxITEM_NORMAL
;
29626 wxMenuItem
*result
;
29627 bool temp3
= False
;
29628 bool temp4
= False
;
29629 PyObject
* obj0
= 0 ;
29630 PyObject
* obj1
= 0 ;
29631 PyObject
* obj2
= 0 ;
29632 PyObject
* obj3
= 0 ;
29633 PyObject
* obj4
= 0 ;
29634 char *kwnames
[] = {
29635 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29641 arg2
= (int) SWIG_AsInt(obj1
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29644 arg3
= wxString_in_helper(obj2
);
29645 if (arg3
== NULL
) SWIG_fail
;
29650 arg4
= wxString_in_helper(obj3
);
29651 if (arg4
== NULL
) SWIG_fail
;
29656 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29657 if (PyErr_Occurred()) SWIG_fail
;
29660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29661 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29663 wxPyEndAllowThreads(__tstate
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29667 resultobj
= wxPyMake_wxObject(result
, 0);
29691 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
;
29693 wxMenu
*arg1
= (wxMenu
*) 0 ;
29694 wxMenuItem
*result
;
29695 PyObject
* obj0
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29711 resultobj
= wxPyMake_wxObject(result
, 0);
29719 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
;
29721 wxMenu
*arg1
= (wxMenu
*) 0 ;
29723 wxString
*arg3
= 0 ;
29724 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29725 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29726 wxMenuItem
*result
;
29727 bool temp3
= False
;
29728 bool temp4
= False
;
29729 PyObject
* obj0
= 0 ;
29730 PyObject
* obj1
= 0 ;
29731 PyObject
* obj2
= 0 ;
29732 PyObject
* obj3
= 0 ;
29733 char *kwnames
[] = {
29734 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29740 arg2
= (int) SWIG_AsInt(obj1
);
29741 if (PyErr_Occurred()) SWIG_fail
;
29743 arg3
= wxString_in_helper(obj2
);
29744 if (arg3
== NULL
) SWIG_fail
;
29749 arg4
= wxString_in_helper(obj3
);
29750 if (arg4
== NULL
) SWIG_fail
;
29755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29756 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29758 wxPyEndAllowThreads(__tstate
);
29759 if (PyErr_Occurred()) SWIG_fail
;
29762 resultobj
= wxPyMake_wxObject(result
, 0);
29786 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
;
29788 wxMenu
*arg1
= (wxMenu
*) 0 ;
29790 wxString
*arg3
= 0 ;
29791 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29792 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29793 wxMenuItem
*result
;
29794 bool temp3
= False
;
29795 bool temp4
= False
;
29796 PyObject
* obj0
= 0 ;
29797 PyObject
* obj1
= 0 ;
29798 PyObject
* obj2
= 0 ;
29799 PyObject
* obj3
= 0 ;
29800 char *kwnames
[] = {
29801 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29807 arg2
= (int) SWIG_AsInt(obj1
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29810 arg3
= wxString_in_helper(obj2
);
29811 if (arg3
== NULL
) SWIG_fail
;
29816 arg4
= wxString_in_helper(obj3
);
29817 if (arg4
== NULL
) SWIG_fail
;
29822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29823 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29829 resultobj
= wxPyMake_wxObject(result
, 0);
29853 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29854 PyObject
*resultobj
;
29855 wxMenu
*arg1
= (wxMenu
*) 0 ;
29857 wxString
*arg3
= 0 ;
29858 wxMenu
*arg4
= (wxMenu
*) 0 ;
29859 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29860 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29861 wxMenuItem
*result
;
29862 bool temp3
= False
;
29863 bool temp5
= False
;
29864 PyObject
* obj0
= 0 ;
29865 PyObject
* obj1
= 0 ;
29866 PyObject
* obj2
= 0 ;
29867 PyObject
* obj3
= 0 ;
29868 PyObject
* obj4
= 0 ;
29869 char *kwnames
[] = {
29870 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29876 arg2
= (int) SWIG_AsInt(obj1
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29879 arg3
= wxString_in_helper(obj2
);
29880 if (arg3
== NULL
) SWIG_fail
;
29883 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29887 arg5
= wxString_in_helper(obj4
);
29888 if (arg5
== NULL
) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= wxPyMake_wxObject(result
, 0);
29924 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
;
29926 wxMenu
*arg1
= (wxMenu
*) 0 ;
29928 wxMenuItem
*result
;
29929 PyObject
* obj0
= 0 ;
29930 PyObject
* obj1
= 0 ;
29931 char *kwnames
[] = {
29932 (char *) "self",(char *) "id", NULL
29935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29938 arg2
= (int) SWIG_AsInt(obj1
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= wxPyMake_wxObject(result
, 0);
29956 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
;
29958 wxMenu
*arg1
= (wxMenu
*) 0 ;
29959 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29960 wxMenuItem
*result
;
29961 PyObject
* obj0
= 0 ;
29962 PyObject
* obj1
= 0 ;
29963 char *kwnames
[] = {
29964 (char *) "self",(char *) "item", NULL
29967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29974 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29976 wxPyEndAllowThreads(__tstate
);
29977 if (PyErr_Occurred()) SWIG_fail
;
29980 resultobj
= wxPyMake_wxObject(result
, 0);
29988 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29989 PyObject
*resultobj
;
29990 wxMenu
*arg1
= (wxMenu
*) 0 ;
29993 PyObject
* obj0
= 0 ;
29994 PyObject
* obj1
= 0 ;
29995 char *kwnames
[] = {
29996 (char *) "self",(char *) "id", NULL
29999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30002 arg2
= (int) SWIG_AsInt(obj1
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30006 result
= (bool)(arg1
)->Delete(arg2
);
30008 wxPyEndAllowThreads(__tstate
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30020 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30021 PyObject
*resultobj
;
30022 wxMenu
*arg1
= (wxMenu
*) 0 ;
30023 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30025 PyObject
* obj0
= 0 ;
30026 PyObject
* obj1
= 0 ;
30027 char *kwnames
[] = {
30028 (char *) "self",(char *) "item", NULL
30031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 result
= (bool)(arg1
)->Delete(arg2
);
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30052 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30053 PyObject
*resultobj
;
30054 wxMenu
*arg1
= (wxMenu
*) 0 ;
30055 PyObject
* obj0
= 0 ;
30056 char *kwnames
[] = {
30057 (char *) "self", NULL
30060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 wxMenu_Destroy(arg1
);
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30070 Py_INCREF(Py_None
); resultobj
= Py_None
;
30077 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30078 PyObject
*resultobj
;
30079 wxMenu
*arg1
= (wxMenu
*) 0 ;
30082 PyObject
* obj0
= 0 ;
30083 PyObject
* obj1
= 0 ;
30084 char *kwnames
[] = {
30085 (char *) "self",(char *) "id", NULL
30088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30091 arg2
= (int) SWIG_AsInt(obj1
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30095 result
= (bool)(arg1
)->Destroy(arg2
);
30097 wxPyEndAllowThreads(__tstate
);
30098 if (PyErr_Occurred()) SWIG_fail
;
30101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30109 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
;
30111 wxMenu
*arg1
= (wxMenu
*) 0 ;
30112 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30114 PyObject
* obj0
= 0 ;
30115 PyObject
* obj1
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self",(char *) "item", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 result
= (bool)(arg1
)->Destroy(arg2
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30141 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30142 PyObject
*resultobj
;
30143 wxMenu
*arg1
= (wxMenu
*) 0 ;
30145 PyObject
* obj0
= 0 ;
30146 char *kwnames
[] = {
30147 (char *) "self", NULL
30150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30155 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30167 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
;
30169 wxMenu
*arg1
= (wxMenu
*) 0 ;
30171 PyObject
* obj0
= 0 ;
30172 char *kwnames
[] = {
30173 (char *) "self", NULL
30176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30183 wxPyEndAllowThreads(__tstate
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= result
;
30193 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30194 PyObject
*resultobj
;
30195 wxMenu
*arg1
= (wxMenu
*) 0 ;
30196 wxString
*arg2
= 0 ;
30198 bool temp2
= False
;
30199 PyObject
* obj0
= 0 ;
30200 PyObject
* obj1
= 0 ;
30201 char *kwnames
[] = {
30202 (char *) "self",(char *) "item", NULL
30205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30209 arg2
= wxString_in_helper(obj1
);
30210 if (arg2
== NULL
) SWIG_fail
;
30214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30215 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30217 wxPyEndAllowThreads(__tstate
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30220 resultobj
= SWIG_FromInt((int)result
);
30235 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
;
30237 wxMenu
*arg1
= (wxMenu
*) 0 ;
30239 wxMenuItem
*result
;
30240 PyObject
* obj0
= 0 ;
30241 PyObject
* obj1
= 0 ;
30242 char *kwnames
[] = {
30243 (char *) "self",(char *) "id", NULL
30246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30249 arg2
= (int) SWIG_AsInt(obj1
);
30250 if (PyErr_Occurred()) SWIG_fail
;
30252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30253 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30255 wxPyEndAllowThreads(__tstate
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= wxPyMake_wxObject(result
, 0);
30267 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
;
30269 wxMenu
*arg1
= (wxMenu
*) 0 ;
30271 wxMenuItem
*result
;
30272 PyObject
* obj0
= 0 ;
30273 PyObject
* obj1
= 0 ;
30274 char *kwnames
[] = {
30275 (char *) "self",(char *) "position", NULL
30278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30281 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30282 if (PyErr_Occurred()) SWIG_fail
;
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30291 resultobj
= wxPyMake_wxObject(result
, 0);
30299 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30300 PyObject
*resultobj
;
30301 wxMenu
*arg1
= (wxMenu
*) 0 ;
30304 PyObject
* obj0
= 0 ;
30305 PyObject
* obj1
= 0 ;
30306 PyObject
* obj2
= 0 ;
30307 char *kwnames
[] = {
30308 (char *) "self",(char *) "id",(char *) "enable", NULL
30311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30314 arg2
= (int) SWIG_AsInt(obj1
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30316 arg3
= (bool) SWIG_AsBool(obj2
);
30317 if (PyErr_Occurred()) SWIG_fail
;
30319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30320 (arg1
)->Enable(arg2
,arg3
);
30322 wxPyEndAllowThreads(__tstate
);
30323 if (PyErr_Occurred()) SWIG_fail
;
30325 Py_INCREF(Py_None
); resultobj
= Py_None
;
30332 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30333 PyObject
*resultobj
;
30334 wxMenu
*arg1
= (wxMenu
*) 0 ;
30337 PyObject
* obj0
= 0 ;
30338 PyObject
* obj1
= 0 ;
30339 char *kwnames
[] = {
30340 (char *) "self",(char *) "id", NULL
30343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30346 arg2
= (int) SWIG_AsInt(obj1
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30350 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30352 wxPyEndAllowThreads(__tstate
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30364 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30365 PyObject
*resultobj
;
30366 wxMenu
*arg1
= (wxMenu
*) 0 ;
30369 PyObject
* obj0
= 0 ;
30370 PyObject
* obj1
= 0 ;
30371 PyObject
* obj2
= 0 ;
30372 char *kwnames
[] = {
30373 (char *) "self",(char *) "id",(char *) "check", NULL
30376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30379 arg2
= (int) SWIG_AsInt(obj1
);
30380 if (PyErr_Occurred()) SWIG_fail
;
30381 arg3
= (bool) SWIG_AsBool(obj2
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30385 (arg1
)->Check(arg2
,arg3
);
30387 wxPyEndAllowThreads(__tstate
);
30388 if (PyErr_Occurred()) SWIG_fail
;
30390 Py_INCREF(Py_None
); resultobj
= Py_None
;
30397 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30398 PyObject
*resultobj
;
30399 wxMenu
*arg1
= (wxMenu
*) 0 ;
30402 PyObject
* obj0
= 0 ;
30403 PyObject
* obj1
= 0 ;
30404 char *kwnames
[] = {
30405 (char *) "self",(char *) "id", NULL
30408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30411 arg2
= (int) SWIG_AsInt(obj1
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30415 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30417 wxPyEndAllowThreads(__tstate
);
30418 if (PyErr_Occurred()) SWIG_fail
;
30421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30429 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30430 PyObject
*resultobj
;
30431 wxMenu
*arg1
= (wxMenu
*) 0 ;
30433 wxString
*arg3
= 0 ;
30434 bool temp3
= False
;
30435 PyObject
* obj0
= 0 ;
30436 PyObject
* obj1
= 0 ;
30437 PyObject
* obj2
= 0 ;
30438 char *kwnames
[] = {
30439 (char *) "self",(char *) "id",(char *) "label", NULL
30442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30445 arg2
= (int) SWIG_AsInt(obj1
);
30446 if (PyErr_Occurred()) SWIG_fail
;
30448 arg3
= wxString_in_helper(obj2
);
30449 if (arg3
== NULL
) SWIG_fail
;
30453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30454 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30456 wxPyEndAllowThreads(__tstate
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30459 Py_INCREF(Py_None
); resultobj
= Py_None
;
30474 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30475 PyObject
*resultobj
;
30476 wxMenu
*arg1
= (wxMenu
*) 0 ;
30479 PyObject
* obj0
= 0 ;
30480 PyObject
* obj1
= 0 ;
30481 char *kwnames
[] = {
30482 (char *) "self",(char *) "id", NULL
30485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30488 arg2
= (int) SWIG_AsInt(obj1
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30492 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30494 wxPyEndAllowThreads(__tstate
);
30495 if (PyErr_Occurred()) SWIG_fail
;
30499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30510 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
;
30512 wxMenu
*arg1
= (wxMenu
*) 0 ;
30514 wxString
*arg3
= 0 ;
30515 bool temp3
= False
;
30516 PyObject
* obj0
= 0 ;
30517 PyObject
* obj1
= 0 ;
30518 PyObject
* obj2
= 0 ;
30519 char *kwnames
[] = {
30520 (char *) "self",(char *) "id",(char *) "helpString", NULL
30523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30526 arg2
= (int) SWIG_AsInt(obj1
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30529 arg3
= wxString_in_helper(obj2
);
30530 if (arg3
== NULL
) SWIG_fail
;
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30540 Py_INCREF(Py_None
); resultobj
= Py_None
;
30555 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30556 PyObject
*resultobj
;
30557 wxMenu
*arg1
= (wxMenu
*) 0 ;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 char *kwnames
[] = {
30563 (char *) "self",(char *) "id", NULL
30566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30569 arg2
= (int) SWIG_AsInt(obj1
);
30570 if (PyErr_Occurred()) SWIG_fail
;
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30575 wxPyEndAllowThreads(__tstate
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30591 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30592 PyObject
*resultobj
;
30593 wxMenu
*arg1
= (wxMenu
*) 0 ;
30594 wxString
*arg2
= 0 ;
30595 bool temp2
= False
;
30596 PyObject
* obj0
= 0 ;
30597 PyObject
* obj1
= 0 ;
30598 char *kwnames
[] = {
30599 (char *) "self",(char *) "title", NULL
30602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30606 arg2
= wxString_in_helper(obj1
);
30607 if (arg2
== NULL
) SWIG_fail
;
30611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30612 (arg1
)->SetTitle((wxString
const &)*arg2
);
30614 wxPyEndAllowThreads(__tstate
);
30615 if (PyErr_Occurred()) SWIG_fail
;
30617 Py_INCREF(Py_None
); resultobj
= Py_None
;
30632 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
;
30634 wxMenu
*arg1
= (wxMenu
*) 0 ;
30636 PyObject
* obj0
= 0 ;
30637 char *kwnames
[] = {
30638 (char *) "self", NULL
30641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30646 result
= ((wxMenu
const *)arg1
)->GetTitle();
30648 wxPyEndAllowThreads(__tstate
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30653 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30655 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30664 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
;
30666 wxMenu
*arg1
= (wxMenu
*) 0 ;
30667 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30668 PyObject
* obj0
= 0 ;
30669 PyObject
* obj1
= 0 ;
30670 char *kwnames
[] = {
30671 (char *) "self",(char *) "handler", NULL
30674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 (arg1
)->SetEventHandler(arg2
);
30683 wxPyEndAllowThreads(__tstate
);
30684 if (PyErr_Occurred()) SWIG_fail
;
30686 Py_INCREF(Py_None
); resultobj
= Py_None
;
30693 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30694 PyObject
*resultobj
;
30695 wxMenu
*arg1
= (wxMenu
*) 0 ;
30696 wxEvtHandler
*result
;
30697 PyObject
* obj0
= 0 ;
30698 char *kwnames
[] = {
30699 (char *) "self", NULL
30702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",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
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30709 wxPyEndAllowThreads(__tstate
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30713 resultobj
= wxPyMake_wxObject(result
, 0);
30721 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30722 PyObject
*resultobj
;
30723 wxMenu
*arg1
= (wxMenu
*) 0 ;
30724 wxWindow
*arg2
= (wxWindow
*) 0 ;
30725 PyObject
* obj0
= 0 ;
30726 PyObject
* obj1
= 0 ;
30727 char *kwnames
[] = {
30728 (char *) "self",(char *) "win", NULL
30731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 (arg1
)->SetInvokingWindow(arg2
);
30740 wxPyEndAllowThreads(__tstate
);
30741 if (PyErr_Occurred()) SWIG_fail
;
30743 Py_INCREF(Py_None
); resultobj
= Py_None
;
30750 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30751 PyObject
*resultobj
;
30752 wxMenu
*arg1
= (wxMenu
*) 0 ;
30754 PyObject
* obj0
= 0 ;
30755 char *kwnames
[] = {
30756 (char *) "self", NULL
30759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30764 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30766 wxPyEndAllowThreads(__tstate
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30770 resultobj
= wxPyMake_wxObject(result
, 0);
30778 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30779 PyObject
*resultobj
;
30780 wxMenu
*arg1
= (wxMenu
*) 0 ;
30782 PyObject
* obj0
= 0 ;
30783 char *kwnames
[] = {
30784 (char *) "self", NULL
30787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30797 resultobj
= SWIG_FromLong((long)result
);
30804 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
;
30806 wxMenu
*arg1
= (wxMenu
*) 0 ;
30807 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30808 PyObject
* obj0
= 0 ;
30809 PyObject
* obj1
= 0 ;
30810 char *kwnames
[] = {
30811 (char *) "self",(char *) "source", NULL
30814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30823 (arg1
)->UpdateUI(arg2
);
30825 wxPyEndAllowThreads(__tstate
);
30826 if (PyErr_Occurred()) SWIG_fail
;
30828 Py_INCREF(Py_None
); resultobj
= Py_None
;
30835 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30836 PyObject
*resultobj
;
30837 wxMenu
*arg1
= (wxMenu
*) 0 ;
30839 PyObject
* obj0
= 0 ;
30840 char *kwnames
[] = {
30841 (char *) "self", NULL
30844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30849 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30851 wxPyEndAllowThreads(__tstate
);
30852 if (PyErr_Occurred()) SWIG_fail
;
30855 resultobj
= wxPyMake_wxObject(result
, 0);
30863 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30864 PyObject
*resultobj
;
30865 wxMenu
*arg1
= (wxMenu
*) 0 ;
30866 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30867 PyObject
* obj0
= 0 ;
30868 PyObject
* obj1
= 0 ;
30869 char *kwnames
[] = {
30870 (char *) "self",(char *) "menubar", NULL
30873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30880 (arg1
)->Attach(arg2
);
30882 wxPyEndAllowThreads(__tstate
);
30883 if (PyErr_Occurred()) SWIG_fail
;
30885 Py_INCREF(Py_None
); resultobj
= Py_None
;
30892 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30893 PyObject
*resultobj
;
30894 wxMenu
*arg1
= (wxMenu
*) 0 ;
30895 PyObject
* obj0
= 0 ;
30896 char *kwnames
[] = {
30897 (char *) "self", NULL
30900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 wxPyEndAllowThreads(__tstate
);
30908 if (PyErr_Occurred()) SWIG_fail
;
30910 Py_INCREF(Py_None
); resultobj
= Py_None
;
30917 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30918 PyObject
*resultobj
;
30919 wxMenu
*arg1
= (wxMenu
*) 0 ;
30921 PyObject
* obj0
= 0 ;
30922 char *kwnames
[] = {
30923 (char *) "self", NULL
30926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30931 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30933 wxPyEndAllowThreads(__tstate
);
30934 if (PyErr_Occurred()) SWIG_fail
;
30937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30945 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30946 PyObject
*resultobj
;
30947 wxMenu
*arg1
= (wxMenu
*) 0 ;
30948 wxMenu
*arg2
= (wxMenu
*) 0 ;
30949 PyObject
* obj0
= 0 ;
30950 PyObject
* obj1
= 0 ;
30951 char *kwnames
[] = {
30952 (char *) "self",(char *) "parent", NULL
30955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30962 (arg1
)->SetParent(arg2
);
30964 wxPyEndAllowThreads(__tstate
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30967 Py_INCREF(Py_None
); resultobj
= Py_None
;
30974 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30975 PyObject
*resultobj
;
30976 wxMenu
*arg1
= (wxMenu
*) 0 ;
30978 PyObject
* obj0
= 0 ;
30979 char *kwnames
[] = {
30980 (char *) "self", NULL
30983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30988 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30990 wxPyEndAllowThreads(__tstate
);
30991 if (PyErr_Occurred()) SWIG_fail
;
30994 resultobj
= wxPyMake_wxObject(result
, 0);
31002 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
31004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31005 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31007 return Py_BuildValue((char *)"");
31009 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31010 PyObject
*resultobj
;
31011 long arg1
= (long) 0 ;
31013 PyObject
* obj0
= 0 ;
31014 char *kwnames
[] = {
31015 (char *) "style", NULL
31018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31020 arg1
= (long) SWIG_AsLong(obj0
);
31021 if (PyErr_Occurred()) SWIG_fail
;
31024 if (!wxPyCheckForApp()) SWIG_fail
;
31025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31026 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31028 wxPyEndAllowThreads(__tstate
);
31029 if (PyErr_Occurred()) SWIG_fail
;
31031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31038 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31039 PyObject
*resultobj
;
31040 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31041 wxMenu
*arg2
= (wxMenu
*) 0 ;
31042 wxString
*arg3
= 0 ;
31044 bool temp3
= False
;
31045 PyObject
* obj0
= 0 ;
31046 PyObject
* obj1
= 0 ;
31047 PyObject
* obj2
= 0 ;
31048 char *kwnames
[] = {
31049 (char *) "self",(char *) "menu",(char *) "title", NULL
31052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31058 arg3
= wxString_in_helper(obj2
);
31059 if (arg3
== NULL
) SWIG_fail
;
31063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31064 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31066 wxPyEndAllowThreads(__tstate
);
31067 if (PyErr_Occurred()) SWIG_fail
;
31070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31086 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
;
31088 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31090 wxMenu
*arg3
= (wxMenu
*) 0 ;
31091 wxString
*arg4
= 0 ;
31093 bool temp4
= False
;
31094 PyObject
* obj0
= 0 ;
31095 PyObject
* obj1
= 0 ;
31096 PyObject
* obj2
= 0 ;
31097 PyObject
* obj3
= 0 ;
31098 char *kwnames
[] = {
31099 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31105 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31106 if (PyErr_Occurred()) SWIG_fail
;
31107 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31110 arg4
= wxString_in_helper(obj3
);
31111 if (arg4
== NULL
) SWIG_fail
;
31115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31116 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31138 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31139 PyObject
*resultobj
;
31140 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31142 PyObject
* obj0
= 0 ;
31143 char *kwnames
[] = {
31144 (char *) "self", NULL
31147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31152 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31154 wxPyEndAllowThreads(__tstate
);
31155 if (PyErr_Occurred()) SWIG_fail
;
31157 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
31164 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
;
31166 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31169 PyObject
* obj0
= 0 ;
31170 PyObject
* obj1
= 0 ;
31171 char *kwnames
[] = {
31172 (char *) "self",(char *) "pos", NULL
31175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31178 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31179 if (PyErr_Occurred()) SWIG_fail
;
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31182 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31184 wxPyEndAllowThreads(__tstate
);
31185 if (PyErr_Occurred()) SWIG_fail
;
31188 resultobj
= wxPyMake_wxObject(result
, 0);
31196 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
;
31198 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31200 wxMenu
*arg3
= (wxMenu
*) 0 ;
31201 wxString
*arg4
= 0 ;
31203 bool temp4
= False
;
31204 PyObject
* obj0
= 0 ;
31205 PyObject
* obj1
= 0 ;
31206 PyObject
* obj2
= 0 ;
31207 PyObject
* obj3
= 0 ;
31208 char *kwnames
[] = {
31209 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31215 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31217 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31220 arg4
= wxString_in_helper(obj3
);
31221 if (arg4
== NULL
) SWIG_fail
;
31225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31226 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31228 wxPyEndAllowThreads(__tstate
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31232 resultobj
= wxPyMake_wxObject(result
, 0);
31248 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31249 PyObject
*resultobj
;
31250 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31253 PyObject
* obj0
= 0 ;
31254 PyObject
* obj1
= 0 ;
31255 char *kwnames
[] = {
31256 (char *) "self",(char *) "pos", NULL
31259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31262 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31263 if (PyErr_Occurred()) SWIG_fail
;
31265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31266 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31268 wxPyEndAllowThreads(__tstate
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31272 resultobj
= wxPyMake_wxObject(result
, 0);
31280 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31281 PyObject
*resultobj
;
31282 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31285 PyObject
* obj0
= 0 ;
31286 PyObject
* obj1
= 0 ;
31287 PyObject
* obj2
= 0 ;
31288 char *kwnames
[] = {
31289 (char *) "self",(char *) "pos",(char *) "enable", NULL
31292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31295 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31296 if (PyErr_Occurred()) SWIG_fail
;
31297 arg3
= (bool) SWIG_AsBool(obj2
);
31298 if (PyErr_Occurred()) SWIG_fail
;
31300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31301 (arg1
)->EnableTop(arg2
,arg3
);
31303 wxPyEndAllowThreads(__tstate
);
31304 if (PyErr_Occurred()) SWIG_fail
;
31306 Py_INCREF(Py_None
); resultobj
= Py_None
;
31313 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31314 PyObject
*resultobj
;
31315 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31318 PyObject
* obj0
= 0 ;
31319 PyObject
* obj1
= 0 ;
31320 char *kwnames
[] = {
31321 (char *) "self",(char *) "pos", NULL
31324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31327 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31331 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31345 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31346 PyObject
*resultobj
;
31347 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31349 wxString
*arg3
= 0 ;
31350 bool temp3
= False
;
31351 PyObject
* obj0
= 0 ;
31352 PyObject
* obj1
= 0 ;
31353 PyObject
* obj2
= 0 ;
31354 char *kwnames
[] = {
31355 (char *) "self",(char *) "pos",(char *) "label", NULL
31358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31361 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31364 arg3
= wxString_in_helper(obj2
);
31365 if (arg3
== NULL
) SWIG_fail
;
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31370 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31375 Py_INCREF(Py_None
); resultobj
= Py_None
;
31390 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31391 PyObject
*resultobj
;
31392 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31395 PyObject
* obj0
= 0 ;
31396 PyObject
* obj1
= 0 ;
31397 char *kwnames
[] = {
31398 (char *) "self",(char *) "pos", NULL
31401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31404 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31408 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31426 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31427 PyObject
*resultobj
;
31428 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31429 wxString
*arg2
= 0 ;
31430 wxString
*arg3
= 0 ;
31432 bool temp2
= False
;
31433 bool temp3
= False
;
31434 PyObject
* obj0
= 0 ;
31435 PyObject
* obj1
= 0 ;
31436 PyObject
* obj2
= 0 ;
31437 char *kwnames
[] = {
31438 (char *) "self",(char *) "menu",(char *) "item", NULL
31441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31445 arg2
= wxString_in_helper(obj1
);
31446 if (arg2
== NULL
) SWIG_fail
;
31450 arg3
= wxString_in_helper(obj2
);
31451 if (arg3
== NULL
) SWIG_fail
;
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31458 wxPyEndAllowThreads(__tstate
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31461 resultobj
= SWIG_FromInt((int)result
);
31484 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
;
31486 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31488 wxMenuItem
*result
;
31489 PyObject
* obj0
= 0 ;
31490 PyObject
* obj1
= 0 ;
31491 char *kwnames
[] = {
31492 (char *) "self",(char *) "id", NULL
31495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31498 arg2
= (int) SWIG_AsInt(obj1
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31502 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31504 wxPyEndAllowThreads(__tstate
);
31505 if (PyErr_Occurred()) SWIG_fail
;
31508 resultobj
= wxPyMake_wxObject(result
, 0);
31516 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31517 PyObject
*resultobj
;
31518 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31519 wxString
*arg2
= 0 ;
31521 bool temp2
= False
;
31522 PyObject
* obj0
= 0 ;
31523 PyObject
* obj1
= 0 ;
31524 char *kwnames
[] = {
31525 (char *) "self",(char *) "title", NULL
31528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31532 arg2
= wxString_in_helper(obj1
);
31533 if (arg2
== NULL
) SWIG_fail
;
31537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31538 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31540 wxPyEndAllowThreads(__tstate
);
31541 if (PyErr_Occurred()) SWIG_fail
;
31543 resultobj
= SWIG_FromInt((int)result
);
31558 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31559 PyObject
*resultobj
;
31560 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31563 PyObject
* obj0
= 0 ;
31564 PyObject
* obj1
= 0 ;
31565 PyObject
* obj2
= 0 ;
31566 char *kwnames
[] = {
31567 (char *) "self",(char *) "id",(char *) "enable", NULL
31570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31573 arg2
= (int) SWIG_AsInt(obj1
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31575 arg3
= (bool) SWIG_AsBool(obj2
);
31576 if (PyErr_Occurred()) SWIG_fail
;
31578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31579 (arg1
)->Enable(arg2
,arg3
);
31581 wxPyEndAllowThreads(__tstate
);
31582 if (PyErr_Occurred()) SWIG_fail
;
31584 Py_INCREF(Py_None
); resultobj
= Py_None
;
31591 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31592 PyObject
*resultobj
;
31593 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31596 PyObject
* obj0
= 0 ;
31597 PyObject
* obj1
= 0 ;
31598 PyObject
* obj2
= 0 ;
31599 char *kwnames
[] = {
31600 (char *) "self",(char *) "id",(char *) "check", NULL
31603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31606 arg2
= (int) SWIG_AsInt(obj1
);
31607 if (PyErr_Occurred()) SWIG_fail
;
31608 arg3
= (bool) SWIG_AsBool(obj2
);
31609 if (PyErr_Occurred()) SWIG_fail
;
31611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31612 (arg1
)->Check(arg2
,arg3
);
31614 wxPyEndAllowThreads(__tstate
);
31615 if (PyErr_Occurred()) SWIG_fail
;
31617 Py_INCREF(Py_None
); resultobj
= Py_None
;
31624 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31625 PyObject
*resultobj
;
31626 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31629 PyObject
* obj0
= 0 ;
31630 PyObject
* obj1
= 0 ;
31631 char *kwnames
[] = {
31632 (char *) "self",(char *) "id", NULL
31635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31638 arg2
= (int) SWIG_AsInt(obj1
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31642 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31644 wxPyEndAllowThreads(__tstate
);
31645 if (PyErr_Occurred()) SWIG_fail
;
31648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31656 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31657 PyObject
*resultobj
;
31658 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31661 PyObject
* obj0
= 0 ;
31662 PyObject
* obj1
= 0 ;
31663 char *kwnames
[] = {
31664 (char *) "self",(char *) "id", NULL
31667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31670 arg2
= (int) SWIG_AsInt(obj1
);
31671 if (PyErr_Occurred()) SWIG_fail
;
31673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31674 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31676 wxPyEndAllowThreads(__tstate
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31688 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31689 PyObject
*resultobj
;
31690 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31692 wxString
*arg3
= 0 ;
31693 bool temp3
= False
;
31694 PyObject
* obj0
= 0 ;
31695 PyObject
* obj1
= 0 ;
31696 PyObject
* obj2
= 0 ;
31697 char *kwnames
[] = {
31698 (char *) "self",(char *) "id",(char *) "label", NULL
31701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31704 arg2
= (int) SWIG_AsInt(obj1
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 arg3
= wxString_in_helper(obj2
);
31708 if (arg3
== NULL
) SWIG_fail
;
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31715 wxPyEndAllowThreads(__tstate
);
31716 if (PyErr_Occurred()) SWIG_fail
;
31718 Py_INCREF(Py_None
); resultobj
= Py_None
;
31733 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31734 PyObject
*resultobj
;
31735 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31738 PyObject
* obj0
= 0 ;
31739 PyObject
* obj1
= 0 ;
31740 char *kwnames
[] = {
31741 (char *) "self",(char *) "id", NULL
31744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31747 arg2
= (int) SWIG_AsInt(obj1
);
31748 if (PyErr_Occurred()) SWIG_fail
;
31750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31751 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31753 wxPyEndAllowThreads(__tstate
);
31754 if (PyErr_Occurred()) SWIG_fail
;
31758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31769 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31770 PyObject
*resultobj
;
31771 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31773 wxString
*arg3
= 0 ;
31774 bool temp3
= False
;
31775 PyObject
* obj0
= 0 ;
31776 PyObject
* obj1
= 0 ;
31777 PyObject
* obj2
= 0 ;
31778 char *kwnames
[] = {
31779 (char *) "self",(char *) "id",(char *) "helpString", NULL
31782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31785 arg2
= (int) SWIG_AsInt(obj1
);
31786 if (PyErr_Occurred()) SWIG_fail
;
31788 arg3
= wxString_in_helper(obj2
);
31789 if (arg3
== NULL
) SWIG_fail
;
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31794 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31799 Py_INCREF(Py_None
); resultobj
= Py_None
;
31814 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31815 PyObject
*resultobj
;
31816 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31819 PyObject
* obj0
= 0 ;
31820 PyObject
* obj1
= 0 ;
31821 char *kwnames
[] = {
31822 (char *) "self",(char *) "id", NULL
31825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31828 arg2
= (int) SWIG_AsInt(obj1
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31832 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31834 wxPyEndAllowThreads(__tstate
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31850 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31851 PyObject
*resultobj
;
31852 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31854 PyObject
* obj0
= 0 ;
31855 char *kwnames
[] = {
31856 (char *) "self", NULL
31859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31864 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31866 wxPyEndAllowThreads(__tstate
);
31867 if (PyErr_Occurred()) SWIG_fail
;
31870 resultobj
= wxPyMake_wxObject(result
, 0);
31878 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31879 PyObject
*resultobj
;
31880 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31882 PyObject
* obj0
= 0 ;
31883 char *kwnames
[] = {
31884 (char *) "self", NULL
31887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31892 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31894 wxPyEndAllowThreads(__tstate
);
31895 if (PyErr_Occurred()) SWIG_fail
;
31898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31906 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31907 PyObject
*resultobj
;
31908 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31909 wxFrame
*arg2
= (wxFrame
*) 0 ;
31910 PyObject
* obj0
= 0 ;
31911 PyObject
* obj1
= 0 ;
31912 char *kwnames
[] = {
31913 (char *) "self",(char *) "frame", NULL
31916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31923 (arg1
)->Attach(arg2
);
31925 wxPyEndAllowThreads(__tstate
);
31926 if (PyErr_Occurred()) SWIG_fail
;
31928 Py_INCREF(Py_None
); resultobj
= Py_None
;
31935 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31936 PyObject
*resultobj
;
31937 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31938 PyObject
* obj0
= 0 ;
31939 char *kwnames
[] = {
31940 (char *) "self", NULL
31943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31950 wxPyEndAllowThreads(__tstate
);
31951 if (PyErr_Occurred()) SWIG_fail
;
31953 Py_INCREF(Py_None
); resultobj
= Py_None
;
31960 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31963 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31965 return Py_BuildValue((char *)"");
31967 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31968 PyObject
*resultobj
;
31969 wxMenu
*arg1
= (wxMenu
*) NULL
;
31970 int arg2
= (int) wxID_ANY
;
31971 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31972 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31973 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31974 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31975 int arg5
= (int) wxITEM_NORMAL
;
31976 wxMenu
*arg6
= (wxMenu
*) NULL
;
31977 wxMenuItem
*result
;
31978 bool temp3
= False
;
31979 bool temp4
= False
;
31980 PyObject
* obj0
= 0 ;
31981 PyObject
* obj1
= 0 ;
31982 PyObject
* obj2
= 0 ;
31983 PyObject
* obj3
= 0 ;
31984 PyObject
* obj4
= 0 ;
31985 PyObject
* obj5
= 0 ;
31986 char *kwnames
[] = {
31987 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31996 arg2
= (int) SWIG_AsInt(obj1
);
31997 if (PyErr_Occurred()) SWIG_fail
;
32001 arg3
= wxString_in_helper(obj2
);
32002 if (arg3
== NULL
) SWIG_fail
;
32008 arg4
= wxString_in_helper(obj3
);
32009 if (arg4
== NULL
) SWIG_fail
;
32014 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
32015 if (PyErr_Occurred()) SWIG_fail
;
32018 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32023 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32025 wxPyEndAllowThreads(__tstate
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32029 resultobj
= wxPyMake_wxObject(result
, 1);
32053 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32054 PyObject
*resultobj
;
32055 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32057 PyObject
* obj0
= 0 ;
32058 char *kwnames
[] = {
32059 (char *) "self", NULL
32062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32067 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32069 wxPyEndAllowThreads(__tstate
);
32070 if (PyErr_Occurred()) SWIG_fail
;
32073 resultobj
= wxPyMake_wxObject(result
, 0);
32081 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32082 PyObject
*resultobj
;
32083 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32084 wxMenu
*arg2
= (wxMenu
*) 0 ;
32085 PyObject
* obj0
= 0 ;
32086 PyObject
* obj1
= 0 ;
32087 char *kwnames
[] = {
32088 (char *) "self",(char *) "menu", NULL
32091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32098 (arg1
)->SetMenu(arg2
);
32100 wxPyEndAllowThreads(__tstate
);
32101 if (PyErr_Occurred()) SWIG_fail
;
32103 Py_INCREF(Py_None
); resultobj
= Py_None
;
32110 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32111 PyObject
*resultobj
;
32112 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32114 PyObject
* obj0
= 0 ;
32115 PyObject
* obj1
= 0 ;
32116 char *kwnames
[] = {
32117 (char *) "self",(char *) "id", NULL
32120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32123 arg2
= (int) SWIG_AsInt(obj1
);
32124 if (PyErr_Occurred()) SWIG_fail
;
32126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32127 (arg1
)->SetId(arg2
);
32129 wxPyEndAllowThreads(__tstate
);
32130 if (PyErr_Occurred()) SWIG_fail
;
32132 Py_INCREF(Py_None
); resultobj
= Py_None
;
32139 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32140 PyObject
*resultobj
;
32141 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32143 PyObject
* obj0
= 0 ;
32144 char *kwnames
[] = {
32145 (char *) "self", NULL
32148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32153 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32155 wxPyEndAllowThreads(__tstate
);
32156 if (PyErr_Occurred()) SWIG_fail
;
32158 resultobj
= SWIG_FromInt((int)result
);
32165 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32166 PyObject
*resultobj
;
32167 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32169 PyObject
* obj0
= 0 ;
32170 char *kwnames
[] = {
32171 (char *) "self", NULL
32174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32179 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32181 wxPyEndAllowThreads(__tstate
);
32182 if (PyErr_Occurred()) SWIG_fail
;
32185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32193 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32194 PyObject
*resultobj
;
32195 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32196 wxString
*arg2
= 0 ;
32197 bool temp2
= False
;
32198 PyObject
* obj0
= 0 ;
32199 PyObject
* obj1
= 0 ;
32200 char *kwnames
[] = {
32201 (char *) "self",(char *) "str", NULL
32204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32208 arg2
= wxString_in_helper(obj1
);
32209 if (arg2
== NULL
) SWIG_fail
;
32213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32214 (arg1
)->SetText((wxString
const &)*arg2
);
32216 wxPyEndAllowThreads(__tstate
);
32217 if (PyErr_Occurred()) SWIG_fail
;
32219 Py_INCREF(Py_None
); resultobj
= Py_None
;
32234 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32235 PyObject
*resultobj
;
32236 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32238 PyObject
* obj0
= 0 ;
32239 char *kwnames
[] = {
32240 (char *) "self", NULL
32243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32248 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32250 wxPyEndAllowThreads(__tstate
);
32251 if (PyErr_Occurred()) SWIG_fail
;
32255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32266 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32267 PyObject
*resultobj
;
32268 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32270 PyObject
* obj0
= 0 ;
32271 char *kwnames
[] = {
32272 (char *) "self", NULL
32275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32281 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32282 result
= (wxString
*) &_result_ref
;
32285 wxPyEndAllowThreads(__tstate
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32290 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32292 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32301 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32302 PyObject
*resultobj
;
32303 wxString
*arg1
= 0 ;
32305 bool temp1
= False
;
32306 PyObject
* obj0
= 0 ;
32307 char *kwnames
[] = {
32308 (char *) "text", NULL
32311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32313 arg1
= wxString_in_helper(obj0
);
32314 if (arg1
== NULL
) SWIG_fail
;
32318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32319 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32321 wxPyEndAllowThreads(__tstate
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32345 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32346 PyObject
*resultobj
;
32347 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32349 PyObject
* obj0
= 0 ;
32350 char *kwnames
[] = {
32351 (char *) "self", NULL
32354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32359 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32361 wxPyEndAllowThreads(__tstate
);
32362 if (PyErr_Occurred()) SWIG_fail
;
32364 resultobj
= SWIG_FromInt((int)result
);
32371 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32372 PyObject
*resultobj
;
32373 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32375 PyObject
* obj0
= 0 ;
32376 PyObject
* obj1
= 0 ;
32377 char *kwnames
[] = {
32378 (char *) "self",(char *) "kind", NULL
32381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32384 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32385 if (PyErr_Occurred()) SWIG_fail
;
32387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32388 (arg1
)->SetKind((wxItemKind
)arg2
);
32390 wxPyEndAllowThreads(__tstate
);
32391 if (PyErr_Occurred()) SWIG_fail
;
32393 Py_INCREF(Py_None
); resultobj
= Py_None
;
32400 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32401 PyObject
*resultobj
;
32402 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32404 PyObject
* obj0
= 0 ;
32405 PyObject
* obj1
= 0 ;
32406 char *kwnames
[] = {
32407 (char *) "self",(char *) "checkable", NULL
32410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32413 arg2
= (bool) SWIG_AsBool(obj1
);
32414 if (PyErr_Occurred()) SWIG_fail
;
32416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32417 (arg1
)->SetCheckable(arg2
);
32419 wxPyEndAllowThreads(__tstate
);
32420 if (PyErr_Occurred()) SWIG_fail
;
32422 Py_INCREF(Py_None
); resultobj
= Py_None
;
32429 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32430 PyObject
*resultobj
;
32431 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32433 PyObject
* obj0
= 0 ;
32434 char *kwnames
[] = {
32435 (char *) "self", NULL
32438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32443 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32445 wxPyEndAllowThreads(__tstate
);
32446 if (PyErr_Occurred()) SWIG_fail
;
32449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32457 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32458 PyObject
*resultobj
;
32459 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32461 PyObject
* obj0
= 0 ;
32462 char *kwnames
[] = {
32463 (char *) "self", NULL
32466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32471 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32473 wxPyEndAllowThreads(__tstate
);
32474 if (PyErr_Occurred()) SWIG_fail
;
32477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32485 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32486 PyObject
*resultobj
;
32487 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32488 wxMenu
*arg2
= (wxMenu
*) 0 ;
32489 PyObject
* obj0
= 0 ;
32490 PyObject
* obj1
= 0 ;
32491 char *kwnames
[] = {
32492 (char *) "self",(char *) "menu", NULL
32495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32502 (arg1
)->SetSubMenu(arg2
);
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32507 Py_INCREF(Py_None
); resultobj
= Py_None
;
32514 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32515 PyObject
*resultobj
;
32516 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32518 PyObject
* obj0
= 0 ;
32519 char *kwnames
[] = {
32520 (char *) "self", NULL
32523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32530 wxPyEndAllowThreads(__tstate
);
32531 if (PyErr_Occurred()) SWIG_fail
;
32534 resultobj
= wxPyMake_wxObject(result
, 0);
32542 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32543 PyObject
*resultobj
;
32544 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32545 bool arg2
= (bool) True
;
32546 PyObject
* obj0
= 0 ;
32547 PyObject
* obj1
= 0 ;
32548 char *kwnames
[] = {
32549 (char *) "self",(char *) "enable", NULL
32552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32556 arg2
= (bool) SWIG_AsBool(obj1
);
32557 if (PyErr_Occurred()) SWIG_fail
;
32560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32561 (arg1
)->Enable(arg2
);
32563 wxPyEndAllowThreads(__tstate
);
32564 if (PyErr_Occurred()) SWIG_fail
;
32566 Py_INCREF(Py_None
); resultobj
= Py_None
;
32573 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32574 PyObject
*resultobj
;
32575 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32577 PyObject
* obj0
= 0 ;
32578 char *kwnames
[] = {
32579 (char *) "self", NULL
32582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32587 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32589 wxPyEndAllowThreads(__tstate
);
32590 if (PyErr_Occurred()) SWIG_fail
;
32593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32601 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32602 PyObject
*resultobj
;
32603 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32604 bool arg2
= (bool) True
;
32605 PyObject
* obj0
= 0 ;
32606 PyObject
* obj1
= 0 ;
32607 char *kwnames
[] = {
32608 (char *) "self",(char *) "check", NULL
32611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32615 arg2
= (bool) SWIG_AsBool(obj1
);
32616 if (PyErr_Occurred()) SWIG_fail
;
32619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32620 (arg1
)->Check(arg2
);
32622 wxPyEndAllowThreads(__tstate
);
32623 if (PyErr_Occurred()) SWIG_fail
;
32625 Py_INCREF(Py_None
); resultobj
= Py_None
;
32632 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32633 PyObject
*resultobj
;
32634 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32636 PyObject
* obj0
= 0 ;
32637 char *kwnames
[] = {
32638 (char *) "self", NULL
32641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32646 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32648 wxPyEndAllowThreads(__tstate
);
32649 if (PyErr_Occurred()) SWIG_fail
;
32652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32660 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32661 PyObject
*resultobj
;
32662 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32663 PyObject
* obj0
= 0 ;
32664 char *kwnames
[] = {
32665 (char *) "self", NULL
32668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32675 wxPyEndAllowThreads(__tstate
);
32676 if (PyErr_Occurred()) SWIG_fail
;
32678 Py_INCREF(Py_None
); resultobj
= Py_None
;
32685 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32686 PyObject
*resultobj
;
32687 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32688 wxString
*arg2
= 0 ;
32689 bool temp2
= False
;
32690 PyObject
* obj0
= 0 ;
32691 PyObject
* obj1
= 0 ;
32692 char *kwnames
[] = {
32693 (char *) "self",(char *) "str", NULL
32696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32700 arg2
= wxString_in_helper(obj1
);
32701 if (arg2
== NULL
) SWIG_fail
;
32705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32706 (arg1
)->SetHelp((wxString
const &)*arg2
);
32708 wxPyEndAllowThreads(__tstate
);
32709 if (PyErr_Occurred()) SWIG_fail
;
32711 Py_INCREF(Py_None
); resultobj
= Py_None
;
32726 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32727 PyObject
*resultobj
;
32728 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32730 PyObject
* obj0
= 0 ;
32731 char *kwnames
[] = {
32732 (char *) "self", NULL
32735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32741 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32742 result
= (wxString
*) &_result_ref
;
32745 wxPyEndAllowThreads(__tstate
);
32746 if (PyErr_Occurred()) SWIG_fail
;
32750 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32752 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32761 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32762 PyObject
*resultobj
;
32763 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32764 wxAcceleratorEntry
*result
;
32765 PyObject
* obj0
= 0 ;
32766 char *kwnames
[] = {
32767 (char *) "self", NULL
32770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32775 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32777 wxPyEndAllowThreads(__tstate
);
32778 if (PyErr_Occurred()) SWIG_fail
;
32780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32787 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32788 PyObject
*resultobj
;
32789 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32790 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32791 PyObject
* obj0
= 0 ;
32792 PyObject
* obj1
= 0 ;
32793 char *kwnames
[] = {
32794 (char *) "self",(char *) "accel", NULL
32797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32804 (arg1
)->SetAccel(arg2
);
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32809 Py_INCREF(Py_None
); resultobj
= Py_None
;
32816 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32817 PyObject
*resultobj
;
32819 char *kwnames
[] = {
32823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32826 result
= (int)MenuItem_GetDefaultMarginWidth();
32828 wxPyEndAllowThreads(__tstate
);
32829 if (PyErr_Occurred()) SWIG_fail
;
32831 resultobj
= SWIG_FromInt((int)result
);
32838 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32839 PyObject
*resultobj
;
32840 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32841 wxBitmap
*arg2
= 0 ;
32842 PyObject
* obj0
= 0 ;
32843 PyObject
* obj1
= 0 ;
32844 char *kwnames
[] = {
32845 (char *) "self",(char *) "bitmap", NULL
32848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32854 if (arg2
== NULL
) {
32855 PyErr_SetString(PyExc_TypeError
,"null reference");
32859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32860 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32862 wxPyEndAllowThreads(__tstate
);
32863 if (PyErr_Occurred()) SWIG_fail
;
32865 Py_INCREF(Py_None
); resultobj
= Py_None
;
32872 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32873 PyObject
*resultobj
;
32874 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32876 PyObject
* obj0
= 0 ;
32877 char *kwnames
[] = {
32878 (char *) "self", NULL
32881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32887 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32888 result
= (wxBitmap
*) &_result_ref
;
32891 wxPyEndAllowThreads(__tstate
);
32892 if (PyErr_Occurred()) SWIG_fail
;
32895 wxBitmap
* resultptr
= new wxBitmap(*result
);
32896 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32904 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32907 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32909 return Py_BuildValue((char *)"");
32911 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32912 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32917 static PyObject
*_wrap_ControlNameStr_get() {
32922 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32924 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32931 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32932 PyObject
*resultobj
;
32933 wxWindow
*arg1
= (wxWindow
*) 0 ;
32934 int arg2
= (int) -1 ;
32935 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32936 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32937 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32938 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32939 long arg5
= (long) 0 ;
32940 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32941 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32942 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32943 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32947 bool temp7
= False
;
32948 PyObject
* obj0
= 0 ;
32949 PyObject
* obj1
= 0 ;
32950 PyObject
* obj2
= 0 ;
32951 PyObject
* obj3
= 0 ;
32952 PyObject
* obj4
= 0 ;
32953 PyObject
* obj5
= 0 ;
32954 PyObject
* obj6
= 0 ;
32955 char *kwnames
[] = {
32956 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32963 arg2
= (int) SWIG_AsInt(obj1
);
32964 if (PyErr_Occurred()) SWIG_fail
;
32969 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32975 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32979 arg5
= (long) SWIG_AsLong(obj4
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32983 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32986 if (arg6
== NULL
) {
32987 PyErr_SetString(PyExc_TypeError
,"null reference");
32993 arg7
= wxString_in_helper(obj6
);
32994 if (arg7
== NULL
) SWIG_fail
;
32999 if (!wxPyCheckForApp()) SWIG_fail
;
33000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33001 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33003 wxPyEndAllowThreads(__tstate
);
33004 if (PyErr_Occurred()) SWIG_fail
;
33006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33021 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33022 PyObject
*resultobj
;
33024 char *kwnames
[] = {
33028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33030 if (!wxPyCheckForApp()) SWIG_fail
;
33031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33032 result
= (wxControl
*)new wxControl();
33034 wxPyEndAllowThreads(__tstate
);
33035 if (PyErr_Occurred()) SWIG_fail
;
33037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33044 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33045 PyObject
*resultobj
;
33046 wxControl
*arg1
= (wxControl
*) 0 ;
33047 wxWindow
*arg2
= (wxWindow
*) 0 ;
33048 int arg3
= (int) -1 ;
33049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33053 long arg6
= (long) 0 ;
33054 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33055 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33056 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33057 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33061 bool temp8
= False
;
33062 PyObject
* obj0
= 0 ;
33063 PyObject
* obj1
= 0 ;
33064 PyObject
* obj2
= 0 ;
33065 PyObject
* obj3
= 0 ;
33066 PyObject
* obj4
= 0 ;
33067 PyObject
* obj5
= 0 ;
33068 PyObject
* obj6
= 0 ;
33069 PyObject
* obj7
= 0 ;
33070 char *kwnames
[] = {
33071 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33080 arg3
= (int) SWIG_AsInt(obj2
);
33081 if (PyErr_Occurred()) SWIG_fail
;
33086 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33092 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33096 arg6
= (long) SWIG_AsLong(obj5
);
33097 if (PyErr_Occurred()) SWIG_fail
;
33100 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33103 if (arg7
== NULL
) {
33104 PyErr_SetString(PyExc_TypeError
,"null reference");
33110 arg8
= wxString_in_helper(obj7
);
33111 if (arg8
== NULL
) SWIG_fail
;
33116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33117 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33119 wxPyEndAllowThreads(__tstate
);
33120 if (PyErr_Occurred()) SWIG_fail
;
33123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33139 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33140 PyObject
*resultobj
;
33141 wxControl
*arg1
= (wxControl
*) 0 ;
33142 wxCommandEvent
*arg2
= 0 ;
33143 PyObject
* obj0
= 0 ;
33144 PyObject
* obj1
= 0 ;
33145 char *kwnames
[] = {
33146 (char *) "self",(char *) "event", NULL
33149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33155 if (arg2
== NULL
) {
33156 PyErr_SetString(PyExc_TypeError
,"null reference");
33160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33161 (arg1
)->Command(*arg2
);
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33166 Py_INCREF(Py_None
); resultobj
= Py_None
;
33173 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33174 PyObject
*resultobj
;
33175 wxControl
*arg1
= (wxControl
*) 0 ;
33177 PyObject
* obj0
= 0 ;
33178 char *kwnames
[] = {
33179 (char *) "self", NULL
33182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33187 result
= (arg1
)->GetLabel();
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33205 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33206 PyObject
*resultobj
;
33207 wxControl
*arg1
= (wxControl
*) 0 ;
33208 wxString
*arg2
= 0 ;
33209 bool temp2
= False
;
33210 PyObject
* obj0
= 0 ;
33211 PyObject
* obj1
= 0 ;
33212 char *kwnames
[] = {
33213 (char *) "self",(char *) "label", NULL
33216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33220 arg2
= wxString_in_helper(obj1
);
33221 if (arg2
== NULL
) SWIG_fail
;
33225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33226 (arg1
)->SetLabel((wxString
const &)*arg2
);
33228 wxPyEndAllowThreads(__tstate
);
33229 if (PyErr_Occurred()) SWIG_fail
;
33231 Py_INCREF(Py_None
); resultobj
= Py_None
;
33246 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33247 PyObject
*resultobj
;
33248 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33249 wxVisualAttributes result
;
33250 PyObject
* obj0
= 0 ;
33251 char *kwnames
[] = {
33252 (char *) "variant", NULL
33255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33257 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33258 if (PyErr_Occurred()) SWIG_fail
;
33261 if (!wxPyCheckForApp()) SWIG_fail
;
33262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33263 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33265 wxPyEndAllowThreads(__tstate
);
33266 if (PyErr_Occurred()) SWIG_fail
;
33269 wxVisualAttributes
* resultptr
;
33270 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33279 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33282 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33284 return Py_BuildValue((char *)"");
33286 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33287 PyObject
*resultobj
;
33288 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33289 wxString
*arg2
= 0 ;
33290 PyObject
*arg3
= (PyObject
*) NULL
;
33292 bool temp2
= False
;
33293 PyObject
* obj0
= 0 ;
33294 PyObject
* obj1
= 0 ;
33295 PyObject
* obj2
= 0 ;
33296 char *kwnames
[] = {
33297 (char *) "self",(char *) "item",(char *) "clientData", NULL
33300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33304 arg2
= wxString_in_helper(obj1
);
33305 if (arg2
== NULL
) SWIG_fail
;
33312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33313 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33315 wxPyEndAllowThreads(__tstate
);
33316 if (PyErr_Occurred()) SWIG_fail
;
33318 resultobj
= SWIG_FromInt((int)result
);
33333 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33334 PyObject
*resultobj
;
33335 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33336 wxArrayString
*arg2
= 0 ;
33337 bool temp2
= False
;
33338 PyObject
* obj0
= 0 ;
33339 PyObject
* obj1
= 0 ;
33340 char *kwnames
[] = {
33341 (char *) "self",(char *) "strings", NULL
33344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33348 if (! PySequence_Check(obj1
)) {
33349 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33352 arg2
= new wxArrayString
;
33354 int i
, len
=PySequence_Length(obj1
);
33355 for (i
=0; i
<len
; i
++) {
33356 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33358 PyObject
* str
= PyObject_Unicode(item
);
33360 PyObject
* str
= PyObject_Str(item
);
33362 if (PyErr_Occurred()) SWIG_fail
;
33363 arg2
->Add(Py2wxString(str
));
33369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33370 (arg1
)->Append((wxArrayString
const &)*arg2
);
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 Py_INCREF(Py_None
); resultobj
= Py_None
;
33377 if (temp2
) delete arg2
;
33382 if (temp2
) delete arg2
;
33388 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33389 PyObject
*resultobj
;
33390 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33391 wxString
*arg2
= 0 ;
33393 PyObject
*arg4
= (PyObject
*) NULL
;
33395 bool temp2
= False
;
33396 PyObject
* obj0
= 0 ;
33397 PyObject
* obj1
= 0 ;
33398 PyObject
* obj2
= 0 ;
33399 PyObject
* obj3
= 0 ;
33400 char *kwnames
[] = {
33401 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33408 arg2
= wxString_in_helper(obj1
);
33409 if (arg2
== NULL
) SWIG_fail
;
33412 arg3
= (int) SWIG_AsInt(obj2
);
33413 if (PyErr_Occurred()) SWIG_fail
;
33418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33419 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33421 wxPyEndAllowThreads(__tstate
);
33422 if (PyErr_Occurred()) SWIG_fail
;
33424 resultobj
= SWIG_FromInt((int)result
);
33439 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33440 PyObject
*resultobj
;
33441 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33442 PyObject
* obj0
= 0 ;
33443 char *kwnames
[] = {
33444 (char *) "self", NULL
33447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33454 wxPyEndAllowThreads(__tstate
);
33455 if (PyErr_Occurred()) SWIG_fail
;
33457 Py_INCREF(Py_None
); resultobj
= Py_None
;
33464 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33465 PyObject
*resultobj
;
33466 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33468 PyObject
* obj0
= 0 ;
33469 PyObject
* obj1
= 0 ;
33470 char *kwnames
[] = {
33471 (char *) "self",(char *) "n", NULL
33474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33477 arg2
= (int) SWIG_AsInt(obj1
);
33478 if (PyErr_Occurred()) SWIG_fail
;
33480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33481 (arg1
)->Delete(arg2
);
33483 wxPyEndAllowThreads(__tstate
);
33484 if (PyErr_Occurred()) SWIG_fail
;
33486 Py_INCREF(Py_None
); resultobj
= Py_None
;
33493 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33494 PyObject
*resultobj
;
33495 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33497 PyObject
* obj0
= 0 ;
33498 char *kwnames
[] = {
33499 (char *) "self", NULL
33502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33507 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33509 wxPyEndAllowThreads(__tstate
);
33510 if (PyErr_Occurred()) SWIG_fail
;
33512 resultobj
= SWIG_FromInt((int)result
);
33519 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33520 PyObject
*resultobj
;
33521 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33523 PyObject
* obj0
= 0 ;
33524 char *kwnames
[] = {
33525 (char *) "self", NULL
33528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33533 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33535 wxPyEndAllowThreads(__tstate
);
33536 if (PyErr_Occurred()) SWIG_fail
;
33539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33547 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33548 PyObject
*resultobj
;
33549 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33552 PyObject
* obj0
= 0 ;
33553 PyObject
* obj1
= 0 ;
33554 char *kwnames
[] = {
33555 (char *) "self",(char *) "n", NULL
33558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33561 arg2
= (int) SWIG_AsInt(obj1
);
33562 if (PyErr_Occurred()) SWIG_fail
;
33564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33565 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33567 wxPyEndAllowThreads(__tstate
);
33568 if (PyErr_Occurred()) SWIG_fail
;
33572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33583 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33584 PyObject
*resultobj
;
33585 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33586 wxArrayString result
;
33587 PyObject
* obj0
= 0 ;
33588 char *kwnames
[] = {
33589 (char *) "self", NULL
33592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33597 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33599 wxPyEndAllowThreads(__tstate
);
33600 if (PyErr_Occurred()) SWIG_fail
;
33603 resultobj
= wxArrayString2PyList_helper(result
);
33611 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33612 PyObject
*resultobj
;
33613 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33615 wxString
*arg3
= 0 ;
33616 bool temp3
= False
;
33617 PyObject
* obj0
= 0 ;
33618 PyObject
* obj1
= 0 ;
33619 PyObject
* obj2
= 0 ;
33620 char *kwnames
[] = {
33621 (char *) "self",(char *) "n",(char *) "s", NULL
33624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33627 arg2
= (int) SWIG_AsInt(obj1
);
33628 if (PyErr_Occurred()) SWIG_fail
;
33630 arg3
= wxString_in_helper(obj2
);
33631 if (arg3
== NULL
) SWIG_fail
;
33635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33636 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33638 wxPyEndAllowThreads(__tstate
);
33639 if (PyErr_Occurred()) SWIG_fail
;
33641 Py_INCREF(Py_None
); resultobj
= Py_None
;
33656 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33657 PyObject
*resultobj
;
33658 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33659 wxString
*arg2
= 0 ;
33661 bool temp2
= False
;
33662 PyObject
* obj0
= 0 ;
33663 PyObject
* obj1
= 0 ;
33664 char *kwnames
[] = {
33665 (char *) "self",(char *) "s", NULL
33668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33672 arg2
= wxString_in_helper(obj1
);
33673 if (arg2
== NULL
) SWIG_fail
;
33677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33678 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33680 wxPyEndAllowThreads(__tstate
);
33681 if (PyErr_Occurred()) SWIG_fail
;
33683 resultobj
= SWIG_FromInt((int)result
);
33698 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33699 PyObject
*resultobj
;
33700 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33702 PyObject
* obj0
= 0 ;
33703 PyObject
* obj1
= 0 ;
33704 char *kwnames
[] = {
33705 (char *) "self",(char *) "n", NULL
33708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33711 arg2
= (int) SWIG_AsInt(obj1
);
33712 if (PyErr_Occurred()) SWIG_fail
;
33714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33715 (arg1
)->Select(arg2
);
33717 wxPyEndAllowThreads(__tstate
);
33718 if (PyErr_Occurred()) SWIG_fail
;
33720 Py_INCREF(Py_None
); resultobj
= Py_None
;
33727 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33728 PyObject
*resultobj
;
33729 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33731 PyObject
* obj0
= 0 ;
33732 char *kwnames
[] = {
33733 (char *) "self", NULL
33736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33741 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33743 wxPyEndAllowThreads(__tstate
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33746 resultobj
= SWIG_FromInt((int)result
);
33753 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33754 PyObject
*resultobj
;
33755 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33757 PyObject
* obj0
= 0 ;
33758 char *kwnames
[] = {
33759 (char *) "self", NULL
33762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33767 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33769 wxPyEndAllowThreads(__tstate
);
33770 if (PyErr_Occurred()) SWIG_fail
;
33774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33785 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33786 PyObject
*resultobj
;
33787 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33790 PyObject
* obj0
= 0 ;
33791 PyObject
* obj1
= 0 ;
33792 char *kwnames
[] = {
33793 (char *) "self",(char *) "n", NULL
33796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33799 arg2
= (int) SWIG_AsInt(obj1
);
33800 if (PyErr_Occurred()) SWIG_fail
;
33802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33803 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33805 wxPyEndAllowThreads(__tstate
);
33806 if (PyErr_Occurred()) SWIG_fail
;
33808 resultobj
= result
;
33815 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33816 PyObject
*resultobj
;
33817 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33819 PyObject
*arg3
= (PyObject
*) 0 ;
33820 PyObject
* obj0
= 0 ;
33821 PyObject
* obj1
= 0 ;
33822 PyObject
* obj2
= 0 ;
33823 char *kwnames
[] = {
33824 (char *) "self",(char *) "n",(char *) "clientData", NULL
33827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33830 arg2
= (int) SWIG_AsInt(obj1
);
33831 if (PyErr_Occurred()) SWIG_fail
;
33834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33835 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33837 wxPyEndAllowThreads(__tstate
);
33838 if (PyErr_Occurred()) SWIG_fail
;
33840 Py_INCREF(Py_None
); resultobj
= Py_None
;
33847 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33850 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33852 return Py_BuildValue((char *)"");
33854 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33857 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33859 return Py_BuildValue((char *)"");
33861 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33862 PyObject
*resultobj
;
33863 wxSizerItem
*result
;
33864 char *kwnames
[] = {
33868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33871 result
= (wxSizerItem
*)new wxSizerItem();
33873 wxPyEndAllowThreads(__tstate
);
33874 if (PyErr_Occurred()) SWIG_fail
;
33876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33883 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33884 PyObject
*resultobj
;
33885 wxWindow
*arg1
= (wxWindow
*) 0 ;
33889 PyObject
*arg5
= (PyObject
*) NULL
;
33890 wxSizerItem
*result
;
33891 PyObject
* obj0
= 0 ;
33892 PyObject
* obj1
= 0 ;
33893 PyObject
* obj2
= 0 ;
33894 PyObject
* obj3
= 0 ;
33895 PyObject
* obj4
= 0 ;
33896 char *kwnames
[] = {
33897 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33903 arg2
= (int) SWIG_AsInt(obj1
);
33904 if (PyErr_Occurred()) SWIG_fail
;
33905 arg3
= (int) SWIG_AsInt(obj2
);
33906 if (PyErr_Occurred()) SWIG_fail
;
33907 arg4
= (int) SWIG_AsInt(obj3
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33914 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33916 wxPyEndAllowThreads(__tstate
);
33917 if (PyErr_Occurred()) SWIG_fail
;
33919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33926 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33927 PyObject
*resultobj
;
33933 PyObject
*arg6
= (PyObject
*) NULL
;
33934 wxSizerItem
*result
;
33935 PyObject
* obj0
= 0 ;
33936 PyObject
* obj1
= 0 ;
33937 PyObject
* obj2
= 0 ;
33938 PyObject
* obj3
= 0 ;
33939 PyObject
* obj4
= 0 ;
33940 PyObject
* obj5
= 0 ;
33941 char *kwnames
[] = {
33942 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33946 arg1
= (int) SWIG_AsInt(obj0
);
33947 if (PyErr_Occurred()) SWIG_fail
;
33948 arg2
= (int) SWIG_AsInt(obj1
);
33949 if (PyErr_Occurred()) SWIG_fail
;
33950 arg3
= (int) SWIG_AsInt(obj2
);
33951 if (PyErr_Occurred()) SWIG_fail
;
33952 arg4
= (int) SWIG_AsInt(obj3
);
33953 if (PyErr_Occurred()) SWIG_fail
;
33954 arg5
= (int) SWIG_AsInt(obj4
);
33955 if (PyErr_Occurred()) SWIG_fail
;
33960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33961 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33963 wxPyEndAllowThreads(__tstate
);
33964 if (PyErr_Occurred()) SWIG_fail
;
33966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33973 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33974 PyObject
*resultobj
;
33975 wxSizer
*arg1
= (wxSizer
*) 0 ;
33979 PyObject
*arg5
= (PyObject
*) NULL
;
33980 wxSizerItem
*result
;
33981 PyObject
* obj0
= 0 ;
33982 PyObject
* obj1
= 0 ;
33983 PyObject
* obj2
= 0 ;
33984 PyObject
* obj3
= 0 ;
33985 PyObject
* obj4
= 0 ;
33986 char *kwnames
[] = {
33987 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33993 arg2
= (int) SWIG_AsInt(obj1
);
33994 if (PyErr_Occurred()) SWIG_fail
;
33995 arg3
= (int) SWIG_AsInt(obj2
);
33996 if (PyErr_Occurred()) SWIG_fail
;
33997 arg4
= (int) SWIG_AsInt(obj3
);
33998 if (PyErr_Occurred()) SWIG_fail
;
34003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34004 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34006 wxPyEndAllowThreads(__tstate
);
34007 if (PyErr_Occurred()) SWIG_fail
;
34009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34016 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34017 PyObject
*resultobj
;
34018 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34019 PyObject
* obj0
= 0 ;
34020 char *kwnames
[] = {
34021 (char *) "self", NULL
34024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34029 (arg1
)->DeleteWindows();
34031 wxPyEndAllowThreads(__tstate
);
34032 if (PyErr_Occurred()) SWIG_fail
;
34034 Py_INCREF(Py_None
); resultobj
= Py_None
;
34041 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34042 PyObject
*resultobj
;
34043 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34044 PyObject
* obj0
= 0 ;
34045 char *kwnames
[] = {
34046 (char *) "self", NULL
34049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34054 (arg1
)->DetachSizer();
34056 wxPyEndAllowThreads(__tstate
);
34057 if (PyErr_Occurred()) SWIG_fail
;
34059 Py_INCREF(Py_None
); resultobj
= Py_None
;
34066 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34067 PyObject
*resultobj
;
34068 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34070 PyObject
* obj0
= 0 ;
34071 char *kwnames
[] = {
34072 (char *) "self", NULL
34075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 result
= (arg1
)->GetSize();
34082 wxPyEndAllowThreads(__tstate
);
34083 if (PyErr_Occurred()) SWIG_fail
;
34086 wxSize
* resultptr
;
34087 resultptr
= new wxSize((wxSize
&) result
);
34088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34096 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34097 PyObject
*resultobj
;
34098 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34100 PyObject
* obj0
= 0 ;
34101 char *kwnames
[] = {
34102 (char *) "self", NULL
34105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34110 result
= (arg1
)->CalcMin();
34112 wxPyEndAllowThreads(__tstate
);
34113 if (PyErr_Occurred()) SWIG_fail
;
34116 wxSize
* resultptr
;
34117 resultptr
= new wxSize((wxSize
&) result
);
34118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34126 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34127 PyObject
*resultobj
;
34128 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34133 PyObject
* obj0
= 0 ;
34134 PyObject
* obj1
= 0 ;
34135 PyObject
* obj2
= 0 ;
34136 char *kwnames
[] = {
34137 (char *) "self",(char *) "pos",(char *) "size", NULL
34140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34143 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34144 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34146 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34147 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34151 (arg1
)->SetDimension(arg2
,arg3
);
34153 wxPyEndAllowThreads(__tstate
);
34154 if (PyErr_Occurred()) SWIG_fail
;
34156 Py_INCREF(Py_None
); resultobj
= Py_None
;
34163 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34164 PyObject
*resultobj
;
34165 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34167 PyObject
* obj0
= 0 ;
34168 char *kwnames
[] = {
34169 (char *) "self", NULL
34172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34177 result
= (arg1
)->GetMinSize();
34179 wxPyEndAllowThreads(__tstate
);
34180 if (PyErr_Occurred()) SWIG_fail
;
34183 wxSize
* resultptr
;
34184 resultptr
= new wxSize((wxSize
&) result
);
34185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34193 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34194 PyObject
*resultobj
;
34195 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34197 PyObject
* obj0
= 0 ;
34198 char *kwnames
[] = {
34199 (char *) "self", NULL
34202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34207 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34209 wxPyEndAllowThreads(__tstate
);
34210 if (PyErr_Occurred()) SWIG_fail
;
34213 wxSize
* resultptr
;
34214 resultptr
= new wxSize((wxSize
&) result
);
34215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34223 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34224 PyObject
*resultobj
;
34225 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34228 PyObject
* obj0
= 0 ;
34229 PyObject
* obj1
= 0 ;
34230 PyObject
* obj2
= 0 ;
34231 char *kwnames
[] = {
34232 (char *) "self",(char *) "x",(char *) "y", NULL
34235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34238 arg2
= (int) SWIG_AsInt(obj1
);
34239 if (PyErr_Occurred()) SWIG_fail
;
34240 arg3
= (int) SWIG_AsInt(obj2
);
34241 if (PyErr_Occurred()) SWIG_fail
;
34243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34244 (arg1
)->SetInitSize(arg2
,arg3
);
34246 wxPyEndAllowThreads(__tstate
);
34247 if (PyErr_Occurred()) SWIG_fail
;
34249 Py_INCREF(Py_None
); resultobj
= Py_None
;
34256 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34257 PyObject
*resultobj
;
34258 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34261 PyObject
* obj0
= 0 ;
34262 PyObject
* obj1
= 0 ;
34263 PyObject
* obj2
= 0 ;
34264 char *kwnames
[] = {
34265 (char *) "self",(char *) "width",(char *) "height", NULL
34268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34271 arg2
= (int) SWIG_AsInt(obj1
);
34272 if (PyErr_Occurred()) SWIG_fail
;
34273 arg3
= (int) SWIG_AsInt(obj2
);
34274 if (PyErr_Occurred()) SWIG_fail
;
34276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34277 (arg1
)->SetRatio(arg2
,arg3
);
34279 wxPyEndAllowThreads(__tstate
);
34280 if (PyErr_Occurred()) SWIG_fail
;
34282 Py_INCREF(Py_None
); resultobj
= Py_None
;
34289 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34290 PyObject
*resultobj
;
34291 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34294 PyObject
* obj0
= 0 ;
34295 PyObject
* obj1
= 0 ;
34296 char *kwnames
[] = {
34297 (char *) "self",(char *) "size", NULL
34300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34303 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34304 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34308 (arg1
)->SetRatio(arg2
);
34310 wxPyEndAllowThreads(__tstate
);
34311 if (PyErr_Occurred()) SWIG_fail
;
34313 Py_INCREF(Py_None
); resultobj
= Py_None
;
34320 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34321 PyObject
*resultobj
;
34322 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34324 PyObject
* obj0
= 0 ;
34325 PyObject
* obj1
= 0 ;
34326 char *kwnames
[] = {
34327 (char *) "self",(char *) "ratio", NULL
34330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34333 arg2
= (float) SWIG_AsFloat(obj1
);
34334 if (PyErr_Occurred()) SWIG_fail
;
34336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34337 (arg1
)->SetRatio(arg2
);
34339 wxPyEndAllowThreads(__tstate
);
34340 if (PyErr_Occurred()) SWIG_fail
;
34342 Py_INCREF(Py_None
); resultobj
= Py_None
;
34349 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34350 PyObject
*resultobj
;
34351 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34353 PyObject
* obj0
= 0 ;
34354 char *kwnames
[] = {
34355 (char *) "self", NULL
34358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34363 result
= (float)(arg1
)->GetRatio();
34365 wxPyEndAllowThreads(__tstate
);
34366 if (PyErr_Occurred()) SWIG_fail
;
34368 resultobj
= SWIG_FromFloat((float)result
);
34375 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34376 PyObject
*resultobj
;
34377 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34379 PyObject
* obj0
= 0 ;
34380 char *kwnames
[] = {
34381 (char *) "self", NULL
34384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34389 result
= (bool)(arg1
)->IsWindow();
34391 wxPyEndAllowThreads(__tstate
);
34392 if (PyErr_Occurred()) SWIG_fail
;
34395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34403 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34404 PyObject
*resultobj
;
34405 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34407 PyObject
* obj0
= 0 ;
34408 char *kwnames
[] = {
34409 (char *) "self", NULL
34412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34417 result
= (bool)(arg1
)->IsSizer();
34419 wxPyEndAllowThreads(__tstate
);
34420 if (PyErr_Occurred()) SWIG_fail
;
34423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34431 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34432 PyObject
*resultobj
;
34433 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34435 PyObject
* obj0
= 0 ;
34436 char *kwnames
[] = {
34437 (char *) "self", NULL
34440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34445 result
= (bool)(arg1
)->IsSpacer();
34447 wxPyEndAllowThreads(__tstate
);
34448 if (PyErr_Occurred()) SWIG_fail
;
34451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34459 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34460 PyObject
*resultobj
;
34461 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34463 PyObject
* obj0
= 0 ;
34464 PyObject
* obj1
= 0 ;
34465 char *kwnames
[] = {
34466 (char *) "self",(char *) "proportion", NULL
34469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34472 arg2
= (int) SWIG_AsInt(obj1
);
34473 if (PyErr_Occurred()) SWIG_fail
;
34475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34476 (arg1
)->SetProportion(arg2
);
34478 wxPyEndAllowThreads(__tstate
);
34479 if (PyErr_Occurred()) SWIG_fail
;
34481 Py_INCREF(Py_None
); resultobj
= Py_None
;
34488 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34489 PyObject
*resultobj
;
34490 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34492 PyObject
* obj0
= 0 ;
34493 char *kwnames
[] = {
34494 (char *) "self", NULL
34497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34502 result
= (int)(arg1
)->GetProportion();
34504 wxPyEndAllowThreads(__tstate
);
34505 if (PyErr_Occurred()) SWIG_fail
;
34507 resultobj
= SWIG_FromInt((int)result
);
34514 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34515 PyObject
*resultobj
;
34516 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34518 PyObject
* obj0
= 0 ;
34519 PyObject
* obj1
= 0 ;
34520 char *kwnames
[] = {
34521 (char *) "self",(char *) "flag", NULL
34524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34527 arg2
= (int) SWIG_AsInt(obj1
);
34528 if (PyErr_Occurred()) SWIG_fail
;
34530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34531 (arg1
)->SetFlag(arg2
);
34533 wxPyEndAllowThreads(__tstate
);
34534 if (PyErr_Occurred()) SWIG_fail
;
34536 Py_INCREF(Py_None
); resultobj
= Py_None
;
34543 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34544 PyObject
*resultobj
;
34545 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34547 PyObject
* obj0
= 0 ;
34548 char *kwnames
[] = {
34549 (char *) "self", NULL
34552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34557 result
= (int)(arg1
)->GetFlag();
34559 wxPyEndAllowThreads(__tstate
);
34560 if (PyErr_Occurred()) SWIG_fail
;
34562 resultobj
= SWIG_FromInt((int)result
);
34569 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34570 PyObject
*resultobj
;
34571 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34573 PyObject
* obj0
= 0 ;
34574 PyObject
* obj1
= 0 ;
34575 char *kwnames
[] = {
34576 (char *) "self",(char *) "border", NULL
34579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34582 arg2
= (int) SWIG_AsInt(obj1
);
34583 if (PyErr_Occurred()) SWIG_fail
;
34585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34586 (arg1
)->SetBorder(arg2
);
34588 wxPyEndAllowThreads(__tstate
);
34589 if (PyErr_Occurred()) SWIG_fail
;
34591 Py_INCREF(Py_None
); resultobj
= Py_None
;
34598 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34599 PyObject
*resultobj
;
34600 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34602 PyObject
* obj0
= 0 ;
34603 char *kwnames
[] = {
34604 (char *) "self", NULL
34607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34612 result
= (int)(arg1
)->GetBorder();
34614 wxPyEndAllowThreads(__tstate
);
34615 if (PyErr_Occurred()) SWIG_fail
;
34617 resultobj
= SWIG_FromInt((int)result
);
34624 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34625 PyObject
*resultobj
;
34626 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34628 PyObject
* obj0
= 0 ;
34629 char *kwnames
[] = {
34630 (char *) "self", NULL
34633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34638 result
= (wxWindow
*)(arg1
)->GetWindow();
34640 wxPyEndAllowThreads(__tstate
);
34641 if (PyErr_Occurred()) SWIG_fail
;
34644 resultobj
= wxPyMake_wxObject(result
, 0);
34652 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34653 PyObject
*resultobj
;
34654 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34655 wxWindow
*arg2
= (wxWindow
*) 0 ;
34656 PyObject
* obj0
= 0 ;
34657 PyObject
* obj1
= 0 ;
34658 char *kwnames
[] = {
34659 (char *) "self",(char *) "window", NULL
34662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34669 (arg1
)->SetWindow(arg2
);
34671 wxPyEndAllowThreads(__tstate
);
34672 if (PyErr_Occurred()) SWIG_fail
;
34674 Py_INCREF(Py_None
); resultobj
= Py_None
;
34681 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34682 PyObject
*resultobj
;
34683 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34685 PyObject
* obj0
= 0 ;
34686 char *kwnames
[] = {
34687 (char *) "self", NULL
34690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34695 result
= (wxSizer
*)(arg1
)->GetSizer();
34697 wxPyEndAllowThreads(__tstate
);
34698 if (PyErr_Occurred()) SWIG_fail
;
34701 resultobj
= wxPyMake_wxSizer(result
, 0);
34709 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34710 PyObject
*resultobj
;
34711 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34712 wxSizer
*arg2
= (wxSizer
*) 0 ;
34713 PyObject
* obj0
= 0 ;
34714 PyObject
* obj1
= 0 ;
34715 char *kwnames
[] = {
34716 (char *) "self",(char *) "sizer", NULL
34719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34726 (arg1
)->SetSizer(arg2
);
34728 wxPyEndAllowThreads(__tstate
);
34729 if (PyErr_Occurred()) SWIG_fail
;
34731 Py_INCREF(Py_None
); resultobj
= Py_None
;
34738 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34739 PyObject
*resultobj
;
34740 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34742 PyObject
* obj0
= 0 ;
34743 char *kwnames
[] = {
34744 (char *) "self", NULL
34747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34753 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34754 result
= (wxSize
*) &_result_ref
;
34757 wxPyEndAllowThreads(__tstate
);
34758 if (PyErr_Occurred()) SWIG_fail
;
34760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34767 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34768 PyObject
*resultobj
;
34769 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34772 PyObject
* obj0
= 0 ;
34773 PyObject
* obj1
= 0 ;
34774 char *kwnames
[] = {
34775 (char *) "self",(char *) "size", NULL
34778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34783 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34787 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34789 wxPyEndAllowThreads(__tstate
);
34790 if (PyErr_Occurred()) SWIG_fail
;
34792 Py_INCREF(Py_None
); resultobj
= Py_None
;
34799 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34800 PyObject
*resultobj
;
34801 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34803 PyObject
* obj0
= 0 ;
34804 PyObject
* obj1
= 0 ;
34805 char *kwnames
[] = {
34806 (char *) "self",(char *) "show", NULL
34809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34812 arg2
= (bool) SWIG_AsBool(obj1
);
34813 if (PyErr_Occurred()) SWIG_fail
;
34815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34816 (arg1
)->Show(arg2
);
34818 wxPyEndAllowThreads(__tstate
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34821 Py_INCREF(Py_None
); resultobj
= Py_None
;
34828 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34829 PyObject
*resultobj
;
34830 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34832 PyObject
* obj0
= 0 ;
34833 char *kwnames
[] = {
34834 (char *) "self", NULL
34837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 result
= (bool)(arg1
)->IsShown();
34844 wxPyEndAllowThreads(__tstate
);
34845 if (PyErr_Occurred()) SWIG_fail
;
34848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34856 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34857 PyObject
*resultobj
;
34858 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34860 PyObject
* obj0
= 0 ;
34861 char *kwnames
[] = {
34862 (char *) "self", NULL
34865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34870 result
= (arg1
)->GetPosition();
34872 wxPyEndAllowThreads(__tstate
);
34873 if (PyErr_Occurred()) SWIG_fail
;
34876 wxPoint
* resultptr
;
34877 resultptr
= new wxPoint((wxPoint
&) result
);
34878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34886 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34887 PyObject
*resultobj
;
34888 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34890 PyObject
* obj0
= 0 ;
34891 char *kwnames
[] = {
34892 (char *) "self", NULL
34895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34900 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34902 wxPyEndAllowThreads(__tstate
);
34903 if (PyErr_Occurred()) SWIG_fail
;
34905 resultobj
= result
;
34912 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34915 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34917 return Py_BuildValue((char *)"");
34919 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34920 PyObject
*resultobj
;
34921 wxSizer
*arg1
= (wxSizer
*) 0 ;
34922 PyObject
*arg2
= (PyObject
*) 0 ;
34923 PyObject
* obj0
= 0 ;
34924 PyObject
* obj1
= 0 ;
34925 char *kwnames
[] = {
34926 (char *) "self",(char *) "_self", NULL
34929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34935 wxSizer__setOORInfo(arg1
,arg2
);
34937 wxPyEndAllowThreads(__tstate
);
34938 if (PyErr_Occurred()) SWIG_fail
;
34940 Py_INCREF(Py_None
); resultobj
= Py_None
;
34947 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34948 PyObject
*resultobj
;
34949 wxSizer
*arg1
= (wxSizer
*) 0 ;
34950 PyObject
*arg2
= (PyObject
*) 0 ;
34951 int arg3
= (int) 0 ;
34952 int arg4
= (int) 0 ;
34953 int arg5
= (int) 0 ;
34954 PyObject
*arg6
= (PyObject
*) NULL
;
34955 PyObject
* obj0
= 0 ;
34956 PyObject
* obj1
= 0 ;
34957 PyObject
* obj2
= 0 ;
34958 PyObject
* obj3
= 0 ;
34959 PyObject
* obj4
= 0 ;
34960 PyObject
* obj5
= 0 ;
34961 char *kwnames
[] = {
34962 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34970 arg3
= (int) SWIG_AsInt(obj2
);
34971 if (PyErr_Occurred()) SWIG_fail
;
34974 arg4
= (int) SWIG_AsInt(obj3
);
34975 if (PyErr_Occurred()) SWIG_fail
;
34978 arg5
= (int) SWIG_AsInt(obj4
);
34979 if (PyErr_Occurred()) SWIG_fail
;
34985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34986 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34988 wxPyEndAllowThreads(__tstate
);
34989 if (PyErr_Occurred()) SWIG_fail
;
34991 Py_INCREF(Py_None
); resultobj
= Py_None
;
34998 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34999 PyObject
*resultobj
;
35000 wxSizer
*arg1
= (wxSizer
*) 0 ;
35002 PyObject
*arg3
= (PyObject
*) 0 ;
35003 int arg4
= (int) 0 ;
35004 int arg5
= (int) 0 ;
35005 int arg6
= (int) 0 ;
35006 PyObject
*arg7
= (PyObject
*) NULL
;
35007 PyObject
* obj0
= 0 ;
35008 PyObject
* obj1
= 0 ;
35009 PyObject
* obj2
= 0 ;
35010 PyObject
* obj3
= 0 ;
35011 PyObject
* obj4
= 0 ;
35012 PyObject
* obj5
= 0 ;
35013 PyObject
* obj6
= 0 ;
35014 char *kwnames
[] = {
35015 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35021 arg2
= (int) SWIG_AsInt(obj1
);
35022 if (PyErr_Occurred()) SWIG_fail
;
35025 arg4
= (int) SWIG_AsInt(obj3
);
35026 if (PyErr_Occurred()) SWIG_fail
;
35029 arg5
= (int) SWIG_AsInt(obj4
);
35030 if (PyErr_Occurred()) SWIG_fail
;
35033 arg6
= (int) SWIG_AsInt(obj5
);
35034 if (PyErr_Occurred()) SWIG_fail
;
35040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35041 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35043 wxPyEndAllowThreads(__tstate
);
35044 if (PyErr_Occurred()) SWIG_fail
;
35046 Py_INCREF(Py_None
); resultobj
= Py_None
;
35053 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35054 PyObject
*resultobj
;
35055 wxSizer
*arg1
= (wxSizer
*) 0 ;
35056 PyObject
*arg2
= (PyObject
*) 0 ;
35057 int arg3
= (int) 0 ;
35058 int arg4
= (int) 0 ;
35059 int arg5
= (int) 0 ;
35060 PyObject
*arg6
= (PyObject
*) NULL
;
35061 PyObject
* obj0
= 0 ;
35062 PyObject
* obj1
= 0 ;
35063 PyObject
* obj2
= 0 ;
35064 PyObject
* obj3
= 0 ;
35065 PyObject
* obj4
= 0 ;
35066 PyObject
* obj5
= 0 ;
35067 char *kwnames
[] = {
35068 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35076 arg3
= (int) SWIG_AsInt(obj2
);
35077 if (PyErr_Occurred()) SWIG_fail
;
35080 arg4
= (int) SWIG_AsInt(obj3
);
35081 if (PyErr_Occurred()) SWIG_fail
;
35084 arg5
= (int) SWIG_AsInt(obj4
);
35085 if (PyErr_Occurred()) SWIG_fail
;
35091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35092 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35094 wxPyEndAllowThreads(__tstate
);
35095 if (PyErr_Occurred()) SWIG_fail
;
35097 Py_INCREF(Py_None
); resultobj
= Py_None
;
35104 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35105 PyObject
*resultobj
;
35106 wxSizer
*arg1
= (wxSizer
*) 0 ;
35107 PyObject
*arg2
= (PyObject
*) 0 ;
35109 PyObject
* obj0
= 0 ;
35110 PyObject
* obj1
= 0 ;
35111 char *kwnames
[] = {
35112 (char *) "self",(char *) "item", NULL
35115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35121 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35123 wxPyEndAllowThreads(__tstate
);
35124 if (PyErr_Occurred()) SWIG_fail
;
35127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35135 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35136 PyObject
*resultobj
;
35137 wxSizer
*arg1
= (wxSizer
*) 0 ;
35138 PyObject
*arg2
= (PyObject
*) 0 ;
35140 PyObject
* obj0
= 0 ;
35141 PyObject
* obj1
= 0 ;
35142 char *kwnames
[] = {
35143 (char *) "self",(char *) "item", NULL
35146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35152 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35154 wxPyEndAllowThreads(__tstate
);
35155 if (PyErr_Occurred()) SWIG_fail
;
35158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35166 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35167 PyObject
*resultobj
;
35168 wxSizer
*arg1
= (wxSizer
*) 0 ;
35169 PyObject
*arg2
= (PyObject
*) 0 ;
35172 PyObject
* obj0
= 0 ;
35173 PyObject
* obj1
= 0 ;
35174 PyObject
* obj2
= 0 ;
35175 char *kwnames
[] = {
35176 (char *) "self",(char *) "item",(char *) "size", NULL
35179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35185 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35189 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35191 wxPyEndAllowThreads(__tstate
);
35192 if (PyErr_Occurred()) SWIG_fail
;
35194 Py_INCREF(Py_None
); resultobj
= Py_None
;
35201 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35202 PyObject
*resultobj
;
35203 wxSizer
*arg1
= (wxSizer
*) 0 ;
35204 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35205 PyObject
* obj0
= 0 ;
35206 PyObject
* obj1
= 0 ;
35207 char *kwnames
[] = {
35208 (char *) "self",(char *) "item", NULL
35211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35220 wxPyEndAllowThreads(__tstate
);
35221 if (PyErr_Occurred()) SWIG_fail
;
35223 Py_INCREF(Py_None
); resultobj
= Py_None
;
35230 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35231 PyObject
*resultobj
;
35232 wxSizer
*arg1
= (wxSizer
*) 0 ;
35234 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35235 PyObject
* obj0
= 0 ;
35236 PyObject
* obj1
= 0 ;
35237 PyObject
* obj2
= 0 ;
35238 char *kwnames
[] = {
35239 (char *) "self",(char *) "index",(char *) "item", NULL
35242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35245 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35246 if (PyErr_Occurred()) SWIG_fail
;
35247 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35251 (arg1
)->Insert(arg2
,arg3
);
35253 wxPyEndAllowThreads(__tstate
);
35254 if (PyErr_Occurred()) SWIG_fail
;
35256 Py_INCREF(Py_None
); resultobj
= Py_None
;
35263 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35264 PyObject
*resultobj
;
35265 wxSizer
*arg1
= (wxSizer
*) 0 ;
35266 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35267 PyObject
* obj0
= 0 ;
35268 PyObject
* obj1
= 0 ;
35269 char *kwnames
[] = {
35270 (char *) "self",(char *) "item", NULL
35273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35280 (arg1
)->Prepend(arg2
);
35282 wxPyEndAllowThreads(__tstate
);
35283 if (PyErr_Occurred()) SWIG_fail
;
35285 Py_INCREF(Py_None
); resultobj
= Py_None
;
35292 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35293 PyObject
*resultobj
;
35294 wxSizer
*arg1
= (wxSizer
*) 0 ;
35299 PyObject
* obj0
= 0 ;
35300 PyObject
* obj1
= 0 ;
35301 PyObject
* obj2
= 0 ;
35302 PyObject
* obj3
= 0 ;
35303 PyObject
* obj4
= 0 ;
35304 char *kwnames
[] = {
35305 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35311 arg2
= (int) SWIG_AsInt(obj1
);
35312 if (PyErr_Occurred()) SWIG_fail
;
35313 arg3
= (int) SWIG_AsInt(obj2
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35315 arg4
= (int) SWIG_AsInt(obj3
);
35316 if (PyErr_Occurred()) SWIG_fail
;
35317 arg5
= (int) SWIG_AsInt(obj4
);
35318 if (PyErr_Occurred()) SWIG_fail
;
35320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35321 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35323 wxPyEndAllowThreads(__tstate
);
35324 if (PyErr_Occurred()) SWIG_fail
;
35326 Py_INCREF(Py_None
); resultobj
= Py_None
;
35333 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35334 PyObject
*resultobj
;
35335 wxSizer
*arg1
= (wxSizer
*) 0 ;
35338 PyObject
* obj0
= 0 ;
35339 PyObject
* obj1
= 0 ;
35340 char *kwnames
[] = {
35341 (char *) "self",(char *) "size", NULL
35344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35349 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35353 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35355 wxPyEndAllowThreads(__tstate
);
35356 if (PyErr_Occurred()) SWIG_fail
;
35358 Py_INCREF(Py_None
); resultobj
= Py_None
;
35365 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35366 PyObject
*resultobj
;
35367 wxSizer
*arg1
= (wxSizer
*) 0 ;
35369 PyObject
* obj0
= 0 ;
35370 char *kwnames
[] = {
35371 (char *) "self", NULL
35374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35379 result
= (arg1
)->GetSize();
35381 wxPyEndAllowThreads(__tstate
);
35382 if (PyErr_Occurred()) SWIG_fail
;
35385 wxSize
* resultptr
;
35386 resultptr
= new wxSize((wxSize
&) result
);
35387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35395 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35396 PyObject
*resultobj
;
35397 wxSizer
*arg1
= (wxSizer
*) 0 ;
35399 PyObject
* obj0
= 0 ;
35400 char *kwnames
[] = {
35401 (char *) "self", NULL
35404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35409 result
= (arg1
)->GetPosition();
35411 wxPyEndAllowThreads(__tstate
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35415 wxPoint
* resultptr
;
35416 resultptr
= new wxPoint((wxPoint
&) result
);
35417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35425 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35426 PyObject
*resultobj
;
35427 wxSizer
*arg1
= (wxSizer
*) 0 ;
35429 PyObject
* obj0
= 0 ;
35430 char *kwnames
[] = {
35431 (char *) "self", NULL
35434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35439 result
= (arg1
)->GetMinSize();
35441 wxPyEndAllowThreads(__tstate
);
35442 if (PyErr_Occurred()) SWIG_fail
;
35445 wxSize
* resultptr
;
35446 resultptr
= new wxSize((wxSize
&) result
);
35447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35455 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35456 PyObject
*resultobj
;
35457 wxSizer
*arg1
= (wxSizer
*) 0 ;
35458 PyObject
* obj0
= 0 ;
35459 char *kwnames
[] = {
35460 (char *) "self", NULL
35463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35468 (arg1
)->RecalcSizes();
35470 wxPyEndAllowThreads(__tstate
);
35471 if (PyErr_Occurred()) SWIG_fail
;
35473 Py_INCREF(Py_None
); resultobj
= Py_None
;
35480 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35481 PyObject
*resultobj
;
35482 wxSizer
*arg1
= (wxSizer
*) 0 ;
35484 PyObject
* obj0
= 0 ;
35485 char *kwnames
[] = {
35486 (char *) "self", NULL
35489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35494 result
= (arg1
)->CalcMin();
35496 wxPyEndAllowThreads(__tstate
);
35497 if (PyErr_Occurred()) SWIG_fail
;
35500 wxSize
* resultptr
;
35501 resultptr
= new wxSize((wxSize
&) result
);
35502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35510 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35511 PyObject
*resultobj
;
35512 wxSizer
*arg1
= (wxSizer
*) 0 ;
35513 PyObject
* obj0
= 0 ;
35514 char *kwnames
[] = {
35515 (char *) "self", NULL
35518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35525 wxPyEndAllowThreads(__tstate
);
35526 if (PyErr_Occurred()) SWIG_fail
;
35528 Py_INCREF(Py_None
); resultobj
= Py_None
;
35535 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35536 PyObject
*resultobj
;
35537 wxSizer
*arg1
= (wxSizer
*) 0 ;
35538 wxWindow
*arg2
= (wxWindow
*) 0 ;
35540 PyObject
* obj0
= 0 ;
35541 PyObject
* obj1
= 0 ;
35542 char *kwnames
[] = {
35543 (char *) "self",(char *) "window", NULL
35546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35553 result
= (arg1
)->Fit(arg2
);
35555 wxPyEndAllowThreads(__tstate
);
35556 if (PyErr_Occurred()) SWIG_fail
;
35559 wxSize
* resultptr
;
35560 resultptr
= new wxSize((wxSize
&) result
);
35561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35569 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35570 PyObject
*resultobj
;
35571 wxSizer
*arg1
= (wxSizer
*) 0 ;
35572 wxWindow
*arg2
= (wxWindow
*) 0 ;
35573 PyObject
* obj0
= 0 ;
35574 PyObject
* obj1
= 0 ;
35575 char *kwnames
[] = {
35576 (char *) "self",(char *) "window", NULL
35579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35586 (arg1
)->FitInside(arg2
);
35588 wxPyEndAllowThreads(__tstate
);
35589 if (PyErr_Occurred()) SWIG_fail
;
35591 Py_INCREF(Py_None
); resultobj
= Py_None
;
35598 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35599 PyObject
*resultobj
;
35600 wxSizer
*arg1
= (wxSizer
*) 0 ;
35601 wxWindow
*arg2
= (wxWindow
*) 0 ;
35602 PyObject
* obj0
= 0 ;
35603 PyObject
* obj1
= 0 ;
35604 char *kwnames
[] = {
35605 (char *) "self",(char *) "window", NULL
35608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35615 (arg1
)->SetSizeHints(arg2
);
35617 wxPyEndAllowThreads(__tstate
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35620 Py_INCREF(Py_None
); resultobj
= Py_None
;
35627 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35628 PyObject
*resultobj
;
35629 wxSizer
*arg1
= (wxSizer
*) 0 ;
35630 wxWindow
*arg2
= (wxWindow
*) 0 ;
35631 PyObject
* obj0
= 0 ;
35632 PyObject
* obj1
= 0 ;
35633 char *kwnames
[] = {
35634 (char *) "self",(char *) "window", NULL
35637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35644 (arg1
)->SetVirtualSizeHints(arg2
);
35646 wxPyEndAllowThreads(__tstate
);
35647 if (PyErr_Occurred()) SWIG_fail
;
35649 Py_INCREF(Py_None
); resultobj
= Py_None
;
35656 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35657 PyObject
*resultobj
;
35658 wxSizer
*arg1
= (wxSizer
*) 0 ;
35659 bool arg2
= (bool) False
;
35660 PyObject
* obj0
= 0 ;
35661 PyObject
* obj1
= 0 ;
35662 char *kwnames
[] = {
35663 (char *) "self",(char *) "deleteWindows", NULL
35666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35670 arg2
= (bool) SWIG_AsBool(obj1
);
35671 if (PyErr_Occurred()) SWIG_fail
;
35674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35675 (arg1
)->Clear(arg2
);
35677 wxPyEndAllowThreads(__tstate
);
35678 if (PyErr_Occurred()) SWIG_fail
;
35680 Py_INCREF(Py_None
); resultobj
= Py_None
;
35687 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35688 PyObject
*resultobj
;
35689 wxSizer
*arg1
= (wxSizer
*) 0 ;
35690 PyObject
* obj0
= 0 ;
35691 char *kwnames
[] = {
35692 (char *) "self", NULL
35695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35700 (arg1
)->DeleteWindows();
35702 wxPyEndAllowThreads(__tstate
);
35703 if (PyErr_Occurred()) SWIG_fail
;
35705 Py_INCREF(Py_None
); resultobj
= Py_None
;
35712 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35713 PyObject
*resultobj
;
35714 wxSizer
*arg1
= (wxSizer
*) 0 ;
35716 PyObject
* obj0
= 0 ;
35717 char *kwnames
[] = {
35718 (char *) "self", NULL
35721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35726 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35728 wxPyEndAllowThreads(__tstate
);
35729 if (PyErr_Occurred()) SWIG_fail
;
35731 resultobj
= result
;
35738 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35739 PyObject
*resultobj
;
35740 wxSizer
*arg1
= (wxSizer
*) 0 ;
35741 PyObject
*arg2
= (PyObject
*) 0 ;
35742 bool arg3
= (bool) True
;
35743 PyObject
* obj0
= 0 ;
35744 PyObject
* obj1
= 0 ;
35745 PyObject
* obj2
= 0 ;
35746 char *kwnames
[] = {
35747 (char *) "self",(char *) "item",(char *) "show", NULL
35750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35755 arg3
= (bool) SWIG_AsBool(obj2
);
35756 if (PyErr_Occurred()) SWIG_fail
;
35759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35760 wxSizer_Show(arg1
,arg2
,arg3
);
35762 wxPyEndAllowThreads(__tstate
);
35763 if (PyErr_Occurred()) SWIG_fail
;
35765 Py_INCREF(Py_None
); resultobj
= Py_None
;
35772 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35773 PyObject
*resultobj
;
35774 wxSizer
*arg1
= (wxSizer
*) 0 ;
35775 PyObject
*arg2
= (PyObject
*) 0 ;
35777 PyObject
* obj0
= 0 ;
35778 PyObject
* obj1
= 0 ;
35779 char *kwnames
[] = {
35780 (char *) "self",(char *) "item", NULL
35783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35789 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35791 wxPyEndAllowThreads(__tstate
);
35792 if (PyErr_Occurred()) SWIG_fail
;
35795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35803 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35804 PyObject
*resultobj
;
35805 wxSizer
*arg1
= (wxSizer
*) 0 ;
35807 PyObject
* obj0
= 0 ;
35808 PyObject
* obj1
= 0 ;
35809 char *kwnames
[] = {
35810 (char *) "self",(char *) "show", NULL
35813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35816 arg2
= (bool) SWIG_AsBool(obj1
);
35817 if (PyErr_Occurred()) SWIG_fail
;
35819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35820 (arg1
)->ShowItems(arg2
);
35822 wxPyEndAllowThreads(__tstate
);
35823 if (PyErr_Occurred()) SWIG_fail
;
35825 Py_INCREF(Py_None
); resultobj
= Py_None
;
35832 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35835 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35837 return Py_BuildValue((char *)"");
35839 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35840 PyObject
*resultobj
;
35842 char *kwnames
[] = {
35846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35849 result
= (wxPySizer
*)new wxPySizer();
35851 wxPyEndAllowThreads(__tstate
);
35852 if (PyErr_Occurred()) SWIG_fail
;
35854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35861 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35862 PyObject
*resultobj
;
35863 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35864 PyObject
*arg2
= (PyObject
*) 0 ;
35865 PyObject
*arg3
= (PyObject
*) 0 ;
35866 PyObject
* obj0
= 0 ;
35867 PyObject
* obj1
= 0 ;
35868 PyObject
* obj2
= 0 ;
35869 char *kwnames
[] = {
35870 (char *) "self",(char *) "self",(char *) "_class", NULL
35873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35880 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35882 wxPyEndAllowThreads(__tstate
);
35883 if (PyErr_Occurred()) SWIG_fail
;
35885 Py_INCREF(Py_None
); resultobj
= Py_None
;
35892 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35895 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35897 return Py_BuildValue((char *)"");
35899 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35900 PyObject
*resultobj
;
35901 int arg1
= (int) wxHORIZONTAL
;
35902 wxBoxSizer
*result
;
35903 PyObject
* obj0
= 0 ;
35904 char *kwnames
[] = {
35905 (char *) "orient", NULL
35908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35910 arg1
= (int) SWIG_AsInt(obj0
);
35911 if (PyErr_Occurred()) SWIG_fail
;
35914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35915 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35917 wxPyEndAllowThreads(__tstate
);
35918 if (PyErr_Occurred()) SWIG_fail
;
35920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35927 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35928 PyObject
*resultobj
;
35929 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35931 PyObject
* obj0
= 0 ;
35932 char *kwnames
[] = {
35933 (char *) "self", NULL
35936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35941 result
= (int)(arg1
)->GetOrientation();
35943 wxPyEndAllowThreads(__tstate
);
35944 if (PyErr_Occurred()) SWIG_fail
;
35946 resultobj
= SWIG_FromInt((int)result
);
35953 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35954 PyObject
*resultobj
;
35955 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35957 PyObject
* obj0
= 0 ;
35958 PyObject
* obj1
= 0 ;
35959 char *kwnames
[] = {
35960 (char *) "self",(char *) "orient", NULL
35963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35966 arg2
= (int) SWIG_AsInt(obj1
);
35967 if (PyErr_Occurred()) SWIG_fail
;
35969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35970 (arg1
)->SetOrientation(arg2
);
35972 wxPyEndAllowThreads(__tstate
);
35973 if (PyErr_Occurred()) SWIG_fail
;
35975 Py_INCREF(Py_None
); resultobj
= Py_None
;
35982 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35985 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35987 return Py_BuildValue((char *)"");
35989 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35990 PyObject
*resultobj
;
35991 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35992 int arg2
= (int) wxHORIZONTAL
;
35993 wxStaticBoxSizer
*result
;
35994 PyObject
* obj0
= 0 ;
35995 PyObject
* obj1
= 0 ;
35996 char *kwnames
[] = {
35997 (char *) "box",(char *) "orient", NULL
36000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36004 arg2
= (int) SWIG_AsInt(obj1
);
36005 if (PyErr_Occurred()) SWIG_fail
;
36008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36009 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36011 wxPyEndAllowThreads(__tstate
);
36012 if (PyErr_Occurred()) SWIG_fail
;
36014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36021 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36022 PyObject
*resultobj
;
36023 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36024 wxStaticBox
*result
;
36025 PyObject
* obj0
= 0 ;
36026 char *kwnames
[] = {
36027 (char *) "self", NULL
36030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36035 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36037 wxPyEndAllowThreads(__tstate
);
36038 if (PyErr_Occurred()) SWIG_fail
;
36041 resultobj
= wxPyMake_wxObject(result
, 0);
36049 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36052 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36054 return Py_BuildValue((char *)"");
36056 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36057 PyObject
*resultobj
;
36058 int arg1
= (int) 1 ;
36059 int arg2
= (int) 0 ;
36060 int arg3
= (int) 0 ;
36061 int arg4
= (int) 0 ;
36062 wxGridSizer
*result
;
36063 PyObject
* obj0
= 0 ;
36064 PyObject
* obj1
= 0 ;
36065 PyObject
* obj2
= 0 ;
36066 PyObject
* obj3
= 0 ;
36067 char *kwnames
[] = {
36068 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36073 arg1
= (int) SWIG_AsInt(obj0
);
36074 if (PyErr_Occurred()) SWIG_fail
;
36077 arg2
= (int) SWIG_AsInt(obj1
);
36078 if (PyErr_Occurred()) SWIG_fail
;
36081 arg3
= (int) SWIG_AsInt(obj2
);
36082 if (PyErr_Occurred()) SWIG_fail
;
36085 arg4
= (int) SWIG_AsInt(obj3
);
36086 if (PyErr_Occurred()) SWIG_fail
;
36089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36090 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36092 wxPyEndAllowThreads(__tstate
);
36093 if (PyErr_Occurred()) SWIG_fail
;
36095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36102 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36103 PyObject
*resultobj
;
36104 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36106 PyObject
* obj0
= 0 ;
36107 PyObject
* obj1
= 0 ;
36108 char *kwnames
[] = {
36109 (char *) "self",(char *) "cols", NULL
36112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36115 arg2
= (int) SWIG_AsInt(obj1
);
36116 if (PyErr_Occurred()) SWIG_fail
;
36118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36119 (arg1
)->SetCols(arg2
);
36121 wxPyEndAllowThreads(__tstate
);
36122 if (PyErr_Occurred()) SWIG_fail
;
36124 Py_INCREF(Py_None
); resultobj
= Py_None
;
36131 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36132 PyObject
*resultobj
;
36133 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36135 PyObject
* obj0
= 0 ;
36136 PyObject
* obj1
= 0 ;
36137 char *kwnames
[] = {
36138 (char *) "self",(char *) "rows", NULL
36141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36144 arg2
= (int) SWIG_AsInt(obj1
);
36145 if (PyErr_Occurred()) SWIG_fail
;
36147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36148 (arg1
)->SetRows(arg2
);
36150 wxPyEndAllowThreads(__tstate
);
36151 if (PyErr_Occurred()) SWIG_fail
;
36153 Py_INCREF(Py_None
); resultobj
= Py_None
;
36160 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36161 PyObject
*resultobj
;
36162 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36164 PyObject
* obj0
= 0 ;
36165 PyObject
* obj1
= 0 ;
36166 char *kwnames
[] = {
36167 (char *) "self",(char *) "gap", NULL
36170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36173 arg2
= (int) SWIG_AsInt(obj1
);
36174 if (PyErr_Occurred()) SWIG_fail
;
36176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36177 (arg1
)->SetVGap(arg2
);
36179 wxPyEndAllowThreads(__tstate
);
36180 if (PyErr_Occurred()) SWIG_fail
;
36182 Py_INCREF(Py_None
); resultobj
= Py_None
;
36189 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36190 PyObject
*resultobj
;
36191 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36193 PyObject
* obj0
= 0 ;
36194 PyObject
* obj1
= 0 ;
36195 char *kwnames
[] = {
36196 (char *) "self",(char *) "gap", NULL
36199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36202 arg2
= (int) SWIG_AsInt(obj1
);
36203 if (PyErr_Occurred()) SWIG_fail
;
36205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36206 (arg1
)->SetHGap(arg2
);
36208 wxPyEndAllowThreads(__tstate
);
36209 if (PyErr_Occurred()) SWIG_fail
;
36211 Py_INCREF(Py_None
); resultobj
= Py_None
;
36218 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36219 PyObject
*resultobj
;
36220 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36222 PyObject
* obj0
= 0 ;
36223 char *kwnames
[] = {
36224 (char *) "self", NULL
36227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36232 result
= (int)(arg1
)->GetCols();
36234 wxPyEndAllowThreads(__tstate
);
36235 if (PyErr_Occurred()) SWIG_fail
;
36237 resultobj
= SWIG_FromInt((int)result
);
36244 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36245 PyObject
*resultobj
;
36246 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36248 PyObject
* obj0
= 0 ;
36249 char *kwnames
[] = {
36250 (char *) "self", NULL
36253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36258 result
= (int)(arg1
)->GetRows();
36260 wxPyEndAllowThreads(__tstate
);
36261 if (PyErr_Occurred()) SWIG_fail
;
36263 resultobj
= SWIG_FromInt((int)result
);
36270 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36271 PyObject
*resultobj
;
36272 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36274 PyObject
* obj0
= 0 ;
36275 char *kwnames
[] = {
36276 (char *) "self", NULL
36279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36284 result
= (int)(arg1
)->GetVGap();
36286 wxPyEndAllowThreads(__tstate
);
36287 if (PyErr_Occurred()) SWIG_fail
;
36289 resultobj
= SWIG_FromInt((int)result
);
36296 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36297 PyObject
*resultobj
;
36298 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36300 PyObject
* obj0
= 0 ;
36301 char *kwnames
[] = {
36302 (char *) "self", NULL
36305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36310 result
= (int)(arg1
)->GetHGap();
36312 wxPyEndAllowThreads(__tstate
);
36313 if (PyErr_Occurred()) SWIG_fail
;
36315 resultobj
= SWIG_FromInt((int)result
);
36322 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36325 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36327 return Py_BuildValue((char *)"");
36329 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36330 PyObject
*resultobj
;
36331 int arg1
= (int) 1 ;
36332 int arg2
= (int) 0 ;
36333 int arg3
= (int) 0 ;
36334 int arg4
= (int) 0 ;
36335 wxFlexGridSizer
*result
;
36336 PyObject
* obj0
= 0 ;
36337 PyObject
* obj1
= 0 ;
36338 PyObject
* obj2
= 0 ;
36339 PyObject
* obj3
= 0 ;
36340 char *kwnames
[] = {
36341 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36346 arg1
= (int) SWIG_AsInt(obj0
);
36347 if (PyErr_Occurred()) SWIG_fail
;
36350 arg2
= (int) SWIG_AsInt(obj1
);
36351 if (PyErr_Occurred()) SWIG_fail
;
36354 arg3
= (int) SWIG_AsInt(obj2
);
36355 if (PyErr_Occurred()) SWIG_fail
;
36358 arg4
= (int) SWIG_AsInt(obj3
);
36359 if (PyErr_Occurred()) SWIG_fail
;
36362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36363 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36365 wxPyEndAllowThreads(__tstate
);
36366 if (PyErr_Occurred()) SWIG_fail
;
36368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36375 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36376 PyObject
*resultobj
;
36377 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36379 int arg3
= (int) 0 ;
36380 PyObject
* obj0
= 0 ;
36381 PyObject
* obj1
= 0 ;
36382 PyObject
* obj2
= 0 ;
36383 char *kwnames
[] = {
36384 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36390 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36391 if (PyErr_Occurred()) SWIG_fail
;
36393 arg3
= (int) SWIG_AsInt(obj2
);
36394 if (PyErr_Occurred()) SWIG_fail
;
36397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36398 (arg1
)->AddGrowableRow(arg2
,arg3
);
36400 wxPyEndAllowThreads(__tstate
);
36401 if (PyErr_Occurred()) SWIG_fail
;
36403 Py_INCREF(Py_None
); resultobj
= Py_None
;
36410 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36411 PyObject
*resultobj
;
36412 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36414 PyObject
* obj0
= 0 ;
36415 PyObject
* obj1
= 0 ;
36416 char *kwnames
[] = {
36417 (char *) "self",(char *) "idx", NULL
36420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36423 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36424 if (PyErr_Occurred()) SWIG_fail
;
36426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36427 (arg1
)->RemoveGrowableRow(arg2
);
36429 wxPyEndAllowThreads(__tstate
);
36430 if (PyErr_Occurred()) SWIG_fail
;
36432 Py_INCREF(Py_None
); resultobj
= Py_None
;
36439 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36440 PyObject
*resultobj
;
36441 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36443 int arg3
= (int) 0 ;
36444 PyObject
* obj0
= 0 ;
36445 PyObject
* obj1
= 0 ;
36446 PyObject
* obj2
= 0 ;
36447 char *kwnames
[] = {
36448 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36454 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36455 if (PyErr_Occurred()) SWIG_fail
;
36457 arg3
= (int) SWIG_AsInt(obj2
);
36458 if (PyErr_Occurred()) SWIG_fail
;
36461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36462 (arg1
)->AddGrowableCol(arg2
,arg3
);
36464 wxPyEndAllowThreads(__tstate
);
36465 if (PyErr_Occurred()) SWIG_fail
;
36467 Py_INCREF(Py_None
); resultobj
= Py_None
;
36474 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36475 PyObject
*resultobj
;
36476 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36478 PyObject
* obj0
= 0 ;
36479 PyObject
* obj1
= 0 ;
36480 char *kwnames
[] = {
36481 (char *) "self",(char *) "idx", NULL
36484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36487 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36488 if (PyErr_Occurred()) SWIG_fail
;
36490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36491 (arg1
)->RemoveGrowableCol(arg2
);
36493 wxPyEndAllowThreads(__tstate
);
36494 if (PyErr_Occurred()) SWIG_fail
;
36496 Py_INCREF(Py_None
); resultobj
= Py_None
;
36503 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36504 PyObject
*resultobj
;
36505 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36507 PyObject
* obj0
= 0 ;
36508 PyObject
* obj1
= 0 ;
36509 char *kwnames
[] = {
36510 (char *) "self",(char *) "direction", NULL
36513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36516 arg2
= (int) SWIG_AsInt(obj1
);
36517 if (PyErr_Occurred()) SWIG_fail
;
36519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36520 (arg1
)->SetFlexibleDirection(arg2
);
36522 wxPyEndAllowThreads(__tstate
);
36523 if (PyErr_Occurred()) SWIG_fail
;
36525 Py_INCREF(Py_None
); resultobj
= Py_None
;
36532 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36533 PyObject
*resultobj
;
36534 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36536 PyObject
* obj0
= 0 ;
36537 char *kwnames
[] = {
36538 (char *) "self", NULL
36541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36546 result
= (int)(arg1
)->GetFlexibleDirection();
36548 wxPyEndAllowThreads(__tstate
);
36549 if (PyErr_Occurred()) SWIG_fail
;
36551 resultobj
= SWIG_FromInt((int)result
);
36558 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36559 PyObject
*resultobj
;
36560 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36562 PyObject
* obj0
= 0 ;
36563 PyObject
* obj1
= 0 ;
36564 char *kwnames
[] = {
36565 (char *) "self",(char *) "mode", NULL
36568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36571 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36572 if (PyErr_Occurred()) SWIG_fail
;
36574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36575 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36577 wxPyEndAllowThreads(__tstate
);
36578 if (PyErr_Occurred()) SWIG_fail
;
36580 Py_INCREF(Py_None
); resultobj
= Py_None
;
36587 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36588 PyObject
*resultobj
;
36589 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36591 PyObject
* obj0
= 0 ;
36592 char *kwnames
[] = {
36593 (char *) "self", NULL
36596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36601 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36606 resultobj
= SWIG_FromInt((int)result
);
36613 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36614 PyObject
*resultobj
;
36615 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36616 wxArrayInt
*result
;
36617 PyObject
* obj0
= 0 ;
36618 char *kwnames
[] = {
36619 (char *) "self", NULL
36622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36628 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36629 result
= (wxArrayInt
*) &_result_ref
;
36632 wxPyEndAllowThreads(__tstate
);
36633 if (PyErr_Occurred()) SWIG_fail
;
36636 resultobj
= PyList_New(0);
36638 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36639 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36640 PyList_Append(resultobj
, val
);
36650 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36651 PyObject
*resultobj
;
36652 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36653 wxArrayInt
*result
;
36654 PyObject
* obj0
= 0 ;
36655 char *kwnames
[] = {
36656 (char *) "self", NULL
36659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36665 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36666 result
= (wxArrayInt
*) &_result_ref
;
36669 wxPyEndAllowThreads(__tstate
);
36670 if (PyErr_Occurred()) SWIG_fail
;
36673 resultobj
= PyList_New(0);
36675 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36676 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36677 PyList_Append(resultobj
, val
);
36687 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36690 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36692 return Py_BuildValue((char *)"");
36694 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36695 PyObject
*resultobj
;
36696 int arg1
= (int) 0 ;
36697 int arg2
= (int) 0 ;
36698 wxGBPosition
*result
;
36699 PyObject
* obj0
= 0 ;
36700 PyObject
* obj1
= 0 ;
36701 char *kwnames
[] = {
36702 (char *) "row",(char *) "col", NULL
36705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36707 arg1
= (int) SWIG_AsInt(obj0
);
36708 if (PyErr_Occurred()) SWIG_fail
;
36711 arg2
= (int) SWIG_AsInt(obj1
);
36712 if (PyErr_Occurred()) SWIG_fail
;
36715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36716 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36718 wxPyEndAllowThreads(__tstate
);
36719 if (PyErr_Occurred()) SWIG_fail
;
36721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36728 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36729 PyObject
*resultobj
;
36730 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36732 PyObject
* obj0
= 0 ;
36733 char *kwnames
[] = {
36734 (char *) "self", NULL
36737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36742 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36744 wxPyEndAllowThreads(__tstate
);
36745 if (PyErr_Occurred()) SWIG_fail
;
36747 resultobj
= SWIG_FromInt((int)result
);
36754 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36755 PyObject
*resultobj
;
36756 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36758 PyObject
* obj0
= 0 ;
36759 char *kwnames
[] = {
36760 (char *) "self", NULL
36763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36768 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36770 wxPyEndAllowThreads(__tstate
);
36771 if (PyErr_Occurred()) SWIG_fail
;
36773 resultobj
= SWIG_FromInt((int)result
);
36780 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36781 PyObject
*resultobj
;
36782 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36784 PyObject
* obj0
= 0 ;
36785 PyObject
* obj1
= 0 ;
36786 char *kwnames
[] = {
36787 (char *) "self",(char *) "row", NULL
36790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36793 arg2
= (int) SWIG_AsInt(obj1
);
36794 if (PyErr_Occurred()) SWIG_fail
;
36796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36797 (arg1
)->SetRow(arg2
);
36799 wxPyEndAllowThreads(__tstate
);
36800 if (PyErr_Occurred()) SWIG_fail
;
36802 Py_INCREF(Py_None
); resultobj
= Py_None
;
36809 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36810 PyObject
*resultobj
;
36811 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36813 PyObject
* obj0
= 0 ;
36814 PyObject
* obj1
= 0 ;
36815 char *kwnames
[] = {
36816 (char *) "self",(char *) "col", NULL
36819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36822 arg2
= (int) SWIG_AsInt(obj1
);
36823 if (PyErr_Occurred()) SWIG_fail
;
36825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36826 (arg1
)->SetCol(arg2
);
36828 wxPyEndAllowThreads(__tstate
);
36829 if (PyErr_Occurred()) SWIG_fail
;
36831 Py_INCREF(Py_None
); resultobj
= Py_None
;
36838 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36839 PyObject
*resultobj
;
36840 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36841 wxGBPosition
*arg2
= 0 ;
36843 wxGBPosition temp2
;
36844 PyObject
* obj0
= 0 ;
36845 PyObject
* obj1
= 0 ;
36846 char *kwnames
[] = {
36847 (char *) "self",(char *) "other", NULL
36850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36855 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36859 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36861 wxPyEndAllowThreads(__tstate
);
36862 if (PyErr_Occurred()) SWIG_fail
;
36865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36873 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36874 PyObject
*resultobj
;
36875 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36876 wxGBPosition
*arg2
= 0 ;
36878 wxGBPosition temp2
;
36879 PyObject
* obj0
= 0 ;
36880 PyObject
* obj1
= 0 ;
36881 char *kwnames
[] = {
36882 (char *) "self",(char *) "other", NULL
36885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36890 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36894 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36896 wxPyEndAllowThreads(__tstate
);
36897 if (PyErr_Occurred()) SWIG_fail
;
36900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36908 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36909 PyObject
*resultobj
;
36910 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36911 int arg2
= (int) 0 ;
36912 int arg3
= (int) 0 ;
36913 PyObject
* obj0
= 0 ;
36914 PyObject
* obj1
= 0 ;
36915 PyObject
* obj2
= 0 ;
36916 char *kwnames
[] = {
36917 (char *) "self",(char *) "row",(char *) "col", NULL
36920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36924 arg2
= (int) SWIG_AsInt(obj1
);
36925 if (PyErr_Occurred()) SWIG_fail
;
36928 arg3
= (int) SWIG_AsInt(obj2
);
36929 if (PyErr_Occurred()) SWIG_fail
;
36932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36933 wxGBPosition_Set(arg1
,arg2
,arg3
);
36935 wxPyEndAllowThreads(__tstate
);
36936 if (PyErr_Occurred()) SWIG_fail
;
36938 Py_INCREF(Py_None
); resultobj
= Py_None
;
36945 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36946 PyObject
*resultobj
;
36947 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36949 PyObject
* obj0
= 0 ;
36950 char *kwnames
[] = {
36951 (char *) "self", NULL
36954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36959 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36961 wxPyEndAllowThreads(__tstate
);
36962 if (PyErr_Occurred()) SWIG_fail
;
36964 resultobj
= result
;
36971 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36974 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36976 return Py_BuildValue((char *)"");
36978 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36979 PyObject
*resultobj
;
36980 int arg1
= (int) 1 ;
36981 int arg2
= (int) 1 ;
36983 PyObject
* obj0
= 0 ;
36984 PyObject
* obj1
= 0 ;
36985 char *kwnames
[] = {
36986 (char *) "rowspan",(char *) "colspan", NULL
36989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36991 arg1
= (int) SWIG_AsInt(obj0
);
36992 if (PyErr_Occurred()) SWIG_fail
;
36995 arg2
= (int) SWIG_AsInt(obj1
);
36996 if (PyErr_Occurred()) SWIG_fail
;
36999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37000 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37002 wxPyEndAllowThreads(__tstate
);
37003 if (PyErr_Occurred()) SWIG_fail
;
37005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37012 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37013 PyObject
*resultobj
;
37014 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37016 PyObject
* obj0
= 0 ;
37017 char *kwnames
[] = {
37018 (char *) "self", NULL
37021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37026 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37028 wxPyEndAllowThreads(__tstate
);
37029 if (PyErr_Occurred()) SWIG_fail
;
37031 resultobj
= SWIG_FromInt((int)result
);
37038 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37039 PyObject
*resultobj
;
37040 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37042 PyObject
* obj0
= 0 ;
37043 char *kwnames
[] = {
37044 (char *) "self", NULL
37047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37052 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37054 wxPyEndAllowThreads(__tstate
);
37055 if (PyErr_Occurred()) SWIG_fail
;
37057 resultobj
= SWIG_FromInt((int)result
);
37064 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37065 PyObject
*resultobj
;
37066 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37068 PyObject
* obj0
= 0 ;
37069 PyObject
* obj1
= 0 ;
37070 char *kwnames
[] = {
37071 (char *) "self",(char *) "rowspan", NULL
37074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37077 arg2
= (int) SWIG_AsInt(obj1
);
37078 if (PyErr_Occurred()) SWIG_fail
;
37080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37081 (arg1
)->SetRowspan(arg2
);
37083 wxPyEndAllowThreads(__tstate
);
37084 if (PyErr_Occurred()) SWIG_fail
;
37086 Py_INCREF(Py_None
); resultobj
= Py_None
;
37093 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37094 PyObject
*resultobj
;
37095 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37097 PyObject
* obj0
= 0 ;
37098 PyObject
* obj1
= 0 ;
37099 char *kwnames
[] = {
37100 (char *) "self",(char *) "colspan", NULL
37103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37106 arg2
= (int) SWIG_AsInt(obj1
);
37107 if (PyErr_Occurred()) SWIG_fail
;
37109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37110 (arg1
)->SetColspan(arg2
);
37112 wxPyEndAllowThreads(__tstate
);
37113 if (PyErr_Occurred()) SWIG_fail
;
37115 Py_INCREF(Py_None
); resultobj
= Py_None
;
37122 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37123 PyObject
*resultobj
;
37124 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37125 wxGBSpan
*arg2
= 0 ;
37128 PyObject
* obj0
= 0 ;
37129 PyObject
* obj1
= 0 ;
37130 char *kwnames
[] = {
37131 (char *) "self",(char *) "other", NULL
37134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37139 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37143 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37145 wxPyEndAllowThreads(__tstate
);
37146 if (PyErr_Occurred()) SWIG_fail
;
37149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37157 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37158 PyObject
*resultobj
;
37159 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37160 wxGBSpan
*arg2
= 0 ;
37163 PyObject
* obj0
= 0 ;
37164 PyObject
* obj1
= 0 ;
37165 char *kwnames
[] = {
37166 (char *) "self",(char *) "other", NULL
37169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37174 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37178 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37180 wxPyEndAllowThreads(__tstate
);
37181 if (PyErr_Occurred()) SWIG_fail
;
37184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37192 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37193 PyObject
*resultobj
;
37194 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37195 int arg2
= (int) 1 ;
37196 int arg3
= (int) 1 ;
37197 PyObject
* obj0
= 0 ;
37198 PyObject
* obj1
= 0 ;
37199 PyObject
* obj2
= 0 ;
37200 char *kwnames
[] = {
37201 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37208 arg2
= (int) SWIG_AsInt(obj1
);
37209 if (PyErr_Occurred()) SWIG_fail
;
37212 arg3
= (int) SWIG_AsInt(obj2
);
37213 if (PyErr_Occurred()) SWIG_fail
;
37216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37217 wxGBSpan_Set(arg1
,arg2
,arg3
);
37219 wxPyEndAllowThreads(__tstate
);
37220 if (PyErr_Occurred()) SWIG_fail
;
37222 Py_INCREF(Py_None
); resultobj
= Py_None
;
37229 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37230 PyObject
*resultobj
;
37231 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37233 PyObject
* obj0
= 0 ;
37234 char *kwnames
[] = {
37235 (char *) "self", NULL
37238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37243 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37245 wxPyEndAllowThreads(__tstate
);
37246 if (PyErr_Occurred()) SWIG_fail
;
37248 resultobj
= result
;
37255 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37258 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37260 return Py_BuildValue((char *)"");
37262 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37263 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37268 static PyObject
*_wrap_DefaultSpan_get() {
37271 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37276 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37277 PyObject
*resultobj
;
37278 wxGBSizerItem
*result
;
37279 char *kwnames
[] = {
37283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37286 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37288 wxPyEndAllowThreads(__tstate
);
37289 if (PyErr_Occurred()) SWIG_fail
;
37291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37298 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37299 PyObject
*resultobj
;
37300 wxWindow
*arg1
= (wxWindow
*) 0 ;
37301 wxGBPosition
*arg2
= 0 ;
37302 wxGBSpan
*arg3
= 0 ;
37305 PyObject
*arg6
= (PyObject
*) NULL
;
37306 wxGBSizerItem
*result
;
37307 wxGBPosition temp2
;
37309 PyObject
* obj0
= 0 ;
37310 PyObject
* obj1
= 0 ;
37311 PyObject
* obj2
= 0 ;
37312 PyObject
* obj3
= 0 ;
37313 PyObject
* obj4
= 0 ;
37314 PyObject
* obj5
= 0 ;
37315 char *kwnames
[] = {
37316 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37324 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37328 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37330 arg4
= (int) SWIG_AsInt(obj3
);
37331 if (PyErr_Occurred()) SWIG_fail
;
37332 arg5
= (int) SWIG_AsInt(obj4
);
37333 if (PyErr_Occurred()) SWIG_fail
;
37338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37339 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37341 wxPyEndAllowThreads(__tstate
);
37342 if (PyErr_Occurred()) SWIG_fail
;
37344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37351 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37352 PyObject
*resultobj
;
37353 wxSizer
*arg1
= (wxSizer
*) 0 ;
37354 wxGBPosition
*arg2
= 0 ;
37355 wxGBSpan
*arg3
= 0 ;
37358 PyObject
*arg6
= (PyObject
*) NULL
;
37359 wxGBSizerItem
*result
;
37360 wxGBPosition temp2
;
37362 PyObject
* obj0
= 0 ;
37363 PyObject
* obj1
= 0 ;
37364 PyObject
* obj2
= 0 ;
37365 PyObject
* obj3
= 0 ;
37366 PyObject
* obj4
= 0 ;
37367 PyObject
* obj5
= 0 ;
37368 char *kwnames
[] = {
37369 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37377 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37381 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37383 arg4
= (int) SWIG_AsInt(obj3
);
37384 if (PyErr_Occurred()) SWIG_fail
;
37385 arg5
= (int) SWIG_AsInt(obj4
);
37386 if (PyErr_Occurred()) SWIG_fail
;
37391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37392 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37404 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37405 PyObject
*resultobj
;
37408 wxGBPosition
*arg3
= 0 ;
37409 wxGBSpan
*arg4
= 0 ;
37412 PyObject
*arg7
= (PyObject
*) NULL
;
37413 wxGBSizerItem
*result
;
37414 wxGBPosition temp3
;
37416 PyObject
* obj0
= 0 ;
37417 PyObject
* obj1
= 0 ;
37418 PyObject
* obj2
= 0 ;
37419 PyObject
* obj3
= 0 ;
37420 PyObject
* obj4
= 0 ;
37421 PyObject
* obj5
= 0 ;
37422 PyObject
* obj6
= 0 ;
37423 char *kwnames
[] = {
37424 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37428 arg1
= (int) SWIG_AsInt(obj0
);
37429 if (PyErr_Occurred()) SWIG_fail
;
37430 arg2
= (int) SWIG_AsInt(obj1
);
37431 if (PyErr_Occurred()) SWIG_fail
;
37434 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37438 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37440 arg5
= (int) SWIG_AsInt(obj4
);
37441 if (PyErr_Occurred()) SWIG_fail
;
37442 arg6
= (int) SWIG_AsInt(obj5
);
37443 if (PyErr_Occurred()) SWIG_fail
;
37448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37449 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37451 wxPyEndAllowThreads(__tstate
);
37452 if (PyErr_Occurred()) SWIG_fail
;
37454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37461 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37462 PyObject
*resultobj
;
37463 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37464 wxGBPosition result
;
37465 PyObject
* obj0
= 0 ;
37466 char *kwnames
[] = {
37467 (char *) "self", NULL
37470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37475 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37477 wxPyEndAllowThreads(__tstate
);
37478 if (PyErr_Occurred()) SWIG_fail
;
37481 wxGBPosition
* resultptr
;
37482 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37491 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37492 PyObject
*resultobj
;
37493 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37495 PyObject
* obj0
= 0 ;
37496 char *kwnames
[] = {
37497 (char *) "self", NULL
37500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37505 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37507 wxPyEndAllowThreads(__tstate
);
37508 if (PyErr_Occurred()) SWIG_fail
;
37511 wxGBSpan
* resultptr
;
37512 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37521 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37522 PyObject
*resultobj
;
37523 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37524 wxGBPosition
*arg2
= 0 ;
37526 wxGBPosition temp2
;
37527 PyObject
* obj0
= 0 ;
37528 PyObject
* obj1
= 0 ;
37529 char *kwnames
[] = {
37530 (char *) "self",(char *) "pos", NULL
37533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37538 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37542 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37544 wxPyEndAllowThreads(__tstate
);
37545 if (PyErr_Occurred()) SWIG_fail
;
37548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37556 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37557 PyObject
*resultobj
;
37558 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37559 wxGBSpan
*arg2
= 0 ;
37562 PyObject
* obj0
= 0 ;
37563 PyObject
* obj1
= 0 ;
37564 char *kwnames
[] = {
37565 (char *) "self",(char *) "span", NULL
37568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37573 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37577 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37579 wxPyEndAllowThreads(__tstate
);
37580 if (PyErr_Occurred()) SWIG_fail
;
37583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37591 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37592 PyObject
*resultobj
;
37593 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37594 wxGBSizerItem
*arg2
= 0 ;
37596 PyObject
* obj0
= 0 ;
37597 PyObject
* obj1
= 0 ;
37598 char *kwnames
[] = {
37599 (char *) "self",(char *) "other", NULL
37602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
37603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37608 if (arg2
== NULL
) {
37609 PyErr_SetString(PyExc_TypeError
,"null reference");
37613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37614 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37616 wxPyEndAllowThreads(__tstate
);
37617 if (PyErr_Occurred()) SWIG_fail
;
37620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37628 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37629 PyObject
*resultobj
;
37630 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37631 wxGBPosition
*arg2
= 0 ;
37632 wxGBSpan
*arg3
= 0 ;
37634 wxGBPosition temp2
;
37636 PyObject
* obj0
= 0 ;
37637 PyObject
* obj1
= 0 ;
37638 PyObject
* obj2
= 0 ;
37639 char *kwnames
[] = {
37640 (char *) "self",(char *) "pos",(char *) "span", NULL
37643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37648 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37652 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37656 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37658 wxPyEndAllowThreads(__tstate
);
37659 if (PyErr_Occurred()) SWIG_fail
;
37662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37670 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37671 PyObject
*resultobj
;
37672 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37673 wxGBPosition result
;
37674 PyObject
* obj0
= 0 ;
37675 char *kwnames
[] = {
37676 (char *) "self", NULL
37679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
37680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37684 result
= wxGBSizerItem_GetEndPos(arg1
);
37686 wxPyEndAllowThreads(__tstate
);
37687 if (PyErr_Occurred()) SWIG_fail
;
37690 wxGBPosition
* resultptr
;
37691 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37700 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37701 PyObject
*resultobj
;
37702 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37703 wxGridBagSizer
*result
;
37704 PyObject
* obj0
= 0 ;
37705 char *kwnames
[] = {
37706 (char *) "self", NULL
37709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37714 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37716 wxPyEndAllowThreads(__tstate
);
37717 if (PyErr_Occurred()) SWIG_fail
;
37719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37726 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37727 PyObject
*resultobj
;
37728 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37729 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37730 PyObject
* obj0
= 0 ;
37731 PyObject
* obj1
= 0 ;
37732 char *kwnames
[] = {
37733 (char *) "self",(char *) "sizer", NULL
37736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37743 (arg1
)->SetGBSizer(arg2
);
37745 wxPyEndAllowThreads(__tstate
);
37746 if (PyErr_Occurred()) SWIG_fail
;
37748 Py_INCREF(Py_None
); resultobj
= Py_None
;
37755 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37758 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37760 return Py_BuildValue((char *)"");
37762 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37763 PyObject
*resultobj
;
37764 int arg1
= (int) 0 ;
37765 int arg2
= (int) 0 ;
37766 wxGridBagSizer
*result
;
37767 PyObject
* obj0
= 0 ;
37768 PyObject
* obj1
= 0 ;
37769 char *kwnames
[] = {
37770 (char *) "vgap",(char *) "hgap", NULL
37773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37775 arg1
= (int) SWIG_AsInt(obj0
);
37776 if (PyErr_Occurred()) SWIG_fail
;
37779 arg2
= (int) SWIG_AsInt(obj1
);
37780 if (PyErr_Occurred()) SWIG_fail
;
37783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37784 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37786 wxPyEndAllowThreads(__tstate
);
37787 if (PyErr_Occurred()) SWIG_fail
;
37789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37796 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37797 PyObject
*resultobj
;
37798 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37799 PyObject
*arg2
= (PyObject
*) 0 ;
37800 wxGBPosition
*arg3
= 0 ;
37801 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37802 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37803 int arg5
= (int) 0 ;
37804 int arg6
= (int) 0 ;
37805 PyObject
*arg7
= (PyObject
*) NULL
;
37807 wxGBPosition temp3
;
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 PyObject
* obj6
= 0 ;
37816 char *kwnames
[] = {
37817 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37826 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37831 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37835 arg5
= (int) SWIG_AsInt(obj4
);
37836 if (PyErr_Occurred()) SWIG_fail
;
37839 arg6
= (int) SWIG_AsInt(obj5
);
37840 if (PyErr_Occurred()) SWIG_fail
;
37846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37847 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37849 wxPyEndAllowThreads(__tstate
);
37850 if (PyErr_Occurred()) SWIG_fail
;
37853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37861 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37862 PyObject
*resultobj
;
37863 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37864 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37866 PyObject
* obj0
= 0 ;
37867 PyObject
* obj1
= 0 ;
37868 char *kwnames
[] = {
37869 (char *) "self",(char *) "item", NULL
37872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37879 result
= (bool)(arg1
)->Add(arg2
);
37881 wxPyEndAllowThreads(__tstate
);
37882 if (PyErr_Occurred()) SWIG_fail
;
37885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37893 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37894 PyObject
*resultobj
;
37895 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37897 PyObject
* obj0
= 0 ;
37898 char *kwnames
[] = {
37899 (char *) "self", NULL
37902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37907 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37909 wxPyEndAllowThreads(__tstate
);
37910 if (PyErr_Occurred()) SWIG_fail
;
37913 wxSize
* resultptr
;
37914 resultptr
= new wxSize((wxSize
&) result
);
37915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37923 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37924 PyObject
*resultobj
;
37925 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37928 PyObject
* obj0
= 0 ;
37929 PyObject
* obj1
= 0 ;
37930 char *kwnames
[] = {
37931 (char *) "self",(char *) "sz", NULL
37934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37939 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37943 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37945 wxPyEndAllowThreads(__tstate
);
37946 if (PyErr_Occurred()) SWIG_fail
;
37948 Py_INCREF(Py_None
); resultobj
= Py_None
;
37955 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37956 PyObject
*resultobj
;
37957 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37958 wxWindow
*arg2
= (wxWindow
*) 0 ;
37959 wxGBPosition result
;
37960 PyObject
* obj0
= 0 ;
37961 PyObject
* obj1
= 0 ;
37963 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37970 result
= (arg1
)->GetItemPosition(arg2
);
37972 wxPyEndAllowThreads(__tstate
);
37973 if (PyErr_Occurred()) SWIG_fail
;
37976 wxGBPosition
* resultptr
;
37977 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37986 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37987 PyObject
*resultobj
;
37988 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37989 wxSizer
*arg2
= (wxSizer
*) 0 ;
37990 wxGBPosition result
;
37991 PyObject
* obj0
= 0 ;
37992 PyObject
* obj1
= 0 ;
37994 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38001 result
= (arg1
)->GetItemPosition(arg2
);
38003 wxPyEndAllowThreads(__tstate
);
38004 if (PyErr_Occurred()) SWIG_fail
;
38007 wxGBPosition
* resultptr
;
38008 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38017 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38018 PyObject
*resultobj
;
38019 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38021 wxGBPosition result
;
38022 PyObject
* obj0
= 0 ;
38023 PyObject
* obj1
= 0 ;
38025 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38028 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38029 if (PyErr_Occurred()) SWIG_fail
;
38031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38032 result
= (arg1
)->GetItemPosition(arg2
);
38034 wxPyEndAllowThreads(__tstate
);
38035 if (PyErr_Occurred()) SWIG_fail
;
38038 wxGBPosition
* resultptr
;
38039 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38048 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38053 argc
= PyObject_Length(args
);
38054 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38055 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38061 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38071 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38079 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38087 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38097 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38105 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38113 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38121 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38123 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38128 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38133 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38134 PyObject
*resultobj
;
38135 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38136 wxWindow
*arg2
= (wxWindow
*) 0 ;
38137 wxGBPosition
*arg3
= 0 ;
38139 wxGBPosition temp3
;
38140 PyObject
* obj0
= 0 ;
38141 PyObject
* obj1
= 0 ;
38142 PyObject
* obj2
= 0 ;
38144 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38151 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38155 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38157 wxPyEndAllowThreads(__tstate
);
38158 if (PyErr_Occurred()) SWIG_fail
;
38161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38169 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38170 PyObject
*resultobj
;
38171 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38172 wxSizer
*arg2
= (wxSizer
*) 0 ;
38173 wxGBPosition
*arg3
= 0 ;
38175 wxGBPosition temp3
;
38176 PyObject
* obj0
= 0 ;
38177 PyObject
* obj1
= 0 ;
38178 PyObject
* obj2
= 0 ;
38180 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38187 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38191 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38193 wxPyEndAllowThreads(__tstate
);
38194 if (PyErr_Occurred()) SWIG_fail
;
38197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38205 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38206 PyObject
*resultobj
;
38207 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38209 wxGBPosition
*arg3
= 0 ;
38211 wxGBPosition temp3
;
38212 PyObject
* obj0
= 0 ;
38213 PyObject
* obj1
= 0 ;
38214 PyObject
* obj2
= 0 ;
38216 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38219 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38220 if (PyErr_Occurred()) SWIG_fail
;
38223 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38227 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38229 wxPyEndAllowThreads(__tstate
);
38230 if (PyErr_Occurred()) SWIG_fail
;
38233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38241 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38246 argc
= PyObject_Length(args
);
38247 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38248 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38254 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38264 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38273 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38276 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38285 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38295 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38304 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38307 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38316 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38324 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38327 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38330 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38336 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38341 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38342 PyObject
*resultobj
;
38343 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38344 wxWindow
*arg2
= (wxWindow
*) 0 ;
38346 PyObject
* obj0
= 0 ;
38347 PyObject
* obj1
= 0 ;
38349 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38356 result
= (arg1
)->GetItemSpan(arg2
);
38358 wxPyEndAllowThreads(__tstate
);
38359 if (PyErr_Occurred()) SWIG_fail
;
38362 wxGBSpan
* resultptr
;
38363 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38372 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38373 PyObject
*resultobj
;
38374 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38375 wxSizer
*arg2
= (wxSizer
*) 0 ;
38377 PyObject
* obj0
= 0 ;
38378 PyObject
* obj1
= 0 ;
38380 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38387 result
= (arg1
)->GetItemSpan(arg2
);
38389 wxPyEndAllowThreads(__tstate
);
38390 if (PyErr_Occurred()) SWIG_fail
;
38393 wxGBSpan
* resultptr
;
38394 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38403 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38404 PyObject
*resultobj
;
38405 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38408 PyObject
* obj0
= 0 ;
38409 PyObject
* obj1
= 0 ;
38411 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38414 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38415 if (PyErr_Occurred()) SWIG_fail
;
38417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38418 result
= (arg1
)->GetItemSpan(arg2
);
38420 wxPyEndAllowThreads(__tstate
);
38421 if (PyErr_Occurred()) SWIG_fail
;
38424 wxGBSpan
* resultptr
;
38425 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38434 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38439 argc
= PyObject_Length(args
);
38440 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38441 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38447 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38457 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38465 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38473 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38483 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38491 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38499 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38507 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38509 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38514 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38519 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38520 PyObject
*resultobj
;
38521 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38522 wxWindow
*arg2
= (wxWindow
*) 0 ;
38523 wxGBSpan
*arg3
= 0 ;
38526 PyObject
* obj0
= 0 ;
38527 PyObject
* obj1
= 0 ;
38528 PyObject
* obj2
= 0 ;
38530 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38537 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38541 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38543 wxPyEndAllowThreads(__tstate
);
38544 if (PyErr_Occurred()) SWIG_fail
;
38547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38555 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38556 PyObject
*resultobj
;
38557 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38558 wxSizer
*arg2
= (wxSizer
*) 0 ;
38559 wxGBSpan
*arg3
= 0 ;
38562 PyObject
* obj0
= 0 ;
38563 PyObject
* obj1
= 0 ;
38564 PyObject
* obj2
= 0 ;
38566 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38573 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38577 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38579 wxPyEndAllowThreads(__tstate
);
38580 if (PyErr_Occurred()) SWIG_fail
;
38583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38591 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38592 PyObject
*resultobj
;
38593 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38595 wxGBSpan
*arg3
= 0 ;
38598 PyObject
* obj0
= 0 ;
38599 PyObject
* obj1
= 0 ;
38600 PyObject
* obj2
= 0 ;
38602 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38605 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38606 if (PyErr_Occurred()) SWIG_fail
;
38609 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38613 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38615 wxPyEndAllowThreads(__tstate
);
38616 if (PyErr_Occurred()) SWIG_fail
;
38619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38627 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38632 argc
= PyObject_Length(args
);
38633 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38634 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38640 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38650 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38659 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38662 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38671 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38681 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38690 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38693 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38702 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38710 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38713 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38716 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38722 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38727 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38728 PyObject
*resultobj
;
38729 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38730 wxWindow
*arg2
= (wxWindow
*) 0 ;
38731 wxGBSizerItem
*result
;
38732 PyObject
* obj0
= 0 ;
38733 PyObject
* obj1
= 0 ;
38735 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38742 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38744 wxPyEndAllowThreads(__tstate
);
38745 if (PyErr_Occurred()) SWIG_fail
;
38747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38754 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38755 PyObject
*resultobj
;
38756 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38757 wxSizer
*arg2
= (wxSizer
*) 0 ;
38758 wxGBSizerItem
*result
;
38759 PyObject
* obj0
= 0 ;
38760 PyObject
* obj1
= 0 ;
38762 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38769 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38771 wxPyEndAllowThreads(__tstate
);
38772 if (PyErr_Occurred()) SWIG_fail
;
38774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38781 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38786 argc
= PyObject_Length(args
);
38787 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38788 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38794 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38804 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38812 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38820 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38830 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38838 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38843 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38848 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38849 PyObject
*resultobj
;
38850 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38851 wxGBPosition
*arg2
= 0 ;
38852 wxGBSizerItem
*result
;
38853 wxGBPosition temp2
;
38854 PyObject
* obj0
= 0 ;
38855 PyObject
* obj1
= 0 ;
38856 char *kwnames
[] = {
38857 (char *) "self",(char *) "pos", NULL
38860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38865 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38869 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38871 wxPyEndAllowThreads(__tstate
);
38872 if (PyErr_Occurred()) SWIG_fail
;
38874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38881 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38882 PyObject
*resultobj
;
38883 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38884 wxPoint
*arg2
= 0 ;
38885 wxGBSizerItem
*result
;
38887 PyObject
* obj0
= 0 ;
38888 PyObject
* obj1
= 0 ;
38889 char *kwnames
[] = {
38890 (char *) "self",(char *) "pt", NULL
38893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38898 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38902 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38904 wxPyEndAllowThreads(__tstate
);
38905 if (PyErr_Occurred()) SWIG_fail
;
38907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38914 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38915 PyObject
*resultobj
;
38916 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38917 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38918 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38920 PyObject
* obj0
= 0 ;
38921 PyObject
* obj1
= 0 ;
38922 PyObject
* obj2
= 0 ;
38923 char *kwnames
[] = {
38924 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
38927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38930 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38933 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38938 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38940 wxPyEndAllowThreads(__tstate
);
38941 if (PyErr_Occurred()) SWIG_fail
;
38944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38952 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38953 PyObject
*resultobj
;
38954 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38955 wxGBPosition
*arg2
= 0 ;
38956 wxGBSpan
*arg3
= 0 ;
38957 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38959 wxGBPosition temp2
;
38961 PyObject
* obj0
= 0 ;
38962 PyObject
* obj1
= 0 ;
38963 PyObject
* obj2
= 0 ;
38964 PyObject
* obj3
= 0 ;
38965 char *kwnames
[] = {
38966 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
38969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38974 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38978 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38981 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38986 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38988 wxPyEndAllowThreads(__tstate
);
38989 if (PyErr_Occurred()) SWIG_fail
;
38992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39000 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39003 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39005 return Py_BuildValue((char *)"");
39007 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39008 PyObject
*resultobj
;
39009 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39011 wxWindow
*arg3
= (wxWindow
*) 0 ;
39013 int arg5
= (int) 0 ;
39014 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39015 PyObject
* obj0
= 0 ;
39016 PyObject
* obj1
= 0 ;
39017 PyObject
* obj2
= 0 ;
39018 PyObject
* obj3
= 0 ;
39019 PyObject
* obj4
= 0 ;
39020 PyObject
* obj5
= 0 ;
39021 char *kwnames
[] = {
39022 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39028 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39029 if (PyErr_Occurred()) SWIG_fail
;
39030 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39032 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39033 if (PyErr_Occurred()) SWIG_fail
;
39035 arg5
= (int) SWIG_AsInt(obj4
);
39036 if (PyErr_Occurred()) SWIG_fail
;
39039 arg6
= (int) SWIG_AsInt(obj5
);
39040 if (PyErr_Occurred()) SWIG_fail
;
39043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39044 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39046 wxPyEndAllowThreads(__tstate
);
39047 if (PyErr_Occurred()) SWIG_fail
;
39049 Py_INCREF(Py_None
); resultobj
= Py_None
;
39056 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39057 PyObject
*resultobj
;
39058 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39059 wxWindow
*arg2
= (wxWindow
*) 0 ;
39060 int arg3
= (int) 0 ;
39061 PyObject
* obj0
= 0 ;
39062 PyObject
* obj1
= 0 ;
39063 PyObject
* obj2
= 0 ;
39064 char *kwnames
[] = {
39065 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39074 arg3
= (int) SWIG_AsInt(obj2
);
39075 if (PyErr_Occurred()) SWIG_fail
;
39078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39079 (arg1
)->LeftOf(arg2
,arg3
);
39081 wxPyEndAllowThreads(__tstate
);
39082 if (PyErr_Occurred()) SWIG_fail
;
39084 Py_INCREF(Py_None
); resultobj
= Py_None
;
39091 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39092 PyObject
*resultobj
;
39093 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39094 wxWindow
*arg2
= (wxWindow
*) 0 ;
39095 int arg3
= (int) 0 ;
39096 PyObject
* obj0
= 0 ;
39097 PyObject
* obj1
= 0 ;
39098 PyObject
* obj2
= 0 ;
39099 char *kwnames
[] = {
39100 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39109 arg3
= (int) SWIG_AsInt(obj2
);
39110 if (PyErr_Occurred()) SWIG_fail
;
39113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39114 (arg1
)->RightOf(arg2
,arg3
);
39116 wxPyEndAllowThreads(__tstate
);
39117 if (PyErr_Occurred()) SWIG_fail
;
39119 Py_INCREF(Py_None
); resultobj
= Py_None
;
39126 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39127 PyObject
*resultobj
;
39128 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39129 wxWindow
*arg2
= (wxWindow
*) 0 ;
39130 int arg3
= (int) 0 ;
39131 PyObject
* obj0
= 0 ;
39132 PyObject
* obj1
= 0 ;
39133 PyObject
* obj2
= 0 ;
39134 char *kwnames
[] = {
39135 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39144 arg3
= (int) SWIG_AsInt(obj2
);
39145 if (PyErr_Occurred()) SWIG_fail
;
39148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39149 (arg1
)->Above(arg2
,arg3
);
39151 wxPyEndAllowThreads(__tstate
);
39152 if (PyErr_Occurred()) SWIG_fail
;
39154 Py_INCREF(Py_None
); resultobj
= Py_None
;
39161 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39162 PyObject
*resultobj
;
39163 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39164 wxWindow
*arg2
= (wxWindow
*) 0 ;
39165 int arg3
= (int) 0 ;
39166 PyObject
* obj0
= 0 ;
39167 PyObject
* obj1
= 0 ;
39168 PyObject
* obj2
= 0 ;
39169 char *kwnames
[] = {
39170 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39179 arg3
= (int) SWIG_AsInt(obj2
);
39180 if (PyErr_Occurred()) SWIG_fail
;
39183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39184 (arg1
)->Below(arg2
,arg3
);
39186 wxPyEndAllowThreads(__tstate
);
39187 if (PyErr_Occurred()) SWIG_fail
;
39189 Py_INCREF(Py_None
); resultobj
= Py_None
;
39196 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39197 PyObject
*resultobj
;
39198 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39199 wxWindow
*arg2
= (wxWindow
*) 0 ;
39201 int arg4
= (int) 0 ;
39202 PyObject
* obj0
= 0 ;
39203 PyObject
* obj1
= 0 ;
39204 PyObject
* obj2
= 0 ;
39205 PyObject
* obj3
= 0 ;
39206 char *kwnames
[] = {
39207 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39215 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39216 if (PyErr_Occurred()) SWIG_fail
;
39218 arg4
= (int) SWIG_AsInt(obj3
);
39219 if (PyErr_Occurred()) SWIG_fail
;
39222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39223 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39225 wxPyEndAllowThreads(__tstate
);
39226 if (PyErr_Occurred()) SWIG_fail
;
39228 Py_INCREF(Py_None
); resultobj
= Py_None
;
39235 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39236 PyObject
*resultobj
;
39237 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39238 wxWindow
*arg2
= (wxWindow
*) 0 ;
39241 PyObject
* obj0
= 0 ;
39242 PyObject
* obj1
= 0 ;
39243 PyObject
* obj2
= 0 ;
39244 PyObject
* obj3
= 0 ;
39245 char *kwnames
[] = {
39246 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39254 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39255 if (PyErr_Occurred()) SWIG_fail
;
39256 arg4
= (int) SWIG_AsInt(obj3
);
39257 if (PyErr_Occurred()) SWIG_fail
;
39259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39260 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39262 wxPyEndAllowThreads(__tstate
);
39263 if (PyErr_Occurred()) SWIG_fail
;
39265 Py_INCREF(Py_None
); resultobj
= Py_None
;
39272 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39273 PyObject
*resultobj
;
39274 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39276 PyObject
* obj0
= 0 ;
39277 PyObject
* obj1
= 0 ;
39278 char *kwnames
[] = {
39279 (char *) "self",(char *) "val", NULL
39282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39285 arg2
= (int) SWIG_AsInt(obj1
);
39286 if (PyErr_Occurred()) SWIG_fail
;
39288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39289 (arg1
)->Absolute(arg2
);
39291 wxPyEndAllowThreads(__tstate
);
39292 if (PyErr_Occurred()) SWIG_fail
;
39294 Py_INCREF(Py_None
); resultobj
= Py_None
;
39301 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39302 PyObject
*resultobj
;
39303 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39304 PyObject
* obj0
= 0 ;
39305 char *kwnames
[] = {
39306 (char *) "self", NULL
39309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39314 (arg1
)->Unconstrained();
39316 wxPyEndAllowThreads(__tstate
);
39317 if (PyErr_Occurred()) SWIG_fail
;
39319 Py_INCREF(Py_None
); resultobj
= Py_None
;
39326 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39327 PyObject
*resultobj
;
39328 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39329 PyObject
* obj0
= 0 ;
39330 char *kwnames
[] = {
39331 (char *) "self", NULL
39334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39341 wxPyEndAllowThreads(__tstate
);
39342 if (PyErr_Occurred()) SWIG_fail
;
39344 Py_INCREF(Py_None
); resultobj
= Py_None
;
39351 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39352 PyObject
*resultobj
;
39353 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39355 PyObject
* obj0
= 0 ;
39356 char *kwnames
[] = {
39357 (char *) "self", NULL
39360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39365 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39367 wxPyEndAllowThreads(__tstate
);
39368 if (PyErr_Occurred()) SWIG_fail
;
39371 resultobj
= wxPyMake_wxObject(result
, 0);
39379 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39380 PyObject
*resultobj
;
39381 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39383 PyObject
* obj0
= 0 ;
39384 char *kwnames
[] = {
39385 (char *) "self", NULL
39388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39393 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39395 wxPyEndAllowThreads(__tstate
);
39396 if (PyErr_Occurred()) SWIG_fail
;
39398 resultobj
= SWIG_FromInt((int)result
);
39405 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39406 PyObject
*resultobj
;
39407 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39409 PyObject
* obj0
= 0 ;
39410 PyObject
* obj1
= 0 ;
39411 char *kwnames
[] = {
39412 (char *) "self",(char *) "which", NULL
39415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39418 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39419 if (PyErr_Occurred()) SWIG_fail
;
39421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39422 (arg1
)->SetEdge((wxEdge
)arg2
);
39424 wxPyEndAllowThreads(__tstate
);
39425 if (PyErr_Occurred()) SWIG_fail
;
39427 Py_INCREF(Py_None
); resultobj
= Py_None
;
39434 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39435 PyObject
*resultobj
;
39436 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39438 PyObject
* obj0
= 0 ;
39439 PyObject
* obj1
= 0 ;
39440 char *kwnames
[] = {
39441 (char *) "self",(char *) "v", NULL
39444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39447 arg2
= (int) SWIG_AsInt(obj1
);
39448 if (PyErr_Occurred()) SWIG_fail
;
39450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39451 (arg1
)->SetValue(arg2
);
39453 wxPyEndAllowThreads(__tstate
);
39454 if (PyErr_Occurred()) SWIG_fail
;
39456 Py_INCREF(Py_None
); resultobj
= Py_None
;
39463 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39464 PyObject
*resultobj
;
39465 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39467 PyObject
* obj0
= 0 ;
39468 char *kwnames
[] = {
39469 (char *) "self", NULL
39472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39477 result
= (int)(arg1
)->GetMargin();
39479 wxPyEndAllowThreads(__tstate
);
39480 if (PyErr_Occurred()) SWIG_fail
;
39482 resultobj
= SWIG_FromInt((int)result
);
39489 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39490 PyObject
*resultobj
;
39491 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39493 PyObject
* obj0
= 0 ;
39494 PyObject
* obj1
= 0 ;
39495 char *kwnames
[] = {
39496 (char *) "self",(char *) "m", NULL
39499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39502 arg2
= (int) SWIG_AsInt(obj1
);
39503 if (PyErr_Occurred()) SWIG_fail
;
39505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39506 (arg1
)->SetMargin(arg2
);
39508 wxPyEndAllowThreads(__tstate
);
39509 if (PyErr_Occurred()) SWIG_fail
;
39511 Py_INCREF(Py_None
); resultobj
= Py_None
;
39518 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39519 PyObject
*resultobj
;
39520 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39522 PyObject
* obj0
= 0 ;
39523 char *kwnames
[] = {
39524 (char *) "self", NULL
39527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39532 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39534 wxPyEndAllowThreads(__tstate
);
39535 if (PyErr_Occurred()) SWIG_fail
;
39537 resultobj
= SWIG_FromInt((int)result
);
39544 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39545 PyObject
*resultobj
;
39546 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39548 PyObject
* obj0
= 0 ;
39549 char *kwnames
[] = {
39550 (char *) "self", NULL
39553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39558 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39560 wxPyEndAllowThreads(__tstate
);
39561 if (PyErr_Occurred()) SWIG_fail
;
39563 resultobj
= SWIG_FromInt((int)result
);
39570 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39571 PyObject
*resultobj
;
39572 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39574 PyObject
* obj0
= 0 ;
39575 char *kwnames
[] = {
39576 (char *) "self", NULL
39579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39584 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39586 wxPyEndAllowThreads(__tstate
);
39587 if (PyErr_Occurred()) SWIG_fail
;
39589 resultobj
= SWIG_FromInt((int)result
);
39596 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39597 PyObject
*resultobj
;
39598 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39600 PyObject
* obj0
= 0 ;
39601 char *kwnames
[] = {
39602 (char *) "self", NULL
39605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39610 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39612 wxPyEndAllowThreads(__tstate
);
39613 if (PyErr_Occurred()) SWIG_fail
;
39616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39624 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39625 PyObject
*resultobj
;
39626 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39628 PyObject
* obj0
= 0 ;
39629 PyObject
* obj1
= 0 ;
39630 char *kwnames
[] = {
39631 (char *) "self",(char *) "d", NULL
39634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39637 arg2
= (bool) SWIG_AsBool(obj1
);
39638 if (PyErr_Occurred()) SWIG_fail
;
39640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39641 (arg1
)->SetDone(arg2
);
39643 wxPyEndAllowThreads(__tstate
);
39644 if (PyErr_Occurred()) SWIG_fail
;
39646 Py_INCREF(Py_None
); resultobj
= Py_None
;
39653 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39654 PyObject
*resultobj
;
39655 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39657 PyObject
* obj0
= 0 ;
39658 char *kwnames
[] = {
39659 (char *) "self", NULL
39662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39667 result
= (int)(arg1
)->GetRelationship();
39669 wxPyEndAllowThreads(__tstate
);
39670 if (PyErr_Occurred()) SWIG_fail
;
39672 resultobj
= SWIG_FromInt((int)result
);
39679 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39680 PyObject
*resultobj
;
39681 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39683 PyObject
* obj0
= 0 ;
39684 PyObject
* obj1
= 0 ;
39685 char *kwnames
[] = {
39686 (char *) "self",(char *) "r", NULL
39689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39692 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39693 if (PyErr_Occurred()) SWIG_fail
;
39695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39696 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39698 wxPyEndAllowThreads(__tstate
);
39699 if (PyErr_Occurred()) SWIG_fail
;
39701 Py_INCREF(Py_None
); resultobj
= Py_None
;
39708 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39709 PyObject
*resultobj
;
39710 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39711 wxWindow
*arg2
= (wxWindow
*) 0 ;
39713 PyObject
* obj0
= 0 ;
39714 PyObject
* obj1
= 0 ;
39715 char *kwnames
[] = {
39716 (char *) "self",(char *) "otherW", NULL
39719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39726 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39728 wxPyEndAllowThreads(__tstate
);
39729 if (PyErr_Occurred()) SWIG_fail
;
39732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39740 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39741 PyObject
*resultobj
;
39742 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39743 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39744 wxWindow
*arg3
= (wxWindow
*) 0 ;
39746 PyObject
* obj0
= 0 ;
39747 PyObject
* obj1
= 0 ;
39748 PyObject
* obj2
= 0 ;
39749 char *kwnames
[] = {
39750 (char *) "self",(char *) "constraints",(char *) "win", NULL
39753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39758 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39762 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39764 wxPyEndAllowThreads(__tstate
);
39765 if (PyErr_Occurred()) SWIG_fail
;
39768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39776 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39777 PyObject
*resultobj
;
39778 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39780 wxWindow
*arg3
= (wxWindow
*) 0 ;
39781 wxWindow
*arg4
= (wxWindow
*) 0 ;
39783 PyObject
* obj0
= 0 ;
39784 PyObject
* obj1
= 0 ;
39785 PyObject
* obj2
= 0 ;
39786 PyObject
* obj3
= 0 ;
39787 char *kwnames
[] = {
39788 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39794 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39795 if (PyErr_Occurred()) SWIG_fail
;
39796 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39798 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39802 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39804 wxPyEndAllowThreads(__tstate
);
39805 if (PyErr_Occurred()) SWIG_fail
;
39807 resultobj
= SWIG_FromInt((int)result
);
39814 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39817 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39819 return Py_BuildValue((char *)"");
39821 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39822 PyObject
*resultobj
;
39823 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39824 wxIndividualLayoutConstraint
*result
;
39825 PyObject
* obj0
= 0 ;
39826 char *kwnames
[] = {
39827 (char *) "self", NULL
39830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39833 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39842 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39843 PyObject
*resultobj
;
39844 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39845 wxIndividualLayoutConstraint
*result
;
39846 PyObject
* obj0
= 0 ;
39847 char *kwnames
[] = {
39848 (char *) "self", NULL
39851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39854 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39863 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39864 PyObject
*resultobj
;
39865 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39866 wxIndividualLayoutConstraint
*result
;
39867 PyObject
* obj0
= 0 ;
39868 char *kwnames
[] = {
39869 (char *) "self", NULL
39872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39875 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39884 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39885 PyObject
*resultobj
;
39886 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39887 wxIndividualLayoutConstraint
*result
;
39888 PyObject
* obj0
= 0 ;
39889 char *kwnames
[] = {
39890 (char *) "self", NULL
39893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39896 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39905 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39906 PyObject
*resultobj
;
39907 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39908 wxIndividualLayoutConstraint
*result
;
39909 PyObject
* obj0
= 0 ;
39910 char *kwnames
[] = {
39911 (char *) "self", NULL
39914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39917 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
39919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39926 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39927 PyObject
*resultobj
;
39928 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39929 wxIndividualLayoutConstraint
*result
;
39930 PyObject
* obj0
= 0 ;
39931 char *kwnames
[] = {
39932 (char *) "self", NULL
39935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
39936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39938 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
39940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39947 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39948 PyObject
*resultobj
;
39949 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39950 wxIndividualLayoutConstraint
*result
;
39951 PyObject
* obj0
= 0 ;
39952 char *kwnames
[] = {
39953 (char *) "self", NULL
39956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
39957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39959 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
39961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39968 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39969 PyObject
*resultobj
;
39970 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39971 wxIndividualLayoutConstraint
*result
;
39972 PyObject
* obj0
= 0 ;
39973 char *kwnames
[] = {
39974 (char *) "self", NULL
39977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
39978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39980 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
39982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39989 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39990 PyObject
*resultobj
;
39991 wxLayoutConstraints
*result
;
39992 char *kwnames
[] = {
39996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
39998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39999 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40001 wxPyEndAllowThreads(__tstate
);
40002 if (PyErr_Occurred()) SWIG_fail
;
40004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40011 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40012 PyObject
*resultobj
;
40013 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40014 wxWindow
*arg2
= (wxWindow
*) 0 ;
40015 int *arg3
= (int *) 0 ;
40018 PyObject
* obj0
= 0 ;
40019 PyObject
* obj1
= 0 ;
40020 char *kwnames
[] = {
40021 (char *) "self",(char *) "win", NULL
40025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40032 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40034 wxPyEndAllowThreads(__tstate
);
40035 if (PyErr_Occurred()) SWIG_fail
;
40038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40041 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40042 resultobj
= t_output_helper(resultobj
,o
);
40050 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40051 PyObject
*resultobj
;
40052 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40054 PyObject
* obj0
= 0 ;
40055 char *kwnames
[] = {
40056 (char *) "self", NULL
40059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40064 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40066 wxPyEndAllowThreads(__tstate
);
40067 if (PyErr_Occurred()) SWIG_fail
;
40070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40078 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40081 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40083 return Py_BuildValue((char *)"");
40085 static PyMethodDef SwigMethods
[] = {
40086 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40087 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40088 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40089 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40090 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40091 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40092 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40093 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40094 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40095 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40096 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40097 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40098 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40099 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40100 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40101 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40102 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40103 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40104 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40105 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40106 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40107 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40108 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40109 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40110 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40111 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40112 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40113 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40114 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40115 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40116 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40117 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40118 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40119 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40120 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40121 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40122 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40123 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40124 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40125 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40126 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40127 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40128 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40129 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40130 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40131 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40132 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40133 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40134 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40135 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40136 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40137 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40138 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40139 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40140 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40141 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40142 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40143 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40144 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40145 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40146 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40147 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40148 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40149 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40150 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40151 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40152 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40153 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40154 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40155 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40156 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40157 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40158 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40159 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40160 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40161 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40162 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40163 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40164 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40165 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40166 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40167 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40168 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40169 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40170 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40171 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40172 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40173 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40174 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40176 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40183 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40191 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40219 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40225 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40237 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40239 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40247 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40248 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40260 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40271 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40274 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40276 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40282 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40292 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40302 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40306 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40345 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40377 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40379 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40381 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40383 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40385 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40387 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40389 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40391 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40393 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40395 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40397 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40399 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40413 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40431 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40434 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40437 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40449 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40454 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40460 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40466 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40471 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40477 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40529 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40536 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40572 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40582 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40592 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40594 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40596 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40599 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40603 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40606 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40609 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40611 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40616 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40624 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40628 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40631 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40633 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40637 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40654 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40656 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40659 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40661 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40665 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40669 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40678 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40681 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40684 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40688 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40695 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40700 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40705 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40749 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40764 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40768 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40778 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
40830 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
40831 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
40943 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
40981 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
40995 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
40998 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41053 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41080 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41110 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41118 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41135 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41136 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41172 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41201 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41204 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41208 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41211 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41221 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41233 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41243 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41253 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41267 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41273 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41274 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41275 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41276 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41277 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41282 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41309 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41325 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41327 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41328 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41330 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41331 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41333 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41334 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41336 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41337 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41339 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41340 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41342 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41343 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41345 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41346 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41348 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41349 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41351 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41352 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41354 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41355 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41357 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41358 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41360 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41361 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41363 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41364 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41366 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41367 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41369 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41370 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41372 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41373 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41375 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41376 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41378 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41379 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41381 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41382 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41384 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41385 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41387 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41388 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41390 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41391 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41393 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41394 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41396 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41397 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41399 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41400 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41402 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41403 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41405 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41406 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41408 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41409 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41411 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41412 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41414 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41415 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41417 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41418 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41420 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41421 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41423 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41424 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41426 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41427 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41429 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41430 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41432 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41433 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41435 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41436 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41438 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41439 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41441 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41442 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41444 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41445 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41447 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41448 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41450 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41451 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41453 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41454 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41456 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41457 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41459 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41460 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41462 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41463 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41465 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41466 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41468 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41469 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41471 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41472 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41474 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41475 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41477 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41480 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41481 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41483 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41484 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41486 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41487 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41489 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41490 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41492 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41493 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41495 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41496 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41498 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41499 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41501 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41502 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41504 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41505 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41507 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41508 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41510 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41511 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41513 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41514 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41516 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41517 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41519 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41520 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41522 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41523 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41525 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41526 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41528 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41529 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41531 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41532 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41534 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41535 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41537 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41538 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41540 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41541 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41543 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41544 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41546 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41547 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41549 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41550 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41552 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41553 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41555 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41556 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41558 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41559 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41561 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41562 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41564 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41567 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41568 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41570 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41571 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41573 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41574 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41576 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41577 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41579 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41582 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41585 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41586 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41588 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41589 return (void *)((wxObject
*) ((wxSizer
*) x
));
41591 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41592 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41594 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41595 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41597 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41598 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41600 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41601 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41603 static void *_p_wxImageTo_p_wxObject(void *x
) {
41604 return (void *)((wxObject
*) ((wxImage
*) x
));
41606 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41609 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41610 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41612 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41613 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41615 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41616 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41618 static void *_p_wxControlTo_p_wxObject(void *x
) {
41619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41621 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41622 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41624 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41625 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41627 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41628 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41630 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41631 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41633 static void *_p_wxEventTo_p_wxObject(void *x
) {
41634 return (void *)((wxObject
*) ((wxEvent
*) x
));
41636 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41637 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41639 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41640 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41642 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41643 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41645 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41646 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41648 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41649 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41651 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41652 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41654 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41655 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41657 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41658 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41660 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41663 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41664 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41666 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41667 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41669 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41670 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41672 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41673 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41675 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41676 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41678 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41679 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41681 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41682 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41684 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41685 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41687 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41688 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41690 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41691 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41693 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41694 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41696 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41697 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41699 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41700 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41702 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41703 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41705 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41706 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41708 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41711 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41712 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41714 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41715 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41717 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41718 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41720 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41721 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41723 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41724 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41726 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41727 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41729 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41732 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41733 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41735 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41736 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41738 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41739 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41741 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41742 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41744 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41745 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41747 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41748 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41750 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41751 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41753 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41754 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41756 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41757 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41759 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41760 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41762 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41763 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41765 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41766 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41768 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41769 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41771 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41772 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41774 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41775 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41777 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41778 return (void *)((wxWindow
*) ((wxControl
*) x
));
41780 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41781 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41783 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41784 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41786 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41787 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41789 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41790 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41792 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41793 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41795 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41796 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41798 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41799 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41801 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41802 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41804 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41805 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41807 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41808 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41810 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41811 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41813 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}};
41814 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}};
41815 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}};
41816 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}};
41817 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}};
41818 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}};
41819 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}};
41820 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}};
41821 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}};
41822 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}};
41823 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}};
41824 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}};
41825 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}};
41826 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}};
41827 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}};
41828 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}};
41829 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}};
41830 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}};
41831 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}};
41832 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}};
41833 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}};
41834 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}};
41835 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}};
41836 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}};
41837 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}};
41838 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}};
41839 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}};
41840 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}};
41841 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}};
41842 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}};
41843 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}};
41844 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}};
41845 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}};
41846 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}};
41847 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}};
41848 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}};
41849 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}};
41850 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}};
41851 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}};
41852 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}};
41853 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}};
41854 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}};
41855 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}};
41856 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}};
41857 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}};
41858 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}};
41859 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}};
41860 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}};
41861 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}};
41862 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}};
41863 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}};
41864 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}};
41865 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}};
41866 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}};
41867 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}};
41868 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}};
41869 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}};
41870 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}};
41871 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}};
41872 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}};
41873 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}};
41874 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}};
41875 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}};
41876 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}};
41877 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}};
41878 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}};
41879 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}};
41880 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}};
41881 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}};
41882 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}};
41883 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}};
41884 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}};
41885 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}};
41886 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}};
41887 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}};
41888 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}};
41889 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}};
41890 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}};
41891 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}};
41892 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}};
41893 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}};
41894 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}};
41895 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}};
41896 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}};
41897 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}};
41898 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}};
41899 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}};
41900 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}};
41901 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}};
41902 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}};
41903 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}};
41904 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}};
41905 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}};
41906 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}};
41907 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}};
41908 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}};
41909 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}};
41910 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}};
41911 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}};
41912 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}};
41913 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}};
41914 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}};
41915 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}};
41916 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}};
41917 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}};
41918 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}};
41919 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}};
41920 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}};
41921 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}};
41922 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}};
41923 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}};
41924 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}};
41925 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}};
41926 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}};
41927 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}};
41929 static swig_type_info
*swig_types_initial
[] = {
41930 _swigt__p_wxLayoutConstraints
,
41931 _swigt__p_wxRealPoint
,
41932 _swigt__p_wxSizerItem
,
41933 _swigt__p_wxGBSizerItem
,
41934 _swigt__p_wxScrollEvent
,
41935 _swigt__p_wxIndividualLayoutConstraint
,
41937 _swigt__p_wxBoxSizer
,
41938 _swigt__p_wxStaticBoxSizer
,
41939 _swigt__p_wxGridBagSizer
,
41940 _swigt__p_wxAcceleratorEntry
,
41941 _swigt__p_wxUpdateUIEvent
,
41944 _swigt__p_wxGridSizer
,
41945 _swigt__p_wxFlexGridSizer
,
41946 _swigt__p_wxInitDialogEvent
,
41947 _swigt__p_wxItemContainer
,
41948 _swigt__p_wxNcPaintEvent
,
41949 _swigt__p_wxPaintEvent
,
41950 _swigt__p_wxSysColourChangedEvent
,
41951 _swigt__p_wxMouseCaptureChangedEvent
,
41952 _swigt__p_wxDisplayChangedEvent
,
41953 _swigt__p_wxPaletteChangedEvent
,
41954 _swigt__p_wxControl
,
41956 _swigt__p_wxMenuBarBase
,
41957 _swigt__p_wxSetCursorEvent
,
41958 _swigt__p_wxFSFile
,
41960 _swigt__p_wxRegion
,
41961 _swigt__p_wxPoint2D
,
41965 _swigt__p_wxPySizer
,
41966 _swigt__p_wxVisualAttributes
,
41967 _swigt__p_wxNotifyEvent
,
41968 _swigt__p_wxPyEvent
,
41969 _swigt__p_wxPropagationDisabler
,
41970 _swigt__p_wxAppTraits
,
41971 _swigt__p_wxArrayString
,
41972 _swigt__p_wxShowEvent
,
41973 _swigt__p_wxToolTip
,
41974 _swigt__p_wxMaximizeEvent
,
41975 _swigt__p_wxIconizeEvent
,
41976 _swigt__p_wxActivateEvent
,
41977 _swigt__p_wxMoveEvent
,
41978 _swigt__p_wxSizeEvent
,
41979 _swigt__p_wxQueryNewPaletteEvent
,
41980 _swigt__p_wxWindowCreateEvent
,
41981 _swigt__p_wxIdleEvent
,
41982 _swigt__p_wxMenuItem
,
41983 _swigt__p_wxStaticBox
,
41985 _swigt__p_wxTIFFHandler
,
41986 _swigt__p_wxXPMHandler
,
41987 _swigt__p_wxPNMHandler
,
41988 _swigt__p_wxJPEGHandler
,
41989 _swigt__p_wxPCXHandler
,
41990 _swigt__p_wxGIFHandler
,
41991 _swigt__p_wxPNGHandler
,
41992 _swigt__p_wxANIHandler
,
41993 _swigt__p_wxMemoryFSHandler
,
41994 _swigt__p_wxEvtHandler
,
41995 _swigt__p_wxCURHandler
,
41996 _swigt__p_wxICOHandler
,
41997 _swigt__p_wxBMPHandler
,
41998 _swigt__p_wxImageHandler
,
41999 _swigt__p_wxFileSystemHandler
,
42000 _swigt__p_wxPyFileSystemHandler
,
42001 _swigt__p_wxInternetFSHandler
,
42002 _swigt__p_wxZipFSHandler
,
42004 _swigt__p_wxGBSpan
,
42005 _swigt__p_wxPropagateOnce
,
42006 _swigt__p_wxAcceleratorTable
,
42008 _swigt__p_wxGBPosition
,
42011 _swigt__p_wxScrollWinEvent
,
42012 _swigt__p_wxImageHistogram
,
42015 _swigt__p_wxCursor
,
42016 _swigt__p_wxObject
,
42017 _swigt__p_wxPyInputStream
,
42018 _swigt__p_wxOutputStream
,
42019 _swigt__p_wxInputStream
,
42020 _swigt__p_wxDateTime
,
42021 _swigt__p_wxKeyEvent
,
42022 _swigt__p_wxNavigationKeyEvent
,
42023 _swigt__p_wxWindowDestroyEvent
,
42024 _swigt__p_wxWindow
,
42025 _swigt__p_wxMenuBar
,
42026 _swigt__p_wxFileSystem
,
42027 _swigt__p_wxBitmap
,
42028 _swigt__p_wxMenuEvent
,
42029 _swigt__p_wxContextMenuEvent
,
42030 _swigt__p_unsigned_char
,
42031 _swigt__p_wxCloseEvent
,
42032 _swigt__p_wxEraseEvent
,
42033 _swigt__p_wxMouseEvent
,
42035 _swigt__p_wxCommandEvent
,
42036 _swigt__p_wxPyCommandEvent
,
42037 _swigt__p_wxPyDropTarget
,
42038 _swigt__p_wxChildFocusEvent
,
42039 _swigt__p_wxFocusEvent
,
42040 _swigt__p_wxDropFilesEvent
,
42041 _swigt__p_wxControlWithItems
,
42042 _swigt__p_wxColour
,
42043 _swigt__p_wxValidator
,
42044 _swigt__p_wxPyValidator
,
42049 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42051 static swig_const_info swig_const_table
[] = {
42061 SWIGEXPORT(void) SWIG_init(void) {
42062 static PyObject
*SWIG_globals
= 0;
42063 static int typeinit
= 0;
42066 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42067 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42068 d
= PyModule_GetDict(m
);
42071 for (i
= 0; swig_types_initial
[i
]; i
++) {
42072 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42076 SWIG_InstallConstants(d
,swig_const_table
);
42079 #ifndef wxPyUSE_EXPORT
42080 // Make our API structure a CObject so other modules can import it
42081 // from this module.
42082 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42083 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42087 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42088 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42089 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42090 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42091 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42092 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42093 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42094 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42095 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42096 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42097 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42098 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42099 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42100 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42101 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42102 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42103 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42104 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42105 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42106 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42107 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42108 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42109 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42110 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42111 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42112 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42113 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42114 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42115 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42116 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42117 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42118 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42119 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42120 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42121 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42122 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42123 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42124 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42125 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42126 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42127 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42128 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42129 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42130 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42131 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42132 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42133 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42134 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42135 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42136 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42137 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42138 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42139 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42140 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42141 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42142 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42143 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42144 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42145 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42146 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42147 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42148 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42149 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42150 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42151 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42152 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42153 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42154 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42155 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42156 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42157 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42158 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42159 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42160 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42161 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42162 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42163 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42164 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42165 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42166 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42167 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42168 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42169 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42170 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42171 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42172 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42173 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42174 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42175 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42176 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42177 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42178 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42179 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42180 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42181 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42182 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42183 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42184 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42185 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42186 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42187 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42188 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42189 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42190 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42191 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42192 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42193 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42194 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42195 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42196 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42197 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42198 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42199 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42200 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42201 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42202 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42203 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42204 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42205 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42206 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42207 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42208 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42209 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42210 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42211 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42212 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42213 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42214 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42215 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42216 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42217 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42218 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42219 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42220 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42221 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42222 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42223 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42224 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42225 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42226 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42227 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42228 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42229 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42230 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42231 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42232 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42233 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42234 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42235 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42236 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42237 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42238 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42239 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42240 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42241 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42242 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42243 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42244 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42245 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42246 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42247 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42248 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42249 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42250 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42251 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42252 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42253 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42254 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42255 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42256 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42257 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42258 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42259 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42260 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42261 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42262 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42263 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42264 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42265 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42266 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42267 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42268 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42269 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42270 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42271 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42272 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42273 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42274 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42275 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42276 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42277 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42278 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42279 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42280 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42281 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42282 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42283 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42284 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42285 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42286 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42287 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42288 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42289 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42290 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42291 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42292 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42293 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42294 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42295 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42296 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42297 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42298 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42299 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42300 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42301 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42302 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42303 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42304 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42305 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42306 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42307 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42308 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42309 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42310 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42311 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42312 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42313 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42314 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42315 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42316 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42317 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42318 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42319 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42320 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42321 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42322 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42323 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42324 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42325 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42326 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42327 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42328 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42329 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42330 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42331 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42332 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42333 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42334 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42335 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42336 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42337 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42338 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42339 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42340 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42341 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42342 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42343 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42344 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42345 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42346 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42347 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42348 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42349 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42350 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42351 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42352 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42353 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42354 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42355 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42356 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42357 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42358 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42359 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42360 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42361 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42362 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42363 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42364 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42365 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42366 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42367 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42368 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42369 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42370 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42371 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42372 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42373 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42374 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42375 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42376 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42377 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42378 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42379 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42380 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42381 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42382 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42383 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42384 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42385 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42386 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42387 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42388 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42389 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42390 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42391 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42392 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42393 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42394 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42395 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42396 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42397 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42398 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42399 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42400 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42401 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42402 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42403 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42404 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42405 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42406 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42407 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42408 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42409 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42410 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42411 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42412 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42413 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42414 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42415 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42416 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42417 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42418 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42419 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42420 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42421 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42422 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42423 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42424 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42425 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42426 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42427 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42428 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42429 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42430 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42431 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42432 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42433 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42434 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42435 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42436 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42437 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42438 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42439 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42440 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42441 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42442 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42443 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42444 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42445 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42446 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42447 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42448 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42449 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42450 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42451 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42452 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42453 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42454 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42455 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42456 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42457 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42458 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42459 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42460 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42461 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42462 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42463 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42464 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42465 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42466 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42467 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42468 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42469 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42470 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42471 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42472 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42473 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42474 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42475 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42476 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42477 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42478 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42479 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42480 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42481 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42482 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42483 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42484 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42485 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42486 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42487 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42488 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42489 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42490 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42491 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42492 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42493 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42494 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42495 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42496 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42497 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42498 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42499 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42500 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42501 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42502 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42503 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42504 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42505 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42506 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42507 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42508 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42509 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42510 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42511 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42512 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42513 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42514 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42515 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42516 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42517 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42518 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42519 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42520 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42521 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42522 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42523 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42524 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42525 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42526 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42527 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42528 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42529 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42530 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42531 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42532 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42533 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42534 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42535 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42536 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42537 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42538 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42539 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42540 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42541 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42542 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42543 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42544 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42545 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42546 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42547 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42548 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42549 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42550 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42551 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42552 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42553 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42554 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42555 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42556 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42557 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42558 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42559 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42560 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42561 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42562 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42563 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42564 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42565 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42566 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42567 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42568 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42569 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42570 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42571 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42572 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42573 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42574 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42575 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42576 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42577 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42578 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42579 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42580 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42581 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42582 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42583 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42584 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42585 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42586 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42587 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42588 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42589 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42590 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42591 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42592 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42593 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42594 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42595 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42596 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42597 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42598 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42599 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42600 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42601 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42602 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42603 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42604 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42605 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42606 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42607 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42608 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42609 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42610 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42611 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42612 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42613 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42614 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42615 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42616 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42617 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42618 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42619 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42620 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42621 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42622 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42623 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42624 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42625 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42626 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42627 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42628 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42629 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42630 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42631 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42632 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42633 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42634 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42635 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42636 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42637 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42638 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42639 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42640 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42641 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42642 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42643 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42644 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42645 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42646 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42647 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42648 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42649 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42650 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42651 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42652 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42653 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42654 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42655 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42656 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42657 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42658 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42659 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42661 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42664 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42666 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42667 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42668 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42669 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42670 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42671 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42672 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42673 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42674 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42675 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42676 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42677 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42678 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42679 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42680 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42681 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42682 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42683 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42684 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42685 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42686 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42687 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42688 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42689 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42690 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42691 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42692 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42693 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42694 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42695 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42696 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42697 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42698 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42699 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42700 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42701 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42702 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42703 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42704 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42705 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42706 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42707 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42708 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42709 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42710 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42711 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42712 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42713 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42714 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42715 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42716 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42717 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42718 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42719 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42720 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42721 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42722 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42723 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42724 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42725 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42726 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42727 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42728 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42729 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42730 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42731 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42732 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42733 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42734 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42735 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42736 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42737 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42738 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42739 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42740 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42741 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42742 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42743 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42744 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42745 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42746 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42747 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42748 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42749 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42750 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42751 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42752 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42753 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42754 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42755 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42756 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42757 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42758 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42759 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42760 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42761 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42762 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42763 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42764 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42765 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42766 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42767 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42768 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42769 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42770 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42771 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42772 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42773 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42774 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42775 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42776 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42777 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42778 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42779 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42780 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42781 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42782 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42783 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42784 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42785 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42786 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42787 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42788 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42789 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42790 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42791 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42792 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42793 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42794 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42795 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42796 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42797 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42798 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42799 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42800 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42801 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42802 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42803 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42804 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42805 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42806 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_FromInt((int)wxNavigationKeyEvent::IsBackward
));
42807 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_FromInt((int)wxNavigationKeyEvent::IsForward
));
42808 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_FromInt((int)wxNavigationKeyEvent::WinChange
));
42809 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42810 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42811 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42812 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42813 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42814 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42815 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42816 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42817 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42818 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42819 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42820 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42821 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42822 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42823 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
42824 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42825 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42826 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42827 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42828 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42829 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42830 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42831 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42832 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42833 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42834 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42835 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42836 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42837 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42838 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42839 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42840 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42841 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42842 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42843 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42844 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42845 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42846 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42847 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42848 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42850 // Initialize threading, some globals and such
42854 // Although these are defined in __version__ they need to be here too so
42855 // that an assert can be done to ensure that the wxPython and the wxWindows
42857 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42858 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42859 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));