1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210 #define SWIGTYPE_p_wxRealPoint swig_types[1]
211 #define SWIGTYPE_p_wxSizerItem swig_types[2]
212 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
214 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215 #define SWIGTYPE_p_wxSizer swig_types[6]
216 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
217 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221 #define SWIGTYPE_p_wxMenu swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 #define SWIGTYPE_p_wxGridSizer swig_types[14]
224 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226 #define SWIGTYPE_p_wxItemContainer swig_types[17]
227 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
229 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxFont swig_types[25]
235 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237 #define SWIGTYPE_p_wxFSFile swig_types[28]
238 #define SWIGTYPE_p_wxCaret swig_types[29]
239 #define SWIGTYPE_p_wxRegion swig_types[30]
240 #define SWIGTYPE_p_wxPoint2D swig_types[31]
241 #define SWIGTYPE_p_int swig_types[32]
242 #define SWIGTYPE_p_wxSize swig_types[33]
243 #define SWIGTYPE_p_wxDC swig_types[34]
244 #define SWIGTYPE_p_wxPySizer swig_types[35]
245 #define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246 #define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyEvent swig_types[38]
248 #define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249 #define SWIGTYPE_p_wxAppTraits swig_types[40]
250 #define SWIGTYPE_p_wxArrayString swig_types[41]
251 #define SWIGTYPE_p_wxShowEvent swig_types[42]
252 #define SWIGTYPE_p_wxToolTip swig_types[43]
253 #define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
256 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
257 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
258 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260 #define SWIGTYPE_p_wxIdleEvent swig_types[51]
261 #define SWIGTYPE_p_wxMenuItem swig_types[52]
262 #define SWIGTYPE_p_wxStaticBox swig_types[53]
263 #define SWIGTYPE_p_long swig_types[54]
264 #define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265 #define SWIGTYPE_p_wxXPMHandler swig_types[56]
266 #define SWIGTYPE_p_wxPNMHandler swig_types[57]
267 #define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268 #define SWIGTYPE_p_wxPCXHandler swig_types[59]
269 #define SWIGTYPE_p_wxGIFHandler swig_types[60]
270 #define SWIGTYPE_p_wxPNGHandler swig_types[61]
271 #define SWIGTYPE_p_wxANIHandler swig_types[62]
272 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
274 #define SWIGTYPE_p_wxCURHandler swig_types[65]
275 #define SWIGTYPE_p_wxICOHandler swig_types[66]
276 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
277 #define SWIGTYPE_p_wxImageHandler swig_types[68]
278 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282 #define SWIGTYPE_p_wxRect swig_types[73]
283 #define SWIGTYPE_p_wxGBSpan swig_types[74]
284 #define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285 #define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286 #define SWIGTYPE_p_char swig_types[77]
287 #define SWIGTYPE_p_wxGBPosition swig_types[78]
288 #define SWIGTYPE_p_wxImage swig_types[79]
289 #define SWIGTYPE_p_wxFrame swig_types[80]
290 #define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291 #define SWIGTYPE_p_wxImageHistogram swig_types[82]
292 #define SWIGTYPE_p_byte swig_types[83]
293 #define SWIGTYPE_p_wxPoint swig_types[84]
294 #define SWIGTYPE_p_wxCursor swig_types[85]
295 #define SWIGTYPE_p_wxObject swig_types[86]
296 #define SWIGTYPE_p_wxPyInputStream swig_types[87]
297 #define SWIGTYPE_p_wxOutputStream swig_types[88]
298 #define SWIGTYPE_p_wxInputStream swig_types[89]
299 #define SWIGTYPE_p_wxDateTime swig_types[90]
300 #define SWIGTYPE_p_wxKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303 #define SWIGTYPE_p_wxWindow swig_types[94]
304 #define SWIGTYPE_p_wxMenuBar swig_types[95]
305 #define SWIGTYPE_p_wxFileSystem swig_types[96]
306 #define SWIGTYPE_p_wxBitmap swig_types[97]
307 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
308 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309 #define SWIGTYPE_p_unsigned_char swig_types[100]
310 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
311 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
312 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
313 #define SWIGTYPE_p_wxPyApp swig_types[104]
314 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317 #define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxFocusEvent swig_types[109]
319 #define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320 #define SWIGTYPE_p_wxControlWithItems swig_types[111]
321 #define SWIGTYPE_p_wxColour swig_types[112]
322 #define SWIGTYPE_p_wxValidator swig_types[113]
323 #define SWIGTYPE_p_wxPyValidator swig_types[114]
324 static swig_type_info
*swig_types
[116];
326 /* -------- TYPES TABLE (END) -------- */
329 /*-----------------------------------------------
330 @(target):= _core_.so
331 ------------------------------------------------*/
332 #define SWIG_init init_core_
334 #define SWIG_name "_core_"
336 /* Auxiliar swig macros */
339 #define SWIGSTATICINLINE(a) static inline a
340 #define SWIGSTATIC(a) static a
341 #define swig_new_array(type, size) (new type[(size)])
342 #define swig_delete_array(cptr) delete[] cptr
343 #define swig_const_cast(type,a) const_cast<type>(a)
344 #define swig_static_cast(type,a) static_cast<type>(a)
345 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
347 #ifdef HAVE_NUMERIC_CAST
348 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
350 #define swig_numeric_cast(type,a) static_cast<type>(a)
355 #define SWIGSTATICINLINE(a) static a
356 #define SWIGSTATIC(a) static a
357 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358 #define swig_delete_array(cptr) free((char*)cptr)
359 #define swig_const_cast(type,a) (type)(a)
360 #define swig_static_cast(type,a) (type)(a)
361 #define swig_reinterpret_cast(type,a) (type)(a)
362 #define swig_numeric_cast(type,a) (type)(a)
364 #endif /* __cplusplus */
367 #define SWIG_FromSignedChar PyInt_FromLong
368 #define SWIG_FromUnsignedChar PyInt_FromLong
369 #define SWIG_FromShort PyInt_FromLong
370 #define SWIG_FromUnsignedShort PyInt_FromLong
371 #define SWIG_FromInt PyInt_FromLong
372 #define SWIG_FromLong PyInt_FromLong
373 #define SWIG_FromFloat PyFloat_FromDouble
374 #define SWIG_FromDouble PyFloat_FromDouble
375 #define SWIG_FromFloat PyFloat_FromDouble
376 #define SWIG_FromDouble PyFloat_FromDouble
379 #include "wx/wxPython/wxPython_int.h"
380 #include "wx/wxPython/pyclasses.h"
383 #ifndef wxPyUSE_EXPORT
384 // Helper functions for dealing with SWIG objects and such. These are
385 // located here so they know about the SWIG types and functions declared
386 // in the wrapper code.
388 #include <wx/hashmap.h>
389 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
392 // Maintains a hashmap of className to swig_type_info pointers. Given the
393 // name of a class either looks up the type info in the cache, or scans the
394 // SWIG tables for it.
395 extern PyObject
* wxPyPtrTypeMap
;
397 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
399 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
401 if (typeInfoCache
== NULL
)
402 typeInfoCache
= new wxPyTypeInfoHashMap
;
404 wxString
name(className
);
405 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
408 // it wasn't in the cache, so look it up from SWIG
409 name
.Append(wxT(" *"));
410 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
412 // if it still wasn't found, try looking for a mapped name
417 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
418 (char*)(const char*)name
.mbc_str())) != NULL
) {
419 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
420 name
.Append(wxT(" *"));
421 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
425 // and add it to the map if found
426 (*typeInfoCache
)[className
] = swigType
;
433 // Check if a class name is a type known to SWIG
434 bool wxPyCheckSwigType(const wxChar
* className
) {
436 swig_type_info
* swigType
= wxPyFindSwigType(className
);
437 return swigType
!= NULL
;
441 // Given a pointer to a C++ object and a class name, construct a Python proxy
443 PyObject
* wxPyConstructObject(void* ptr
,
444 const wxChar
* className
,
447 swig_type_info
* swigType
= wxPyFindSwigType(className
);
448 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
450 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
454 // Extract a pointer to the wrapped C++ object from a Python proxy object.
455 // Ensures that the proxy object is of the specified (or derived) type. If
456 // not able to perform the conversion then a Python exception is set and the
457 // error should be handled properly in the caller. Returns True on success.
458 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
459 const wxChar
* className
) {
461 swig_type_info
* swigType
= wxPyFindSwigType(className
);
462 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
464 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
468 // Make a SWIGified pointer object suitable for a .this attribute
469 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
471 PyObject
* robj
= NULL
;
473 swig_type_info
* swigType
= wxPyFindSwigType(className
);
474 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
476 #ifdef SWIG_COBJECT_TYPES
477 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
483 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
484 strcpy(r
, swigType
->name
);
485 robj
= PyString_FromString(result
);
495 // Export a C API in a struct. Other modules will be able to load this from
496 // the wx._core_ module and will then have safe access to these functions,
497 // even if they are located in another shared library.
498 static wxPyCoreAPI API
= {
500 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
501 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
502 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
503 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
504 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
505 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
506 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
507 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
508 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
509 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
510 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
511 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
512 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
513 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
514 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
515 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
516 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
523 wxPyBeginAllowThreads
,
525 wxPyBeginBlockThreads
,
539 wxBitmap_LIST_helper
,
540 wxString_LIST_helper
,
541 wxAcceleratorEntry_LIST_helper
,
550 wxPySimple_typecheck
,
553 wxPyCBH_setCallbackInfo
,
554 wxPyCBH_findCallback
,
555 wxPyCBH_callCallback
,
556 wxPyCBH_callCallbackObj
,
564 wxArrayString2PyList_helper
,
565 wxArrayInt2PyList_helper
,
569 wxPyOORClientData_dtor
,
571 wxPyCBInputStream_create
,
574 wxPySwigInstance_Check
,
584 enum wxHotkeyModifier
592 #define wxEVT_HOTKEY 9999
595 static const wxString
wxPyEmptyString(wxEmptyString
);
596 wxString
wxObject_GetClassName(wxObject
*self
){
597 return self
->GetClassInfo()->GetClassName();
599 void wxObject_Destroy(wxObject
*self
){
604 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
611 SWIGSTATICINLINE(long)
612 SWIG_CheckLongInRange(long value
, const char* type
,
613 long min_value
, long max_value
)
615 if (!PyErr_Occurred()) {
616 if (value
< min_value
) {
618 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
619 value
, type
, min_value
);
621 PyErr_SetObject(PyExc_OverflowError
, err
);
623 } else if (value
> max_value
) {
625 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
626 value
, type
, max_value
);
627 PyErr_SetObject(PyExc_OverflowError
, err
);
635 SWIGSTATICINLINE(long)
636 SWIG_AsLong(PyObject
* obj
)
638 if (PyNumber_Check(obj
))
639 return PyInt_AsLong(obj
);
641 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
642 obj
->ob_type
->tp_name
);
643 PyErr_SetObject(PyExc_TypeError
, errmsg
);
650 #if INT_MAX != LONG_MAX
651 SWIGSTATICINLINE(int)
652 SWIG_AsInt(PyObject
*obj
)
654 return swig_numeric_cast(int,
655 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
656 "int", INT_MIN
, INT_MAX
));
659 #define SWIG_AsInt SWIG_AsLong
663 SWIGSTATICINLINE(int)
664 SWIG_CheckInt(PyObject
* obj
)
667 if (PyErr_Occurred()) {
675 PyObject
*wxSize_Get(wxSize
*self
){
676 bool blocked
= wxPyBeginBlockThreads();
677 PyObject
* tup
= PyTuple_New(2);
678 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
679 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
680 wxPyEndBlockThreads(blocked
);
684 SWIGSTATICINLINE(double)
685 SWIG_AsDouble(PyObject
*obj
)
687 if (PyNumber_Check(obj
))
688 return PyFloat_AsDouble(obj
);
690 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
691 obj
->ob_type
->tp_name
);
692 PyErr_SetObject(PyExc_TypeError
, errmsg
);
699 SWIGSTATICINLINE(int)
700 SWIG_CheckDouble(PyObject
* obj
)
703 if (PyErr_Occurred()) {
711 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
715 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
716 bool blocked
= wxPyBeginBlockThreads();
717 PyObject
* tup
= PyTuple_New(2);
718 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
719 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
720 wxPyEndBlockThreads(blocked
);
724 SWIGSTATICINLINE(int)
725 SWIG_CheckLong(PyObject
* obj
)
728 if (PyErr_Occurred()) {
736 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
740 PyObject
*wxPoint_Get(wxPoint
*self
){
741 bool blocked
= wxPyBeginBlockThreads();
742 PyObject
* tup
= PyTuple_New(2);
743 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
744 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
745 wxPyEndBlockThreads(blocked
);
748 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
752 self
->height
= height
;
754 PyObject
*wxRect_Get(wxRect
*self
){
755 bool blocked
= wxPyBeginBlockThreads();
756 PyObject
* tup
= PyTuple_New(4);
757 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
758 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
759 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
760 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
761 wxPyEndBlockThreads(blocked
);
765 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
768 wxRect
dest(0,0,0,0);
771 reg1
.Intersect(reg2
);
772 dest
= reg1
.GetBox();
774 if (dest
!= wxRect(0,0,0,0)) {
775 bool blocked
= wxPyBeginBlockThreads();
776 wxRect
* newRect
= new wxRect(dest
);
777 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
778 wxPyEndBlockThreads(blocked
);
786 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
792 } else if (target
== Py_None
) {
796 if (!PyTuple_Check(target
)) {
798 target
= PyTuple_New(1);
799 PyTuple_SetItem(target
, 0, o2
);
802 PyTuple_SetItem(o3
, 0, o
);
805 target
= PySequence_Concat(o2
, o3
);
812 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
816 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
817 bool blocked
= wxPyBeginBlockThreads();
818 PyObject
* tup
= PyTuple_New(2);
819 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
820 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
821 wxPyEndBlockThreads(blocked
);
825 #include "wx/wxPython/pyistream.h"
827 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
828 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
830 return new wxPyInputStream(wxis
);
835 SWIGSTATICINLINE(PyObject
*)
836 SWIG_FromChar(char c
)
838 return PyString_FromStringAndSize(&c
,1);
842 SWIGSTATICINLINE(PyObject
* )
843 SWIG_FromUnsignedLong(unsigned long value
)
845 return (value
> LONG_MAX
) ?
846 PyLong_FromUnsignedLong(value
)
847 : PyInt_FromLong(swig_numeric_cast(long,value
));
851 /* returns '1' if the input is a raw char*, '0' if is a PyString */
853 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
855 static swig_type_info
* pchar_info
= 0;
857 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
859 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
861 PyString_AsStringAndSize(obj
, cptr
, &psize
);
862 if (PyErr_Occurred()) {
864 PyErr_SetString(PyExc_TypeError
,"a string is expected");
866 if (size
) *size
= psize
;
869 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
876 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
878 char* cptr
; size_t csize
;
879 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
880 if (PyErr_Occurred()) {
883 PyString_FromFormat("a char array of size %d is expected", size
);
884 PyErr_SetObject(PyExc_TypeError
, err
);
887 /* in C (but not in C++) you can do:
891 ie, assing the array using an extra '0' char.
894 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
898 PyString_FromFormat("a char array of maximum size %d is expected",
900 PyErr_SetObject(PyExc_TypeError
, err
);
903 if (csize
) memcpy(carray
, cptr
, csize
);
904 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
910 SWIGSTATICINLINE(char)
911 SWIG_AsChar(PyObject
*obj
)
914 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
915 c
= swig_numeric_cast(char,
916 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
917 "char", CHAR_MIN
, CHAR_MAX
));
919 SWIG_AsCharArray(obj
, &c
, 1);
920 if (PyErr_Occurred()) {
922 PyErr_SetString(PyExc_TypeError
, "a char is expected");
929 SWIGSTATICINLINE(int)
930 SWIG_CheckChar(PyObject
* obj
)
933 if (PyErr_Occurred()) {
941 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
942 // We use only strings for the streams, not unicode
943 PyObject
* str
= PyObject_Str(obj
);
945 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
948 self
->Write(PyString_AS_STRING(str
),
949 PyString_GET_SIZE(str
));
953 #include "wx/wxPython/pyistream.h"
956 class wxPyFileSystemHandler
: public wxFileSystemHandler
959 wxPyFileSystemHandler() : wxFileSystemHandler() {}
961 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
962 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
963 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
964 DEC_PYCALLBACK_STRING__pure(FindNext
);
966 wxString
GetProtocol(const wxString
& location
) {
967 return wxFileSystemHandler::GetProtocol(location
);
970 wxString
GetLeftLocation(const wxString
& location
) {
971 return wxFileSystemHandler::GetLeftLocation(location
);
974 wxString
GetAnchor(const wxString
& location
) {
975 return wxFileSystemHandler::GetAnchor(location
);
978 wxString
GetRightLocation(const wxString
& location
) {
979 return wxFileSystemHandler::GetRightLocation(location
);
982 wxString
GetMimeTypeFromExt(const wxString
& location
) {
983 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
990 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
991 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
992 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
993 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
996 SWIGSTATICINLINE(bool)
997 SWIG_AsBool(PyObject
*obj
)
999 return PyObject_IsTrue(obj
) ? true : false;
1003 SWIGSTATICINLINE(int)
1004 SWIG_CheckBool(PyObject
* obj
)
1007 if (PyErr_Occurred()) {
1016 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1017 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1018 return fname
.GetFullPath();
1022 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1025 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1028 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1029 const wxBitmap
& bitmap
,
1031 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1034 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1036 wxMemoryFSHandler::AddFile(filename
,
1037 // TODO: Verify data type
1038 (void*)PyString_AsString(data
),
1039 (size_t)PyString_Size(data
));
1043 #include "wx/wxPython/pyistream.h"
1046 SWIGSTATICINLINE(unsigned long)
1047 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1048 unsigned long max_value
)
1050 if (!PyErr_Occurred()) {
1051 if (value
> max_value
) {
1053 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1054 value
, type
, max_value
);
1055 PyErr_SetObject(PyExc_OverflowError
, err
);
1063 SWIGSTATICINLINE(unsigned long)
1064 SWIG_AsUnsignedLong(PyObject
* obj
)
1066 if (PyLong_Check(obj
)) {
1067 return PyLong_AsUnsignedLong(obj
);
1069 long i
= SWIG_AsLong(obj
);
1070 if ( !PyErr_Occurred() && (i
< 0)) {
1071 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1078 SWIGSTATICINLINE(unsigned char)
1079 SWIG_AsUnsignedChar(PyObject
*obj
)
1081 return swig_numeric_cast(unsigned char,
1082 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1083 "unsigned char", UCHAR_MAX
));
1087 SWIGSTATICINLINE(int)
1088 SWIG_CheckUnsignedChar(PyObject
* obj
)
1090 SWIG_AsUnsignedChar(obj
);
1091 if (PyErr_Occurred()) {
1099 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1100 if (width
> 0 && height
> 0)
1101 return new wxImage(width
, height
, clear
);
1105 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1106 return new wxImage(bitmap
.ConvertToImage());
1108 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1109 // Copy the source data so the wxImage can clean it up later
1110 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1115 memcpy(copy
, data
, width
*height
*3);
1116 return new wxImage(width
, height
, copy
, False
);
1118 wxSize
wxImage_GetSize(wxImage
*self
){
1119 wxSize
size(self
->GetWidth(), self
->GetHeight());
1122 PyObject
*wxImage_GetData(wxImage
*self
){
1123 unsigned char* data
= self
->GetData();
1124 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1126 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1129 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1130 unsigned char* dataPtr
;
1132 if (! PyString_Check(data
)) {
1133 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1137 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1138 dataPtr
= (unsigned char*) malloc(len
);
1139 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1140 self
->SetData(dataPtr
);
1141 // wxImage takes ownership of dataPtr...
1143 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1144 unsigned char* data
= self
->GetData();
1145 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1147 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1150 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1151 unsigned char* buffer
;
1154 bool blocked
= wxPyBeginBlockThreads();
1155 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1158 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1159 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1162 self
->SetData(buffer
);
1164 wxPyEndBlockThreads(blocked
);
1166 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1167 unsigned char* data
= self
->GetAlpha();
1171 int len
= self
->GetWidth() * self
->GetHeight();
1173 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1177 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1178 unsigned char* dataPtr
;
1180 if (! PyString_Check(data
)) {
1181 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1185 size_t len
= self
->GetWidth() * self
->GetHeight();
1186 dataPtr
= (unsigned char*) malloc(len
);
1187 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1188 self
->SetAlpha(dataPtr
);
1189 // wxImage takes ownership of dataPtr...
1191 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1192 unsigned char* data
= self
->GetAlpha();
1193 int len
= self
->GetWidth() * self
->GetHeight();
1195 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1198 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1199 unsigned char* buffer
;
1202 bool blocked
= wxPyBeginBlockThreads();
1203 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1206 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1207 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1210 self
->SetAlpha(buffer
);
1212 wxPyEndBlockThreads(blocked
);
1215 SWIGSTATICINLINE(int)
1216 SWIG_CheckUnsignedLong(PyObject
* obj
)
1218 SWIG_AsUnsignedLong(obj
);
1219 if (PyErr_Occurred()) {
1227 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1228 wxBitmap
bitmap(*self
);
1231 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1232 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1233 wxBitmap
bitmap( mono
, 1 );
1236 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1237 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1238 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1239 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1240 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1241 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1242 if (PyCallable_Check(func
)) {
1243 self
->Connect(id
, lastId
, eventType
,
1244 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1245 new wxPyCallback(func
));
1247 else if (func
== Py_None
) {
1248 self
->Disconnect(id
, lastId
, eventType
,
1249 (wxObjectEventFunction
)
1250 &wxPyCallback::EventThunker
);
1254 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1257 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1258 return self
->Disconnect(id
, lastId
, eventType
,
1259 (wxObjectEventFunction
)
1260 &wxPyCallback::EventThunker
);
1262 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1263 if (_self
&& _self
!= Py_None
) {
1264 self
->SetClientObject(new wxPyOORClientData(_self
));
1267 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1269 self
->SetClientObject(NULL
); // This will delete it too
1273 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1275 return self
->GetUnicodeKey();
1281 #if UINT_MAX < LONG_MAX
1282 #define SWIG_FromUnsignedInt SWIG_FromLong
1284 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1288 #if UINT_MAX != ULONG_MAX
1289 SWIGSTATICINLINE(unsigned int)
1290 SWIG_AsUnsignedInt(PyObject
*obj
)
1292 return swig_numeric_cast(unsigned int,
1293 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1294 "unsigned int", UINT_MAX
));
1297 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1301 SWIGSTATICINLINE(int)
1302 SWIG_CheckUnsignedInt(PyObject
* obj
)
1304 SWIG_AsUnsignedInt(obj
);
1305 if (PyErr_Occurred()) {
1313 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1314 self
->m_size
= size
;
1316 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1319 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1320 int count
= self
->GetNumberOfFiles();
1321 wxString
* files
= self
->GetFiles();
1322 PyObject
* list
= PyList_New(count
);
1325 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1329 for (int i
=0; i
<count
; i
++) {
1330 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1336 wxPyApp
*new_wxPyApp(){
1337 wxPythonApp
= new wxPyApp();
1341 void wxApp_CleanUp() {
1346 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1350 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1351 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1352 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1353 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1354 wxWindowList
& list
= self
->GetChildren();
1355 return wxPy_ConvertList(&list
);
1357 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1359 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1364 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1371 long wxWindow_GetHandle(wxWindow
*self
){
1372 return wxPyGetWinHandle(self
);
1375 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1376 return wxWindow::FindWindowById(id
, parent
);
1379 wxWindow
* wxFindWindowByName( const wxString
& name
,
1380 const wxWindow
*parent
= NULL
) {
1381 return wxWindow::FindWindowByName(name
, parent
);
1384 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1385 const wxWindow
*parent
= NULL
) {
1386 return wxWindow::FindWindowByLabel(label
, parent
);
1391 #include <wx/msw/private.h> // to get wxGetWindowId
1395 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1397 WXHWND hWnd
= (WXHWND
)_hWnd
;
1398 long id
= wxGetWindowId(hWnd
);
1399 wxWindow
* win
= new wxWindow
;
1400 parent
->AddChild(win
);
1401 win
->SetEventHandler(win
);
1404 win
->SubclassWin(hWnd
);
1405 win
->AdoptAttributesFromHWND();
1406 win
->SetupColours();
1409 wxPyRaiseNotImplemented();
1415 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1416 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1419 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1421 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1422 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1423 wxMenuItemList
& list
= self
->GetMenuItems();
1424 return wxPy_ConvertList(&list
);
1426 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1427 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1429 wxPyClientData
* data
= new wxPyClientData(clientData
);
1430 return self
->Append(item
, data
);
1432 return self
->Append(item
);
1434 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1436 wxPyClientData
* data
= new wxPyClientData(clientData
);
1437 return self
->Insert(item
, pos
, data
);
1439 return self
->Insert(item
, pos
);
1441 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1442 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1444 Py_INCREF(data
->m_obj
);
1451 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1452 wxPyClientData
* data
= new wxPyClientData(clientData
);
1453 self
->SetClientObject(n
, data
);
1457 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1458 wxPyUserData
* data
= NULL
;
1460 bool blocked
= wxPyBeginBlockThreads();
1461 data
= new wxPyUserData(userData
);
1462 wxPyEndBlockThreads(blocked
);
1464 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1466 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1467 wxPyUserData
* data
= NULL
;
1469 bool blocked
= wxPyBeginBlockThreads();
1470 data
= new wxPyUserData(userData
);
1471 wxPyEndBlockThreads(blocked
);
1473 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1475 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1476 wxPyUserData
* data
= NULL
;
1478 bool blocked
= wxPyBeginBlockThreads();
1479 data
= new wxPyUserData(userData
);
1480 wxPyEndBlockThreads(blocked
);
1482 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1488 SWIG_FloatCast(double value
)
1491 if (!PyErr_Occurred()) {
1492 if (value
< FLT_MIN
) {
1494 PyString_FromFormat("value %g is less than float minimum %g",
1496 PyErr_SetObject(PyExc_OverflowError
, err
);
1498 } else if (value
> FLT_MAX
) {
1500 PyString_FromFormat("value %g is greater than float maximum %g",
1502 PyErr_SetObject(PyExc_OverflowError
, err
);
1505 f
= swig_numeric_cast(float, value
);
1512 SWIGSTATICINLINE(float)
1513 SWIG_AsFloat(PyObject
*obj
)
1515 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1519 SWIGSTATICINLINE(int)
1520 SWIG_CheckFloat(PyObject
* obj
)
1523 if (PyErr_Occurred()) {
1531 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1532 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1534 Py_INCREF(data
->m_obj
);
1542 // Figure out the type of the sizer item
1544 struct wxPySizerItemInfo
{
1546 : window(NULL
), sizer(NULL
), gotSize(False
),
1547 size(wxDefaultSize
), gotPos(False
), pos(-1)
1558 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1560 wxPySizerItemInfo info
;
1562 wxSize
* sizePtr
= &size
;
1564 // Find out what the type of the item is
1566 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1571 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1575 // try wxSize or (w,h)
1576 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1577 info
.size
= *sizePtr
;
1578 info
.gotSize
= True
;
1582 if (checkIdx
&& PyInt_Check(item
)) {
1583 info
.pos
= PyInt_AsLong(item
);
1589 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1590 // no expected type, figure out what kind of error message to generate
1591 if ( !checkSize
&& !checkIdx
)
1592 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1593 else if ( checkSize
&& !checkIdx
)
1594 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1595 else if ( !checkSize
&& checkIdx
)
1596 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1598 // can this one happen?
1599 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1605 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1606 self
->SetClientObject(new wxPyOORClientData(_self
));
1608 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1610 wxPyUserData
* data
= NULL
;
1611 bool blocked
= wxPyBeginBlockThreads();
1612 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1613 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1614 data
= new wxPyUserData(userData
);
1615 wxPyEndBlockThreads(blocked
);
1617 // Now call the real Add method if a valid item type was found
1619 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1620 else if ( info
.sizer
)
1621 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1622 else if (info
.gotSize
)
1623 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1624 proportion
, flag
, border
, data
);
1626 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1628 wxPyUserData
* data
= NULL
;
1629 bool blocked
= wxPyBeginBlockThreads();
1630 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1631 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1632 data
= new wxPyUserData(userData
);
1633 wxPyEndBlockThreads(blocked
);
1635 // Now call the real Insert method if a valid item type was found
1637 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1638 else if ( info
.sizer
)
1639 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1640 else if (info
.gotSize
)
1641 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1642 proportion
, flag
, border
, data
);
1644 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1646 wxPyUserData
* data
= NULL
;
1647 bool blocked
= wxPyBeginBlockThreads();
1648 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1649 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1650 data
= new wxPyUserData(userData
);
1651 wxPyEndBlockThreads(blocked
);
1653 // Now call the real Prepend method if a valid item type was found
1655 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1656 else if ( info
.sizer
)
1657 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1658 else if (info
.gotSize
)
1659 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1660 proportion
, flag
, border
, data
);
1662 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1663 bool blocked
= wxPyBeginBlockThreads();
1664 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1665 wxPyEndBlockThreads(blocked
);
1667 return self
->Remove(info
.window
);
1668 else if ( info
.sizer
)
1669 return self
->Remove(info
.sizer
);
1670 else if ( info
.gotPos
)
1671 return self
->Remove(info
.pos
);
1675 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1676 bool blocked
= wxPyBeginBlockThreads();
1677 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1678 wxPyEndBlockThreads(blocked
);
1680 return self
->Detach(info
.window
);
1681 else if ( info
.sizer
)
1682 return self
->Detach(info
.sizer
);
1683 else if ( info
.gotPos
)
1684 return self
->Detach(info
.pos
);
1688 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1689 bool blocked
= wxPyBeginBlockThreads();
1690 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1691 wxPyEndBlockThreads(blocked
);
1693 self
->SetItemMinSize(info
.window
, size
);
1694 else if ( info
.sizer
)
1695 self
->SetItemMinSize(info
.sizer
, size
);
1696 else if ( info
.gotPos
)
1697 self
->SetItemMinSize(info
.pos
, size
);
1699 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1700 wxSizerItemList
& list
= self
->GetChildren();
1701 return wxPy_ConvertList(&list
);
1703 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1704 bool blocked
= wxPyBeginBlockThreads();
1705 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1706 wxPyEndBlockThreads(blocked
);
1708 self
->Show(info
.window
, show
);
1709 else if ( info
.sizer
)
1710 self
->Show(info
.sizer
, show
);
1711 else if ( info
.gotPos
)
1712 self
->Show(info
.pos
, show
);
1714 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1715 bool blocked
= wxPyBeginBlockThreads();
1716 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1717 wxPyEndBlockThreads(blocked
);
1719 return self
->IsShown(info
.window
);
1720 else if ( info
.sizer
)
1721 return self
->IsShown(info
.sizer
);
1722 else if ( info
.gotPos
)
1723 return self
->IsShown(info
.pos
);
1729 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1730 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1731 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1736 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1738 if (source
== Py_None
) {
1739 **obj
= wxGBPosition(-1,-1);
1742 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1745 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1747 if (source
== Py_None
) {
1748 **obj
= wxGBSpan(-1,-1);
1751 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1755 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1759 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1760 bool blocked
= wxPyBeginBlockThreads();
1761 PyObject
* tup
= PyTuple_New(2);
1762 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1763 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1764 wxPyEndBlockThreads(blocked
);
1767 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1768 self
->SetRowspan(rowspan
);
1769 self
->SetColspan(colspan
);
1771 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1772 bool blocked
= wxPyBeginBlockThreads();
1773 PyObject
* tup
= PyTuple_New(2);
1774 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1775 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1776 wxPyEndBlockThreads(blocked
);
1779 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1780 wxPyUserData
* data
= NULL
;
1782 bool blocked
= wxPyBeginBlockThreads();
1783 data
= new wxPyUserData(userData
);
1784 wxPyEndBlockThreads(blocked
);
1786 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
1788 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1789 wxPyUserData
* data
= NULL
;
1791 bool blocked
= wxPyBeginBlockThreads();
1792 data
= new wxPyUserData(userData
);
1793 wxPyEndBlockThreads(blocked
);
1795 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
1797 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1798 wxPyUserData
* data
= NULL
;
1800 bool blocked
= wxPyBeginBlockThreads();
1801 data
= new wxPyUserData(userData
);
1802 wxPyEndBlockThreads(blocked
);
1804 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
1806 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
1808 self
->GetEndPos(row
, col
);
1809 return wxGBPosition(row
, col
);
1811 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1813 wxPyUserData
* data
= NULL
;
1814 bool blocked
= wxPyBeginBlockThreads();
1815 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1816 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1817 data
= new wxPyUserData(userData
);
1818 wxPyEndBlockThreads(blocked
);
1820 // Now call the real Add method if a valid item type was found
1822 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1823 else if ( info
.sizer
)
1824 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1825 else if (info
.gotSize
)
1826 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1827 pos
, span
, flag
, border
, data
);
1835 static int _wrap_EmptyString_set(PyObject
*_val
) {
1836 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1841 static PyObject
*_wrap_EmptyString_get() {
1846 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1848 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1855 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
*resultobj
;
1857 wxObject
*arg1
= (wxObject
*) 0 ;
1859 PyObject
* obj0
= 0 ;
1861 (char *) "self", NULL
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 result
= wxObject_GetClassName(arg1
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1887 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
*resultobj
;
1889 wxObject
*arg1
= (wxObject
*) 0 ;
1890 PyObject
* obj0
= 0 ;
1892 (char *) "self", NULL
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 wxObject_Destroy(arg1
);
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1905 Py_INCREF(Py_None
); resultobj
= Py_None
;
1912 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1915 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1917 return Py_BuildValue((char *)"");
1919 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
*resultobj
;
1921 wxSize
*arg1
= (wxSize
*) 0 ;
1923 PyObject
* obj0
= 0 ;
1924 PyObject
* obj1
= 0 ;
1926 (char *) "self",(char *) "x", NULL
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1932 arg2
= (int) SWIG_AsInt(obj1
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1934 if (arg1
) (arg1
)->x
= arg2
;
1936 Py_INCREF(Py_None
); resultobj
= Py_None
;
1943 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
*resultobj
;
1945 wxSize
*arg1
= (wxSize
*) 0 ;
1947 PyObject
* obj0
= 0 ;
1949 (char *) "self", NULL
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1955 result
= (int) ((arg1
)->x
);
1957 resultobj
= SWIG_FromInt((int)result
);
1964 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxSize
*arg1
= (wxSize
*) 0 ;
1968 PyObject
* obj0
= 0 ;
1969 PyObject
* obj1
= 0 ;
1971 (char *) "self",(char *) "y", NULL
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1977 arg2
= (int) SWIG_AsInt(obj1
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1979 if (arg1
) (arg1
)->y
= arg2
;
1981 Py_INCREF(Py_None
); resultobj
= Py_None
;
1988 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1990 wxSize
*arg1
= (wxSize
*) 0 ;
1992 PyObject
* obj0
= 0 ;
1994 (char *) "self", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2000 result
= (int) ((arg1
)->y
);
2002 resultobj
= SWIG_FromInt((int)result
);
2009 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
*resultobj
;
2011 int arg1
= (int) 0 ;
2012 int arg2
= (int) 0 ;
2014 PyObject
* obj0
= 0 ;
2015 PyObject
* obj1
= 0 ;
2017 (char *) "w",(char *) "h", NULL
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2022 arg1
= (int) SWIG_AsInt(obj0
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2026 arg2
= (int) SWIG_AsInt(obj1
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2043 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
*resultobj
;
2045 wxSize
*arg1
= (wxSize
*) 0 ;
2046 PyObject
* obj0
= 0 ;
2048 (char *) "self", NULL
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2061 Py_INCREF(Py_None
); resultobj
= Py_None
;
2068 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2070 wxSize
*arg1
= (wxSize
*) 0 ;
2074 PyObject
* obj0
= 0 ;
2075 PyObject
* obj1
= 0 ;
2077 (char *) "self",(char *) "sz", NULL
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2085 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2103 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
*resultobj
;
2105 wxSize
*arg1
= (wxSize
*) 0 ;
2109 PyObject
* obj0
= 0 ;
2110 PyObject
* obj1
= 0 ;
2112 (char *) "self",(char *) "sz", NULL
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2120 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2138 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
*resultobj
;
2140 wxSize
*arg1
= (wxSize
*) 0 ;
2144 PyObject
* obj0
= 0 ;
2145 PyObject
* obj1
= 0 ;
2147 (char *) "self",(char *) "sz", NULL
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2155 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) SWIG_fail
;
2166 resultptr
= new wxSize((wxSize
&) result
);
2167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2175 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2177 wxSize
*arg1
= (wxSize
*) 0 ;
2181 PyObject
* obj0
= 0 ;
2182 PyObject
* obj1
= 0 ;
2184 (char *) "self",(char *) "sz", NULL
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2192 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2203 resultptr
= new wxSize((wxSize
&) result
);
2204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2212 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
*resultobj
;
2214 wxSize
*arg1
= (wxSize
*) 0 ;
2217 PyObject
* obj0
= 0 ;
2218 PyObject
* obj1
= 0 ;
2220 (char *) "self",(char *) "sz", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2228 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 (arg1
)->IncTo((wxSize
const &)*arg2
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxSize
*arg1
= (wxSize
*) 0 ;
2249 PyObject
* obj0
= 0 ;
2250 PyObject
* obj1
= 0 ;
2252 (char *) "self",(char *) "sz", NULL
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2260 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 (arg1
)->DecTo((wxSize
const &)*arg2
);
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 Py_INCREF(Py_None
); resultobj
= Py_None
;
2276 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
*resultobj
;
2278 wxSize
*arg1
= (wxSize
*) 0 ;
2281 PyObject
* obj0
= 0 ;
2282 PyObject
* obj1
= 0 ;
2283 PyObject
* obj2
= 0 ;
2285 (char *) "self",(char *) "w",(char *) "h", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2291 arg2
= (int) SWIG_AsInt(obj1
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2293 arg3
= (int) SWIG_AsInt(obj2
);
2294 if (PyErr_Occurred()) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 (arg1
)->Set(arg2
,arg3
);
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2302 Py_INCREF(Py_None
); resultobj
= Py_None
;
2309 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
*resultobj
;
2311 wxSize
*arg1
= (wxSize
*) 0 ;
2313 PyObject
* obj0
= 0 ;
2314 PyObject
* obj1
= 0 ;
2316 (char *) "self",(char *) "w", NULL
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2322 arg2
= (int) SWIG_AsInt(obj1
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 (arg1
)->SetWidth(arg2
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 Py_INCREF(Py_None
); resultobj
= Py_None
;
2338 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxSize
*arg1
= (wxSize
*) 0 ;
2342 PyObject
* obj0
= 0 ;
2343 PyObject
* obj1
= 0 ;
2345 (char *) "self",(char *) "h", NULL
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2351 arg2
= (int) SWIG_AsInt(obj1
);
2352 if (PyErr_Occurred()) SWIG_fail
;
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 (arg1
)->SetHeight(arg2
);
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2360 Py_INCREF(Py_None
); resultobj
= Py_None
;
2367 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
*resultobj
;
2369 wxSize
*arg1
= (wxSize
*) 0 ;
2371 PyObject
* obj0
= 0 ;
2373 (char *) "self", NULL
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 resultobj
= SWIG_FromInt((int)result
);
2393 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxSize
*arg1
= (wxSize
*) 0 ;
2397 PyObject
* obj0
= 0 ;
2399 (char *) "self", NULL
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2412 resultobj
= SWIG_FromInt((int)result
);
2419 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
*resultobj
;
2421 wxSize
*arg1
= (wxSize
*) 0 ;
2423 PyObject
* obj0
= 0 ;
2425 (char *) "self", NULL
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2433 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2435 wxPyEndAllowThreads(__tstate
);
2436 if (PyErr_Occurred()) SWIG_fail
;
2439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2447 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
*resultobj
;
2449 wxSize
*arg1
= (wxSize
*) 0 ;
2452 PyObject
* obj0
= 0 ;
2453 PyObject
* obj1
= 0 ;
2455 (char *) "self",(char *) "size", NULL
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2463 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 Py_INCREF(Py_None
); resultobj
= Py_None
;
2479 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxSize
*arg1
= (wxSize
*) 0 ;
2483 PyObject
* obj0
= 0 ;
2485 (char *) "self", NULL
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 result
= (PyObject
*)wxSize_Get(arg1
);
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2505 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2508 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2510 return Py_BuildValue((char *)"");
2512 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
*resultobj
;
2514 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2516 PyObject
* obj0
= 0 ;
2517 PyObject
* obj1
= 0 ;
2519 (char *) "self",(char *) "x", NULL
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2525 arg2
= (double) SWIG_AsDouble(obj1
);
2526 if (PyErr_Occurred()) SWIG_fail
;
2527 if (arg1
) (arg1
)->x
= arg2
;
2529 Py_INCREF(Py_None
); resultobj
= Py_None
;
2536 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2540 PyObject
* obj0
= 0 ;
2542 (char *) "self", NULL
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2548 result
= (double) ((arg1
)->x
);
2550 resultobj
= SWIG_FromDouble((double)result
);
2557 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2561 PyObject
* obj0
= 0 ;
2562 PyObject
* obj1
= 0 ;
2564 (char *) "self",(char *) "y", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2570 arg2
= (double) SWIG_AsDouble(obj1
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2572 if (arg1
) (arg1
)->y
= arg2
;
2574 Py_INCREF(Py_None
); resultobj
= Py_None
;
2581 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2583 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2585 PyObject
* obj0
= 0 ;
2587 (char *) "self", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2593 result
= (double) ((arg1
)->y
);
2595 resultobj
= SWIG_FromDouble((double)result
);
2602 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 double arg1
= (double) 0.0 ;
2605 double arg2
= (double) 0.0 ;
2606 wxRealPoint
*result
;
2607 PyObject
* obj0
= 0 ;
2608 PyObject
* obj1
= 0 ;
2610 (char *) "x",(char *) "y", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2615 arg1
= (double) SWIG_AsDouble(obj0
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2619 arg2
= (double) SWIG_AsDouble(obj1
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2636 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2638 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2639 PyObject
* obj0
= 0 ;
2641 (char *) "self", NULL
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2654 Py_INCREF(Py_None
); resultobj
= Py_None
;
2661 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
*resultobj
;
2663 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2664 wxRealPoint
*arg2
= 0 ;
2667 PyObject
* obj0
= 0 ;
2668 PyObject
* obj1
= 0 ;
2670 (char *) "self",(char *) "pt", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2678 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2696 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2699 wxRealPoint
*arg2
= 0 ;
2702 PyObject
* obj0
= 0 ;
2703 PyObject
* obj1
= 0 ;
2705 (char *) "self",(char *) "pt", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2713 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2731 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2733 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2734 wxRealPoint
*arg2
= 0 ;
2737 PyObject
* obj0
= 0 ;
2738 PyObject
* obj1
= 0 ;
2740 (char *) "self",(char *) "pt", NULL
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2748 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2758 wxRealPoint
* resultptr
;
2759 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2768 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
*resultobj
;
2770 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2771 wxRealPoint
*arg2
= 0 ;
2774 PyObject
* obj0
= 0 ;
2775 PyObject
* obj1
= 0 ;
2777 (char *) "self",(char *) "pt", NULL
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2785 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2795 wxRealPoint
* resultptr
;
2796 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2805 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
*resultobj
;
2807 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2810 PyObject
* obj0
= 0 ;
2811 PyObject
* obj1
= 0 ;
2812 PyObject
* obj2
= 0 ;
2814 (char *) "self",(char *) "x",(char *) "y", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2820 arg2
= (double) SWIG_AsDouble(obj1
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2822 arg3
= (double) SWIG_AsDouble(obj2
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2826 wxRealPoint_Set(arg1
,arg2
,arg3
);
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2831 Py_INCREF(Py_None
); resultobj
= Py_None
;
2838 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2842 PyObject
* obj0
= 0 ;
2844 (char *) "self", NULL
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) SWIG_fail
;
2864 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2867 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2869 return Py_BuildValue((char *)"");
2871 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
*resultobj
;
2873 wxPoint
*arg1
= (wxPoint
*) 0 ;
2875 PyObject
* obj0
= 0 ;
2876 PyObject
* obj1
= 0 ;
2878 (char *) "self",(char *) "x", NULL
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2884 arg2
= (int) SWIG_AsInt(obj1
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2886 if (arg1
) (arg1
)->x
= arg2
;
2888 Py_INCREF(Py_None
); resultobj
= Py_None
;
2895 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
*resultobj
;
2897 wxPoint
*arg1
= (wxPoint
*) 0 ;
2899 PyObject
* obj0
= 0 ;
2901 (char *) "self", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2907 result
= (int) ((arg1
)->x
);
2909 resultobj
= SWIG_FromInt((int)result
);
2916 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2918 wxPoint
*arg1
= (wxPoint
*) 0 ;
2920 PyObject
* obj0
= 0 ;
2921 PyObject
* obj1
= 0 ;
2923 (char *) "self",(char *) "y", NULL
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2929 arg2
= (int) SWIG_AsInt(obj1
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2931 if (arg1
) (arg1
)->y
= arg2
;
2933 Py_INCREF(Py_None
); resultobj
= Py_None
;
2940 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxPoint
*arg1
= (wxPoint
*) 0 ;
2944 PyObject
* obj0
= 0 ;
2946 (char *) "self", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2952 result
= (int) ((arg1
)->y
);
2954 resultobj
= SWIG_FromInt((int)result
);
2961 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
*resultobj
;
2963 int arg1
= (int) 0 ;
2964 int arg2
= (int) 0 ;
2966 PyObject
* obj0
= 0 ;
2967 PyObject
* obj1
= 0 ;
2969 (char *) "x",(char *) "y", NULL
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2974 arg1
= (int) SWIG_AsInt(obj0
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2978 arg2
= (int) SWIG_AsInt(obj1
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2995 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxPoint
*arg1
= (wxPoint
*) 0 ;
2998 PyObject
* obj0
= 0 ;
3000 (char *) "self", NULL
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3013 Py_INCREF(Py_None
); resultobj
= Py_None
;
3020 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
*resultobj
;
3022 wxPoint
*arg1
= (wxPoint
*) 0 ;
3026 PyObject
* obj0
= 0 ;
3027 PyObject
* obj1
= 0 ;
3029 (char *) "self",(char *) "pt", NULL
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3037 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3055 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
*resultobj
;
3057 wxPoint
*arg1
= (wxPoint
*) 0 ;
3061 PyObject
* obj0
= 0 ;
3062 PyObject
* obj1
= 0 ;
3064 (char *) "self",(char *) "pt", NULL
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3090 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxPoint
*arg1
= (wxPoint
*) 0 ;
3096 PyObject
* obj0
= 0 ;
3097 PyObject
* obj1
= 0 ;
3099 (char *) "self",(char *) "pt", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3117 wxPoint
* resultptr
;
3118 resultptr
= new wxPoint((wxPoint
&) result
);
3119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3127 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
*resultobj
;
3129 wxPoint
*arg1
= (wxPoint
*) 0 ;
3133 PyObject
* obj0
= 0 ;
3134 PyObject
* obj1
= 0 ;
3136 (char *) "self",(char *) "pt", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3144 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3154 wxPoint
* resultptr
;
3155 resultptr
= new wxPoint((wxPoint
&) result
);
3156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3164 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
;
3166 wxPoint
*arg1
= (wxPoint
*) 0 ;
3170 PyObject
* obj0
= 0 ;
3171 PyObject
* obj1
= 0 ;
3173 (char *) "self",(char *) "pt", NULL
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3187 result
= (wxPoint
*) &_result_ref
;
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3200 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxPoint
*arg1
= (wxPoint
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3207 PyObject
* obj1
= 0 ;
3209 (char *) "self",(char *) "pt", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3217 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3223 result
= (wxPoint
*) &_result_ref
;
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3236 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
;
3238 wxPoint
*arg1
= (wxPoint
*) 0 ;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3243 PyObject
* obj2
= 0 ;
3245 (char *) "self",(char *) "x",(char *) "y", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3251 arg2
= (long) SWIG_AsLong(obj1
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3253 arg3
= (long) SWIG_AsLong(obj2
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 wxPoint_Set(arg1
,arg2
,arg3
);
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3262 Py_INCREF(Py_None
); resultobj
= Py_None
;
3269 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
*resultobj
;
3271 wxPoint
*arg1
= (wxPoint
*) 0 ;
3273 PyObject
* obj0
= 0 ;
3275 (char *) "self", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 result
= (PyObject
*)wxPoint_Get(arg1
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3295 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3298 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3300 return Py_BuildValue((char *)"");
3302 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 int arg1
= (int) 0 ;
3305 int arg2
= (int) 0 ;
3306 int arg3
= (int) 0 ;
3307 int arg4
= (int) 0 ;
3309 PyObject
* obj0
= 0 ;
3310 PyObject
* obj1
= 0 ;
3311 PyObject
* obj2
= 0 ;
3312 PyObject
* obj3
= 0 ;
3314 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3319 arg1
= (int) SWIG_AsInt(obj0
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3323 arg2
= (int) SWIG_AsInt(obj1
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3327 arg3
= (int) SWIG_AsInt(obj2
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3331 arg4
= (int) SWIG_AsInt(obj3
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3348 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
*resultobj
;
3355 PyObject
* obj0
= 0 ;
3356 PyObject
* obj1
= 0 ;
3358 (char *) "topLeft",(char *) "bottomRight", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3364 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3368 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3384 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3391 PyObject
* obj0
= 0 ;
3392 PyObject
* obj1
= 0 ;
3394 (char *) "pos",(char *) "size", NULL
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3400 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3404 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3420 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxRect
*arg1
= (wxRect
*) 0 ;
3423 PyObject
* obj0
= 0 ;
3425 (char *) "self", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3438 Py_INCREF(Py_None
); resultobj
= Py_None
;
3445 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3447 wxRect
*arg1
= (wxRect
*) 0 ;
3449 PyObject
* obj0
= 0 ;
3451 (char *) "self", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 result
= (int)((wxRect
const *)arg1
)->GetX();
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3464 resultobj
= SWIG_FromInt((int)result
);
3471 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
*resultobj
;
3473 wxRect
*arg1
= (wxRect
*) 0 ;
3475 PyObject
* obj0
= 0 ;
3476 PyObject
* obj1
= 0 ;
3478 (char *) "self",(char *) "x", NULL
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3484 arg2
= (int) SWIG_AsInt(obj1
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3493 Py_INCREF(Py_None
); resultobj
= Py_None
;
3500 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxRect
*arg1
= (wxRect
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3506 (char *) "self", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= (int)(arg1
)->GetY();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 resultobj
= SWIG_FromInt((int)result
);
3526 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxRect
*arg1
= (wxRect
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3531 PyObject
* obj1
= 0 ;
3533 (char *) "self",(char *) "y", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3539 arg2
= (int) SWIG_AsInt(obj1
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 Py_INCREF(Py_None
); resultobj
= Py_None
;
3555 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3557 wxRect
*arg1
= (wxRect
*) 0 ;
3559 PyObject
* obj0
= 0 ;
3561 (char *) "self", NULL
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3574 resultobj
= SWIG_FromInt((int)result
);
3581 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3583 wxRect
*arg1
= (wxRect
*) 0 ;
3585 PyObject
* obj0
= 0 ;
3586 PyObject
* obj1
= 0 ;
3588 (char *) "self",(char *) "w", NULL
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3594 arg2
= (int) SWIG_AsInt(obj1
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 (arg1
)->SetWidth(arg2
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3603 Py_INCREF(Py_None
); resultobj
= Py_None
;
3610 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3612 wxRect
*arg1
= (wxRect
*) 0 ;
3614 PyObject
* obj0
= 0 ;
3616 (char *) "self", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3629 resultobj
= SWIG_FromInt((int)result
);
3636 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
*resultobj
;
3638 wxRect
*arg1
= (wxRect
*) 0 ;
3640 PyObject
* obj0
= 0 ;
3641 PyObject
* obj1
= 0 ;
3643 (char *) "self",(char *) "h", NULL
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3649 arg2
= (int) SWIG_AsInt(obj1
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 (arg1
)->SetHeight(arg2
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 Py_INCREF(Py_None
); resultobj
= Py_None
;
3665 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxRect
*arg1
= (wxRect
*) 0 ;
3669 PyObject
* obj0
= 0 ;
3671 (char *) "self", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 result
= ((wxRect
const *)arg1
)->GetPosition();
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3685 wxPoint
* resultptr
;
3686 resultptr
= new wxPoint((wxPoint
&) result
);
3687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3695 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3697 wxRect
*arg1
= (wxRect
*) 0 ;
3700 PyObject
* obj0
= 0 ;
3701 PyObject
* obj1
= 0 ;
3703 (char *) "self",(char *) "p", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3711 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 Py_INCREF(Py_None
); resultobj
= Py_None
;
3727 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxRect
*arg1
= (wxRect
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3733 (char *) "self", NULL
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 result
= ((wxRect
const *)arg1
)->GetSize();
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3748 resultptr
= new wxSize((wxSize
&) result
);
3749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3757 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
;
3759 wxRect
*arg1
= (wxRect
*) 0 ;
3762 PyObject
* obj0
= 0 ;
3763 PyObject
* obj1
= 0 ;
3765 (char *) "self",(char *) "s", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3773 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 (arg1
)->SetSize((wxSize
const &)*arg2
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3782 Py_INCREF(Py_None
); resultobj
= Py_None
;
3789 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
*resultobj
;
3791 wxRect
*arg1
= (wxRect
*) 0 ;
3793 PyObject
* obj0
= 0 ;
3795 (char *) "self", NULL
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3809 wxPoint
* resultptr
;
3810 resultptr
= new wxPoint((wxPoint
&) result
);
3811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3819 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxRect
*arg1
= (wxRect
*) 0 ;
3824 PyObject
* obj0
= 0 ;
3825 PyObject
* obj1
= 0 ;
3827 (char *) "self",(char *) "p", NULL
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3835 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 Py_INCREF(Py_None
); resultobj
= Py_None
;
3851 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
;
3853 wxRect
*arg1
= (wxRect
*) 0 ;
3855 PyObject
* obj0
= 0 ;
3857 (char *) "self", NULL
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3871 wxPoint
* resultptr
;
3872 resultptr
= new wxPoint((wxPoint
&) result
);
3873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3881 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3883 wxRect
*arg1
= (wxRect
*) 0 ;
3886 PyObject
* obj0
= 0 ;
3887 PyObject
* obj1
= 0 ;
3889 (char *) "self",(char *) "p", NULL
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3897 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 Py_INCREF(Py_None
); resultobj
= Py_None
;
3913 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxRect
*arg1
= (wxRect
*) 0 ;
3917 PyObject
* obj0
= 0 ;
3919 (char *) "self", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_FromInt((int)result
);
3939 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxRect
*arg1
= (wxRect
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "self", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 result
= (int)((wxRect
const *)arg1
)->GetTop();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 resultobj
= SWIG_FromInt((int)result
);
3965 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxRect
*arg1
= (wxRect
*) 0 ;
3969 PyObject
* obj0
= 0 ;
3971 (char *) "self", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 resultobj
= SWIG_FromInt((int)result
);
3991 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3993 wxRect
*arg1
= (wxRect
*) 0 ;
3995 PyObject
* obj0
= 0 ;
3997 (char *) "self", NULL
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 result
= (int)((wxRect
const *)arg1
)->GetRight();
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 resultobj
= SWIG_FromInt((int)result
);
4017 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4019 wxRect
*arg1
= (wxRect
*) 0 ;
4021 PyObject
* obj0
= 0 ;
4022 PyObject
* obj1
= 0 ;
4024 (char *) "self",(char *) "left", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4030 arg2
= (int) SWIG_AsInt(obj1
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 (arg1
)->SetLeft(arg2
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 Py_INCREF(Py_None
); resultobj
= Py_None
;
4046 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxRect
*arg1
= (wxRect
*) 0 ;
4050 PyObject
* obj0
= 0 ;
4051 PyObject
* obj1
= 0 ;
4053 (char *) "self",(char *) "right", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4059 arg2
= (int) SWIG_AsInt(obj1
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 (arg1
)->SetRight(arg2
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 Py_INCREF(Py_None
); resultobj
= Py_None
;
4075 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4077 wxRect
*arg1
= (wxRect
*) 0 ;
4079 PyObject
* obj0
= 0 ;
4080 PyObject
* obj1
= 0 ;
4082 (char *) "self",(char *) "top", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4088 arg2
= (int) SWIG_AsInt(obj1
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 (arg1
)->SetTop(arg2
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 Py_INCREF(Py_None
); resultobj
= Py_None
;
4104 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxRect
*arg1
= (wxRect
*) 0 ;
4108 PyObject
* obj0
= 0 ;
4109 PyObject
* obj1
= 0 ;
4111 (char *) "self",(char *) "bottom", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 arg2
= (int) SWIG_AsInt(obj1
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 (arg1
)->SetBottom(arg2
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 Py_INCREF(Py_None
); resultobj
= Py_None
;
4133 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxRect
*arg1
= (wxRect
*) 0 ;
4139 PyObject
* obj0
= 0 ;
4140 PyObject
* obj1
= 0 ;
4141 PyObject
* obj2
= 0 ;
4143 (char *) "self",(char *) "dx",(char *) "dy", NULL
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4149 arg2
= (int) SWIG_AsInt(obj1
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4151 arg3
= (int) SWIG_AsInt(obj2
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4157 result
= (wxRect
*) &_result_ref
;
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4170 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxRect
*arg1
= (wxRect
*) 0 ;
4176 PyObject
* obj0
= 0 ;
4177 PyObject
* obj1
= 0 ;
4178 PyObject
* obj2
= 0 ;
4180 (char *) "self",(char *) "dx",(char *) "dy", NULL
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4186 arg2
= (int) SWIG_AsInt(obj1
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4188 arg3
= (int) SWIG_AsInt(obj2
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4194 result
= (wxRect
*) &_result_ref
;
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4207 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
*resultobj
;
4209 wxRect
*arg1
= (wxRect
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4214 PyObject
* obj2
= 0 ;
4216 (char *) "self",(char *) "dx",(char *) "dy", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4222 arg2
= (int) SWIG_AsInt(obj1
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4224 arg3
= (int) SWIG_AsInt(obj2
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 (arg1
)->Offset(arg2
,arg3
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 Py_INCREF(Py_None
); resultobj
= Py_None
;
4240 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxRect
*arg1
= (wxRect
*) 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4248 (char *) "self",(char *) "pt", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4256 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 (arg1
)->Offset((wxPoint
const &)*arg2
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 Py_INCREF(Py_None
); resultobj
= Py_None
;
4272 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4274 wxRect
*arg1
= (wxRect
*) 0 ;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4281 (char *) "self",(char *) "rect", NULL
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4289 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4295 result
= (wxRect
*) &_result_ref
;
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4308 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxRect
*arg1
= (wxRect
*) 0 ;
4314 PyObject
* obj0
= 0 ;
4315 PyObject
* obj1
= 0 ;
4317 (char *) "self",(char *) "rect", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4325 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4336 resultptr
= new wxRect((wxRect
&) result
);
4337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4345 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
;
4347 wxRect
*arg1
= (wxRect
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4352 PyObject
* obj1
= 0 ;
4354 (char *) "self",(char *) "rect", NULL
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4362 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4368 result
= (wxRect
*) &_result_ref
;
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4381 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 wxRect
*arg1
= (wxRect
*) 0 ;
4387 PyObject
* obj0
= 0 ;
4388 PyObject
* obj1
= 0 ;
4390 (char *) "self",(char *) "rect", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4398 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4416 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4418 wxRect
*arg1
= (wxRect
*) 0 ;
4422 PyObject
* obj0
= 0 ;
4423 PyObject
* obj1
= 0 ;
4425 (char *) "self",(char *) "rect", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4433 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4451 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxRect
*arg1
= (wxRect
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4458 PyObject
* obj1
= 0 ;
4459 PyObject
* obj2
= 0 ;
4461 (char *) "self",(char *) "x",(char *) "y", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4467 arg2
= (int) SWIG_AsInt(obj1
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4469 arg3
= (int) SWIG_AsInt(obj2
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4487 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
;
4489 wxRect
*arg1
= (wxRect
*) 0 ;
4493 PyObject
* obj0
= 0 ;
4494 PyObject
* obj1
= 0 ;
4496 (char *) "self",(char *) "pt", NULL
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4522 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxRect
*arg1
= (wxRect
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4529 PyObject
* obj1
= 0 ;
4531 (char *) "self",(char *) "rect", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4539 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4557 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
;
4559 wxRect
*arg1
= (wxRect
*) 0 ;
4561 PyObject
* obj0
= 0 ;
4562 PyObject
* obj1
= 0 ;
4564 (char *) "self",(char *) "x", NULL
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4570 arg2
= (int) SWIG_AsInt(obj1
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4572 if (arg1
) (arg1
)->x
= arg2
;
4574 Py_INCREF(Py_None
); resultobj
= Py_None
;
4581 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxRect
*arg1
= (wxRect
*) 0 ;
4585 PyObject
* obj0
= 0 ;
4587 (char *) "self", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4593 result
= (int) ((arg1
)->x
);
4595 resultobj
= SWIG_FromInt((int)result
);
4602 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
*resultobj
;
4604 wxRect
*arg1
= (wxRect
*) 0 ;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4609 (char *) "self",(char *) "y", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4615 arg2
= (int) SWIG_AsInt(obj1
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4617 if (arg1
) (arg1
)->y
= arg2
;
4619 Py_INCREF(Py_None
); resultobj
= Py_None
;
4626 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxRect
*arg1
= (wxRect
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4632 (char *) "self", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4638 result
= (int) ((arg1
)->y
);
4640 resultobj
= SWIG_FromInt((int)result
);
4647 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4649 wxRect
*arg1
= (wxRect
*) 0 ;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj1
= 0 ;
4654 (char *) "self",(char *) "width", NULL
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4660 arg2
= (int) SWIG_AsInt(obj1
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4662 if (arg1
) (arg1
)->width
= arg2
;
4664 Py_INCREF(Py_None
); resultobj
= Py_None
;
4671 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 wxRect
*arg1
= (wxRect
*) 0 ;
4675 PyObject
* obj0
= 0 ;
4677 (char *) "self", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4683 result
= (int) ((arg1
)->width
);
4685 resultobj
= SWIG_FromInt((int)result
);
4692 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
;
4694 wxRect
*arg1
= (wxRect
*) 0 ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4699 (char *) "self",(char *) "height", NULL
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4705 arg2
= (int) SWIG_AsInt(obj1
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4707 if (arg1
) (arg1
)->height
= arg2
;
4709 Py_INCREF(Py_None
); resultobj
= Py_None
;
4716 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxRect
*arg1
= (wxRect
*) 0 ;
4720 PyObject
* obj0
= 0 ;
4722 (char *) "self", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4728 result
= (int) ((arg1
)->height
);
4730 resultobj
= SWIG_FromInt((int)result
);
4737 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4739 wxRect
*arg1
= (wxRect
*) 0 ;
4740 int arg2
= (int) 0 ;
4741 int arg3
= (int) 0 ;
4742 int arg4
= (int) 0 ;
4743 int arg5
= (int) 0 ;
4744 PyObject
* obj0
= 0 ;
4745 PyObject
* obj1
= 0 ;
4746 PyObject
* obj2
= 0 ;
4747 PyObject
* obj3
= 0 ;
4748 PyObject
* obj4
= 0 ;
4750 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4757 arg2
= (int) SWIG_AsInt(obj1
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4761 arg3
= (int) SWIG_AsInt(obj2
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4765 arg4
= (int) SWIG_AsInt(obj3
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4769 arg5
= (int) SWIG_AsInt(obj4
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 Py_INCREF(Py_None
); resultobj
= Py_None
;
4786 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4788 wxRect
*arg1
= (wxRect
*) 0 ;
4790 PyObject
* obj0
= 0 ;
4792 (char *) "self", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= (PyObject
*)wxRect_Get(arg1
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4812 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4815 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4817 return Py_BuildValue((char *)"");
4819 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
*resultobj
;
4821 wxRect
*arg1
= (wxRect
*) 0 ;
4822 wxRect
*arg2
= (wxRect
*) 0 ;
4824 PyObject
* obj0
= 0 ;
4825 PyObject
* obj1
= 0 ;
4827 (char *) "r1",(char *) "r2", NULL
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4836 if (!wxPyCheckForApp()) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4850 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
;
4852 double arg1
= (double) 0.0 ;
4853 double arg2
= (double) 0.0 ;
4855 PyObject
* obj0
= 0 ;
4856 PyObject
* obj1
= 0 ;
4858 (char *) "x",(char *) "y", NULL
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4863 arg1
= (double) SWIG_AsDouble(obj0
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4867 arg2
= (double) SWIG_AsDouble(obj1
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4884 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4886 wxPoint2D
*arg1
= 0 ;
4889 PyObject
* obj0
= 0 ;
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4897 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4913 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4918 PyObject
* obj0
= 0 ;
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4926 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4942 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4944 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4945 int *arg2
= (int *) 0 ;
4946 int *arg3
= (int *) 0 ;
4949 PyObject
* obj0
= 0 ;
4951 (char *) "self", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 Py_INCREF(Py_None
); resultobj
= Py_None
;
4968 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4969 resultobj
= t_output_helper(resultobj
,o
);
4972 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4973 resultobj
= t_output_helper(resultobj
,o
);
4981 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
;
4983 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4984 int *arg2
= (int *) 0 ;
4985 int *arg3
= (int *) 0 ;
4988 PyObject
* obj0
= 0 ;
4990 (char *) "self", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 Py_INCREF(Py_None
); resultobj
= Py_None
;
5007 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
5008 resultobj
= t_output_helper(resultobj
,o
);
5011 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5012 resultobj
= t_output_helper(resultobj
,o
);
5020 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
;
5022 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5024 PyObject
* obj0
= 0 ;
5026 (char *) "self", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= SWIG_FromDouble((double)result
);
5046 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5052 (char *) "self", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 resultobj
= SWIG_FromDouble((double)result
);
5072 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5076 PyObject
* obj0
= 0 ;
5077 PyObject
* obj1
= 0 ;
5079 (char *) "self",(char *) "length", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5085 arg2
= (double) SWIG_AsDouble(obj1
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->SetVectorLength(arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 Py_INCREF(Py_None
); resultobj
= Py_None
;
5101 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5105 PyObject
* obj0
= 0 ;
5106 PyObject
* obj1
= 0 ;
5108 (char *) "self",(char *) "degrees", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5114 arg2
= (double) SWIG_AsDouble(obj1
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 (arg1
)->SetVectorAngle(arg2
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 Py_INCREF(Py_None
); resultobj
= Py_None
;
5130 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5133 wxPoint2D
*arg2
= 0 ;
5136 PyObject
* obj0
= 0 ;
5137 PyObject
* obj1
= 0 ;
5139 (char *) "self",(char *) "pt", NULL
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5147 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= SWIG_FromDouble((double)result
);
5163 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
*resultobj
;
5165 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5166 wxPoint2D
*arg2
= 0 ;
5169 PyObject
* obj0
= 0 ;
5170 PyObject
* obj1
= 0 ;
5172 (char *) "self",(char *) "pt", NULL
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5180 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= SWIG_FromDouble((double)result
);
5196 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5199 wxPoint2D
*arg2
= 0 ;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5205 (char *) "self",(char *) "vec", NULL
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5213 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 resultobj
= SWIG_FromDouble((double)result
);
5229 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
*resultobj
;
5231 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5232 wxPoint2D
*arg2
= 0 ;
5235 PyObject
* obj0
= 0 ;
5236 PyObject
* obj1
= 0 ;
5238 (char *) "self",(char *) "vec", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5246 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= SWIG_FromDouble((double)result
);
5262 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5266 PyObject
* obj0
= 0 ;
5268 (char *) "self", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (arg1
)->operator -();
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5282 wxPoint2D
* resultptr
;
5283 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5292 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5295 wxPoint2D
*arg2
= 0 ;
5298 PyObject
* obj0
= 0 ;
5299 PyObject
* obj1
= 0 ;
5301 (char *) "self",(char *) "pt", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5309 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5315 result
= (wxPoint2D
*) &_result_ref
;
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5328 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
;
5330 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5331 wxPoint2D
*arg2
= 0 ;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5337 (char *) "self",(char *) "pt", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5345 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5351 result
= (wxPoint2D
*) &_result_ref
;
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5364 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5367 wxPoint2D
*arg2
= 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "pt", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5381 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5387 result
= (wxPoint2D
*) &_result_ref
;
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5400 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5403 wxPoint2D
*arg2
= 0 ;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5409 (char *) "self",(char *) "pt", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5417 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5423 result
= (wxPoint2D
*) &_result_ref
;
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5436 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5439 wxPoint2D
*arg2
= 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5445 (char *) "self",(char *) "pt", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5453 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5471 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
;
5473 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5474 wxPoint2D
*arg2
= 0 ;
5477 PyObject
* obj0
= 0 ;
5478 PyObject
* obj1
= 0 ;
5480 (char *) "self",(char *) "pt", NULL
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5488 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5506 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5511 PyObject
* obj1
= 0 ;
5513 (char *) "self",(char *) "m_x", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5519 arg2
= (double) SWIG_AsDouble(obj1
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5521 if (arg1
) (arg1
)->m_x
= arg2
;
5523 Py_INCREF(Py_None
); resultobj
= Py_None
;
5530 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5534 PyObject
* obj0
= 0 ;
5536 (char *) "self", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5542 result
= (double) ((arg1
)->m_x
);
5544 resultobj
= SWIG_FromDouble((double)result
);
5551 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5555 PyObject
* obj0
= 0 ;
5556 PyObject
* obj1
= 0 ;
5558 (char *) "self",(char *) "m_y", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5564 arg2
= (double) SWIG_AsDouble(obj1
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5566 if (arg1
) (arg1
)->m_y
= arg2
;
5568 Py_INCREF(Py_None
); resultobj
= Py_None
;
5575 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5579 PyObject
* obj0
= 0 ;
5581 (char *) "self", NULL
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5587 result
= (double) ((arg1
)->m_y
);
5589 resultobj
= SWIG_FromDouble((double)result
);
5596 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5599 double arg2
= (double) 0 ;
5600 double arg3
= (double) 0 ;
5601 PyObject
* obj0
= 0 ;
5602 PyObject
* obj1
= 0 ;
5603 PyObject
* obj2
= 0 ;
5605 (char *) "self",(char *) "x",(char *) "y", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 arg2
= (double) SWIG_AsDouble(obj1
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5616 arg3
= (double) SWIG_AsDouble(obj2
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 wxPoint2D_Set(arg1
,arg2
,arg3
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 Py_INCREF(Py_None
); resultobj
= Py_None
;
5633 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
;
5635 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5639 (char *) "self", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5659 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5662 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5664 return Py_BuildValue((char *)"");
5666 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5667 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5672 static PyObject
*_wrap_DefaultPosition_get() {
5675 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5680 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5681 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5686 static PyObject
*_wrap_DefaultSize_get() {
5689 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5694 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
*resultobj
;
5696 PyObject
*arg1
= (PyObject
*) 0 ;
5697 wxPyInputStream
*result
;
5698 PyObject
* obj0
= 0 ;
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5719 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5722 PyObject
* obj0
= 0 ;
5724 (char *) "self", NULL
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 Py_INCREF(Py_None
); resultobj
= Py_None
;
5744 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
;
5746 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5747 PyObject
* obj0
= 0 ;
5749 (char *) "self", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 Py_INCREF(Py_None
); resultobj
= Py_None
;
5769 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
;
5771 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5775 (char *) "self", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (bool)(arg1
)->eof();
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5797 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5800 int arg2
= (int) -1 ;
5802 PyObject
* obj0
= 0 ;
5803 PyObject
* obj1
= 0 ;
5805 (char *) "self",(char *) "size", NULL
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5812 arg2
= (int) SWIG_AsInt(obj1
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 result
= (PyObject
*)(arg1
)->read(arg2
);
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5829 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
;
5831 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5832 int arg2
= (int) -1 ;
5834 PyObject
* obj0
= 0 ;
5835 PyObject
* obj1
= 0 ;
5837 (char *) "self",(char *) "size", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5844 arg2
= (int) SWIG_AsInt(obj1
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 result
= (PyObject
*)(arg1
)->readline(arg2
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5861 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
;
5863 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5864 int arg2
= (int) -1 ;
5866 PyObject
* obj0
= 0 ;
5867 PyObject
* obj1
= 0 ;
5869 (char *) "self",(char *) "sizehint", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 arg2
= (int) SWIG_AsInt(obj1
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5893 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5897 int arg3
= (int) 0 ;
5898 PyObject
* obj0
= 0 ;
5899 PyObject
* obj1
= 0 ;
5900 PyObject
* obj2
= 0 ;
5902 (char *) "self",(char *) "offset",(char *) "whence", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5908 arg2
= (int) SWIG_AsInt(obj1
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 arg3
= (int) SWIG_AsInt(obj2
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 (arg1
)->seek(arg2
,arg3
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 Py_INCREF(Py_None
); resultobj
= Py_None
;
5928 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5930 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5932 PyObject
* obj0
= 0 ;
5934 (char *) "self", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 result
= (int)(arg1
)->tell();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_FromInt((int)result
);
5954 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5960 (char *) "self", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (char)(arg1
)->Peek();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_FromChar((char)result
);
5980 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5986 (char *) "self", NULL
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (char)(arg1
)->GetC();
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_FromChar((char)result
);
6006 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6010 PyObject
* obj0
= 0 ;
6012 (char *) "self", NULL
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (size_t)(arg1
)->LastRead();
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6032 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
;
6034 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6036 PyObject
* obj0
= 0 ;
6038 (char *) "self", NULL
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (bool)(arg1
)->CanRead();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6060 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
*resultobj
;
6062 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6064 PyObject
* obj0
= 0 ;
6066 (char *) "self", NULL
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 result
= (bool)(arg1
)->Eof();
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6088 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6093 PyObject
* obj0
= 0 ;
6094 PyObject
* obj1
= 0 ;
6096 (char *) "self",(char *) "c", NULL
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6102 arg2
= (char) SWIG_AsChar(obj1
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (bool)(arg1
)->Ungetch(arg2
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6120 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6124 int arg3
= (int) wxFromStart
;
6126 PyObject
* obj0
= 0 ;
6127 PyObject
* obj1
= 0 ;
6128 PyObject
* obj2
= 0 ;
6130 (char *) "self",(char *) "pos",(char *) "mode", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6136 arg2
= (long) SWIG_AsLong(obj1
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= SWIG_FromLong((long)result
);
6156 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6162 (char *) "self", NULL
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 result
= (long)(arg1
)->TellI();
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= SWIG_FromLong((long)result
);
6182 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6185 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6187 return Py_BuildValue((char *)"");
6189 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
*resultobj
;
6191 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6192 PyObject
*arg2
= (PyObject
*) 0 ;
6193 PyObject
* obj0
= 0 ;
6194 PyObject
* obj1
= 0 ;
6196 (char *) "self",(char *) "obj", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 wxOutputStream_write(arg1
,arg2
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 Py_INCREF(Py_None
); resultobj
= Py_None
;
6217 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6220 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6222 return Py_BuildValue((char *)"");
6224 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6227 wxString
*arg2
= 0 ;
6228 wxString
*arg3
= 0 ;
6229 wxString
*arg4
= 0 ;
6232 wxPyInputStream
*temp1
;
6234 bool temp2
= False
;
6235 bool temp3
= False
;
6236 bool temp4
= False
;
6238 PyObject
* obj0
= 0 ;
6239 PyObject
* obj1
= 0 ;
6240 PyObject
* obj2
= 0 ;
6241 PyObject
* obj3
= 0 ;
6242 PyObject
* obj4
= 0 ;
6244 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6249 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6250 arg1
= temp1
->m_wxis
;
6253 PyErr_Clear(); // clear the failure of the wxPyConvert above
6254 arg1
= wxPyCBInputStream_create(obj0
, False
);
6256 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6263 arg2
= wxString_in_helper(obj1
);
6264 if (arg2
== NULL
) SWIG_fail
;
6268 arg3
= wxString_in_helper(obj2
);
6269 if (arg3
== NULL
) SWIG_fail
;
6273 arg4
= wxString_in_helper(obj3
);
6274 if (arg4
== NULL
) SWIG_fail
;
6277 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6278 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= wxPyMake_wxObject(result
, 1);
6328 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6333 (char *) "self", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 Py_INCREF(Py_None
); resultobj
= Py_None
;
6353 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6356 wxInputStream
*result
;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (wxInputStream
*)(arg1
)->GetStream();
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6373 wxPyInputStream
* _ptr
= NULL
;
6376 _ptr
= new wxPyInputStream(result
);
6378 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6386 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6390 PyObject
* obj0
= 0 ;
6392 (char *) "self", NULL
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6402 result
= (wxString
*) &_result_ref
;
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6412 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6421 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
;
6423 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6425 PyObject
* obj0
= 0 ;
6427 (char *) "self", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 wxString
const &_result_ref
= (arg1
)->GetLocation();
6437 result
= (wxString
*) &_result_ref
;
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6447 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6456 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6462 (char *) "self", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6472 result
= (wxString
*) &_result_ref
;
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6482 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6491 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
;
6493 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6495 PyObject
* obj0
= 0 ;
6497 (char *) "self", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (arg1
)->GetModificationTime();
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 wxDateTime
* resultptr
;
6512 resultptr
= new wxDateTime((wxDateTime
&) result
);
6513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6521 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6524 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6526 return Py_BuildValue((char *)"");
6528 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6531 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6533 return Py_BuildValue((char *)"");
6535 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxPyFileSystemHandler
*result
;
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6557 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6560 PyObject
*arg2
= (PyObject
*) 0 ;
6561 PyObject
*arg3
= (PyObject
*) 0 ;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6564 PyObject
* obj2
= 0 ;
6566 (char *) "self",(char *) "self",(char *) "_class", NULL
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 Py_INCREF(Py_None
); resultobj
= Py_None
;
6588 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
;
6590 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6591 wxString
*arg2
= 0 ;
6593 bool temp2
= False
;
6594 PyObject
* obj0
= 0 ;
6595 PyObject
* obj1
= 0 ;
6597 (char *) "self",(char *) "location", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6604 arg2
= wxString_in_helper(obj1
);
6605 if (arg2
== NULL
) SWIG_fail
;
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6632 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6634 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6635 wxFileSystem
*arg2
= 0 ;
6636 wxString
*arg3
= 0 ;
6638 bool temp3
= False
;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6641 PyObject
* obj2
= 0 ;
6643 (char *) "self",(char *) "fs",(char *) "location", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6653 PyErr_SetString(PyExc_TypeError
,"null reference");
6657 arg3
= wxString_in_helper(obj2
);
6658 if (arg3
== NULL
) SWIG_fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= wxPyMake_wxObject(result
, 0);
6685 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6688 wxString
*arg2
= 0 ;
6689 int arg3
= (int) 0 ;
6691 bool temp2
= False
;
6692 PyObject
* obj0
= 0 ;
6693 PyObject
* obj1
= 0 ;
6694 PyObject
* obj2
= 0 ;
6696 (char *) "self",(char *) "spec",(char *) "flags", NULL
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6703 arg2
= wxString_in_helper(obj1
);
6704 if (arg2
== NULL
) SWIG_fail
;
6708 arg3
= (int) SWIG_AsInt(obj2
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6739 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
;
6741 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6743 PyObject
* obj0
= 0 ;
6745 (char *) "self", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 result
= (arg1
)->FindNext();
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6771 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
;
6773 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6774 wxString
*arg2
= 0 ;
6776 bool temp2
= False
;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6780 (char *) "self",(char *) "location", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6787 arg2
= wxString_in_helper(obj1
);
6788 if (arg2
== NULL
) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6819 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
;
6821 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6822 wxString
*arg2
= 0 ;
6824 bool temp2
= False
;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj1
= 0 ;
6828 (char *) "self",(char *) "location", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6835 arg2
= wxString_in_helper(obj1
);
6836 if (arg2
== NULL
) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6867 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6870 wxString
*arg2
= 0 ;
6872 bool temp2
= False
;
6873 PyObject
* obj0
= 0 ;
6874 PyObject
* obj1
= 0 ;
6876 (char *) "self",(char *) "location", NULL
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6883 arg2
= wxString_in_helper(obj1
);
6884 if (arg2
== NULL
) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6915 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
;
6917 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6918 wxString
*arg2
= 0 ;
6920 bool temp2
= False
;
6921 PyObject
* obj0
= 0 ;
6922 PyObject
* obj1
= 0 ;
6924 (char *) "self",(char *) "location", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6931 arg2
= wxString_in_helper(obj1
);
6932 if (arg2
== NULL
) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6963 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6966 wxString
*arg2
= 0 ;
6968 bool temp2
= False
;
6969 PyObject
* obj0
= 0 ;
6970 PyObject
* obj1
= 0 ;
6972 (char *) "self",(char *) "location", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6979 arg2
= wxString_in_helper(obj1
);
6980 if (arg2
== NULL
) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7011 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7014 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7016 return Py_BuildValue((char *)"");
7018 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxFileSystem
*result
;
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 result
= (wxFileSystem
*)new wxFileSystem();
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= wxPyMake_wxObject(result
, 1);
7042 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7047 (char *) "self", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 Py_INCREF(Py_None
); resultobj
= Py_None
;
7067 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7070 wxString
*arg2
= 0 ;
7071 bool arg3
= (bool) False
;
7072 bool temp2
= False
;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7075 PyObject
* obj2
= 0 ;
7077 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7084 arg2
= wxString_in_helper(obj1
);
7085 if (arg2
== NULL
) SWIG_fail
;
7089 arg3
= (bool) SWIG_AsBool(obj2
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 Py_INCREF(Py_None
); resultobj
= Py_None
;
7114 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7116 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7118 PyObject
* obj0
= 0 ;
7120 (char *) "self", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (arg1
)->GetPath();
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7146 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7148 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7149 wxString
*arg2
= 0 ;
7151 bool temp2
= False
;
7152 PyObject
* obj0
= 0 ;
7153 PyObject
* obj1
= 0 ;
7155 (char *) "self",(char *) "location", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7162 arg2
= wxString_in_helper(obj1
);
7163 if (arg2
== NULL
) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= wxPyMake_wxObject(result
, 0);
7190 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7193 wxString
*arg2
= 0 ;
7194 int arg3
= (int) 0 ;
7196 bool temp2
= False
;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7199 PyObject
* obj2
= 0 ;
7201 (char *) "self",(char *) "spec",(char *) "flags", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7208 arg2
= wxString_in_helper(obj1
);
7209 if (arg2
== NULL
) SWIG_fail
;
7213 arg3
= (int) SWIG_AsInt(obj2
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7244 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7248 PyObject
* obj0
= 0 ;
7250 (char *) "self", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 result
= (arg1
)->FindNext();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7276 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7279 PyObject
* obj0
= 0 ;
7281 (char *) "handler", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 wxFileSystem::AddHandler(arg1
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 Py_INCREF(Py_None
); resultobj
= Py_None
;
7301 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 wxFileSystem::CleanUpHandlers();
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 Py_INCREF(Py_None
); resultobj
= Py_None
;
7322 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7324 wxString
*arg1
= 0 ;
7326 bool temp1
= False
;
7327 PyObject
* obj0
= 0 ;
7329 (char *) "filename", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7334 arg1
= wxString_in_helper(obj0
);
7335 if (arg1
== NULL
) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7366 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7369 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7371 return Py_BuildValue((char *)"");
7373 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxString
*arg1
= 0 ;
7377 bool temp1
= False
;
7378 PyObject
* obj0
= 0 ;
7380 (char *) "url", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7385 arg1
= wxString_in_helper(obj0
);
7386 if (arg1
== NULL
) SWIG_fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7417 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxInternetFSHandler
*result
;
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7439 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7442 wxString
*arg2
= 0 ;
7444 bool temp2
= False
;
7445 PyObject
* obj0
= 0 ;
7446 PyObject
* obj1
= 0 ;
7448 (char *) "self",(char *) "location", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7455 arg2
= wxString_in_helper(obj1
);
7456 if (arg2
== NULL
) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7483 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7486 wxFileSystem
*arg2
= 0 ;
7487 wxString
*arg3
= 0 ;
7489 bool temp3
= False
;
7490 PyObject
* obj0
= 0 ;
7491 PyObject
* obj1
= 0 ;
7492 PyObject
* obj2
= 0 ;
7494 (char *) "self",(char *) "fs",(char *) "location", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7504 PyErr_SetString(PyExc_TypeError
,"null reference");
7508 arg3
= wxString_in_helper(obj2
);
7509 if (arg3
== NULL
) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7520 resultobj
= wxPyMake_wxObject(result
, 0);
7536 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7539 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7541 return Py_BuildValue((char *)"");
7543 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
;
7545 wxZipFSHandler
*result
;
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7565 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7568 wxString
*arg2
= 0 ;
7570 bool temp2
= False
;
7571 PyObject
* obj0
= 0 ;
7572 PyObject
* obj1
= 0 ;
7574 (char *) "self",(char *) "location", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7581 arg2
= wxString_in_helper(obj1
);
7582 if (arg2
== NULL
) SWIG_fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7609 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7612 wxFileSystem
*arg2
= 0 ;
7613 wxString
*arg3
= 0 ;
7615 bool temp3
= False
;
7616 PyObject
* obj0
= 0 ;
7617 PyObject
* obj1
= 0 ;
7618 PyObject
* obj2
= 0 ;
7620 (char *) "self",(char *) "fs",(char *) "location", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7630 PyErr_SetString(PyExc_TypeError
,"null reference");
7634 arg3
= wxString_in_helper(obj2
);
7635 if (arg3
== NULL
) SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7646 resultobj
= wxPyMake_wxObject(result
, 0);
7662 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7665 wxString
*arg2
= 0 ;
7666 int arg3
= (int) 0 ;
7668 bool temp2
= False
;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj1
= 0 ;
7671 PyObject
* obj2
= 0 ;
7673 (char *) "self",(char *) "spec",(char *) "flags", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7680 arg2
= wxString_in_helper(obj1
);
7681 if (arg2
== NULL
) SWIG_fail
;
7685 arg3
= (int) SWIG_AsInt(obj2
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7716 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7722 (char *) "self", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (arg1
)->FindNext();
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7748 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7751 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7753 return Py_BuildValue((char *)"");
7755 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxString
*arg1
= 0 ;
7760 bool temp1
= False
;
7761 PyObject
* obj0
= 0 ;
7762 PyObject
* obj1
= 0 ;
7763 PyObject
* obj2
= 0 ;
7765 (char *) "filename",(char *) "image",(char *) "type", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7770 arg1
= wxString_in_helper(obj0
);
7771 if (arg1
== NULL
) SWIG_fail
;
7774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7778 PyErr_SetString(PyExc_TypeError
,"null reference");
7781 arg3
= (long) SWIG_AsLong(obj2
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 Py_INCREF(Py_None
); resultobj
= Py_None
;
7805 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxString
*arg1
= 0 ;
7808 wxBitmap
*arg2
= 0 ;
7810 bool temp1
= False
;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7813 PyObject
* obj2
= 0 ;
7815 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7820 arg1
= wxString_in_helper(obj0
);
7821 if (arg1
== NULL
) SWIG_fail
;
7824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7828 PyErr_SetString(PyExc_TypeError
,"null reference");
7831 arg3
= (long) SWIG_AsLong(obj2
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 Py_INCREF(Py_None
); resultobj
= Py_None
;
7855 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7857 wxString
*arg1
= 0 ;
7858 PyObject
*arg2
= (PyObject
*) 0 ;
7859 bool temp1
= False
;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7863 (char *) "filename",(char *) "data", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7868 arg1
= wxString_in_helper(obj0
);
7869 if (arg1
== NULL
) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 Py_INCREF(Py_None
); resultobj
= Py_None
;
7895 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxMemoryFSHandler
*result
;
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7917 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxString
*arg1
= 0 ;
7920 bool temp1
= False
;
7921 PyObject
* obj0
= 0 ;
7923 (char *) "filename", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7928 arg1
= wxString_in_helper(obj0
);
7929 if (arg1
== NULL
) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 Py_INCREF(Py_None
); resultobj
= Py_None
;
7954 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7957 wxString
*arg2
= 0 ;
7959 bool temp2
= False
;
7960 PyObject
* obj0
= 0 ;
7961 PyObject
* obj1
= 0 ;
7963 (char *) "self",(char *) "location", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7970 arg2
= wxString_in_helper(obj1
);
7971 if (arg2
== NULL
) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7998 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8001 wxFileSystem
*arg2
= 0 ;
8002 wxString
*arg3
= 0 ;
8004 bool temp3
= False
;
8005 PyObject
* obj0
= 0 ;
8006 PyObject
* obj1
= 0 ;
8007 PyObject
* obj2
= 0 ;
8009 (char *) "self",(char *) "fs",(char *) "location", NULL
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8019 PyErr_SetString(PyExc_TypeError
,"null reference");
8023 arg3
= wxString_in_helper(obj2
);
8024 if (arg3
== NULL
) SWIG_fail
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8035 resultobj
= wxPyMake_wxObject(result
, 0);
8051 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
;
8053 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8054 wxString
*arg2
= 0 ;
8055 int arg3
= (int) 0 ;
8057 bool temp2
= False
;
8058 PyObject
* obj0
= 0 ;
8059 PyObject
* obj1
= 0 ;
8060 PyObject
* obj2
= 0 ;
8062 (char *) "self",(char *) "spec",(char *) "flags", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8069 arg2
= wxString_in_helper(obj1
);
8070 if (arg2
== NULL
) SWIG_fail
;
8074 arg3
= (int) SWIG_AsInt(obj2
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8105 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8109 PyObject
* obj0
= 0 ;
8111 (char *) "self", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (arg1
)->FindNext();
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8137 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8140 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8142 return Py_BuildValue((char *)"");
8144 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8146 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8148 PyObject
* obj0
= 0 ;
8150 (char *) "self", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 result
= (arg1
)->GetName();
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8176 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
*resultobj
;
8178 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8180 PyObject
* obj0
= 0 ;
8182 (char *) "self", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= (arg1
)->GetExtension();
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8208 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8212 PyObject
* obj0
= 0 ;
8214 (char *) "self", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 result
= (long)(arg1
)->GetType();
8224 wxPyEndAllowThreads(__tstate
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8227 resultobj
= SWIG_FromLong((long)result
);
8234 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8235 PyObject
*resultobj
;
8236 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8238 PyObject
* obj0
= 0 ;
8240 (char *) "self", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 result
= (arg1
)->GetMimeType();
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8266 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8269 wxString
*arg2
= 0 ;
8271 bool temp2
= False
;
8272 PyObject
* obj0
= 0 ;
8273 PyObject
* obj1
= 0 ;
8275 (char *) "self",(char *) "name", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8282 arg2
= wxString_in_helper(obj1
);
8283 if (arg2
== NULL
) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8310 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8313 wxString
*arg2
= 0 ;
8314 bool temp2
= False
;
8315 PyObject
* obj0
= 0 ;
8316 PyObject
* obj1
= 0 ;
8318 (char *) "self",(char *) "name", NULL
8321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8325 arg2
= wxString_in_helper(obj1
);
8326 if (arg2
== NULL
) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 (arg1
)->SetName((wxString
const &)*arg2
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 Py_INCREF(Py_None
); resultobj
= Py_None
;
8351 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8354 wxString
*arg2
= 0 ;
8355 bool temp2
= False
;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8359 (char *) "self",(char *) "extension", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8366 arg2
= wxString_in_helper(obj1
);
8367 if (arg2
== NULL
) SWIG_fail
;
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 (arg1
)->SetExtension((wxString
const &)*arg2
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 Py_INCREF(Py_None
); resultobj
= Py_None
;
8392 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8396 PyObject
* obj0
= 0 ;
8397 PyObject
* obj1
= 0 ;
8399 (char *) "self",(char *) "type", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8405 arg2
= (long) SWIG_AsLong(obj1
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 (arg1
)->SetType(arg2
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 Py_INCREF(Py_None
); resultobj
= Py_None
;
8421 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8424 wxString
*arg2
= 0 ;
8425 bool temp2
= False
;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8429 (char *) "self",(char *) "mimetype", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8436 arg2
= wxString_in_helper(obj1
);
8437 if (arg2
== NULL
) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 Py_INCREF(Py_None
); resultobj
= Py_None
;
8462 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8465 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8467 return Py_BuildValue((char *)"");
8469 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
;
8471 wxImageHistogram
*result
;
8476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (wxImageHistogram
*)new wxImageHistogram();
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8491 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 unsigned char arg1
;
8494 unsigned char arg2
;
8495 unsigned char arg3
;
8496 unsigned long result
;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8499 PyObject
* obj2
= 0 ;
8501 (char *) "r",(char *) "g",(char *) "b", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8505 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8507 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8509 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8525 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8528 unsigned char *arg2
= (unsigned char *) 0 ;
8529 unsigned char *arg3
= (unsigned char *) 0 ;
8530 unsigned char *arg4
= (unsigned char *) 0 ;
8531 unsigned char arg5
= (unsigned char) 1 ;
8532 unsigned char arg6
= (unsigned char) 0 ;
8533 unsigned char arg7
= (unsigned char) 0 ;
8535 unsigned char temp2
;
8536 unsigned char temp3
;
8537 unsigned char temp4
;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8540 PyObject
* obj2
= 0 ;
8541 PyObject
* obj3
= 0 ;
8543 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8553 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8557 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8561 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8575 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8576 resultobj
= t_output_helper(resultobj
,o
);
8579 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8580 resultobj
= t_output_helper(resultobj
,o
);
8583 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8584 resultobj
= t_output_helper(resultobj
,o
);
8592 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8595 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8597 return Py_BuildValue((char *)"");
8599 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxString
*arg1
= 0 ;
8602 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8603 int arg3
= (int) -1 ;
8605 bool temp1
= False
;
8606 PyObject
* obj0
= 0 ;
8607 PyObject
* obj1
= 0 ;
8608 PyObject
* obj2
= 0 ;
8610 (char *) "name",(char *) "type",(char *) "index", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8615 arg1
= wxString_in_helper(obj0
);
8616 if (arg1
== NULL
) SWIG_fail
;
8620 arg2
= (long) SWIG_AsLong(obj1
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 arg3
= (int) SWIG_AsInt(obj2
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8649 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxImage
*arg1
= (wxImage
*) 0 ;
8652 PyObject
* obj0
= 0 ;
8654 (char *) "self", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 Py_INCREF(Py_None
); resultobj
= Py_None
;
8674 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxString
*arg1
= 0 ;
8677 wxString
*arg2
= 0 ;
8678 int arg3
= (int) -1 ;
8680 bool temp1
= False
;
8681 bool temp2
= False
;
8682 PyObject
* obj0
= 0 ;
8683 PyObject
* obj1
= 0 ;
8684 PyObject
* obj2
= 0 ;
8686 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8691 arg1
= wxString_in_helper(obj0
);
8692 if (arg1
== NULL
) SWIG_fail
;
8696 arg2
= wxString_in_helper(obj1
);
8697 if (arg2
== NULL
) SWIG_fail
;
8701 arg3
= (int) SWIG_AsInt(obj2
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8734 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8736 wxInputStream
*arg1
= 0 ;
8737 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8738 int arg3
= (int) -1 ;
8740 wxPyInputStream
*temp1
;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8744 PyObject
* obj2
= 0 ;
8746 (char *) "stream",(char *) "type",(char *) "index", NULL
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8751 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8752 arg1
= temp1
->m_wxis
;
8755 PyErr_Clear(); // clear the failure of the wxPyConvert above
8756 arg1
= wxPyCBInputStream_create(obj0
, False
);
8758 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8765 arg2
= (long) SWIG_AsLong(obj1
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8769 arg3
= (int) SWIG_AsInt(obj2
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8794 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxInputStream
*arg1
= 0 ;
8797 wxString
*arg2
= 0 ;
8798 int arg3
= (int) -1 ;
8800 wxPyInputStream
*temp1
;
8802 bool temp2
= False
;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8805 PyObject
* obj2
= 0 ;
8807 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8812 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8813 arg1
= temp1
->m_wxis
;
8816 PyErr_Clear(); // clear the failure of the wxPyConvert above
8817 arg1
= wxPyCBInputStream_create(obj0
, False
);
8819 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8826 arg2
= wxString_in_helper(obj1
);
8827 if (arg2
== NULL
) SWIG_fail
;
8831 arg3
= (int) SWIG_AsInt(obj2
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8864 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 int arg1
= (int) 0 ;
8867 int arg2
= (int) 0 ;
8868 bool arg3
= (bool) True
;
8870 PyObject
* obj0
= 0 ;
8871 PyObject
* obj1
= 0 ;
8872 PyObject
* obj2
= 0 ;
8874 (char *) "width",(char *) "height",(char *) "clear", NULL
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8879 arg1
= (int) SWIG_AsInt(obj0
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8883 arg2
= (int) SWIG_AsInt(obj1
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8887 arg3
= (bool) SWIG_AsBool(obj2
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8904 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8906 wxBitmap
*arg1
= 0 ;
8908 PyObject
* obj0
= 0 ;
8910 (char *) "bitmap", NULL
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8918 PyErr_SetString(PyExc_TypeError
,"null reference");
8922 if (!wxPyCheckForApp()) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8936 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
;
8940 unsigned char *arg3
= (unsigned char *) 0 ;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8944 PyObject
* obj2
= 0 ;
8946 (char *) "width",(char *) "height",(char *) "data", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8950 arg1
= (int) SWIG_AsInt(obj0
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8952 arg2
= (int) SWIG_AsInt(obj1
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8954 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8970 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxImage
*arg1
= (wxImage
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8977 PyObject
* obj2
= 0 ;
8979 (char *) "self",(char *) "width",(char *) "height", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8985 arg2
= (int) SWIG_AsInt(obj1
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8987 arg3
= (int) SWIG_AsInt(obj2
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 (arg1
)->Create(arg2
,arg3
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 Py_INCREF(Py_None
); resultobj
= Py_None
;
9003 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxImage
*arg1
= (wxImage
*) 0 ;
9006 PyObject
* obj0
= 0 ;
9008 (char *) "self", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 Py_INCREF(Py_None
); resultobj
= Py_None
;
9028 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxImage
*arg1
= (wxImage
*) 0 ;
9033 SwigValueWrapper
< wxImage
> result
;
9034 PyObject
* obj0
= 0 ;
9035 PyObject
* obj1
= 0 ;
9036 PyObject
* obj2
= 0 ;
9038 (char *) "self",(char *) "width",(char *) "height", NULL
9041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9044 arg2
= (int) SWIG_AsInt(obj1
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9046 arg3
= (int) SWIG_AsInt(obj2
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= (arg1
)->Scale(arg2
,arg3
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9056 wxImage
* resultptr
;
9057 resultptr
= new wxImage((wxImage
&) result
);
9058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9066 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxImage
*arg1
= (wxImage
*) 0 ;
9071 SwigValueWrapper
< wxImage
> result
;
9072 PyObject
* obj0
= 0 ;
9073 PyObject
* obj1
= 0 ;
9074 PyObject
* obj2
= 0 ;
9076 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9082 arg2
= (int) SWIG_AsInt(obj1
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9084 arg3
= (int) SWIG_AsInt(obj2
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9094 wxImage
* resultptr
;
9095 resultptr
= new wxImage((wxImage
&) result
);
9096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9104 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxImage
*arg1
= (wxImage
*) 0 ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9112 PyObject
* obj2
= 0 ;
9114 (char *) "self",(char *) "width",(char *) "height", NULL
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9120 arg2
= (int) SWIG_AsInt(obj1
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9122 arg3
= (int) SWIG_AsInt(obj2
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9128 result
= (wxImage
*) &_result_ref
;
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9141 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
;
9143 wxImage
*arg1
= (wxImage
*) 0 ;
9146 unsigned char arg4
;
9147 unsigned char arg5
;
9148 unsigned char arg6
;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9151 PyObject
* obj2
= 0 ;
9152 PyObject
* obj3
= 0 ;
9153 PyObject
* obj4
= 0 ;
9154 PyObject
* obj5
= 0 ;
9156 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9162 arg2
= (int) SWIG_AsInt(obj1
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9164 arg3
= (int) SWIG_AsInt(obj2
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9166 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9168 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9170 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 Py_INCREF(Py_None
); resultobj
= Py_None
;
9186 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxImage
*arg1
= (wxImage
*) 0 ;
9191 unsigned char result
;
9192 PyObject
* obj0
= 0 ;
9193 PyObject
* obj1
= 0 ;
9194 PyObject
* obj2
= 0 ;
9196 (char *) "self",(char *) "x",(char *) "y", NULL
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9202 arg2
= (int) SWIG_AsInt(obj1
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9204 arg3
= (int) SWIG_AsInt(obj2
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9213 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9220 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
;
9222 wxImage
*arg1
= (wxImage
*) 0 ;
9225 unsigned char result
;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9228 PyObject
* obj2
= 0 ;
9230 (char *) "self",(char *) "x",(char *) "y", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9236 arg2
= (int) SWIG_AsInt(obj1
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9238 arg3
= (int) SWIG_AsInt(obj2
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9254 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
;
9256 wxImage
*arg1
= (wxImage
*) 0 ;
9259 unsigned char result
;
9260 PyObject
* obj0
= 0 ;
9261 PyObject
* obj1
= 0 ;
9262 PyObject
* obj2
= 0 ;
9264 (char *) "self",(char *) "x",(char *) "y", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9270 arg2
= (int) SWIG_AsInt(obj1
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9272 arg3
= (int) SWIG_AsInt(obj2
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9288 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxImage
*arg1
= (wxImage
*) 0 ;
9293 unsigned char arg4
;
9294 PyObject
* obj0
= 0 ;
9295 PyObject
* obj1
= 0 ;
9296 PyObject
* obj2
= 0 ;
9297 PyObject
* obj3
= 0 ;
9299 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9305 arg2
= (int) SWIG_AsInt(obj1
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9307 arg3
= (int) SWIG_AsInt(obj2
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9309 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 Py_INCREF(Py_None
); resultobj
= Py_None
;
9325 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9327 wxImage
*arg1
= (wxImage
*) 0 ;
9330 unsigned char result
;
9331 PyObject
* obj0
= 0 ;
9332 PyObject
* obj1
= 0 ;
9333 PyObject
* obj2
= 0 ;
9335 (char *) "self",(char *) "x",(char *) "y", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9341 arg2
= (int) SWIG_AsInt(obj1
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9343 arg3
= (int) SWIG_AsInt(obj2
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9359 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxImage
*arg1
= (wxImage
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9365 (char *) "self", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (bool)(arg1
)->HasAlpha();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9387 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxImage
*arg1
= (wxImage
*) 0 ;
9390 byte
*arg2
= (byte
*) 0 ;
9391 byte
*arg3
= (byte
*) 0 ;
9392 byte
*arg4
= (byte
*) 0 ;
9393 byte arg5
= (byte
) 0 ;
9394 byte arg6
= (byte
) 0 ;
9395 byte arg7
= (byte
) 0 ;
9400 PyObject
* obj0
= 0 ;
9401 PyObject
* obj1
= 0 ;
9402 PyObject
* obj2
= 0 ;
9403 PyObject
* obj3
= 0 ;
9405 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9415 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9419 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9423 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9437 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9438 resultobj
= t_output_helper(resultobj
,o
);
9441 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9442 resultobj
= t_output_helper(resultobj
,o
);
9445 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9446 resultobj
= t_output_helper(resultobj
,o
);
9454 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxImage
*arg1
= (wxImage
*) 0 ;
9462 PyObject
* obj0
= 0 ;
9463 PyObject
* obj1
= 0 ;
9464 PyObject
* obj2
= 0 ;
9465 PyObject
* obj3
= 0 ;
9466 PyObject
* obj4
= 0 ;
9468 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9478 PyErr_SetString(PyExc_TypeError
,"null reference");
9481 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9483 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9485 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9503 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
;
9505 wxString
*arg1
= 0 ;
9507 bool temp1
= False
;
9508 PyObject
* obj0
= 0 ;
9510 (char *) "name", NULL
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9515 arg1
= wxString_in_helper(obj0
);
9516 if (arg1
== NULL
) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9543 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxString
*arg1
= 0 ;
9546 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9548 bool temp1
= False
;
9549 PyObject
* obj0
= 0 ;
9550 PyObject
* obj1
= 0 ;
9552 (char *) "name",(char *) "type", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9557 arg1
= wxString_in_helper(obj0
);
9558 if (arg1
== NULL
) SWIG_fail
;
9562 arg2
= (long) SWIG_AsLong(obj1
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= SWIG_FromInt((int)result
);
9587 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxImage
*arg1
= (wxImage
*) 0 ;
9590 wxString
*arg2
= 0 ;
9591 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9592 int arg4
= (int) -1 ;
9594 bool temp2
= False
;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9597 PyObject
* obj2
= 0 ;
9598 PyObject
* obj3
= 0 ;
9600 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9607 arg2
= wxString_in_helper(obj1
);
9608 if (arg2
== NULL
) SWIG_fail
;
9612 arg3
= (long) SWIG_AsLong(obj2
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9616 arg4
= (int) SWIG_AsInt(obj3
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9643 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxImage
*arg1
= (wxImage
*) 0 ;
9646 wxString
*arg2
= 0 ;
9647 wxString
*arg3
= 0 ;
9648 int arg4
= (int) -1 ;
9650 bool temp2
= False
;
9651 bool temp3
= False
;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9654 PyObject
* obj2
= 0 ;
9655 PyObject
* obj3
= 0 ;
9657 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9664 arg2
= wxString_in_helper(obj1
);
9665 if (arg2
== NULL
) SWIG_fail
;
9669 arg3
= wxString_in_helper(obj2
);
9670 if (arg3
== NULL
) SWIG_fail
;
9674 arg4
= (int) SWIG_AsInt(obj3
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9709 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxImage
*arg1
= (wxImage
*) 0 ;
9712 wxString
*arg2
= 0 ;
9715 bool temp2
= False
;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9718 PyObject
* obj2
= 0 ;
9720 (char *) "self",(char *) "name",(char *) "type", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9727 arg2
= wxString_in_helper(obj1
);
9728 if (arg2
== NULL
) SWIG_fail
;
9731 arg3
= (int) SWIG_AsInt(obj2
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9757 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
;
9759 wxImage
*arg1
= (wxImage
*) 0 ;
9760 wxString
*arg2
= 0 ;
9761 wxString
*arg3
= 0 ;
9763 bool temp2
= False
;
9764 bool temp3
= False
;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9767 PyObject
* obj2
= 0 ;
9769 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9776 arg2
= wxString_in_helper(obj1
);
9777 if (arg2
== NULL
) SWIG_fail
;
9781 arg3
= wxString_in_helper(obj2
);
9782 if (arg3
== NULL
) SWIG_fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9817 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxInputStream
*arg1
= 0 ;
9821 wxPyInputStream
*temp1
;
9823 PyObject
* obj0
= 0 ;
9825 (char *) "stream", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9830 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9831 arg1
= temp1
->m_wxis
;
9834 PyErr_Clear(); // clear the failure of the wxPyConvert above
9835 arg1
= wxPyCBInputStream_create(obj0
, False
);
9837 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 result
= (bool)wxImage::CanRead(*arg1
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9867 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
;
9869 wxImage
*arg1
= (wxImage
*) 0 ;
9870 wxInputStream
*arg2
= 0 ;
9871 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9872 int arg4
= (int) -1 ;
9874 wxPyInputStream
*temp2
;
9876 PyObject
* obj0
= 0 ;
9877 PyObject
* obj1
= 0 ;
9878 PyObject
* obj2
= 0 ;
9879 PyObject
* obj3
= 0 ;
9881 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9888 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9889 arg2
= temp2
->m_wxis
;
9892 PyErr_Clear(); // clear the failure of the wxPyConvert above
9893 arg2
= wxPyCBInputStream_create(obj1
, False
);
9895 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9902 arg3
= (long) SWIG_AsLong(obj2
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9906 arg4
= (int) SWIG_AsInt(obj3
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9933 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxImage
*arg1
= (wxImage
*) 0 ;
9936 wxInputStream
*arg2
= 0 ;
9937 wxString
*arg3
= 0 ;
9938 int arg4
= (int) -1 ;
9940 wxPyInputStream
*temp2
;
9942 bool temp3
= False
;
9943 PyObject
* obj0
= 0 ;
9944 PyObject
* obj1
= 0 ;
9945 PyObject
* obj2
= 0 ;
9946 PyObject
* obj3
= 0 ;
9948 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9955 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9956 arg2
= temp2
->m_wxis
;
9959 PyErr_Clear(); // clear the failure of the wxPyConvert above
9960 arg2
= wxPyCBInputStream_create(obj1
, False
);
9962 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9969 arg3
= wxString_in_helper(obj2
);
9970 if (arg3
== NULL
) SWIG_fail
;
9974 arg4
= (int) SWIG_AsInt(obj3
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10009 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxImage
*arg1
= (wxImage
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "self", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (bool)(arg1
)->Ok();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10037 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxImage
*arg1
= (wxImage
*) 0 ;
10041 PyObject
* obj0
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= (int)(arg1
)->GetWidth();
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= SWIG_FromInt((int)result
);
10063 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxImage
*arg1
= (wxImage
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 result
= (int)(arg1
)->GetHeight();
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= SWIG_FromInt((int)result
);
10089 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxImage
*arg1
= (wxImage
*) 0 ;
10093 PyObject
* obj0
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= wxImage_GetSize(arg1
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10109 wxSize
* resultptr
;
10110 resultptr
= new wxSize((wxSize
&) result
);
10111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10119 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
;
10121 wxImage
*arg1
= (wxImage
*) 0 ;
10123 SwigValueWrapper
< wxImage
> result
;
10125 PyObject
* obj0
= 0 ;
10126 PyObject
* obj1
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self",(char *) "rect", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10136 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10146 wxImage
* resultptr
;
10147 resultptr
= new wxImage((wxImage
&) result
);
10148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10156 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxImage
*arg1
= (wxImage
*) 0 ;
10159 SwigValueWrapper
< wxImage
> result
;
10160 PyObject
* obj0
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (arg1
)->Copy();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10176 wxImage
* resultptr
;
10177 resultptr
= new wxImage((wxImage
&) result
);
10178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10186 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 wxImage
*arg1
= (wxImage
*) 0 ;
10189 wxImage
*arg2
= 0 ;
10192 PyObject
* obj0
= 0 ;
10193 PyObject
* obj1
= 0 ;
10194 PyObject
* obj2
= 0 ;
10195 PyObject
* obj3
= 0 ;
10196 char *kwnames
[] = {
10197 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10206 if (arg2
== NULL
) {
10207 PyErr_SetString(PyExc_TypeError
,"null reference");
10210 arg3
= (int) SWIG_AsInt(obj2
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10212 arg4
= (int) SWIG_AsInt(obj3
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 Py_INCREF(Py_None
); resultobj
= Py_None
;
10228 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxImage
*arg1
= (wxImage
*) 0 ;
10232 PyObject
* obj0
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (PyObject
*)wxImage_GetData(arg1
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= result
;
10254 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxImage
*arg1
= (wxImage
*) 0 ;
10257 PyObject
*arg2
= (PyObject
*) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self",(char *) "data", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 wxImage_SetData(arg1
,arg2
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 Py_INCREF(Py_None
); resultobj
= Py_None
;
10282 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxImage
*arg1
= (wxImage
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= result
;
10308 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxImage
*arg1
= (wxImage
*) 0 ;
10311 PyObject
*arg2
= (PyObject
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 char *kwnames
[] = {
10315 (char *) "self",(char *) "data", NULL
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 wxImage_SetDataBuffer(arg1
,arg2
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 Py_INCREF(Py_None
); resultobj
= Py_None
;
10336 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxImage
*arg1
= (wxImage
*) 0 ;
10340 PyObject
* obj0
= 0 ;
10341 char *kwnames
[] = {
10342 (char *) "self", NULL
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= result
;
10362 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxImage
*arg1
= (wxImage
*) 0 ;
10365 PyObject
*arg2
= (PyObject
*) 0 ;
10366 PyObject
* obj0
= 0 ;
10367 PyObject
* obj1
= 0 ;
10368 char *kwnames
[] = {
10369 (char *) "self",(char *) "data", NULL
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 wxImage_SetAlphaData(arg1
,arg2
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 Py_INCREF(Py_None
); resultobj
= Py_None
;
10390 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxImage
*arg1
= (wxImage
*) 0 ;
10394 PyObject
* obj0
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= result
;
10416 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxImage
*arg1
= (wxImage
*) 0 ;
10419 PyObject
*arg2
= (PyObject
*) 0 ;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self",(char *) "data", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 wxImage_SetAlphaBuffer(arg1
,arg2
);
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 Py_INCREF(Py_None
); resultobj
= Py_None
;
10444 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
*resultobj
;
10446 wxImage
*arg1
= (wxImage
*) 0 ;
10447 unsigned char arg2
;
10448 unsigned char arg3
;
10449 unsigned char arg4
;
10450 PyObject
* obj0
= 0 ;
10451 PyObject
* obj1
= 0 ;
10452 PyObject
* obj2
= 0 ;
10453 PyObject
* obj3
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10461 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10463 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10465 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 Py_INCREF(Py_None
); resultobj
= Py_None
;
10481 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
;
10483 wxImage
*arg1
= (wxImage
*) 0 ;
10484 unsigned char result
;
10485 PyObject
* obj0
= 0 ;
10486 char *kwnames
[] = {
10487 (char *) "self", NULL
10490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 result
= (unsigned char)(arg1
)->GetMaskRed();
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10507 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxImage
*arg1
= (wxImage
*) 0 ;
10510 unsigned char result
;
10511 PyObject
* obj0
= 0 ;
10512 char *kwnames
[] = {
10513 (char *) "self", NULL
10516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 result
= (unsigned char)(arg1
)->GetMaskGreen();
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10533 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxImage
*arg1
= (wxImage
*) 0 ;
10536 unsigned char result
;
10537 PyObject
* obj0
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 result
= (unsigned char)(arg1
)->GetMaskBlue();
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10559 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxImage
*arg1
= (wxImage
*) 0 ;
10562 bool arg2
= (bool) True
;
10563 PyObject
* obj0
= 0 ;
10564 PyObject
* obj1
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "self",(char *) "mask", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10573 arg2
= (bool) SWIG_AsBool(obj1
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 (arg1
)->SetMask(arg2
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 Py_INCREF(Py_None
); resultobj
= Py_None
;
10590 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxImage
*arg1
= (wxImage
*) 0 ;
10594 PyObject
* obj0
= 0 ;
10595 char *kwnames
[] = {
10596 (char *) "self", NULL
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (bool)(arg1
)->HasMask();
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10618 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxImage
*arg1
= (wxImage
*) 0 ;
10622 wxPoint
*arg3
= 0 ;
10623 bool arg4
= (bool) True
;
10624 wxPoint
*arg5
= (wxPoint
*) NULL
;
10625 SwigValueWrapper
< wxImage
> result
;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 PyObject
* obj2
= 0 ;
10630 PyObject
* obj3
= 0 ;
10631 PyObject
* obj4
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10639 arg2
= (double) SWIG_AsDouble(obj1
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10643 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10646 arg4
= (bool) SWIG_AsBool(obj3
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10650 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10661 wxImage
* resultptr
;
10662 resultptr
= new wxImage((wxImage
&) result
);
10663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10671 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxImage
*arg1
= (wxImage
*) 0 ;
10674 bool arg2
= (bool) True
;
10675 SwigValueWrapper
< wxImage
> result
;
10676 PyObject
* obj0
= 0 ;
10677 PyObject
* obj1
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self",(char *) "clockwise", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 arg2
= (bool) SWIG_AsBool(obj1
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= (arg1
)->Rotate90(arg2
);
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10697 wxImage
* resultptr
;
10698 resultptr
= new wxImage((wxImage
&) result
);
10699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10707 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxImage
*arg1
= (wxImage
*) 0 ;
10710 bool arg2
= (bool) True
;
10711 SwigValueWrapper
< wxImage
> result
;
10712 PyObject
* obj0
= 0 ;
10713 PyObject
* obj1
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "self",(char *) "horizontally", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10722 arg2
= (bool) SWIG_AsBool(obj1
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= (arg1
)->Mirror(arg2
);
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10733 wxImage
* resultptr
;
10734 resultptr
= new wxImage((wxImage
&) result
);
10735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10743 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxImage
*arg1
= (wxImage
*) 0 ;
10746 unsigned char arg2
;
10747 unsigned char arg3
;
10748 unsigned char arg4
;
10749 unsigned char arg5
;
10750 unsigned char arg6
;
10751 unsigned char arg7
;
10752 PyObject
* obj0
= 0 ;
10753 PyObject
* obj1
= 0 ;
10754 PyObject
* obj2
= 0 ;
10755 PyObject
* obj3
= 0 ;
10756 PyObject
* obj4
= 0 ;
10757 PyObject
* obj5
= 0 ;
10758 PyObject
* obj6
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10766 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10768 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10770 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10772 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10774 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10776 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 Py_INCREF(Py_None
); resultobj
= Py_None
;
10792 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
;
10794 wxImage
*arg1
= (wxImage
*) 0 ;
10795 unsigned char arg2
;
10796 unsigned char arg3
;
10797 unsigned char arg4
;
10798 SwigValueWrapper
< wxImage
> result
;
10799 PyObject
* obj0
= 0 ;
10800 PyObject
* obj1
= 0 ;
10801 PyObject
* obj2
= 0 ;
10802 PyObject
* obj3
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10810 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10812 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10814 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10824 wxImage
* resultptr
;
10825 resultptr
= new wxImage((wxImage
&) result
);
10826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10834 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
;
10836 wxImage
*arg1
= (wxImage
*) 0 ;
10837 wxString
*arg2
= 0 ;
10838 wxString
*arg3
= 0 ;
10839 bool temp2
= False
;
10840 bool temp3
= False
;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self",(char *) "name",(char *) "value", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10852 arg2
= wxString_in_helper(obj1
);
10853 if (arg2
== NULL
) SWIG_fail
;
10857 arg3
= wxString_in_helper(obj2
);
10858 if (arg3
== NULL
) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 Py_INCREF(Py_None
); resultobj
= Py_None
;
10891 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxImage
*arg1
= (wxImage
*) 0 ;
10894 wxString
*arg2
= 0 ;
10896 bool temp2
= False
;
10897 PyObject
* obj0
= 0 ;
10898 PyObject
* obj1
= 0 ;
10899 PyObject
* obj2
= 0 ;
10900 char *kwnames
[] = {
10901 (char *) "self",(char *) "name",(char *) "value", NULL
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10908 arg2
= wxString_in_helper(obj1
);
10909 if (arg2
== NULL
) SWIG_fail
;
10912 arg3
= (int) SWIG_AsInt(obj2
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 Py_INCREF(Py_None
); resultobj
= Py_None
;
10936 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
;
10938 wxImage
*arg1
= (wxImage
*) 0 ;
10939 wxString
*arg2
= 0 ;
10941 bool temp2
= False
;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 char *kwnames
[] = {
10945 (char *) "self",(char *) "name", NULL
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10952 arg2
= wxString_in_helper(obj1
);
10953 if (arg2
== NULL
) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10984 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxImage
*arg1
= (wxImage
*) 0 ;
10987 wxString
*arg2
= 0 ;
10989 bool temp2
= False
;
10990 PyObject
* obj0
= 0 ;
10991 PyObject
* obj1
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self",(char *) "name", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11000 arg2
= wxString_in_helper(obj1
);
11001 if (arg2
== NULL
) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= SWIG_FromInt((int)result
);
11026 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
;
11028 wxImage
*arg1
= (wxImage
*) 0 ;
11029 wxString
*arg2
= 0 ;
11031 bool temp2
= False
;
11032 PyObject
* obj0
= 0 ;
11033 PyObject
* obj1
= 0 ;
11034 char *kwnames
[] = {
11035 (char *) "self",(char *) "name", NULL
11038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11042 arg2
= wxString_in_helper(obj1
);
11043 if (arg2
== NULL
) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11070 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxImage
*arg1
= (wxImage
*) 0 ;
11073 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11074 unsigned long result
;
11075 PyObject
* obj0
= 0 ;
11076 PyObject
* obj1
= 0 ;
11077 char *kwnames
[] = {
11078 (char *) "self",(char *) "stopafter", NULL
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11085 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11102 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 wxImage
*arg1
= (wxImage
*) 0 ;
11105 wxImageHistogram
*arg2
= 0 ;
11106 unsigned long result
;
11107 PyObject
* obj0
= 0 ;
11108 PyObject
* obj1
= 0 ;
11109 char *kwnames
[] = {
11110 (char *) "self",(char *) "h", NULL
11113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11119 if (arg2
== NULL
) {
11120 PyErr_SetString(PyExc_TypeError
,"null reference");
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11137 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11138 PyObject
*resultobj
;
11139 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11140 PyObject
* obj0
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "handler", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 wxImage::AddHandler(arg1
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 Py_INCREF(Py_None
); resultobj
= Py_None
;
11162 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11165 PyObject
* obj0
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "handler", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 wxImage::InsertHandler(arg1
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 Py_INCREF(Py_None
); resultobj
= Py_None
;
11187 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxString
*arg1
= 0 ;
11191 bool temp1
= False
;
11192 PyObject
* obj0
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "name", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11199 arg1
= wxString_in_helper(obj0
);
11200 if (arg1
== NULL
) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11227 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11230 char *kwnames
[] = {
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= wxImage::GetImageExtWildcard();
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11255 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 wxImage
*arg1
= (wxImage
*) 0 ;
11259 PyObject
* obj0
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self", NULL
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11268 if (!wxPyCheckForApp()) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= wxImage_ConvertToBitmap(arg1
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11276 wxBitmap
* resultptr
;
11277 resultptr
= new wxBitmap((wxBitmap
&) result
);
11278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11286 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxImage
*arg1
= (wxImage
*) 0 ;
11289 unsigned char arg2
;
11290 unsigned char arg3
;
11291 unsigned char arg4
;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 PyObject
* obj2
= 0 ;
11296 PyObject
* obj3
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11304 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11306 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11308 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 if (!wxPyCheckForApp()) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11319 wxBitmap
* resultptr
;
11320 resultptr
= new wxBitmap((wxBitmap
&) result
);
11321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11329 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11332 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11334 return Py_BuildValue((char *)"");
11336 static int _wrap_NullImage_set(PyObject
*_val
) {
11337 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11342 static PyObject
*_wrap_NullImage_get() {
11345 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11350 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11351 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11356 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11361 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11363 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11370 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11371 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11376 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11381 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11383 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11390 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11391 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11396 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11401 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11403 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11410 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11411 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11416 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11421 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11423 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11430 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11431 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11436 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11441 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11443 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11450 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxBMPHandler
*result
;
11453 char *kwnames
[] = {
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= (wxBMPHandler
*)new wxBMPHandler();
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11472 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11475 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11477 return Py_BuildValue((char *)"");
11479 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxICOHandler
*result
;
11482 char *kwnames
[] = {
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 result
= (wxICOHandler
*)new wxICOHandler();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11501 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11504 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11506 return Py_BuildValue((char *)"");
11508 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
;
11510 wxCURHandler
*result
;
11511 char *kwnames
[] = {
11515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (wxCURHandler
*)new wxCURHandler();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11530 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11533 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11535 return Py_BuildValue((char *)"");
11537 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxANIHandler
*result
;
11540 char *kwnames
[] = {
11544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (wxANIHandler
*)new wxANIHandler();
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11559 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11562 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11564 return Py_BuildValue((char *)"");
11566 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
*resultobj
;
11568 wxPNGHandler
*result
;
11569 char *kwnames
[] = {
11573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 result
= (wxPNGHandler
*)new wxPNGHandler();
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11588 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11591 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11593 return Py_BuildValue((char *)"");
11595 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
;
11597 wxGIFHandler
*result
;
11598 char *kwnames
[] = {
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 result
= (wxGIFHandler
*)new wxGIFHandler();
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11617 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11620 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11622 return Py_BuildValue((char *)"");
11624 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
;
11626 wxPCXHandler
*result
;
11627 char *kwnames
[] = {
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (wxPCXHandler
*)new wxPCXHandler();
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11646 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11649 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11651 return Py_BuildValue((char *)"");
11653 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxJPEGHandler
*result
;
11656 char *kwnames
[] = {
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11675 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11680 return Py_BuildValue((char *)"");
11682 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
;
11684 wxPNMHandler
*result
;
11685 char *kwnames
[] = {
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (wxPNMHandler
*)new wxPNMHandler();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11704 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11707 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11709 return Py_BuildValue((char *)"");
11711 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxXPMHandler
*result
;
11714 char *kwnames
[] = {
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (wxXPMHandler
*)new wxXPMHandler();
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11733 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11736 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11738 return Py_BuildValue((char *)"");
11740 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 wxTIFFHandler
*result
;
11743 char *kwnames
[] = {
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11762 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11765 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11767 return Py_BuildValue((char *)"");
11769 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxEvtHandler
*result
;
11772 char *kwnames
[] = {
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (wxEvtHandler
*)new wxEvtHandler();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= wxPyMake_wxObject(result
, 1);
11793 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11796 wxEvtHandler
*result
;
11797 PyObject
* obj0
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "self", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= wxPyMake_wxObject(result
, 0);
11821 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11824 wxEvtHandler
*result
;
11825 PyObject
* obj0
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "self", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= wxPyMake_wxObject(result
, 0);
11849 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11852 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11853 PyObject
* obj0
= 0 ;
11854 PyObject
* obj1
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self",(char *) "handler", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11866 (arg1
)->SetNextHandler(arg2
);
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11871 Py_INCREF(Py_None
); resultobj
= Py_None
;
11878 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
*resultobj
;
11880 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11881 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11882 PyObject
* obj0
= 0 ;
11883 PyObject
* obj1
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "self",(char *) "handler", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 (arg1
)->SetPreviousHandler(arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 Py_INCREF(Py_None
); resultobj
= Py_None
;
11907 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11911 PyObject
* obj0
= 0 ;
11912 char *kwnames
[] = {
11913 (char *) "self", NULL
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11935 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11939 PyObject
* obj0
= 0 ;
11940 PyObject
* obj1
= 0 ;
11941 char *kwnames
[] = {
11942 (char *) "self",(char *) "enabled", NULL
11945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11948 arg2
= (bool) SWIG_AsBool(obj1
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 (arg1
)->SetEvtHandlerEnabled(arg2
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 Py_INCREF(Py_None
); resultobj
= Py_None
;
11964 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11967 wxEvent
*arg2
= 0 ;
11969 PyObject
* obj0
= 0 ;
11970 PyObject
* obj1
= 0 ;
11971 char *kwnames
[] = {
11972 (char *) "self",(char *) "event", NULL
11975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11981 if (arg2
== NULL
) {
11982 PyErr_SetString(PyExc_TypeError
,"null reference");
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12001 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12004 wxEvent
*arg2
= 0 ;
12005 PyObject
* obj0
= 0 ;
12006 PyObject
* obj1
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self",(char *) "event", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12017 if (arg2
== NULL
) {
12018 PyErr_SetString(PyExc_TypeError
,"null reference");
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 (arg1
)->AddPendingEvent(*arg2
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 Py_INCREF(Py_None
); resultobj
= Py_None
;
12035 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12038 PyObject
* obj0
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 (arg1
)->ProcessPendingEvents();
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 Py_INCREF(Py_None
); resultobj
= Py_None
;
12060 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12066 PyObject
*arg5
= (PyObject
*) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 PyObject
* obj1
= 0 ;
12069 PyObject
* obj2
= 0 ;
12070 PyObject
* obj3
= 0 ;
12071 PyObject
* obj4
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 arg2
= (int) SWIG_AsInt(obj1
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12081 arg3
= (int) SWIG_AsInt(obj2
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12083 arg4
= (int) SWIG_AsInt(obj3
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 Py_INCREF(Py_None
); resultobj
= Py_None
;
12100 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
;
12102 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12104 int arg3
= (int) -1 ;
12105 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12107 PyObject
* obj0
= 0 ;
12108 PyObject
* obj1
= 0 ;
12109 PyObject
* obj2
= 0 ;
12110 PyObject
* obj3
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12118 arg2
= (int) SWIG_AsInt(obj1
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 arg3
= (int) SWIG_AsInt(obj2
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12144 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
;
12146 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12147 PyObject
*arg2
= (PyObject
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self",(char *) "_self", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 wxEvtHandler__setOORInfo(arg1
,arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 Py_INCREF(Py_None
); resultobj
= Py_None
;
12172 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12175 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12177 return Py_BuildValue((char *)"");
12179 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxEventType result
;
12182 char *kwnames
[] = {
12186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (wxEventType
)wxNewEventType();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= SWIG_FromInt((int)result
);
12201 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxEvent
*arg1
= (wxEvent
*) 0 ;
12204 PyObject
* obj0
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 Py_INCREF(Py_None
); resultobj
= Py_None
;
12226 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxEvent
*arg1
= (wxEvent
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 PyObject
* obj1
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self",(char *) "typ", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12239 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 (arg1
)->SetEventType(arg2
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12255 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxEvent
*arg1
= (wxEvent
*) 0 ;
12258 wxEventType result
;
12259 PyObject
* obj0
= 0 ;
12260 char *kwnames
[] = {
12261 (char *) "self", NULL
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= SWIG_FromInt((int)result
);
12281 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxEvent
*arg1
= (wxEvent
*) 0 ;
12285 PyObject
* obj0
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= wxPyMake_wxObject(result
, 0);
12309 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxEvent
*arg1
= (wxEvent
*) 0 ;
12312 wxObject
*arg2
= (wxObject
*) 0 ;
12313 PyObject
* obj0
= 0 ;
12314 PyObject
* obj1
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "self",(char *) "obj", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 (arg1
)->SetEventObject(arg2
);
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12331 Py_INCREF(Py_None
); resultobj
= Py_None
;
12338 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
*resultobj
;
12340 wxEvent
*arg1
= (wxEvent
*) 0 ;
12342 PyObject
* obj0
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "self", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= SWIG_FromLong((long)result
);
12364 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 wxEvent
*arg1
= (wxEvent
*) 0 ;
12367 long arg2
= (long) 0 ;
12368 PyObject
* obj0
= 0 ;
12369 PyObject
* obj1
= 0 ;
12370 char *kwnames
[] = {
12371 (char *) "self",(char *) "ts", NULL
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12378 arg2
= (long) SWIG_AsLong(obj1
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 (arg1
)->SetTimestamp(arg2
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 Py_INCREF(Py_None
); resultobj
= Py_None
;
12395 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
;
12397 wxEvent
*arg1
= (wxEvent
*) 0 ;
12399 PyObject
* obj0
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 result
= (int)((wxEvent
const *)arg1
)->GetId();
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12414 resultobj
= SWIG_FromInt((int)result
);
12421 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
;
12423 wxEvent
*arg1
= (wxEvent
*) 0 ;
12425 PyObject
* obj0
= 0 ;
12426 PyObject
* obj1
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self",(char *) "Id", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12434 arg2
= (int) SWIG_AsInt(obj1
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 (arg1
)->SetId(arg2
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 Py_INCREF(Py_None
); resultobj
= Py_None
;
12450 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxEvent
*arg1
= (wxEvent
*) 0 ;
12454 PyObject
* obj0
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12478 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
;
12480 wxEvent
*arg1
= (wxEvent
*) 0 ;
12481 bool arg2
= (bool) True
;
12482 PyObject
* obj0
= 0 ;
12483 PyObject
* obj1
= 0 ;
12484 char *kwnames
[] = {
12485 (char *) "self",(char *) "skip", NULL
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12492 arg2
= (bool) SWIG_AsBool(obj1
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 (arg1
)->Skip(arg2
);
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 Py_INCREF(Py_None
); resultobj
= Py_None
;
12509 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxEvent
*arg1
= (wxEvent
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12537 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxEvent
*arg1
= (wxEvent
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12565 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxEvent
*arg1
= (wxEvent
*) 0 ;
12569 PyObject
* obj0
= 0 ;
12570 char *kwnames
[] = {
12571 (char *) "self", NULL
12574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 result
= (int)(arg1
)->StopPropagation();
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 resultobj
= SWIG_FromInt((int)result
);
12591 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
;
12593 wxEvent
*arg1
= (wxEvent
*) 0 ;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self",(char *) "propagationLevel", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12604 arg2
= (int) SWIG_AsInt(obj1
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->ResumePropagation(arg2
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12620 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxEvent
*arg1
= (wxEvent
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (wxEvent
*)(arg1
)->Clone();
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12646 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12649 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12651 return Py_BuildValue((char *)"");
12653 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxEvent
*arg1
= 0 ;
12656 wxPropagationDisabler
*result
;
12657 PyObject
* obj0
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "event", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12666 if (arg1
== NULL
) {
12667 PyErr_SetString(PyExc_TypeError
,"null reference");
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12684 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12687 PyObject
* obj0
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12702 Py_INCREF(Py_None
); resultobj
= Py_None
;
12709 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12712 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12714 return Py_BuildValue((char *)"");
12716 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxEvent
*arg1
= 0 ;
12719 wxPropagateOnce
*result
;
12720 PyObject
* obj0
= 0 ;
12721 char *kwnames
[] = {
12722 (char *) "event", NULL
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12729 if (arg1
== NULL
) {
12730 PyErr_SetString(PyExc_TypeError
,"null reference");
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12747 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12750 PyObject
* obj0
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "self", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 Py_INCREF(Py_None
); resultobj
= Py_None
;
12772 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12775 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12777 return Py_BuildValue((char *)"");
12779 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12782 int arg2
= (int) 0 ;
12783 wxCommandEvent
*result
;
12784 PyObject
* obj0
= 0 ;
12785 PyObject
* obj1
= 0 ;
12786 char *kwnames
[] = {
12787 (char *) "commandType",(char *) "winid", NULL
12790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12792 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12796 arg2
= (int) SWIG_AsInt(obj1
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12813 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12817 PyObject
* obj0
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= SWIG_FromInt((int)result
);
12839 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12842 wxString
*arg2
= 0 ;
12843 bool temp2
= False
;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 char *kwnames
[] = {
12847 (char *) "self",(char *) "s", NULL
12850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12854 arg2
= wxString_in_helper(obj1
);
12855 if (arg2
== NULL
) SWIG_fail
;
12859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12860 (arg1
)->SetString((wxString
const &)*arg2
);
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12865 Py_INCREF(Py_None
); resultobj
= Py_None
;
12880 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
;
12882 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12884 PyObject
* obj0
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12912 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "self", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12940 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 char *kwnames
[] = {
12946 (char *) "self", NULL
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12968 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
;
12970 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12972 PyObject
* obj0
= 0 ;
12973 PyObject
* obj1
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self",(char *) "extraLong", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12981 arg2
= (long) SWIG_AsLong(obj1
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 (arg1
)->SetExtraLong(arg2
);
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12990 Py_INCREF(Py_None
); resultobj
= Py_None
;
12997 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= SWIG_FromLong((long)result
);
13023 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self",(char *) "i", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13036 arg2
= (int) SWIG_AsInt(obj1
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 (arg1
)->SetInt(arg2
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 Py_INCREF(Py_None
); resultobj
= Py_None
;
13052 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13056 PyObject
* obj0
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= SWIG_FromLong((long)result
);
13078 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13104 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13107 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13109 return Py_BuildValue((char *)"");
13111 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13114 int arg2
= (int) 0 ;
13115 wxNotifyEvent
*result
;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "commandType",(char *) "winid", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13124 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 arg2
= (int) SWIG_AsInt(obj1
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13145 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13146 PyObject
*resultobj
;
13147 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13148 PyObject
* obj0
= 0 ;
13149 char *kwnames
[] = {
13150 (char *) "self", NULL
13153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13163 Py_INCREF(Py_None
); resultobj
= Py_None
;
13170 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
;
13172 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13173 PyObject
* obj0
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 Py_INCREF(Py_None
); resultobj
= Py_None
;
13195 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "self", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= (bool)(arg1
)->IsAllowed();
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13223 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13226 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13228 return Py_BuildValue((char *)"");
13230 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
;
13232 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13233 int arg2
= (int) 0 ;
13234 int arg3
= (int) 0 ;
13235 int arg4
= (int) 0 ;
13236 wxScrollEvent
*result
;
13237 PyObject
* obj0
= 0 ;
13238 PyObject
* obj1
= 0 ;
13239 PyObject
* obj2
= 0 ;
13240 PyObject
* obj3
= 0 ;
13241 char *kwnames
[] = {
13242 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13247 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13251 arg2
= (int) SWIG_AsInt(obj1
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13255 arg3
= (int) SWIG_AsInt(obj2
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13259 arg4
= (int) SWIG_AsInt(obj3
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13276 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13277 PyObject
*resultobj
;
13278 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13280 PyObject
* obj0
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_FromInt((int)result
);
13302 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13306 PyObject
* obj0
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "self", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= SWIG_FromInt((int)result
);
13328 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self",(char *) "orient", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13341 arg2
= (int) SWIG_AsInt(obj1
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 (arg1
)->SetOrientation(arg2
);
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 Py_INCREF(Py_None
); resultobj
= Py_None
;
13357 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 PyObject
* obj1
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "pos", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13370 arg2
= (int) SWIG_AsInt(obj1
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 (arg1
)->SetPosition(arg2
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 Py_INCREF(Py_None
); resultobj
= Py_None
;
13386 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13389 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13391 return Py_BuildValue((char *)"");
13393 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
;
13395 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13396 int arg2
= (int) 0 ;
13397 int arg3
= (int) 0 ;
13398 wxScrollWinEvent
*result
;
13399 PyObject
* obj0
= 0 ;
13400 PyObject
* obj1
= 0 ;
13401 PyObject
* obj2
= 0 ;
13402 char *kwnames
[] = {
13403 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13408 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 arg2
= (int) SWIG_AsInt(obj1
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13416 arg3
= (int) SWIG_AsInt(obj2
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13433 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13437 PyObject
* obj0
= 0 ;
13438 char *kwnames
[] = {
13439 (char *) "self", NULL
13442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= SWIG_FromInt((int)result
);
13459 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13463 PyObject
* obj0
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "self", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_FromInt((int)result
);
13485 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13489 PyObject
* obj0
= 0 ;
13490 PyObject
* obj1
= 0 ;
13491 char *kwnames
[] = {
13492 (char *) "self",(char *) "orient", NULL
13495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13498 arg2
= (int) SWIG_AsInt(obj1
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 (arg1
)->SetOrientation(arg2
);
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 Py_INCREF(Py_None
); resultobj
= Py_None
;
13514 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 PyObject
* obj1
= 0 ;
13520 char *kwnames
[] = {
13521 (char *) "self",(char *) "pos", NULL
13524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13527 arg2
= (int) SWIG_AsInt(obj1
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 (arg1
)->SetPosition(arg2
);
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 Py_INCREF(Py_None
); resultobj
= Py_None
;
13543 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13546 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13548 return Py_BuildValue((char *)"");
13550 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13553 wxMouseEvent
*result
;
13554 PyObject
* obj0
= 0 ;
13555 char *kwnames
[] = {
13556 (char *) "mouseType", NULL
13559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13561 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= wxPyMake_wxObject(result
, 1);
13580 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13584 PyObject
* obj0
= 0 ;
13585 char *kwnames
[] = {
13586 (char *) "self", NULL
13589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13608 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
;
13610 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13611 int arg2
= (int) wxMOUSE_BTN_ANY
;
13613 PyObject
* obj0
= 0 ;
13614 PyObject
* obj1
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "self",(char *) "but", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 arg2
= (int) SWIG_AsInt(obj1
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13642 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13645 int arg2
= (int) wxMOUSE_BTN_ANY
;
13647 PyObject
* obj0
= 0 ;
13648 PyObject
* obj1
= 0 ;
13649 char *kwnames
[] = {
13650 (char *) "self",(char *) "but", NULL
13653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13657 arg2
= (int) SWIG_AsInt(obj1
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13676 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13679 int arg2
= (int) wxMOUSE_BTN_ANY
;
13681 PyObject
* obj0
= 0 ;
13682 PyObject
* obj1
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self",(char *) "but", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13691 arg2
= (int) SWIG_AsInt(obj1
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13710 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13711 PyObject
*resultobj
;
13712 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13715 PyObject
* obj0
= 0 ;
13716 PyObject
* obj1
= 0 ;
13717 char *kwnames
[] = {
13718 (char *) "self",(char *) "but", NULL
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13724 arg2
= (int) SWIG_AsInt(obj1
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13742 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13747 PyObject
* obj0
= 0 ;
13748 PyObject
* obj1
= 0 ;
13749 char *kwnames
[] = {
13750 (char *) "self",(char *) "but", NULL
13753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13756 arg2
= (int) SWIG_AsInt(obj1
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13774 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
;
13776 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13778 PyObject
* obj0
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= SWIG_FromInt((int)result
);
13800 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
;
13802 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 char *kwnames
[] = {
13806 (char *) "self", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13828 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13832 PyObject
* obj0
= 0 ;
13833 char *kwnames
[] = {
13834 (char *) "self", NULL
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13856 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13884 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13888 PyObject
* obj0
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "self", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13912 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
;
13914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13916 PyObject
* obj0
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
13922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13940 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13944 PyObject
* obj0
= 0 ;
13945 char *kwnames
[] = {
13946 (char *) "self", NULL
13949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13968 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
;
13970 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13972 PyObject
* obj0
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13996 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14000 PyObject
* obj0
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14024 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14028 PyObject
* obj0
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14052 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
;
14054 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14056 PyObject
* obj0
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14080 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14084 PyObject
* obj0
= 0 ;
14085 char *kwnames
[] = {
14086 (char *) "self", NULL
14089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14108 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14136 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
;
14138 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14140 PyObject
* obj0
= 0 ;
14141 char *kwnames
[] = {
14142 (char *) "self", NULL
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14164 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14165 PyObject
*resultobj
;
14166 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14168 PyObject
* obj0
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "self", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14192 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14193 PyObject
*resultobj
;
14194 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14196 PyObject
* obj0
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (bool)(arg1
)->LeftIsDown();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14220 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
;
14222 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14224 PyObject
* obj0
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (bool)(arg1
)->MiddleIsDown();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14248 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14252 PyObject
* obj0
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "self", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (bool)(arg1
)->RightIsDown();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14276 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
;
14278 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14280 PyObject
* obj0
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "self", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14304 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14332 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14360 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14364 PyObject
* obj0
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14388 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14392 PyObject
* obj0
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (arg1
)->GetPosition();
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 wxPoint
* resultptr
;
14409 resultptr
= new wxPoint((wxPoint
&) result
);
14410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14418 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14421 long *arg2
= (long *) 0 ;
14422 long *arg3
= (long *) 0 ;
14425 PyObject
* obj0
= 0 ;
14426 char *kwnames
[] = {
14427 (char *) "self", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 (arg1
)->GetPosition(arg2
,arg3
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 Py_INCREF(Py_None
); resultobj
= Py_None
;
14444 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14445 resultobj
= t_output_helper(resultobj
,o
);
14448 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14449 resultobj
= t_output_helper(resultobj
,o
);
14457 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14462 PyObject
* obj0
= 0 ;
14463 PyObject
* obj1
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "self",(char *) "dc", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14474 if (arg2
== NULL
) {
14475 PyErr_SetString(PyExc_TypeError
,"null reference");
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14486 wxPoint
* resultptr
;
14487 resultptr
= new wxPoint((wxPoint
&) result
);
14488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14496 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= SWIG_FromInt((int)result
);
14522 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14526 PyObject
* obj0
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "self", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= SWIG_FromInt((int)result
);
14548 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14552 PyObject
* obj0
= 0 ;
14553 char *kwnames
[] = {
14554 (char *) "self", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 resultobj
= SWIG_FromInt((int)result
);
14574 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= SWIG_FromInt((int)result
);
14600 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= SWIG_FromInt((int)result
);
14626 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14630 PyObject
* obj0
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "self", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14654 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
;
14656 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14658 PyObject
* obj0
= 0 ;
14659 PyObject
* obj1
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self",(char *) "m_x", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14667 arg2
= (int) SWIG_AsInt(obj1
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14669 if (arg1
) (arg1
)->m_x
= arg2
;
14671 Py_INCREF(Py_None
); resultobj
= Py_None
;
14678 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
;
14680 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14682 PyObject
* obj0
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "self", NULL
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14690 result
= (int) ((arg1
)->m_x
);
14692 resultobj
= SWIG_FromInt((int)result
);
14699 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14703 PyObject
* obj0
= 0 ;
14704 PyObject
* obj1
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self",(char *) "m_y", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14712 arg2
= (int) SWIG_AsInt(obj1
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14714 if (arg1
) (arg1
)->m_y
= arg2
;
14716 Py_INCREF(Py_None
); resultobj
= Py_None
;
14723 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14727 PyObject
* obj0
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14735 result
= (int) ((arg1
)->m_y
);
14737 resultobj
= SWIG_FromInt((int)result
);
14744 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
;
14746 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14748 PyObject
* obj0
= 0 ;
14749 PyObject
* obj1
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self",(char *) "m_leftDown", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14757 arg2
= (bool) SWIG_AsBool(obj1
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14759 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14761 Py_INCREF(Py_None
); resultobj
= Py_None
;
14768 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 char *kwnames
[] = {
14774 (char *) "self", NULL
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14780 result
= (bool) ((arg1
)->m_leftDown
);
14783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14791 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self",(char *) "m_middleDown", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14804 arg2
= (bool) SWIG_AsBool(obj1
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14806 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14808 Py_INCREF(Py_None
); resultobj
= Py_None
;
14815 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 char *kwnames
[] = {
14821 (char *) "self", NULL
14824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14827 result
= (bool) ((arg1
)->m_middleDown
);
14830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14838 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self",(char *) "m_rightDown", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14851 arg2
= (bool) SWIG_AsBool(obj1
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14853 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14855 Py_INCREF(Py_None
); resultobj
= Py_None
;
14862 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14866 PyObject
* obj0
= 0 ;
14867 char *kwnames
[] = {
14868 (char *) "self", NULL
14871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14874 result
= (bool) ((arg1
)->m_rightDown
);
14877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14885 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
;
14887 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self",(char *) "m_controlDown", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14898 arg2
= (bool) SWIG_AsBool(obj1
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14900 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14902 Py_INCREF(Py_None
); resultobj
= Py_None
;
14909 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14913 PyObject
* obj0
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14921 result
= (bool) ((arg1
)->m_controlDown
);
14924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14932 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 PyObject
* obj1
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "m_shiftDown", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 arg2
= (bool) SWIG_AsBool(obj1
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14947 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14949 Py_INCREF(Py_None
); resultobj
= Py_None
;
14956 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14968 result
= (bool) ((arg1
)->m_shiftDown
);
14971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14979 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
;
14981 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14983 PyObject
* obj0
= 0 ;
14984 PyObject
* obj1
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "self",(char *) "m_altDown", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14992 arg2
= (bool) SWIG_AsBool(obj1
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14994 if (arg1
) (arg1
)->m_altDown
= arg2
;
14996 Py_INCREF(Py_None
); resultobj
= Py_None
;
15003 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
;
15005 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15007 PyObject
* obj0
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "self", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15015 result
= (bool) ((arg1
)->m_altDown
);
15018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15026 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15027 PyObject
*resultobj
;
15028 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15030 PyObject
* obj0
= 0 ;
15031 PyObject
* obj1
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self",(char *) "m_metaDown", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15039 arg2
= (bool) SWIG_AsBool(obj1
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15041 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15043 Py_INCREF(Py_None
); resultobj
= Py_None
;
15050 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15054 PyObject
* obj0
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15062 result
= (bool) ((arg1
)->m_metaDown
);
15065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15073 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self",(char *) "m_wheelRotation", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15086 arg2
= (int) SWIG_AsInt(obj1
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15088 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15090 Py_INCREF(Py_None
); resultobj
= Py_None
;
15097 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15101 PyObject
* obj0
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "self", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15109 result
= (int) ((arg1
)->m_wheelRotation
);
15111 resultobj
= SWIG_FromInt((int)result
);
15118 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 PyObject
* obj1
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self",(char *) "m_wheelDelta", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15131 arg2
= (int) SWIG_AsInt(obj1
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15133 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15135 Py_INCREF(Py_None
); resultobj
= Py_None
;
15142 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 char *kwnames
[] = {
15148 (char *) "self", NULL
15151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15154 result
= (int) ((arg1
)->m_wheelDelta
);
15156 resultobj
= SWIG_FromInt((int)result
);
15163 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
;
15165 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15167 PyObject
* obj0
= 0 ;
15168 PyObject
* obj1
= 0 ;
15169 char *kwnames
[] = {
15170 (char *) "self",(char *) "m_linesPerAction", NULL
15173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15176 arg2
= (int) SWIG_AsInt(obj1
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15178 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15180 Py_INCREF(Py_None
); resultobj
= Py_None
;
15187 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
;
15189 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15191 PyObject
* obj0
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "self", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15199 result
= (int) ((arg1
)->m_linesPerAction
);
15201 resultobj
= SWIG_FromInt((int)result
);
15208 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15211 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15213 return Py_BuildValue((char *)"");
15215 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 int arg1
= (int) 0 ;
15218 int arg2
= (int) 0 ;
15219 wxSetCursorEvent
*result
;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "x",(char *) "y", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15228 arg1
= (int) SWIG_AsInt(obj0
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15232 arg2
= (int) SWIG_AsInt(obj1
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15249 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15253 PyObject
* obj0
= 0 ;
15254 char *kwnames
[] = {
15255 (char *) "self", NULL
15258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= SWIG_FromInt((int)result
);
15275 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
;
15277 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15279 PyObject
* obj0
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= SWIG_FromInt((int)result
);
15301 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15304 wxCursor
*arg2
= 0 ;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self",(char *) "cursor", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15317 if (arg2
== NULL
) {
15318 PyErr_SetString(PyExc_TypeError
,"null reference");
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 Py_INCREF(Py_None
); resultobj
= Py_None
;
15335 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "self", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15351 result
= (wxCursor
*) &_result_ref
;
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15358 wxCursor
* resultptr
= new wxCursor(*result
);
15359 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15367 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
;
15369 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15371 PyObject
* obj0
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15395 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15398 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15400 return Py_BuildValue((char *)"");
15402 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
;
15404 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15405 wxKeyEvent
*result
;
15406 PyObject
* obj0
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "keyType", NULL
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15413 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15430 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15458 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
;
15460 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15462 PyObject
* obj0
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15486 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15514 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15542 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15570 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15598 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15600 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15602 PyObject
* obj0
= 0 ;
15603 char *kwnames
[] = {
15604 (char *) "self", NULL
15607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15617 resultobj
= SWIG_FromInt((int)result
);
15624 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_FromInt((int)result
);
15650 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15653 unsigned int result
;
15654 PyObject
* obj0
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15676 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15679 unsigned int result
;
15680 PyObject
* obj0
= 0 ;
15681 char *kwnames
[] = {
15682 (char *) "self", NULL
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15702 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
;
15704 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15706 PyObject
* obj0
= 0 ;
15707 char *kwnames
[] = {
15708 (char *) "self", NULL
15711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 result
= (arg1
)->GetPosition();
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15722 wxPoint
* resultptr
;
15723 resultptr
= new wxPoint((wxPoint
&) result
);
15724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15732 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15735 long *arg2
= (long *) 0 ;
15736 long *arg3
= (long *) 0 ;
15739 PyObject
* obj0
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 (arg1
)->GetPosition(arg2
,arg3
);
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15756 Py_INCREF(Py_None
); resultobj
= Py_None
;
15758 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15759 resultobj
= t_output_helper(resultobj
,o
);
15762 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15763 resultobj
= t_output_helper(resultobj
,o
);
15771 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15772 PyObject
*resultobj
;
15773 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15775 PyObject
* obj0
= 0 ;
15776 char *kwnames
[] = {
15777 (char *) "self", NULL
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 resultobj
= SWIG_FromInt((int)result
);
15797 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
;
15799 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15801 PyObject
* obj0
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "self", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15816 resultobj
= SWIG_FromInt((int)result
);
15823 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
;
15825 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15827 PyObject
* obj0
= 0 ;
15828 PyObject
* obj1
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "self",(char *) "m_x", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15836 arg2
= (int) SWIG_AsInt(obj1
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15838 if (arg1
) (arg1
)->m_x
= arg2
;
15840 Py_INCREF(Py_None
); resultobj
= Py_None
;
15847 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
;
15849 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15851 PyObject
* obj0
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15859 result
= (int) ((arg1
)->m_x
);
15861 resultobj
= SWIG_FromInt((int)result
);
15868 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 PyObject
* obj1
= 0 ;
15874 char *kwnames
[] = {
15875 (char *) "self",(char *) "m_y", NULL
15878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15881 arg2
= (int) SWIG_AsInt(obj1
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15883 if (arg1
) (arg1
)->m_y
= arg2
;
15885 Py_INCREF(Py_None
); resultobj
= Py_None
;
15892 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15893 PyObject
*resultobj
;
15894 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15896 PyObject
* obj0
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15904 result
= (int) ((arg1
)->m_y
);
15906 resultobj
= SWIG_FromInt((int)result
);
15913 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15917 PyObject
* obj0
= 0 ;
15918 PyObject
* obj1
= 0 ;
15919 char *kwnames
[] = {
15920 (char *) "self",(char *) "m_keyCode", NULL
15923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15926 arg2
= (long) SWIG_AsLong(obj1
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15928 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15930 Py_INCREF(Py_None
); resultobj
= Py_None
;
15937 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15949 result
= (long) ((arg1
)->m_keyCode
);
15951 resultobj
= SWIG_FromLong((long)result
);
15958 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
;
15960 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15962 PyObject
* obj0
= 0 ;
15963 PyObject
* obj1
= 0 ;
15964 char *kwnames
[] = {
15965 (char *) "self",(char *) "m_controlDown", NULL
15968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15971 arg2
= (bool) SWIG_AsBool(obj1
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15973 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15975 Py_INCREF(Py_None
); resultobj
= Py_None
;
15982 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15986 PyObject
* obj0
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15994 result
= (bool) ((arg1
)->m_controlDown
);
15997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16005 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
;
16007 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16009 PyObject
* obj0
= 0 ;
16010 PyObject
* obj1
= 0 ;
16011 char *kwnames
[] = {
16012 (char *) "self",(char *) "m_shiftDown", NULL
16015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16018 arg2
= (bool) SWIG_AsBool(obj1
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16020 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16022 Py_INCREF(Py_None
); resultobj
= Py_None
;
16029 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
;
16031 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16033 PyObject
* obj0
= 0 ;
16034 char *kwnames
[] = {
16035 (char *) "self", NULL
16038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16041 result
= (bool) ((arg1
)->m_shiftDown
);
16044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16052 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16054 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "self",(char *) "m_altDown", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16065 arg2
= (bool) SWIG_AsBool(obj1
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16067 if (arg1
) (arg1
)->m_altDown
= arg2
;
16069 Py_INCREF(Py_None
); resultobj
= Py_None
;
16076 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16080 PyObject
* obj0
= 0 ;
16081 char *kwnames
[] = {
16082 (char *) "self", NULL
16085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16088 result
= (bool) ((arg1
)->m_altDown
);
16091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16099 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16100 PyObject
*resultobj
;
16101 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16103 PyObject
* obj0
= 0 ;
16104 PyObject
* obj1
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "self",(char *) "m_metaDown", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16112 arg2
= (bool) SWIG_AsBool(obj1
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16114 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16116 Py_INCREF(Py_None
); resultobj
= Py_None
;
16123 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16127 PyObject
* obj0
= 0 ;
16128 char *kwnames
[] = {
16129 (char *) "self", NULL
16132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16135 result
= (bool) ((arg1
)->m_metaDown
);
16138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16146 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16150 PyObject
* obj0
= 0 ;
16151 PyObject
* obj1
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self",(char *) "m_scanCode", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16159 arg2
= (bool) SWIG_AsBool(obj1
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16161 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16163 Py_INCREF(Py_None
); resultobj
= Py_None
;
16170 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16182 result
= (bool) ((arg1
)->m_scanCode
);
16185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16193 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16196 unsigned int arg2
;
16197 PyObject
* obj0
= 0 ;
16198 PyObject
* obj1
= 0 ;
16199 char *kwnames
[] = {
16200 (char *) "self",(char *) "m_rawCode", NULL
16203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16206 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16208 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16210 Py_INCREF(Py_None
); resultobj
= Py_None
;
16217 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
;
16219 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16220 unsigned int result
;
16221 PyObject
* obj0
= 0 ;
16222 char *kwnames
[] = {
16223 (char *) "self", NULL
16226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16229 result
= (unsigned int) ((arg1
)->m_rawCode
);
16231 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16238 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16241 unsigned int arg2
;
16242 PyObject
* obj0
= 0 ;
16243 PyObject
* obj1
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self",(char *) "m_rawFlags", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16253 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16255 Py_INCREF(Py_None
); resultobj
= Py_None
;
16262 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
;
16264 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16265 unsigned int result
;
16266 PyObject
* obj0
= 0 ;
16267 char *kwnames
[] = {
16268 (char *) "self", NULL
16271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16274 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16276 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16283 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16286 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16288 return Py_BuildValue((char *)"");
16290 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16293 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16294 int arg2
= (int) 0 ;
16295 wxSizeEvent
*result
;
16297 PyObject
* obj0
= 0 ;
16298 PyObject
* obj1
= 0 ;
16299 char *kwnames
[] = {
16300 (char *) "sz",(char *) "winid", NULL
16303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16307 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16311 arg2
= (int) SWIG_AsInt(obj1
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16328 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16332 PyObject
* obj0
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16344 wxPyEndAllowThreads(__tstate
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16348 wxSize
* resultptr
;
16349 resultptr
= new wxSize((wxSize
&) result
);
16350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16358 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16362 PyObject
* obj0
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "self", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16378 wxRect
* resultptr
;
16379 resultptr
= new wxRect((wxRect
&) result
);
16380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16388 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16389 PyObject
*resultobj
;
16390 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16393 PyObject
* obj0
= 0 ;
16394 PyObject
* obj1
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "self",(char *) "rect", NULL
16399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16402 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16403 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 (arg1
)->SetRect(arg2
);
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16412 Py_INCREF(Py_None
); resultobj
= Py_None
;
16419 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
;
16421 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16424 PyObject
* obj0
= 0 ;
16425 PyObject
* obj1
= 0 ;
16426 char *kwnames
[] = {
16427 (char *) "self",(char *) "size", NULL
16430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16433 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16434 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 wxSizeEvent_SetSize(arg1
,arg2
);
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16443 Py_INCREF(Py_None
); resultobj
= Py_None
;
16450 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
;
16452 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16453 wxSize
*arg2
= (wxSize
*) 0 ;
16454 PyObject
* obj0
= 0 ;
16455 PyObject
* obj1
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self",(char *) "m_size", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16465 if (arg1
) (arg1
)->m_size
= *arg2
;
16467 Py_INCREF(Py_None
); resultobj
= Py_None
;
16474 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 char *kwnames
[] = {
16480 (char *) "self", NULL
16483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16486 result
= (wxSize
*)& ((arg1
)->m_size
);
16488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16495 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
;
16497 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16498 wxRect
*arg2
= (wxRect
*) 0 ;
16499 PyObject
* obj0
= 0 ;
16500 PyObject
* obj1
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "self",(char *) "m_rect", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16510 if (arg1
) (arg1
)->m_rect
= *arg2
;
16512 Py_INCREF(Py_None
); resultobj
= Py_None
;
16519 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16523 PyObject
* obj0
= 0 ;
16524 char *kwnames
[] = {
16525 (char *) "self", NULL
16528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16531 result
= (wxRect
*)& ((arg1
)->m_rect
);
16533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16540 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16543 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16545 return Py_BuildValue((char *)"");
16547 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16550 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16551 int arg2
= (int) 0 ;
16552 wxMoveEvent
*result
;
16554 PyObject
* obj0
= 0 ;
16555 PyObject
* obj1
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "pos",(char *) "winid", NULL
16560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16564 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16568 arg2
= (int) SWIG_AsInt(obj1
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16585 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16589 PyObject
* obj0
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "self", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16605 wxPoint
* resultptr
;
16606 resultptr
= new wxPoint((wxPoint
&) result
);
16607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16615 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16635 wxRect
* resultptr
;
16636 resultptr
= new wxRect((wxRect
&) result
);
16637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16645 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self",(char *) "rect", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16659 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16660 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 (arg1
)->SetRect(arg2
);
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16669 Py_INCREF(Py_None
); resultobj
= Py_None
;
16676 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
;
16678 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16681 PyObject
* obj0
= 0 ;
16682 PyObject
* obj1
= 0 ;
16683 char *kwnames
[] = {
16684 (char *) "self",(char *) "pos", NULL
16687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16690 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16691 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 wxMoveEvent_SetPosition(arg1
,arg2
);
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16700 Py_INCREF(Py_None
); resultobj
= Py_None
;
16707 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16708 PyObject
*resultobj
;
16709 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16710 wxPoint
*arg2
= (wxPoint
*) 0 ;
16711 PyObject
* obj0
= 0 ;
16712 PyObject
* obj1
= 0 ;
16713 char *kwnames
[] = {
16714 (char *) "self",(char *) "m_pos", NULL
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16722 if (arg1
) (arg1
)->m_pos
= *arg2
;
16724 Py_INCREF(Py_None
); resultobj
= Py_None
;
16731 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "self", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16743 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16752 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16755 wxRect
*arg2
= (wxRect
*) 0 ;
16756 PyObject
* obj0
= 0 ;
16757 PyObject
* obj1
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "self",(char *) "m_rect", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16767 if (arg1
) (arg1
)->m_rect
= *arg2
;
16769 Py_INCREF(Py_None
); resultobj
= Py_None
;
16776 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16777 PyObject
*resultobj
;
16778 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16780 PyObject
* obj0
= 0 ;
16781 char *kwnames
[] = {
16782 (char *) "self", NULL
16785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16788 result
= (wxRect
*)& ((arg1
)->m_rect
);
16790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16797 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16800 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16802 return Py_BuildValue((char *)"");
16804 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 int arg1
= (int) 0 ;
16807 wxPaintEvent
*result
;
16808 PyObject
* obj0
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "Id", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16815 arg1
= (int) SWIG_AsInt(obj0
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16832 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16835 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16837 return Py_BuildValue((char *)"");
16839 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 int arg1
= (int) 0 ;
16842 wxNcPaintEvent
*result
;
16843 PyObject
* obj0
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "winid", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16850 arg1
= (int) SWIG_AsInt(obj0
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16867 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16870 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16872 return Py_BuildValue((char *)"");
16874 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
;
16876 int arg1
= (int) 0 ;
16877 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16878 wxEraseEvent
*result
;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "Id",(char *) "dc", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16887 arg1
= (int) SWIG_AsInt(obj0
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16908 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "self", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= wxPyMake_wxObject(result
, 0);
16936 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16939 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16941 return Py_BuildValue((char *)"");
16943 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16946 int arg2
= (int) 0 ;
16947 wxFocusEvent
*result
;
16948 PyObject
* obj0
= 0 ;
16949 PyObject
* obj1
= 0 ;
16950 char *kwnames
[] = {
16951 (char *) "type",(char *) "winid", NULL
16954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16956 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16960 arg2
= (int) SWIG_AsInt(obj1
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16977 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16981 PyObject
* obj0
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16997 resultobj
= wxPyMake_wxObject(result
, 0);
17005 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
;
17007 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17008 wxWindow
*arg2
= (wxWindow
*) 0 ;
17009 PyObject
* obj0
= 0 ;
17010 PyObject
* obj1
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "self",(char *) "win", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 (arg1
)->SetWindow(arg2
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17027 Py_INCREF(Py_None
); resultobj
= Py_None
;
17034 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17037 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17039 return Py_BuildValue((char *)"");
17041 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
;
17043 wxWindow
*arg1
= (wxWindow
*) NULL
;
17044 wxChildFocusEvent
*result
;
17045 PyObject
* obj0
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "win", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17069 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17073 PyObject
* obj0
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "self", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17089 resultobj
= wxPyMake_wxObject(result
, 0);
17097 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17100 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17102 return Py_BuildValue((char *)"");
17104 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17107 bool arg2
= (bool) True
;
17108 int arg3
= (int) 0 ;
17109 wxActivateEvent
*result
;
17110 PyObject
* obj0
= 0 ;
17111 PyObject
* obj1
= 0 ;
17112 PyObject
* obj2
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "type",(char *) "active",(char *) "Id", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17119 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17123 arg2
= (bool) SWIG_AsBool(obj1
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17127 arg3
= (int) SWIG_AsInt(obj2
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17144 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17148 PyObject
* obj0
= 0 ;
17149 char *kwnames
[] = {
17150 (char *) "self", NULL
17153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17172 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17175 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17177 return Py_BuildValue((char *)"");
17179 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 int arg1
= (int) 0 ;
17182 wxInitDialogEvent
*result
;
17183 PyObject
* obj0
= 0 ;
17184 char *kwnames
[] = {
17185 (char *) "Id", NULL
17188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17190 arg1
= (int) SWIG_AsInt(obj0
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17207 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17210 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17212 return Py_BuildValue((char *)"");
17214 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
;
17216 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17217 int arg2
= (int) 0 ;
17218 wxMenu
*arg3
= (wxMenu
*) NULL
;
17219 wxMenuEvent
*result
;
17220 PyObject
* obj0
= 0 ;
17221 PyObject
* obj1
= 0 ;
17222 PyObject
* obj2
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "type",(char *) "winid",(char *) "menu", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17229 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17233 arg2
= (int) SWIG_AsInt(obj1
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17237 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17254 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= SWIG_FromInt((int)result
);
17280 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17282 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17284 PyObject
* obj0
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "self", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17308 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17312 PyObject
* obj0
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "self", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17328 resultobj
= wxPyMake_wxObject(result
, 0);
17336 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17339 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17341 return Py_BuildValue((char *)"");
17343 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
;
17345 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17346 int arg2
= (int) 0 ;
17347 wxCloseEvent
*result
;
17348 PyObject
* obj0
= 0 ;
17349 PyObject
* obj1
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "type",(char *) "winid", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17356 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17360 arg2
= (int) SWIG_AsInt(obj1
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17377 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
;
17379 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "self",(char *) "logOff", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17390 arg2
= (bool) SWIG_AsBool(obj1
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 (arg1
)->SetLoggingOff(arg2
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 Py_INCREF(Py_None
); resultobj
= Py_None
;
17406 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17410 PyObject
* obj0
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17434 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17437 bool arg2
= (bool) True
;
17438 PyObject
* obj0
= 0 ;
17439 PyObject
* obj1
= 0 ;
17440 char *kwnames
[] = {
17441 (char *) "self",(char *) "veto", NULL
17444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17448 arg2
= (bool) SWIG_AsBool(obj1
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 (arg1
)->Veto(arg2
);
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 Py_INCREF(Py_None
); resultobj
= Py_None
;
17465 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
;
17467 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17469 PyObject
* obj0
= 0 ;
17470 PyObject
* obj1
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "self",(char *) "canVeto", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17478 arg2
= (bool) SWIG_AsBool(obj1
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 (arg1
)->SetCanVeto(arg2
);
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17487 Py_INCREF(Py_None
); resultobj
= Py_None
;
17494 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17495 PyObject
*resultobj
;
17496 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17498 PyObject
* obj0
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "self", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17522 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
;
17524 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17526 PyObject
* obj0
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "self", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17550 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17553 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17555 return Py_BuildValue((char *)"");
17557 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
;
17559 int arg1
= (int) 0 ;
17560 bool arg2
= (bool) False
;
17561 wxShowEvent
*result
;
17562 PyObject
* obj0
= 0 ;
17563 PyObject
* obj1
= 0 ;
17564 char *kwnames
[] = {
17565 (char *) "winid",(char *) "show", NULL
17568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17570 arg1
= (int) SWIG_AsInt(obj0
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17574 arg2
= (bool) SWIG_AsBool(obj1
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17591 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self",(char *) "show", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17604 arg2
= (bool) SWIG_AsBool(obj1
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 (arg1
)->SetShow(arg2
);
17610 wxPyEndAllowThreads(__tstate
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17613 Py_INCREF(Py_None
); resultobj
= Py_None
;
17620 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17621 PyObject
*resultobj
;
17622 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17624 PyObject
* obj0
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17648 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17651 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17653 return Py_BuildValue((char *)"");
17655 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 int arg1
= (int) 0 ;
17658 bool arg2
= (bool) True
;
17659 wxIconizeEvent
*result
;
17660 PyObject
* obj0
= 0 ;
17661 PyObject
* obj1
= 0 ;
17662 char *kwnames
[] = {
17663 (char *) "id",(char *) "iconized", NULL
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17668 arg1
= (int) SWIG_AsInt(obj0
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17672 arg2
= (bool) SWIG_AsBool(obj1
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17677 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17689 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17690 PyObject
*resultobj
;
17691 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17693 PyObject
* obj0
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 result
= (bool)(arg1
)->Iconized();
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17717 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17720 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17722 return Py_BuildValue((char *)"");
17724 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 int arg1
= (int) 0 ;
17727 wxMaximizeEvent
*result
;
17728 PyObject
* obj0
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "id", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17735 arg1
= (int) SWIG_AsInt(obj0
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17752 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17755 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17757 return Py_BuildValue((char *)"");
17759 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (arg1
)->GetPosition();
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17779 wxPoint
* resultptr
;
17780 resultptr
= new wxPoint((wxPoint
&) result
);
17781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17789 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
;
17791 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= (int)(arg1
)->GetNumberOfFiles();
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= SWIG_FromInt((int)result
);
17815 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17817 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17819 PyObject
* obj0
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 resultobj
= result
;
17841 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17844 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17846 return Py_BuildValue((char *)"");
17848 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 int arg1
= (int) 0 ;
17851 wxUpdateUIEvent
*result
;
17852 PyObject
* obj0
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "commandId", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17859 arg1
= (int) SWIG_AsInt(obj0
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17876 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17904 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
;
17906 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17908 PyObject
* obj0
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17932 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17936 PyObject
* obj0
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17964 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17968 PyObject
* obj0
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "self", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17992 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17996 PyObject
* obj0
= 0 ;
17997 char *kwnames
[] = {
17998 (char *) "self", NULL
18001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18008 wxPyEndAllowThreads(__tstate
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18020 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18024 PyObject
* obj0
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18048 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
;
18050 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18052 PyObject
* obj0
= 0 ;
18053 PyObject
* obj1
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self",(char *) "check", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18061 arg2
= (bool) SWIG_AsBool(obj1
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 (arg1
)->Check(arg2
);
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 Py_INCREF(Py_None
); resultobj
= Py_None
;
18077 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18081 PyObject
* obj0
= 0 ;
18082 PyObject
* obj1
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "self",(char *) "enable", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18090 arg2
= (bool) SWIG_AsBool(obj1
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 (arg1
)->Enable(arg2
);
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18099 Py_INCREF(Py_None
); resultobj
= Py_None
;
18106 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18107 PyObject
*resultobj
;
18108 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18109 wxString
*arg2
= 0 ;
18110 bool temp2
= False
;
18111 PyObject
* obj0
= 0 ;
18112 PyObject
* obj1
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self",(char *) "text", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18121 arg2
= wxString_in_helper(obj1
);
18122 if (arg2
== NULL
) SWIG_fail
;
18126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18127 (arg1
)->SetText((wxString
const &)*arg2
);
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 Py_INCREF(Py_None
); resultobj
= Py_None
;
18147 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
;
18150 PyObject
* obj0
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "updateInterval", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18156 arg1
= (long) SWIG_AsLong(obj0
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 Py_INCREF(Py_None
); resultobj
= Py_None
;
18172 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
;
18175 char *kwnames
[] = {
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 resultobj
= SWIG_FromLong((long)result
);
18194 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 wxWindow
*arg1
= (wxWindow
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 char *kwnames
[] = {
18200 (char *) "win", NULL
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18222 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 char *kwnames
[] = {
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 wxUpdateUIEvent::ResetUpdateTime();
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18236 Py_INCREF(Py_None
); resultobj
= Py_None
;
18243 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18244 PyObject
*resultobj
;
18246 PyObject
* obj0
= 0 ;
18247 char *kwnames
[] = {
18248 (char *) "mode", NULL
18251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18252 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 Py_INCREF(Py_None
); resultobj
= Py_None
;
18268 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18271 char *kwnames
[] = {
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 result
= (int)wxUpdateUIEvent::GetMode();
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18283 resultobj
= SWIG_FromInt((int)result
);
18290 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18293 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18295 return Py_BuildValue((char *)"");
18297 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
;
18299 wxSysColourChangedEvent
*result
;
18300 char *kwnames
[] = {
18304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18319 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18322 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18324 return Py_BuildValue((char *)"");
18326 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18328 int arg1
= (int) 0 ;
18329 wxWindow
*arg2
= (wxWindow
*) NULL
;
18330 wxMouseCaptureChangedEvent
*result
;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "winid",(char *) "gainedCapture", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18339 arg1
= (int) SWIG_AsInt(obj0
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18360 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18361 PyObject
*resultobj
;
18362 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18364 PyObject
* obj0
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18380 resultobj
= wxPyMake_wxObject(result
, 0);
18388 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18391 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18393 return Py_BuildValue((char *)"");
18395 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxDisplayChangedEvent
*result
;
18398 char *kwnames
[] = {
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18417 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18420 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18422 return Py_BuildValue((char *)"");
18424 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 int arg1
= (int) 0 ;
18427 wxPaletteChangedEvent
*result
;
18428 PyObject
* obj0
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "id", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18435 arg1
= (int) SWIG_AsInt(obj0
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18452 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18455 wxWindow
*arg2
= (wxWindow
*) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self",(char *) "win", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 (arg1
)->SetChangedWindow(arg2
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 Py_INCREF(Py_None
); resultobj
= Py_None
;
18481 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "self", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= wxPyMake_wxObject(result
, 0);
18509 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18512 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18514 return Py_BuildValue((char *)"");
18516 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 int arg1
= (int) 0 ;
18519 wxQueryNewPaletteEvent
*result
;
18520 PyObject
* obj0
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "winid", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18527 arg1
= (int) SWIG_AsInt(obj0
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18544 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 PyObject
* obj1
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self",(char *) "realized", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18557 arg2
= (bool) SWIG_AsBool(obj1
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 (arg1
)->SetPaletteRealized(arg2
);
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 Py_INCREF(Py_None
); resultobj
= Py_None
;
18573 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18575 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18577 PyObject
* obj0
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18601 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18604 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18606 return Py_BuildValue((char *)"");
18608 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxNavigationKeyEvent
*result
;
18611 char *kwnames
[] = {
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18630 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18634 PyObject
* obj0
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18658 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 PyObject
* obj1
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self",(char *) "forward", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18671 arg2
= (bool) SWIG_AsBool(obj1
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 (arg1
)->SetDirection(arg2
);
18677 wxPyEndAllowThreads(__tstate
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 Py_INCREF(Py_None
); resultobj
= Py_None
;
18687 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18688 PyObject
*resultobj
;
18689 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18691 PyObject
* obj0
= 0 ;
18692 char *kwnames
[] = {
18693 (char *) "self", NULL
18696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18715 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
;
18717 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18719 PyObject
* obj0
= 0 ;
18720 PyObject
* obj1
= 0 ;
18721 char *kwnames
[] = {
18722 (char *) "self",(char *) "ischange", NULL
18725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18728 arg2
= (bool) SWIG_AsBool(obj1
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18732 (arg1
)->SetWindowChange(arg2
);
18734 wxPyEndAllowThreads(__tstate
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18737 Py_INCREF(Py_None
); resultobj
= Py_None
;
18744 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18746 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18748 PyObject
* obj0
= 0 ;
18749 PyObject
* obj1
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self",(char *) "flags", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
18755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18757 arg2
= (long) SWIG_AsLong(obj1
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 (arg1
)->SetFlags(arg2
);
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 Py_INCREF(Py_None
); resultobj
= Py_None
;
18773 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18777 PyObject
* obj0
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18793 resultobj
= wxPyMake_wxObject(result
, 0);
18801 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18802 PyObject
*resultobj
;
18803 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18804 wxWindow
*arg2
= (wxWindow
*) 0 ;
18805 PyObject
* obj0
= 0 ;
18806 PyObject
* obj1
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self",(char *) "win", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 (arg1
)->SetCurrentFocus(arg2
);
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 Py_INCREF(Py_None
); resultobj
= Py_None
;
18830 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18833 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18835 return Py_BuildValue((char *)"");
18837 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
;
18839 wxWindow
*arg1
= (wxWindow
*) NULL
;
18840 wxWindowCreateEvent
*result
;
18841 PyObject
* obj0
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "win", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18865 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "self", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18885 resultobj
= wxPyMake_wxObject(result
, 0);
18893 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18896 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18898 return Py_BuildValue((char *)"");
18900 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxWindow
*arg1
= (wxWindow
*) NULL
;
18903 wxWindowDestroyEvent
*result
;
18904 PyObject
* obj0
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "win", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18928 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18932 PyObject
* obj0
= 0 ;
18933 char *kwnames
[] = {
18934 (char *) "self", NULL
18937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18948 resultobj
= wxPyMake_wxObject(result
, 0);
18956 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18959 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18961 return Py_BuildValue((char *)"");
18963 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
;
18965 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18966 int arg2
= (int) 0 ;
18967 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18968 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18969 wxContextMenuEvent
*result
;
18971 PyObject
* obj0
= 0 ;
18972 PyObject
* obj1
= 0 ;
18973 PyObject
* obj2
= 0 ;
18974 char *kwnames
[] = {
18975 (char *) "type",(char *) "winid",(char *) "pt", NULL
18978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18980 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18984 arg2
= (int) SWIG_AsInt(obj1
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18990 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19007 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
;
19009 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19011 PyObject
* obj0
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "self", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19022 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19023 result
= (wxPoint
*) &_result_ref
;
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19036 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19039 wxPoint
*arg2
= 0 ;
19041 PyObject
* obj0
= 0 ;
19042 PyObject
* obj1
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "self",(char *) "pos", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19052 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 Py_INCREF(Py_None
); resultobj
= Py_None
;
19068 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19071 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19073 return Py_BuildValue((char *)"");
19075 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
;
19077 wxIdleEvent
*result
;
19078 char *kwnames
[] = {
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (wxIdleEvent
*)new wxIdleEvent();
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19097 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
;
19099 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19100 bool arg2
= (bool) True
;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 char *kwnames
[] = {
19104 (char *) "self",(char *) "needMore", NULL
19107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19111 arg2
= (bool) SWIG_AsBool(obj1
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 (arg1
)->RequestMore(arg2
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 Py_INCREF(Py_None
); resultobj
= Py_None
;
19128 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19156 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19159 PyObject
* obj0
= 0 ;
19160 char *kwnames
[] = {
19161 (char *) "mode", NULL
19164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19165 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 Py_INCREF(Py_None
); resultobj
= Py_None
;
19181 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19184 char *kwnames
[] = {
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 result
= (int)wxIdleEvent::GetMode();
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 resultobj
= SWIG_FromInt((int)result
);
19203 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxWindow
*arg1
= (wxWindow
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "win", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 result
= (bool)wxIdleEvent::CanSend(arg1
);
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19231 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19234 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19236 return Py_BuildValue((char *)"");
19238 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 int arg1
= (int) 0 ;
19241 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19243 PyObject
* obj0
= 0 ;
19244 PyObject
* obj1
= 0 ;
19245 char *kwnames
[] = {
19246 (char *) "winid",(char *) "commandType", NULL
19249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19251 arg1
= (int) SWIG_AsInt(obj0
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19255 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19260 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19272 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19275 PyObject
* obj0
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 Py_INCREF(Py_None
); resultobj
= Py_None
;
19297 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
;
19299 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19300 PyObject
*arg2
= (PyObject
*) 0 ;
19301 PyObject
* obj0
= 0 ;
19302 PyObject
* obj1
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self",(char *) "self", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 (arg1
)->SetSelf(arg2
);
19315 wxPyEndAllowThreads(__tstate
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19318 Py_INCREF(Py_None
); resultobj
= Py_None
;
19325 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19326 PyObject
*resultobj
;
19327 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19329 PyObject
* obj0
= 0 ;
19330 char *kwnames
[] = {
19331 (char *) "self", NULL
19334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 result
= (PyObject
*)(arg1
)->GetSelf();
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 resultobj
= result
;
19351 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19354 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19356 return Py_BuildValue((char *)"");
19358 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19361 int arg2
= (int) 0 ;
19362 wxPyCommandEvent
*result
;
19363 PyObject
* obj0
= 0 ;
19364 PyObject
* obj1
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "commandType",(char *) "id", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19371 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19375 arg2
= (int) SWIG_AsInt(obj1
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19392 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19395 PyObject
* obj0
= 0 ;
19396 char *kwnames
[] = {
19397 (char *) "self", NULL
19400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19410 Py_INCREF(Py_None
); resultobj
= Py_None
;
19417 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19420 PyObject
*arg2
= (PyObject
*) 0 ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "self",(char *) "self", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 (arg1
)->SetSelf(arg2
);
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19438 Py_INCREF(Py_None
); resultobj
= Py_None
;
19445 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
;
19447 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19449 PyObject
* obj0
= 0 ;
19450 char *kwnames
[] = {
19451 (char *) "self", NULL
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 result
= (PyObject
*)(arg1
)->GetSelf();
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19464 resultobj
= result
;
19471 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19474 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19476 return Py_BuildValue((char *)"");
19478 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19481 char *kwnames
[] = {
19485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 result
= (wxPyApp
*)new_wxPyApp();
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= wxPyMake_wxObject(result
, 1);
19502 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
;
19504 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 Py_INCREF(Py_None
); resultobj
= Py_None
;
19527 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19528 PyObject
*resultobj
;
19529 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19530 PyObject
*arg2
= (PyObject
*) 0 ;
19531 PyObject
*arg3
= (PyObject
*) 0 ;
19532 PyObject
* obj0
= 0 ;
19533 PyObject
* obj1
= 0 ;
19534 PyObject
* obj2
= 0 ;
19535 char *kwnames
[] = {
19536 (char *) "self",(char *) "self",(char *) "_class", NULL
19539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19551 Py_INCREF(Py_None
); resultobj
= Py_None
;
19558 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
;
19560 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19562 PyObject
* obj0
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19590 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
;
19592 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19593 wxString
*arg2
= 0 ;
19594 bool temp2
= False
;
19595 PyObject
* obj0
= 0 ;
19596 PyObject
* obj1
= 0 ;
19597 char *kwnames
[] = {
19598 (char *) "self",(char *) "name", NULL
19601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19605 arg2
= wxString_in_helper(obj1
);
19606 if (arg2
== NULL
) SWIG_fail
;
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 (arg1
)->SetAppName((wxString
const &)*arg2
);
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19616 Py_INCREF(Py_None
); resultobj
= Py_None
;
19631 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19633 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 char *kwnames
[] = {
19637 (char *) "self", NULL
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19663 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19666 wxString
*arg2
= 0 ;
19667 bool temp2
= False
;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "self",(char *) "name", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19678 arg2
= wxString_in_helper(obj1
);
19679 if (arg2
== NULL
) SWIG_fail
;
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 (arg1
)->SetClassName((wxString
const &)*arg2
);
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19689 Py_INCREF(Py_None
); resultobj
= Py_None
;
19704 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19705 PyObject
*resultobj
;
19706 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19708 PyObject
* obj0
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "self", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19720 result
= (wxString
*) &_result_ref
;
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19728 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19730 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19739 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
;
19741 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19742 wxString
*arg2
= 0 ;
19743 bool temp2
= False
;
19744 PyObject
* obj0
= 0 ;
19745 PyObject
* obj1
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self",(char *) "name", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19754 arg2
= wxString_in_helper(obj1
);
19755 if (arg2
== NULL
) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 Py_INCREF(Py_None
); resultobj
= Py_None
;
19780 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
;
19782 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19783 wxAppTraits
*result
;
19784 PyObject
* obj0
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19806 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 (arg1
)->ProcessPendingEvents();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 Py_INCREF(Py_None
); resultobj
= Py_None
;
19831 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19834 bool arg2
= (bool) False
;
19836 PyObject
* obj0
= 0 ;
19837 PyObject
* obj1
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self",(char *) "onlyIfNeeded", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19846 arg2
= (bool) SWIG_AsBool(obj1
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 result
= (bool)(arg1
)->Yield(arg2
);
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19865 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19866 PyObject
*resultobj
;
19867 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 (arg1
)->WakeUpIdle();
19880 wxPyEndAllowThreads(__tstate
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19883 Py_INCREF(Py_None
); resultobj
= Py_None
;
19890 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19891 PyObject
*resultobj
;
19892 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19894 PyObject
* obj0
= 0 ;
19895 char *kwnames
[] = {
19896 (char *) "self", NULL
19899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 result
= (int)(arg1
)->MainLoop();
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= SWIG_FromInt((int)result
);
19916 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
;
19918 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 char *kwnames
[] = {
19921 (char *) "self", NULL
19924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 Py_INCREF(Py_None
); resultobj
= Py_None
;
19941 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
;
19943 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19944 PyObject
* obj0
= 0 ;
19945 char *kwnames
[] = {
19946 (char *) "self", NULL
19949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 (arg1
)->ExitMainLoop();
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 Py_INCREF(Py_None
); resultobj
= Py_None
;
19966 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19970 PyObject
* obj0
= 0 ;
19971 char *kwnames
[] = {
19972 (char *) "self", NULL
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 result
= (bool)(arg1
)->Pending();
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19994 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
;
19996 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19998 PyObject
* obj0
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "self", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 result
= (bool)(arg1
)->Dispatch();
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20022 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
;
20024 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20026 PyObject
* obj0
= 0 ;
20027 char *kwnames
[] = {
20028 (char *) "self", NULL
20031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 result
= (bool)(arg1
)->ProcessIdle();
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20050 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20052 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20053 wxWindow
*arg2
= (wxWindow
*) 0 ;
20054 wxIdleEvent
*arg3
= 0 ;
20056 PyObject
* obj0
= 0 ;
20057 PyObject
* obj1
= 0 ;
20058 PyObject
* obj2
= 0 ;
20059 char *kwnames
[] = {
20060 (char *) "self",(char *) "win",(char *) "event", NULL
20063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20068 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20071 if (arg3
== NULL
) {
20072 PyErr_SetString(PyExc_TypeError
,"null reference");
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20091 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20093 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20095 PyObject
* obj0
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "self", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20119 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20122 wxWindow
*arg2
= (wxWindow
*) 0 ;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 char *kwnames
[] = {
20126 (char *) "self",(char *) "win", NULL
20129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 (arg1
)->SetTopWindow(arg2
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 Py_INCREF(Py_None
); resultobj
= Py_None
;
20148 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20152 PyObject
* obj0
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20168 resultobj
= wxPyMake_wxObject(result
, 0);
20176 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 PyObject
* obj1
= 0 ;
20182 char *kwnames
[] = {
20183 (char *) "self",(char *) "flag", NULL
20186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20189 arg2
= (bool) SWIG_AsBool(obj1
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 (arg1
)->SetExitOnFrameDelete(arg2
);
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 Py_INCREF(Py_None
); resultobj
= Py_None
;
20205 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20209 PyObject
* obj0
= 0 ;
20210 char *kwnames
[] = {
20211 (char *) "self", NULL
20214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20233 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self",(char *) "flag", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20246 arg2
= (bool) SWIG_AsBool(obj1
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 (arg1
)->SetUseBestVisual(arg2
);
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20255 Py_INCREF(Py_None
); resultobj
= Py_None
;
20262 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20263 PyObject
*resultobj
;
20264 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20266 PyObject
* obj0
= 0 ;
20267 char *kwnames
[] = {
20268 (char *) "self", NULL
20271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20290 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20294 PyObject
* obj0
= 0 ;
20295 PyObject
* obj1
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "self",(char *) "mode", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20303 arg2
= (int) SWIG_AsInt(obj1
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 (arg1
)->SetPrintMode(arg2
);
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 Py_INCREF(Py_None
); resultobj
= Py_None
;
20319 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
;
20321 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20323 PyObject
* obj0
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= SWIG_FromInt((int)result
);
20345 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20349 PyObject
* obj0
= 0 ;
20350 PyObject
* obj1
= 0 ;
20351 char *kwnames
[] = {
20352 (char *) "self",(char *) "mode", NULL
20355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20358 arg2
= (int) SWIG_AsInt(obj1
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 (arg1
)->SetAssertMode(arg2
);
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20367 Py_INCREF(Py_None
); resultobj
= Py_None
;
20374 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
;
20376 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20378 PyObject
* obj0
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 result
= (int)(arg1
)->GetAssertMode();
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 resultobj
= SWIG_FromInt((int)result
);
20400 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20403 char *kwnames
[] = {
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20410 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20412 wxPyEndAllowThreads(__tstate
);
20413 if (PyErr_Occurred()) SWIG_fail
;
20416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20424 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
;
20427 char *kwnames
[] = {
20431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= SWIG_FromLong((long)result
);
20446 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
;
20449 char *kwnames
[] = {
20453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= SWIG_FromLong((long)result
);
20468 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
;
20471 char *kwnames
[] = {
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 result
= (long)wxPyApp::GetMacExitMenuItemId();
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= SWIG_FromLong((long)result
);
20490 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20493 char *kwnames
[] = {
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= wxPyApp::GetMacHelpMenuTitleName();
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20518 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
;
20521 PyObject
* obj0
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "val", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20527 arg1
= (bool) SWIG_AsBool(obj0
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 Py_INCREF(Py_None
); resultobj
= Py_None
;
20543 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
;
20546 PyObject
* obj0
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "val", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20552 arg1
= (long) SWIG_AsLong(obj0
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 wxPyApp::SetMacAboutMenuItemId(arg1
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 Py_INCREF(Py_None
); resultobj
= Py_None
;
20568 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
;
20571 PyObject
* obj0
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "val", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20577 arg1
= (long) SWIG_AsLong(obj0
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 Py_INCREF(Py_None
); resultobj
= Py_None
;
20593 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
;
20596 PyObject
* obj0
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "val", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20602 arg1
= (long) SWIG_AsLong(obj0
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 wxPyApp::SetMacExitMenuItemId(arg1
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 Py_INCREF(Py_None
); resultobj
= Py_None
;
20618 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
;
20620 wxString
*arg1
= 0 ;
20621 bool temp1
= False
;
20622 PyObject
* obj0
= 0 ;
20623 char *kwnames
[] = {
20624 (char *) "val", NULL
20627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20629 arg1
= wxString_in_helper(obj0
);
20630 if (arg1
== NULL
) SWIG_fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20640 Py_INCREF(Py_None
); resultobj
= Py_None
;
20655 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20658 PyObject
* obj0
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 (arg1
)->_BootstrapApp();
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 Py_INCREF(Py_None
); resultobj
= Py_None
;
20680 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20683 char *kwnames
[] = {
20687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 result
= (int)wxPyApp::GetComCtl32Version();
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= SWIG_FromInt((int)result
);
20702 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20705 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20707 return Py_BuildValue((char *)"");
20709 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
;
20711 char *kwnames
[] = {
20715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 Py_INCREF(Py_None
); resultobj
= Py_None
;
20730 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20733 char *kwnames
[] = {
20737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 result
= (bool)wxYield();
20742 wxPyEndAllowThreads(__tstate
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20754 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
;
20757 char *kwnames
[] = {
20761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (bool)wxYieldIfNeeded();
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20778 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20780 wxWindow
*arg1
= (wxWindow
*) NULL
;
20781 bool arg2
= (bool) False
;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "win",(char *) "onlyIfNeeded", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20795 arg2
= (bool) SWIG_AsBool(obj1
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= (bool)wxSafeYield(arg1
,arg2
);
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20814 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 char *kwnames
[] = {
20820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 Py_INCREF(Py_None
); resultobj
= Py_None
;
20835 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20838 wxEvent
*arg2
= 0 ;
20839 PyObject
* obj0
= 0 ;
20840 PyObject
* obj1
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "dest",(char *) "event", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20851 if (arg2
== NULL
) {
20852 PyErr_SetString(PyExc_TypeError
,"null reference");
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20857 wxPostEvent(arg1
,*arg2
);
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 Py_INCREF(Py_None
); resultobj
= Py_None
;
20869 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20871 char *kwnames
[] = {
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 Py_INCREF(Py_None
); resultobj
= Py_None
;
20890 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
;
20893 char *kwnames
[] = {
20897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= (wxPyApp
*)wxPyGetApp();
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20906 resultobj
= wxPyMake_wxObject(result
, 0);
20914 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
;
20916 int arg1
= (int) 0 ;
20917 int arg2
= (int) 0 ;
20918 int arg3
= (int) 0 ;
20919 wxAcceleratorEntry
*result
;
20920 PyObject
* obj0
= 0 ;
20921 PyObject
* obj1
= 0 ;
20922 PyObject
* obj2
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20929 arg1
= (int) SWIG_AsInt(obj0
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20933 arg2
= (int) SWIG_AsInt(obj1
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20937 arg3
= (int) SWIG_AsInt(obj2
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20954 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
;
20956 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20957 PyObject
* obj0
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20972 Py_INCREF(Py_None
); resultobj
= Py_None
;
20979 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
;
20981 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20985 PyObject
* obj0
= 0 ;
20986 PyObject
* obj1
= 0 ;
20987 PyObject
* obj2
= 0 ;
20988 PyObject
* obj3
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20996 arg2
= (int) SWIG_AsInt(obj1
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20998 arg3
= (int) SWIG_AsInt(obj2
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21000 arg4
= (int) SWIG_AsInt(obj3
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 (arg1
)->Set(arg2
,arg3
,arg4
);
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 Py_INCREF(Py_None
); resultobj
= Py_None
;
21016 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21018 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21020 PyObject
* obj0
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 result
= (int)(arg1
)->GetFlags();
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 resultobj
= SWIG_FromInt((int)result
);
21042 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21046 PyObject
* obj0
= 0 ;
21047 char *kwnames
[] = {
21048 (char *) "self", NULL
21051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= (int)(arg1
)->GetKeyCode();
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 resultobj
= SWIG_FromInt((int)result
);
21068 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
;
21070 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21072 PyObject
* obj0
= 0 ;
21073 char *kwnames
[] = {
21074 (char *) "self", NULL
21077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 result
= (int)(arg1
)->GetCommand();
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21087 resultobj
= SWIG_FromInt((int)result
);
21094 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21097 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21099 return Py_BuildValue((char *)"");
21101 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21104 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21105 wxAcceleratorTable
*result
;
21106 PyObject
* obj0
= 0 ;
21107 char *kwnames
[] = {
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21113 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21114 if (arg2
) arg1
= PyList_Size(obj0
);
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21137 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
;
21139 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21140 PyObject
* obj0
= 0 ;
21141 char *kwnames
[] = {
21142 (char *) "self", NULL
21145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 Py_INCREF(Py_None
); resultobj
= Py_None
;
21162 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21166 PyObject
* obj0
= 0 ;
21167 char *kwnames
[] = {
21168 (char *) "self", NULL
21171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21190 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21193 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21195 return Py_BuildValue((char *)"");
21197 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21198 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21203 static PyObject
*_wrap_NullAcceleratorTable_get() {
21206 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21211 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
;
21213 wxString
*arg1
= 0 ;
21214 wxAcceleratorEntry
*result
;
21215 bool temp1
= False
;
21216 PyObject
* obj0
= 0 ;
21217 char *kwnames
[] = {
21218 (char *) "label", NULL
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21223 arg1
= wxString_in_helper(obj0
);
21224 if (arg1
== NULL
) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21249 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21250 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21255 static PyObject
*_wrap_PanelNameStr_get() {
21260 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21262 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21269 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxVisualAttributes
*result
;
21272 char *kwnames
[] = {
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21291 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21292 PyObject
*resultobj
;
21293 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21294 PyObject
* obj0
= 0 ;
21295 char *kwnames
[] = {
21296 (char *) "self", NULL
21299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 delete_wxVisualAttributes(arg1
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 Py_INCREF(Py_None
); resultobj
= Py_None
;
21316 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21317 PyObject
*resultobj
;
21318 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21319 wxFont
*arg2
= (wxFont
*) 0 ;
21320 PyObject
* obj0
= 0 ;
21321 PyObject
* obj1
= 0 ;
21322 char *kwnames
[] = {
21323 (char *) "self",(char *) "font", NULL
21326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21331 if (arg1
) (arg1
)->font
= *arg2
;
21333 Py_INCREF(Py_None
); resultobj
= Py_None
;
21340 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21344 PyObject
* obj0
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "self", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21352 result
= (wxFont
*)& ((arg1
)->font
);
21354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21361 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21364 wxColour
*arg2
= (wxColour
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 PyObject
* obj1
= 0 ;
21367 char *kwnames
[] = {
21368 (char *) "self",(char *) "colFg", NULL
21371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21376 if (arg1
) (arg1
)->colFg
= *arg2
;
21378 Py_INCREF(Py_None
); resultobj
= Py_None
;
21385 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
;
21387 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21389 PyObject
* obj0
= 0 ;
21390 char *kwnames
[] = {
21391 (char *) "self", NULL
21394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21397 result
= (wxColour
*)& ((arg1
)->colFg
);
21399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21406 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21409 wxColour
*arg2
= (wxColour
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 PyObject
* obj1
= 0 ;
21412 char *kwnames
[] = {
21413 (char *) "self",(char *) "colBg", NULL
21416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21421 if (arg1
) (arg1
)->colBg
= *arg2
;
21423 Py_INCREF(Py_None
); resultobj
= Py_None
;
21430 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21434 PyObject
* obj0
= 0 ;
21435 char *kwnames
[] = {
21436 (char *) "self", NULL
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21442 result
= (wxColour
*)& ((arg1
)->colBg
);
21444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21451 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21454 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21456 return Py_BuildValue((char *)"");
21458 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
;
21460 wxWindow
*arg1
= (wxWindow
*) 0 ;
21461 int arg2
= (int) (int)-1 ;
21462 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21463 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21464 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21465 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21466 long arg5
= (long) 0 ;
21467 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21468 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21472 bool temp6
= False
;
21473 PyObject
* obj0
= 0 ;
21474 PyObject
* obj1
= 0 ;
21475 PyObject
* obj2
= 0 ;
21476 PyObject
* obj3
= 0 ;
21477 PyObject
* obj4
= 0 ;
21478 PyObject
* obj5
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21487 arg2
= (int const) SWIG_AsInt(obj1
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21493 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21499 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21503 arg5
= (long) SWIG_AsLong(obj4
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21508 arg6
= wxString_in_helper(obj5
);
21509 if (arg6
== NULL
) SWIG_fail
;
21514 if (!wxPyCheckForApp()) SWIG_fail
;
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21522 resultobj
= wxPyMake_wxObject(result
, 1);
21538 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21541 char *kwnames
[] = {
21545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21547 if (!wxPyCheckForApp()) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 result
= (wxWindow
*)new wxWindow();
21551 wxPyEndAllowThreads(__tstate
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21555 resultobj
= wxPyMake_wxObject(result
, 1);
21563 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21565 wxWindow
*arg1
= (wxWindow
*) 0 ;
21566 wxWindow
*arg2
= (wxWindow
*) 0 ;
21567 int arg3
= (int) (int)-1 ;
21568 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21569 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21570 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21571 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21572 long arg6
= (long) 0 ;
21573 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21574 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21578 bool temp7
= False
;
21579 PyObject
* obj0
= 0 ;
21580 PyObject
* obj1
= 0 ;
21581 PyObject
* obj2
= 0 ;
21582 PyObject
* obj3
= 0 ;
21583 PyObject
* obj4
= 0 ;
21584 PyObject
* obj5
= 0 ;
21585 PyObject
* obj6
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21596 arg3
= (int const) SWIG_AsInt(obj2
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21602 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21608 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21612 arg6
= (long) SWIG_AsLong(obj5
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21617 arg7
= wxString_in_helper(obj6
);
21618 if (arg7
== NULL
) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21646 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
;
21648 wxWindow
*arg1
= (wxWindow
*) 0 ;
21649 bool arg2
= (bool) False
;
21651 PyObject
* obj0
= 0 ;
21652 PyObject
* obj1
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "self",(char *) "force", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21661 arg2
= (bool) SWIG_AsBool(obj1
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 result
= (bool)(arg1
)->Close(arg2
);
21668 wxPyEndAllowThreads(__tstate
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21680 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
;
21682 wxWindow
*arg1
= (wxWindow
*) 0 ;
21684 PyObject
* obj0
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 result
= (bool)(arg1
)->Destroy();
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21708 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
;
21710 wxWindow
*arg1
= (wxWindow
*) 0 ;
21712 PyObject
* obj0
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 result
= (bool)(arg1
)->DestroyChildren();
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21736 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
;
21738 wxWindow
*arg1
= (wxWindow
*) 0 ;
21740 PyObject
* obj0
= 0 ;
21741 char *kwnames
[] = {
21742 (char *) "self", NULL
21745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21764 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21765 PyObject
*resultobj
;
21766 wxWindow
*arg1
= (wxWindow
*) 0 ;
21767 wxString
*arg2
= 0 ;
21768 bool temp2
= False
;
21769 PyObject
* obj0
= 0 ;
21770 PyObject
* obj1
= 0 ;
21771 char *kwnames
[] = {
21772 (char *) "self",(char *) "title", NULL
21775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21779 arg2
= wxString_in_helper(obj1
);
21780 if (arg2
== NULL
) SWIG_fail
;
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 (arg1
)->SetTitle((wxString
const &)*arg2
);
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21790 Py_INCREF(Py_None
); resultobj
= Py_None
;
21805 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
;
21807 wxWindow
*arg1
= (wxWindow
*) 0 ;
21809 PyObject
* obj0
= 0 ;
21810 char *kwnames
[] = {
21811 (char *) "self", NULL
21814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21819 result
= ((wxWindow
const *)arg1
)->GetTitle();
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21837 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
;
21839 wxWindow
*arg1
= (wxWindow
*) 0 ;
21840 wxString
*arg2
= 0 ;
21841 bool temp2
= False
;
21842 PyObject
* obj0
= 0 ;
21843 PyObject
* obj1
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self",(char *) "label", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21852 arg2
= wxString_in_helper(obj1
);
21853 if (arg2
== NULL
) SWIG_fail
;
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 (arg1
)->SetLabel((wxString
const &)*arg2
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 Py_INCREF(Py_None
); resultobj
= Py_None
;
21878 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
;
21880 wxWindow
*arg1
= (wxWindow
*) 0 ;
21882 PyObject
* obj0
= 0 ;
21883 char *kwnames
[] = {
21884 (char *) "self", NULL
21887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 result
= ((wxWindow
const *)arg1
)->GetLabel();
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21910 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxWindow
*arg1
= (wxWindow
*) 0 ;
21913 wxString
*arg2
= 0 ;
21914 bool temp2
= False
;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self",(char *) "name", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 arg2
= wxString_in_helper(obj1
);
21926 if (arg2
== NULL
) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 (arg1
)->SetName((wxString
const &)*arg2
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 Py_INCREF(Py_None
); resultobj
= Py_None
;
21951 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
;
21953 wxWindow
*arg1
= (wxWindow
*) 0 ;
21955 PyObject
* obj0
= 0 ;
21956 char *kwnames
[] = {
21957 (char *) "self", NULL
21960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 result
= ((wxWindow
const *)arg1
)->GetName();
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21983 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
;
21985 wxWindow
*arg1
= (wxWindow
*) 0 ;
21987 PyObject
* obj0
= 0 ;
21988 PyObject
* obj1
= 0 ;
21989 char *kwnames
[] = {
21990 (char *) "self",(char *) "variant", NULL
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21996 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 Py_INCREF(Py_None
); resultobj
= Py_None
;
22012 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
;
22014 wxWindow
*arg1
= (wxWindow
*) 0 ;
22016 PyObject
* obj0
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= SWIG_FromInt((int)result
);
22038 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22039 PyObject
*resultobj
;
22040 wxWindow
*arg1
= (wxWindow
*) 0 ;
22042 PyObject
* obj0
= 0 ;
22043 PyObject
* obj1
= 0 ;
22044 char *kwnames
[] = {
22045 (char *) "self",(char *) "winid", NULL
22048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22051 arg2
= (int) SWIG_AsInt(obj1
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22055 (arg1
)->SetId(arg2
);
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22060 Py_INCREF(Py_None
); resultobj
= Py_None
;
22067 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
;
22069 wxWindow
*arg1
= (wxWindow
*) 0 ;
22071 PyObject
* obj0
= 0 ;
22072 char *kwnames
[] = {
22073 (char *) "self", NULL
22076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 result
= (int)((wxWindow
const *)arg1
)->GetId();
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= SWIG_FromInt((int)result
);
22093 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
;
22096 char *kwnames
[] = {
22100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 result
= (int)wxWindow::NewControlId();
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= SWIG_FromInt((int)result
);
22115 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22119 PyObject
* obj0
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "winid", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22125 arg1
= (int) SWIG_AsInt(obj0
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 result
= (int)wxWindow::NextControlId(arg1
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= SWIG_FromInt((int)result
);
22141 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
;
22145 PyObject
* obj0
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "winid", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22151 arg1
= (int) SWIG_AsInt(obj0
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 result
= (int)wxWindow::PrevControlId(arg1
);
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 resultobj
= SWIG_FromInt((int)result
);
22167 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 wxWindow
*arg1
= (wxWindow
*) 0 ;
22172 PyObject
* obj0
= 0 ;
22173 PyObject
* obj1
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "self",(char *) "size", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22183 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 (arg1
)->SetSize((wxSize
const &)*arg2
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 Py_INCREF(Py_None
); resultobj
= Py_None
;
22199 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
;
22201 wxWindow
*arg1
= (wxWindow
*) 0 ;
22206 int arg6
= (int) wxSIZE_AUTO
;
22207 PyObject
* obj0
= 0 ;
22208 PyObject
* obj1
= 0 ;
22209 PyObject
* obj2
= 0 ;
22210 PyObject
* obj3
= 0 ;
22211 PyObject
* obj4
= 0 ;
22212 PyObject
* obj5
= 0 ;
22213 char *kwnames
[] = {
22214 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22220 arg2
= (int) SWIG_AsInt(obj1
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22222 arg3
= (int) SWIG_AsInt(obj2
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22224 arg4
= (int) SWIG_AsInt(obj3
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22226 arg5
= (int) SWIG_AsInt(obj4
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22229 arg6
= (int) SWIG_AsInt(obj5
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 Py_INCREF(Py_None
); resultobj
= Py_None
;
22246 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
;
22248 wxWindow
*arg1
= (wxWindow
*) 0 ;
22250 int arg3
= (int) wxSIZE_AUTO
;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 PyObject
* obj2
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22264 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22267 arg3
= (int) SWIG_AsInt(obj2
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22277 Py_INCREF(Py_None
); resultobj
= Py_None
;
22284 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
;
22286 wxWindow
*arg1
= (wxWindow
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 PyObject
* obj2
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self",(char *) "width",(char *) "height", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22299 arg2
= (int) SWIG_AsInt(obj1
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22301 arg3
= (int) SWIG_AsInt(obj2
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 (arg1
)->SetSize(arg2
,arg3
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 Py_INCREF(Py_None
); resultobj
= Py_None
;
22317 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
;
22319 wxWindow
*arg1
= (wxWindow
*) 0 ;
22320 wxPoint
*arg2
= 0 ;
22321 int arg3
= (int) wxSIZE_USE_EXISTING
;
22323 PyObject
* obj0
= 0 ;
22324 PyObject
* obj1
= 0 ;
22325 PyObject
* obj2
= 0 ;
22326 char *kwnames
[] = {
22327 (char *) "self",(char *) "pt",(char *) "flags", NULL
22330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22335 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22338 arg3
= (int) SWIG_AsInt(obj2
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 Py_INCREF(Py_None
); resultobj
= Py_None
;
22355 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxWindow
*arg1
= (wxWindow
*) 0 ;
22360 int arg4
= (int) wxSIZE_USE_EXISTING
;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 PyObject
* obj2
= 0 ;
22364 PyObject
* obj3
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22372 arg2
= (int) SWIG_AsInt(obj1
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22374 arg3
= (int) SWIG_AsInt(obj2
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 arg4
= (int) SWIG_AsInt(obj3
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 (arg1
)->Move(arg2
,arg3
,arg4
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 Py_INCREF(Py_None
); resultobj
= Py_None
;
22394 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxWindow
*arg1
= (wxWindow
*) 0 ;
22397 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22398 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22400 PyObject
* obj0
= 0 ;
22401 PyObject
* obj1
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self",(char *) "size", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22412 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 Py_INCREF(Py_None
); resultobj
= Py_None
;
22429 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxWindow
*arg1
= (wxWindow
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "self", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 Py_INCREF(Py_None
); resultobj
= Py_None
;
22454 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxWindow
*arg1
= (wxWindow
*) 0 ;
22457 PyObject
* obj0
= 0 ;
22458 char *kwnames
[] = {
22459 (char *) "self", NULL
22462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 Py_INCREF(Py_None
); resultobj
= Py_None
;
22479 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
;
22481 wxWindow
*arg1
= (wxWindow
*) 0 ;
22484 PyObject
* obj0
= 0 ;
22485 PyObject
* obj1
= 0 ;
22486 char *kwnames
[] = {
22487 (char *) "self",(char *) "size", NULL
22490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22495 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 Py_INCREF(Py_None
); resultobj
= Py_None
;
22511 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
;
22513 wxWindow
*arg1
= (wxWindow
*) 0 ;
22516 PyObject
* obj0
= 0 ;
22517 PyObject
* obj1
= 0 ;
22518 PyObject
* obj2
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "self",(char *) "width",(char *) "height", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22526 arg2
= (int) SWIG_AsInt(obj1
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22528 arg3
= (int) SWIG_AsInt(obj2
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 (arg1
)->SetClientSize(arg2
,arg3
);
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 Py_INCREF(Py_None
); resultobj
= Py_None
;
22544 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxWindow
*arg1
= (wxWindow
*) 0 ;
22549 PyObject
* obj0
= 0 ;
22550 PyObject
* obj1
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self",(char *) "rect", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22560 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 Py_INCREF(Py_None
); resultobj
= Py_None
;
22576 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxWindow
*arg1
= (wxWindow
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 result
= (arg1
)->GetPosition();
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22596 wxPoint
* resultptr
;
22597 resultptr
= new wxPoint((wxPoint
&) result
);
22598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22606 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
;
22608 wxWindow
*arg1
= (wxWindow
*) 0 ;
22609 int *arg2
= (int *) 0 ;
22610 int *arg3
= (int *) 0 ;
22613 PyObject
* obj0
= 0 ;
22614 char *kwnames
[] = {
22615 (char *) "self", NULL
22620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 (arg1
)->GetPosition(arg2
,arg3
);
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 Py_INCREF(Py_None
); resultobj
= Py_None
;
22632 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22633 resultobj
= t_output_helper(resultobj
,o
);
22636 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22637 resultobj
= t_output_helper(resultobj
,o
);
22645 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22646 PyObject
*resultobj
;
22647 wxWindow
*arg1
= (wxWindow
*) 0 ;
22649 PyObject
* obj0
= 0 ;
22650 char *kwnames
[] = {
22651 (char *) "self", NULL
22654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 result
= ((wxWindow
const *)arg1
)->GetSize();
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22665 wxSize
* resultptr
;
22666 resultptr
= new wxSize((wxSize
&) result
);
22667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22675 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
;
22677 wxWindow
*arg1
= (wxWindow
*) 0 ;
22678 int *arg2
= (int *) 0 ;
22679 int *arg3
= (int *) 0 ;
22682 PyObject
* obj0
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22699 Py_INCREF(Py_None
); resultobj
= Py_None
;
22701 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22702 resultobj
= t_output_helper(resultobj
,o
);
22705 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22706 resultobj
= t_output_helper(resultobj
,o
);
22714 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
;
22716 wxWindow
*arg1
= (wxWindow
*) 0 ;
22718 PyObject
* obj0
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22728 result
= ((wxWindow
const *)arg1
)->GetRect();
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22734 wxRect
* resultptr
;
22735 resultptr
= new wxRect((wxRect
&) result
);
22736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22744 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxWindow
*arg1
= (wxWindow
*) 0 ;
22748 PyObject
* obj0
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22764 wxSize
* resultptr
;
22765 resultptr
= new wxSize((wxSize
&) result
);
22766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22774 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
;
22776 wxWindow
*arg1
= (wxWindow
*) 0 ;
22777 int *arg2
= (int *) 0 ;
22778 int *arg3
= (int *) 0 ;
22781 PyObject
* obj0
= 0 ;
22782 char *kwnames
[] = {
22783 (char *) "self", NULL
22788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 Py_INCREF(Py_None
); resultobj
= Py_None
;
22800 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22801 resultobj
= t_output_helper(resultobj
,o
);
22804 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22805 resultobj
= t_output_helper(resultobj
,o
);
22813 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxWindow
*arg1
= (wxWindow
*) 0 ;
22817 PyObject
* obj0
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22833 wxPoint
* resultptr
;
22834 resultptr
= new wxPoint((wxPoint
&) result
);
22835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22843 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 wxWindow
*arg1
= (wxWindow
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22863 wxRect
* resultptr
;
22864 resultptr
= new wxRect((wxRect
&) result
);
22865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22873 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22875 wxWindow
*arg1
= (wxWindow
*) 0 ;
22877 PyObject
* obj0
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "self", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22893 wxSize
* resultptr
;
22894 resultptr
= new wxSize((wxSize
&) result
);
22895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22903 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
;
22905 wxWindow
*arg1
= (wxWindow
*) 0 ;
22906 int *arg2
= (int *) 0 ;
22907 int *arg3
= (int *) 0 ;
22910 PyObject
* obj0
= 0 ;
22911 char *kwnames
[] = {
22912 (char *) "self", NULL
22917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 Py_INCREF(Py_None
); resultobj
= Py_None
;
22929 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22930 resultobj
= t_output_helper(resultobj
,o
);
22933 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22934 resultobj
= t_output_helper(resultobj
,o
);
22942 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
;
22944 wxWindow
*arg1
= (wxWindow
*) 0 ;
22945 PyObject
* obj0
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "self", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
22951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 (arg1
)->InvalidateBestSize();
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22960 Py_INCREF(Py_None
); resultobj
= Py_None
;
22967 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22968 PyObject
*resultobj
;
22969 wxWindow
*arg1
= (wxWindow
*) 0 ;
22971 PyObject
* obj0
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self", NULL
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
22977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22987 wxSize
* resultptr
;
22988 resultptr
= new wxSize((wxSize
&) result
);
22989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22997 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxWindow
*arg1
= (wxWindow
*) 0 ;
23001 PyObject
* obj0
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23017 wxSize
* resultptr
;
23018 resultptr
= new wxSize((wxSize
&) result
);
23019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23027 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23029 wxWindow
*arg1
= (wxWindow
*) 0 ;
23030 int arg2
= (int) wxBOTH
;
23031 PyObject
* obj0
= 0 ;
23032 PyObject
* obj1
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self",(char *) "direction", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23041 arg2
= (int) SWIG_AsInt(obj1
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 (arg1
)->Center(arg2
);
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 Py_INCREF(Py_None
); resultobj
= Py_None
;
23058 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxWindow
*arg1
= (wxWindow
*) 0 ;
23061 int arg2
= (int) wxBOTH
;
23062 PyObject
* obj0
= 0 ;
23063 PyObject
* obj1
= 0 ;
23064 char *kwnames
[] = {
23065 (char *) "self",(char *) "dir", NULL
23068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23072 arg2
= (int) SWIG_AsInt(obj1
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 (arg1
)->CenterOnScreen(arg2
);
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 Py_INCREF(Py_None
); resultobj
= Py_None
;
23089 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
;
23091 wxWindow
*arg1
= (wxWindow
*) 0 ;
23092 int arg2
= (int) wxBOTH
;
23093 PyObject
* obj0
= 0 ;
23094 PyObject
* obj1
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self",(char *) "dir", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23103 arg2
= (int) SWIG_AsInt(obj1
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 (arg1
)->CenterOnParent(arg2
);
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 Py_INCREF(Py_None
); resultobj
= Py_None
;
23120 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxWindow
*arg1
= (wxWindow
*) 0 ;
23123 PyObject
* obj0
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 Py_INCREF(Py_None
); resultobj
= Py_None
;
23145 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
;
23147 wxWindow
*arg1
= (wxWindow
*) 0 ;
23148 PyObject
* obj0
= 0 ;
23149 char *kwnames
[] = {
23150 (char *) "self", NULL
23153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 (arg1
)->FitInside();
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 Py_INCREF(Py_None
); resultobj
= Py_None
;
23170 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23171 PyObject
*resultobj
;
23172 wxWindow
*arg1
= (wxWindow
*) 0 ;
23174 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23175 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23176 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23177 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23181 PyObject
* obj0
= 0 ;
23182 PyObject
* obj1
= 0 ;
23183 PyObject
* obj2
= 0 ;
23184 PyObject
* obj3
= 0 ;
23186 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23191 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23196 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23202 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23212 Py_INCREF(Py_None
); resultobj
= Py_None
;
23219 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23220 PyObject
*resultobj
;
23221 wxWindow
*arg1
= (wxWindow
*) 0 ;
23224 int arg4
= (int) -1 ;
23225 int arg5
= (int) -1 ;
23226 int arg6
= (int) -1 ;
23227 int arg7
= (int) -1 ;
23228 PyObject
* obj0
= 0 ;
23229 PyObject
* obj1
= 0 ;
23230 PyObject
* obj2
= 0 ;
23231 PyObject
* obj3
= 0 ;
23232 PyObject
* obj4
= 0 ;
23233 PyObject
* obj5
= 0 ;
23234 PyObject
* obj6
= 0 ;
23236 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23239 arg2
= (int) SWIG_AsInt(obj1
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23241 arg3
= (int) SWIG_AsInt(obj2
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 arg4
= (int) SWIG_AsInt(obj3
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23248 arg5
= (int) SWIG_AsInt(obj4
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23252 arg6
= (int) SWIG_AsInt(obj5
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23256 arg7
= (int) SWIG_AsInt(obj6
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23261 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23266 Py_INCREF(Py_None
); resultobj
= Py_None
;
23273 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23278 argc
= PyObject_Length(args
);
23279 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23280 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23282 if ((argc
>= 2) && (argc
<= 4)) {
23286 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23295 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23299 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23302 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23306 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23309 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23312 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23318 if ((argc
>= 3) && (argc
<= 7)) {
23322 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23330 _v
= SWIG_CheckInt(argv
[1]);
23332 _v
= SWIG_CheckInt(argv
[2]);
23335 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23337 _v
= SWIG_CheckInt(argv
[3]);
23340 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23342 _v
= SWIG_CheckInt(argv
[4]);
23345 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23347 _v
= SWIG_CheckInt(argv
[5]);
23350 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23352 _v
= SWIG_CheckInt(argv
[6]);
23354 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23364 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23369 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23370 PyObject
*resultobj
;
23371 wxWindow
*arg1
= (wxWindow
*) 0 ;
23373 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23374 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23377 PyObject
* obj0
= 0 ;
23378 PyObject
* obj1
= 0 ;
23379 PyObject
* obj2
= 0 ;
23381 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23386 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23391 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 Py_INCREF(Py_None
); resultobj
= Py_None
;
23408 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23409 PyObject
*resultobj
;
23410 wxWindow
*arg1
= (wxWindow
*) 0 ;
23413 int arg4
= (int) -1 ;
23414 int arg5
= (int) -1 ;
23415 PyObject
* obj0
= 0 ;
23416 PyObject
* obj1
= 0 ;
23417 PyObject
* obj2
= 0 ;
23418 PyObject
* obj3
= 0 ;
23419 PyObject
* obj4
= 0 ;
23421 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23424 arg2
= (int) SWIG_AsInt(obj1
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23426 arg3
= (int) SWIG_AsInt(obj2
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23429 arg4
= (int) SWIG_AsInt(obj3
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23433 arg5
= (int) SWIG_AsInt(obj4
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 Py_INCREF(Py_None
); resultobj
= Py_None
;
23450 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23455 argc
= PyObject_Length(args
);
23456 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23457 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23459 if ((argc
>= 2) && (argc
<= 3)) {
23463 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23472 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23476 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23479 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23482 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23487 if ((argc
>= 3) && (argc
<= 5)) {
23491 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23499 _v
= SWIG_CheckInt(argv
[1]);
23501 _v
= SWIG_CheckInt(argv
[2]);
23504 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23506 _v
= SWIG_CheckInt(argv
[3]);
23509 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23511 _v
= SWIG_CheckInt(argv
[4]);
23513 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23521 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23526 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
;
23528 wxWindow
*arg1
= (wxWindow
*) 0 ;
23530 PyObject
* obj0
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "self", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23546 wxSize
* resultptr
;
23547 resultptr
= new wxSize((wxSize
&) result
);
23548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23556 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23557 PyObject
*resultobj
;
23558 wxWindow
*arg1
= (wxWindow
*) 0 ;
23560 PyObject
* obj0
= 0 ;
23561 char *kwnames
[] = {
23562 (char *) "self", NULL
23565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23576 wxSize
* resultptr
;
23577 resultptr
= new wxSize((wxSize
&) result
);
23578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23586 static PyObject
*_wrap_Window_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxWindow
*arg1
= (wxWindow
*) 0 ;
23591 PyObject
* obj0
= 0 ;
23592 PyObject
* obj1
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "self",(char *) "minSize", NULL
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23602 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 Py_INCREF(Py_None
); resultobj
= Py_None
;
23618 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23620 wxWindow
*arg1
= (wxWindow
*) 0 ;
23623 PyObject
* obj0
= 0 ;
23624 PyObject
* obj1
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "self",(char *) "maxSize", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23634 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23643 Py_INCREF(Py_None
); resultobj
= Py_None
;
23650 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
;
23652 wxWindow
*arg1
= (wxWindow
*) 0 ;
23654 PyObject
* obj0
= 0 ;
23655 char *kwnames
[] = {
23656 (char *) "self", NULL
23659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= SWIG_FromInt((int)result
);
23676 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
;
23678 wxWindow
*arg1
= (wxWindow
*) 0 ;
23680 PyObject
* obj0
= 0 ;
23681 char *kwnames
[] = {
23682 (char *) "self", NULL
23685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 resultobj
= SWIG_FromInt((int)result
);
23702 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23704 wxWindow
*arg1
= (wxWindow
*) 0 ;
23706 PyObject
* obj0
= 0 ;
23707 char *kwnames
[] = {
23708 (char *) "self", NULL
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= SWIG_FromInt((int)result
);
23728 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxWindow
*arg1
= (wxWindow
*) 0 ;
23732 PyObject
* obj0
= 0 ;
23733 char *kwnames
[] = {
23734 (char *) "self", NULL
23737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23747 resultobj
= SWIG_FromInt((int)result
);
23754 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
;
23756 wxWindow
*arg1
= (wxWindow
*) 0 ;
23759 PyObject
* obj0
= 0 ;
23760 PyObject
* obj1
= 0 ;
23761 char *kwnames
[] = {
23762 (char *) "self",(char *) "size", NULL
23765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23770 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23779 Py_INCREF(Py_None
); resultobj
= Py_None
;
23786 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxWindow
*arg1
= (wxWindow
*) 0 ;
23791 PyObject
* obj0
= 0 ;
23792 PyObject
* obj1
= 0 ;
23793 PyObject
* obj2
= 0 ;
23794 char *kwnames
[] = {
23795 (char *) "self",(char *) "w",(char *) "h", NULL
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23801 arg2
= (int) SWIG_AsInt(obj1
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23803 arg3
= (int) SWIG_AsInt(obj2
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 (arg1
)->SetVirtualSize(arg2
,arg3
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 Py_INCREF(Py_None
); resultobj
= Py_None
;
23819 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23821 wxWindow
*arg1
= (wxWindow
*) 0 ;
23823 PyObject
* obj0
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23839 wxSize
* resultptr
;
23840 resultptr
= new wxSize((wxSize
&) result
);
23841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23849 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
;
23851 wxWindow
*arg1
= (wxWindow
*) 0 ;
23852 int *arg2
= (int *) 0 ;
23853 int *arg3
= (int *) 0 ;
23856 PyObject
* obj0
= 0 ;
23857 char *kwnames
[] = {
23858 (char *) "self", NULL
23863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 Py_INCREF(Py_None
); resultobj
= Py_None
;
23875 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23876 resultobj
= t_output_helper(resultobj
,o
);
23879 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23880 resultobj
= t_output_helper(resultobj
,o
);
23888 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
;
23890 wxWindow
*arg1
= (wxWindow
*) 0 ;
23892 PyObject
* obj0
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23908 wxSize
* resultptr
;
23909 resultptr
= new wxSize((wxSize
&) result
);
23910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23918 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23920 wxWindow
*arg1
= (wxWindow
*) 0 ;
23921 bool arg2
= (bool) True
;
23923 PyObject
* obj0
= 0 ;
23924 PyObject
* obj1
= 0 ;
23925 char *kwnames
[] = {
23926 (char *) "self",(char *) "show", NULL
23929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23933 arg2
= (bool) SWIG_AsBool(obj1
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (bool)(arg1
)->Show(arg2
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23952 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxWindow
*arg1
= (wxWindow
*) 0 ;
23956 PyObject
* obj0
= 0 ;
23957 char *kwnames
[] = {
23958 (char *) "self", NULL
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 result
= (bool)(arg1
)->Hide();
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23980 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
;
23982 wxWindow
*arg1
= (wxWindow
*) 0 ;
23983 bool arg2
= (bool) True
;
23985 PyObject
* obj0
= 0 ;
23986 PyObject
* obj1
= 0 ;
23987 char *kwnames
[] = {
23988 (char *) "self",(char *) "enable", NULL
23991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23995 arg2
= (bool) SWIG_AsBool(obj1
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 result
= (bool)(arg1
)->Enable(arg2
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24014 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24015 PyObject
*resultobj
;
24016 wxWindow
*arg1
= (wxWindow
*) 0 ;
24018 PyObject
* obj0
= 0 ;
24019 char *kwnames
[] = {
24020 (char *) "self", NULL
24023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 result
= (bool)(arg1
)->Disable();
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24042 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
;
24044 wxWindow
*arg1
= (wxWindow
*) 0 ;
24046 PyObject
* obj0
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24070 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
;
24072 wxWindow
*arg1
= (wxWindow
*) 0 ;
24074 PyObject
* obj0
= 0 ;
24075 char *kwnames
[] = {
24076 (char *) "self", NULL
24079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24098 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
;
24100 wxWindow
*arg1
= (wxWindow
*) 0 ;
24102 PyObject
* obj0
= 0 ;
24103 PyObject
* obj1
= 0 ;
24104 char *kwnames
[] = {
24105 (char *) "self",(char *) "style", NULL
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24111 arg2
= (long) SWIG_AsLong(obj1
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 (arg1
)->SetWindowStyleFlag(arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24120 Py_INCREF(Py_None
); resultobj
= Py_None
;
24127 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
;
24129 wxWindow
*arg1
= (wxWindow
*) 0 ;
24131 PyObject
* obj0
= 0 ;
24132 char *kwnames
[] = {
24133 (char *) "self", NULL
24136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= SWIG_FromLong((long)result
);
24153 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
;
24155 wxWindow
*arg1
= (wxWindow
*) 0 ;
24158 PyObject
* obj0
= 0 ;
24159 PyObject
* obj1
= 0 ;
24160 char *kwnames
[] = {
24161 (char *) "self",(char *) "flag", NULL
24164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24167 arg2
= (int) SWIG_AsInt(obj1
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24185 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxWindow
*arg1
= (wxWindow
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24213 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
;
24215 wxWindow
*arg1
= (wxWindow
*) 0 ;
24217 PyObject
* obj0
= 0 ;
24218 PyObject
* obj1
= 0 ;
24219 char *kwnames
[] = {
24220 (char *) "self",(char *) "exStyle", NULL
24223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24226 arg2
= (long) SWIG_AsLong(obj1
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 (arg1
)->SetExtraStyle(arg2
);
24232 wxPyEndAllowThreads(__tstate
);
24233 if (PyErr_Occurred()) SWIG_fail
;
24235 Py_INCREF(Py_None
); resultobj
= Py_None
;
24242 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24243 PyObject
*resultobj
;
24244 wxWindow
*arg1
= (wxWindow
*) 0 ;
24246 PyObject
* obj0
= 0 ;
24247 char *kwnames
[] = {
24248 (char *) "self", NULL
24251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24261 resultobj
= SWIG_FromLong((long)result
);
24268 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
;
24270 wxWindow
*arg1
= (wxWindow
*) 0 ;
24271 bool arg2
= (bool) True
;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 char *kwnames
[] = {
24275 (char *) "self",(char *) "modal", NULL
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24282 arg2
= (bool) SWIG_AsBool(obj1
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 (arg1
)->MakeModal(arg2
);
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24292 Py_INCREF(Py_None
); resultobj
= Py_None
;
24299 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
;
24301 wxWindow
*arg1
= (wxWindow
*) 0 ;
24303 PyObject
* obj0
= 0 ;
24304 PyObject
* obj1
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "self",(char *) "enableTheme", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24312 arg2
= (bool) SWIG_AsBool(obj1
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 (arg1
)->SetThemeEnabled(arg2
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 Py_INCREF(Py_None
); resultobj
= Py_None
;
24328 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxWindow
*arg1
= (wxWindow
*) 0 ;
24332 PyObject
* obj0
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24356 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxWindow
*arg1
= (wxWindow
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 char *kwnames
[] = {
24361 (char *) "self", NULL
24364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 (arg1
)->SetFocus();
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 Py_INCREF(Py_None
); resultobj
= Py_None
;
24381 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24383 wxWindow
*arg1
= (wxWindow
*) 0 ;
24384 PyObject
* obj0
= 0 ;
24385 char *kwnames
[] = {
24386 (char *) "self", NULL
24389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 (arg1
)->SetFocusFromKbd();
24396 wxPyEndAllowThreads(__tstate
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24399 Py_INCREF(Py_None
); resultobj
= Py_None
;
24406 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
;
24409 char *kwnames
[] = {
24413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24415 if (!wxPyCheckForApp()) SWIG_fail
;
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 result
= (wxWindow
*)wxWindow::FindFocus();
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24423 resultobj
= wxPyMake_wxObject(result
, 0);
24431 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 wxWindow
*arg1
= (wxWindow
*) 0 ;
24435 PyObject
* obj0
= 0 ;
24436 char *kwnames
[] = {
24437 (char *) "self", NULL
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24459 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxWindow
*arg1
= (wxWindow
*) 0 ;
24463 PyObject
* obj0
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "self", NULL
24468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24487 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24488 PyObject
*resultobj
;
24489 wxWindow
*arg1
= (wxWindow
*) 0 ;
24491 PyObject
* obj0
= 0 ;
24492 char *kwnames
[] = {
24493 (char *) "self", NULL
24496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24501 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24503 wxPyEndAllowThreads(__tstate
);
24504 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= wxPyMake_wxObject(result
, 0);
24515 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxWindow
*arg1
= (wxWindow
*) 0 ;
24518 wxWindow
*arg2
= (wxWindow
*) 0 ;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self",(char *) "child", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24539 resultobj
= wxPyMake_wxObject(result
, 0);
24547 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxWindow
*arg1
= (wxWindow
*) 0 ;
24550 wxWindow
*arg2
= (wxWindow
*) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 PyObject
* obj1
= 0 ;
24553 char *kwnames
[] = {
24554 (char *) "self",(char *) "win", NULL
24557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 (arg1
)->SetTmpDefaultItem(arg2
);
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24569 Py_INCREF(Py_None
); resultobj
= Py_None
;
24576 static PyObject
*_wrap_Window_Navigate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxWindow
*arg1
= (wxWindow
*) 0 ;
24579 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24581 PyObject
* obj0
= 0 ;
24582 PyObject
* obj1
= 0 ;
24583 char *kwnames
[] = {
24584 (char *) "self",(char *) "flags", NULL
24587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24591 arg2
= (int) SWIG_AsInt(obj1
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 result
= (bool)(arg1
)->Navigate(arg2
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24610 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
;
24612 wxWindow
*arg1
= (wxWindow
*) 0 ;
24613 wxWindow
*arg2
= (wxWindow
*) 0 ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 char *kwnames
[] = {
24617 (char *) "self",(char *) "win", NULL
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 (arg1
)->MoveAfterInTabOrder(arg2
);
24629 wxPyEndAllowThreads(__tstate
);
24630 if (PyErr_Occurred()) SWIG_fail
;
24632 Py_INCREF(Py_None
); resultobj
= Py_None
;
24639 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24640 PyObject
*resultobj
;
24641 wxWindow
*arg1
= (wxWindow
*) 0 ;
24642 wxWindow
*arg2
= (wxWindow
*) 0 ;
24643 PyObject
* obj0
= 0 ;
24644 PyObject
* obj1
= 0 ;
24645 char *kwnames
[] = {
24646 (char *) "self",(char *) "win", NULL
24649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 (arg1
)->MoveBeforeInTabOrder(arg2
);
24658 wxPyEndAllowThreads(__tstate
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24661 Py_INCREF(Py_None
); resultobj
= Py_None
;
24668 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24669 PyObject
*resultobj
;
24670 wxWindow
*arg1
= (wxWindow
*) 0 ;
24672 PyObject
* obj0
= 0 ;
24673 char *kwnames
[] = {
24674 (char *) "self", NULL
24677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24682 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= result
;
24694 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24695 PyObject
*resultobj
;
24696 wxWindow
*arg1
= (wxWindow
*) 0 ;
24698 PyObject
* obj0
= 0 ;
24699 char *kwnames
[] = {
24700 (char *) "self", NULL
24703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24714 resultobj
= wxPyMake_wxObject(result
, 0);
24722 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
;
24724 wxWindow
*arg1
= (wxWindow
*) 0 ;
24726 PyObject
* obj0
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "self", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24742 resultobj
= wxPyMake_wxObject(result
, 0);
24750 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
;
24752 wxWindow
*arg1
= (wxWindow
*) 0 ;
24754 PyObject
* obj0
= 0 ;
24755 char *kwnames
[] = {
24756 (char *) "self", NULL
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24778 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24779 PyObject
*resultobj
;
24780 wxWindow
*arg1
= (wxWindow
*) 0 ;
24781 wxWindow
*arg2
= (wxWindow
*) 0 ;
24783 PyObject
* obj0
= 0 ;
24784 PyObject
* obj1
= 0 ;
24785 char *kwnames
[] = {
24786 (char *) "self",(char *) "newParent", NULL
24789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24796 result
= (bool)(arg1
)->Reparent(arg2
);
24798 wxPyEndAllowThreads(__tstate
);
24799 if (PyErr_Occurred()) SWIG_fail
;
24802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24810 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24811 PyObject
*resultobj
;
24812 wxWindow
*arg1
= (wxWindow
*) 0 ;
24813 wxWindow
*arg2
= (wxWindow
*) 0 ;
24814 PyObject
* obj0
= 0 ;
24815 PyObject
* obj1
= 0 ;
24816 char *kwnames
[] = {
24817 (char *) "self",(char *) "child", NULL
24820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 (arg1
)->AddChild(arg2
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24832 Py_INCREF(Py_None
); resultobj
= Py_None
;
24839 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxWindow
*arg1
= (wxWindow
*) 0 ;
24842 wxWindow
*arg2
= (wxWindow
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 PyObject
* obj1
= 0 ;
24845 char *kwnames
[] = {
24846 (char *) "self",(char *) "child", NULL
24849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 (arg1
)->RemoveChild(arg2
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24861 Py_INCREF(Py_None
); resultobj
= Py_None
;
24868 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24869 PyObject
*resultobj
;
24870 wxWindow
*arg1
= (wxWindow
*) 0 ;
24873 PyObject
* obj0
= 0 ;
24874 PyObject
* obj1
= 0 ;
24875 char *kwnames
[] = {
24876 (char *) "self",(char *) "winid", NULL
24879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24882 arg2
= (long) SWIG_AsLong(obj1
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24892 resultobj
= wxPyMake_wxObject(result
, 0);
24900 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24901 PyObject
*resultobj
;
24902 wxWindow
*arg1
= (wxWindow
*) 0 ;
24903 wxString
*arg2
= 0 ;
24905 bool temp2
= False
;
24906 PyObject
* obj0
= 0 ;
24907 PyObject
* obj1
= 0 ;
24908 char *kwnames
[] = {
24909 (char *) "self",(char *) "name", NULL
24912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24916 arg2
= wxString_in_helper(obj1
);
24917 if (arg2
== NULL
) SWIG_fail
;
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= wxPyMake_wxObject(result
, 0);
24944 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
;
24946 wxWindow
*arg1
= (wxWindow
*) 0 ;
24947 wxEvtHandler
*result
;
24948 PyObject
* obj0
= 0 ;
24949 char *kwnames
[] = {
24950 (char *) "self", NULL
24953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24964 resultobj
= wxPyMake_wxObject(result
, 0);
24972 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
;
24974 wxWindow
*arg1
= (wxWindow
*) 0 ;
24975 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24976 PyObject
* obj0
= 0 ;
24977 PyObject
* obj1
= 0 ;
24978 char *kwnames
[] = {
24979 (char *) "self",(char *) "handler", NULL
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 (arg1
)->SetEventHandler(arg2
);
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24994 Py_INCREF(Py_None
); resultobj
= Py_None
;
25001 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
;
25003 wxWindow
*arg1
= (wxWindow
*) 0 ;
25004 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25005 PyObject
* obj0
= 0 ;
25006 PyObject
* obj1
= 0 ;
25007 char *kwnames
[] = {
25008 (char *) "self",(char *) "handler", NULL
25011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 (arg1
)->PushEventHandler(arg2
);
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 Py_INCREF(Py_None
); resultobj
= Py_None
;
25030 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25032 wxWindow
*arg1
= (wxWindow
*) 0 ;
25033 bool arg2
= (bool) False
;
25034 wxEvtHandler
*result
;
25035 PyObject
* obj0
= 0 ;
25036 PyObject
* obj1
= 0 ;
25037 char *kwnames
[] = {
25038 (char *) "self",(char *) "deleteHandler", NULL
25041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25045 arg2
= (bool) SWIG_AsBool(obj1
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25056 resultobj
= wxPyMake_wxObject(result
, 0);
25064 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxWindow
*arg1
= (wxWindow
*) 0 ;
25067 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25069 PyObject
* obj0
= 0 ;
25070 PyObject
* obj1
= 0 ;
25071 char *kwnames
[] = {
25072 (char *) "self",(char *) "handler", NULL
25075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25096 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25097 PyObject
*resultobj
;
25098 wxWindow
*arg1
= (wxWindow
*) 0 ;
25099 wxValidator
*arg2
= 0 ;
25100 PyObject
* obj0
= 0 ;
25101 PyObject
* obj1
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "self",(char *) "validator", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25112 if (arg2
== NULL
) {
25113 PyErr_SetString(PyExc_TypeError
,"null reference");
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25123 Py_INCREF(Py_None
); resultobj
= Py_None
;
25130 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25132 wxWindow
*arg1
= (wxWindow
*) 0 ;
25133 wxValidator
*result
;
25134 PyObject
* obj0
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 result
= (wxValidator
*)(arg1
)->GetValidator();
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25150 resultobj
= wxPyMake_wxObject(result
, 0);
25158 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
;
25160 wxWindow
*arg1
= (wxWindow
*) 0 ;
25162 PyObject
* obj0
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "self", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25172 result
= (bool)(arg1
)->Validate();
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25186 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
;
25188 wxWindow
*arg1
= (wxWindow
*) 0 ;
25190 PyObject
* obj0
= 0 ;
25191 char *kwnames
[] = {
25192 (char *) "self", NULL
25195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25200 result
= (bool)(arg1
)->TransferDataToWindow();
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25214 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25215 PyObject
*resultobj
;
25216 wxWindow
*arg1
= (wxWindow
*) 0 ;
25218 PyObject
* obj0
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "self", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= (bool)(arg1
)->TransferDataFromWindow();
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25242 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25243 PyObject
*resultobj
;
25244 wxWindow
*arg1
= (wxWindow
*) 0 ;
25245 PyObject
* obj0
= 0 ;
25246 char *kwnames
[] = {
25247 (char *) "self", NULL
25250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25255 (arg1
)->InitDialog();
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 Py_INCREF(Py_None
); resultobj
= Py_None
;
25267 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
;
25269 wxWindow
*arg1
= (wxWindow
*) 0 ;
25270 wxAcceleratorTable
*arg2
= 0 ;
25271 PyObject
* obj0
= 0 ;
25272 PyObject
* obj1
= 0 ;
25273 char *kwnames
[] = {
25274 (char *) "self",(char *) "accel", NULL
25277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25281 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25283 if (arg2
== NULL
) {
25284 PyErr_SetString(PyExc_TypeError
,"null reference");
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25294 Py_INCREF(Py_None
); resultobj
= Py_None
;
25301 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
;
25303 wxWindow
*arg1
= (wxWindow
*) 0 ;
25304 wxAcceleratorTable
*result
;
25305 PyObject
* obj0
= 0 ;
25306 char *kwnames
[] = {
25307 (char *) "self", NULL
25310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25327 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
;
25329 wxWindow
*arg1
= (wxWindow
*) 0 ;
25334 PyObject
* obj0
= 0 ;
25335 PyObject
* obj1
= 0 ;
25336 PyObject
* obj2
= 0 ;
25337 PyObject
* obj3
= 0 ;
25338 char *kwnames
[] = {
25339 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25345 arg2
= (int) SWIG_AsInt(obj1
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25347 arg3
= (int) SWIG_AsInt(obj2
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25349 arg4
= (int) SWIG_AsInt(obj3
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25367 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25368 PyObject
*resultobj
;
25369 wxWindow
*arg1
= (wxWindow
*) 0 ;
25372 PyObject
* obj0
= 0 ;
25373 PyObject
* obj1
= 0 ;
25374 char *kwnames
[] = {
25375 (char *) "self",(char *) "hotkeyId", NULL
25378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25381 arg2
= (int) SWIG_AsInt(obj1
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25399 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxWindow
*arg1
= (wxWindow
*) 0 ;
25402 wxPoint
*arg2
= 0 ;
25405 PyObject
* obj0
= 0 ;
25406 PyObject
* obj1
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self",(char *) "pt", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25426 wxPoint
* resultptr
;
25427 resultptr
= new wxPoint((wxPoint
&) result
);
25428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25436 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
;
25438 wxWindow
*arg1
= (wxWindow
*) 0 ;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self",(char *) "sz", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25453 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25463 wxSize
* resultptr
;
25464 resultptr
= new wxSize((wxSize
&) result
);
25465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25473 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25474 PyObject
*resultobj
;
25475 wxWindow
*arg1
= (wxWindow
*) 0 ;
25476 wxPoint
*arg2
= 0 ;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 char *kwnames
[] = {
25482 (char *) "self",(char *) "pt", NULL
25485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25490 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25500 wxPoint
* resultptr
;
25501 resultptr
= new wxPoint((wxPoint
&) result
);
25502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25510 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25511 PyObject
*resultobj
;
25512 wxWindow
*arg1
= (wxWindow
*) 0 ;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self",(char *) "sz", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25527 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25537 wxSize
* resultptr
;
25538 resultptr
= new wxSize((wxSize
&) result
);
25539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25547 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxWindow
*arg1
= (wxWindow
*) 0 ;
25550 wxPoint
*arg2
= 0 ;
25553 PyObject
* obj0
= 0 ;
25554 PyObject
* obj1
= 0 ;
25555 char *kwnames
[] = {
25556 (char *) "self",(char *) "pt", NULL
25559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25564 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25574 wxPoint
* resultptr
;
25575 resultptr
= new wxPoint((wxPoint
&) result
);
25576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25584 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
;
25586 wxWindow
*arg1
= (wxWindow
*) 0 ;
25590 PyObject
* obj0
= 0 ;
25591 PyObject
* obj1
= 0 ;
25592 char *kwnames
[] = {
25593 (char *) "self",(char *) "sz", NULL
25596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25601 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25611 wxSize
* resultptr
;
25612 resultptr
= new wxSize((wxSize
&) result
);
25613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25621 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxWindow
*arg1
= (wxWindow
*) 0 ;
25626 PyObject
* obj0
= 0 ;
25627 PyObject
* obj1
= 0 ;
25628 PyObject
* obj2
= 0 ;
25629 char *kwnames
[] = {
25630 (char *) "self",(char *) "x",(char *) "y", NULL
25633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25636 arg2
= (int) SWIG_AsInt(obj1
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25638 arg3
= (int) SWIG_AsInt(obj2
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 (arg1
)->WarpPointer(arg2
,arg3
);
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 Py_INCREF(Py_None
); resultobj
= Py_None
;
25654 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25655 PyObject
*resultobj
;
25656 wxWindow
*arg1
= (wxWindow
*) 0 ;
25657 PyObject
* obj0
= 0 ;
25658 char *kwnames
[] = {
25659 (char *) "self", NULL
25662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 (arg1
)->CaptureMouse();
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 Py_INCREF(Py_None
); resultobj
= Py_None
;
25679 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25680 PyObject
*resultobj
;
25681 wxWindow
*arg1
= (wxWindow
*) 0 ;
25682 PyObject
* obj0
= 0 ;
25683 char *kwnames
[] = {
25684 (char *) "self", NULL
25687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25692 (arg1
)->ReleaseMouse();
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 Py_INCREF(Py_None
); resultobj
= Py_None
;
25704 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25707 char *kwnames
[] = {
25711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25713 if (!wxPyCheckForApp()) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 result
= (wxWindow
*)wxWindow::GetCapture();
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25721 resultobj
= wxPyMake_wxObject(result
, 0);
25729 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25730 PyObject
*resultobj
;
25731 wxWindow
*arg1
= (wxWindow
*) 0 ;
25733 PyObject
* obj0
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25757 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
;
25759 wxWindow
*arg1
= (wxWindow
*) 0 ;
25760 bool arg2
= (bool) True
;
25761 wxRect
*arg3
= (wxRect
*) NULL
;
25762 PyObject
* obj0
= 0 ;
25763 PyObject
* obj1
= 0 ;
25764 PyObject
* obj2
= 0 ;
25765 char *kwnames
[] = {
25766 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25773 arg2
= (bool) SWIG_AsBool(obj1
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25777 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25782 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 Py_INCREF(Py_None
); resultobj
= Py_None
;
25794 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
;
25796 wxWindow
*arg1
= (wxWindow
*) 0 ;
25799 PyObject
* obj0
= 0 ;
25800 PyObject
* obj1
= 0 ;
25801 char *kwnames
[] = {
25802 (char *) "self",(char *) "rect", NULL
25805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25810 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 Py_INCREF(Py_None
); resultobj
= Py_None
;
25826 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
;
25828 wxWindow
*arg1
= (wxWindow
*) 0 ;
25829 PyObject
* obj0
= 0 ;
25830 char *kwnames
[] = {
25831 (char *) "self", NULL
25834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 Py_INCREF(Py_None
); resultobj
= Py_None
;
25851 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
;
25853 wxWindow
*arg1
= (wxWindow
*) 0 ;
25854 PyObject
* obj0
= 0 ;
25855 char *kwnames
[] = {
25856 (char *) "self", NULL
25859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 (arg1
)->ClearBackground();
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 Py_INCREF(Py_None
); resultobj
= Py_None
;
25876 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
;
25878 wxWindow
*arg1
= (wxWindow
*) 0 ;
25879 PyObject
* obj0
= 0 ;
25880 char *kwnames
[] = {
25881 (char *) "self", NULL
25884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 Py_INCREF(Py_None
); resultobj
= Py_None
;
25901 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
;
25903 wxWindow
*arg1
= (wxWindow
*) 0 ;
25904 PyObject
* obj0
= 0 ;
25905 char *kwnames
[] = {
25906 (char *) "self", NULL
25909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 Py_INCREF(Py_None
); resultobj
= Py_None
;
25926 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
;
25928 wxWindow
*arg1
= (wxWindow
*) 0 ;
25930 PyObject
* obj0
= 0 ;
25931 PyObject
* obj1
= 0 ;
25932 char *kwnames
[] = {
25933 (char *) "self",(char *) "dc", NULL
25936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25942 if (arg2
== NULL
) {
25943 PyErr_SetString(PyExc_TypeError
,"null reference");
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 (arg1
)->PrepareDC(*arg2
);
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25953 Py_INCREF(Py_None
); resultobj
= Py_None
;
25960 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25961 PyObject
*resultobj
;
25962 wxWindow
*arg1
= (wxWindow
*) 0 ;
25964 PyObject
* obj0
= 0 ;
25965 char *kwnames
[] = {
25966 (char *) "self", NULL
25969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25976 result
= (wxRegion
*) &_result_ref
;
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25989 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25990 PyObject
*resultobj
;
25991 wxWindow
*arg1
= (wxWindow
*) 0 ;
25993 PyObject
* obj0
= 0 ;
25994 char *kwnames
[] = {
25995 (char *) "self", NULL
25998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26009 wxRect
* resultptr
;
26010 resultptr
= new wxRect((wxRect
&) result
);
26011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26019 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxWindow
*arg1
= (wxWindow
*) 0 ;
26024 int arg4
= (int) 1 ;
26025 int arg5
= (int) 1 ;
26027 PyObject
* obj0
= 0 ;
26028 PyObject
* obj1
= 0 ;
26029 PyObject
* obj2
= 0 ;
26030 PyObject
* obj3
= 0 ;
26031 PyObject
* obj4
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26039 arg2
= (int) SWIG_AsInt(obj1
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26041 arg3
= (int) SWIG_AsInt(obj2
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26044 arg4
= (int) SWIG_AsInt(obj3
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26048 arg5
= (int) SWIG_AsInt(obj4
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26067 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
;
26069 wxWindow
*arg1
= (wxWindow
*) 0 ;
26070 wxPoint
*arg2
= 0 ;
26073 PyObject
* obj0
= 0 ;
26074 PyObject
* obj1
= 0 ;
26075 char *kwnames
[] = {
26076 (char *) "self",(char *) "pt", NULL
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26102 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26103 PyObject
*resultobj
;
26104 wxWindow
*arg1
= (wxWindow
*) 0 ;
26108 PyObject
* obj0
= 0 ;
26109 PyObject
* obj1
= 0 ;
26110 char *kwnames
[] = {
26111 (char *) "self",(char *) "rect", NULL
26114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26119 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26137 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxWindow
*arg1
= (wxWindow
*) 0 ;
26140 wxVisualAttributes result
;
26141 PyObject
* obj0
= 0 ;
26142 char *kwnames
[] = {
26143 (char *) "self", NULL
26146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26157 wxVisualAttributes
* resultptr
;
26158 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26167 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26170 wxVisualAttributes result
;
26171 PyObject
* obj0
= 0 ;
26172 char *kwnames
[] = {
26173 (char *) "variant", NULL
26176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26178 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26182 if (!wxPyCheckForApp()) SWIG_fail
;
26183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26184 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26186 wxPyEndAllowThreads(__tstate
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26190 wxVisualAttributes
* resultptr
;
26191 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26200 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
;
26202 wxWindow
*arg1
= (wxWindow
*) 0 ;
26203 wxColour
*arg2
= 0 ;
26206 PyObject
* obj0
= 0 ;
26207 PyObject
* obj1
= 0 ;
26208 char *kwnames
[] = {
26209 (char *) "self",(char *) "colour", NULL
26212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26217 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26223 wxPyEndAllowThreads(__tstate
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26235 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26237 wxWindow
*arg1
= (wxWindow
*) 0 ;
26238 wxColour
*arg2
= 0 ;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self",(char *) "colour", NULL
26246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26251 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 Py_INCREF(Py_None
); resultobj
= Py_None
;
26267 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26268 PyObject
*resultobj
;
26269 wxWindow
*arg1
= (wxWindow
*) 0 ;
26270 wxColour
*arg2
= 0 ;
26273 PyObject
* obj0
= 0 ;
26274 PyObject
* obj1
= 0 ;
26275 char *kwnames
[] = {
26276 (char *) "self",(char *) "colour", NULL
26279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26284 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26302 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
;
26304 wxWindow
*arg1
= (wxWindow
*) 0 ;
26305 wxColour
*arg2
= 0 ;
26307 PyObject
* obj0
= 0 ;
26308 PyObject
* obj1
= 0 ;
26309 char *kwnames
[] = {
26310 (char *) "self",(char *) "colour", NULL
26313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26318 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26327 Py_INCREF(Py_None
); resultobj
= Py_None
;
26334 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26335 PyObject
*resultobj
;
26336 wxWindow
*arg1
= (wxWindow
*) 0 ;
26338 PyObject
* obj0
= 0 ;
26339 char *kwnames
[] = {
26340 (char *) "self", NULL
26343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26354 wxColour
* resultptr
;
26355 resultptr
= new wxColour((wxColour
&) result
);
26356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26364 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26365 PyObject
*resultobj
;
26366 wxWindow
*arg1
= (wxWindow
*) 0 ;
26368 PyObject
* obj0
= 0 ;
26369 char *kwnames
[] = {
26370 (char *) "self", NULL
26373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26384 wxColour
* resultptr
;
26385 resultptr
= new wxColour((wxColour
&) result
);
26386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26394 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26395 PyObject
*resultobj
;
26396 wxWindow
*arg1
= (wxWindow
*) 0 ;
26397 wxCursor
*arg2
= 0 ;
26399 PyObject
* obj0
= 0 ;
26400 PyObject
* obj1
= 0 ;
26401 char *kwnames
[] = {
26402 (char *) "self",(char *) "cursor", NULL
26405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26411 if (arg2
== NULL
) {
26412 PyErr_SetString(PyExc_TypeError
,"null reference");
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26431 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26433 wxWindow
*arg1
= (wxWindow
*) 0 ;
26435 PyObject
* obj0
= 0 ;
26436 char *kwnames
[] = {
26437 (char *) "self", NULL
26440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 result
= (arg1
)->GetCursor();
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26451 wxCursor
* resultptr
;
26452 resultptr
= new wxCursor((wxCursor
&) result
);
26453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26461 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
;
26463 wxWindow
*arg1
= (wxWindow
*) 0 ;
26466 PyObject
* obj0
= 0 ;
26467 PyObject
* obj1
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "self",(char *) "font", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26478 if (arg2
== NULL
) {
26479 PyErr_SetString(PyExc_TypeError
,"null reference");
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26498 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
;
26500 wxWindow
*arg1
= (wxWindow
*) 0 ;
26502 PyObject
* obj0
= 0 ;
26503 PyObject
* obj1
= 0 ;
26504 char *kwnames
[] = {
26505 (char *) "self",(char *) "font", NULL
26508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26514 if (arg2
== NULL
) {
26515 PyErr_SetString(PyExc_TypeError
,"null reference");
26519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26520 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26525 Py_INCREF(Py_None
); resultobj
= Py_None
;
26532 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
;
26534 wxWindow
*arg1
= (wxWindow
*) 0 ;
26536 PyObject
* obj0
= 0 ;
26537 char *kwnames
[] = {
26538 (char *) "self", NULL
26541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 result
= (arg1
)->GetFont();
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26552 wxFont
* resultptr
;
26553 resultptr
= new wxFont((wxFont
&) result
);
26554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26562 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
;
26564 wxWindow
*arg1
= (wxWindow
*) 0 ;
26565 wxCaret
*arg2
= (wxCaret
*) 0 ;
26566 PyObject
* obj0
= 0 ;
26567 PyObject
* obj1
= 0 ;
26568 char *kwnames
[] = {
26569 (char *) "self",(char *) "caret", NULL
26572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26579 (arg1
)->SetCaret(arg2
);
26581 wxPyEndAllowThreads(__tstate
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26584 Py_INCREF(Py_None
); resultobj
= Py_None
;
26591 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26592 PyObject
*resultobj
;
26593 wxWindow
*arg1
= (wxWindow
*) 0 ;
26595 PyObject
* obj0
= 0 ;
26596 char *kwnames
[] = {
26597 (char *) "self", NULL
26600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26605 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26607 wxPyEndAllowThreads(__tstate
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26617 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26618 PyObject
*resultobj
;
26619 wxWindow
*arg1
= (wxWindow
*) 0 ;
26621 PyObject
* obj0
= 0 ;
26622 char *kwnames
[] = {
26623 (char *) "self", NULL
26626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26631 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= SWIG_FromInt((int)result
);
26643 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
;
26645 wxWindow
*arg1
= (wxWindow
*) 0 ;
26647 PyObject
* obj0
= 0 ;
26648 char *kwnames
[] = {
26649 (char *) "self", NULL
26652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= SWIG_FromInt((int)result
);
26669 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
;
26671 wxWindow
*arg1
= (wxWindow
*) 0 ;
26672 wxString
*arg2
= 0 ;
26673 int *arg3
= (int *) 0 ;
26674 int *arg4
= (int *) 0 ;
26675 bool temp2
= False
;
26678 PyObject
* obj0
= 0 ;
26679 PyObject
* obj1
= 0 ;
26680 char *kwnames
[] = {
26681 (char *) "self",(char *) "string", NULL
26686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26690 arg2
= wxString_in_helper(obj1
);
26691 if (arg2
== NULL
) SWIG_fail
;
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 Py_INCREF(Py_None
); resultobj
= Py_None
;
26703 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26704 resultobj
= t_output_helper(resultobj
,o
);
26707 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26708 resultobj
= t_output_helper(resultobj
,o
);
26724 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26725 PyObject
*resultobj
;
26726 wxWindow
*arg1
= (wxWindow
*) 0 ;
26727 wxString
*arg2
= 0 ;
26728 int *arg3
= (int *) 0 ;
26729 int *arg4
= (int *) 0 ;
26730 int *arg5
= (int *) 0 ;
26731 int *arg6
= (int *) 0 ;
26732 wxFont
*arg7
= (wxFont
*) NULL
;
26733 bool temp2
= False
;
26738 PyObject
* obj0
= 0 ;
26739 PyObject
* obj1
= 0 ;
26740 PyObject
* obj2
= 0 ;
26741 char *kwnames
[] = {
26742 (char *) "self",(char *) "string",(char *) "font", NULL
26749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26753 arg2
= wxString_in_helper(obj1
);
26754 if (arg2
== NULL
) SWIG_fail
;
26758 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 Py_INCREF(Py_None
); resultobj
= Py_None
;
26770 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26771 resultobj
= t_output_helper(resultobj
,o
);
26774 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26775 resultobj
= t_output_helper(resultobj
,o
);
26778 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26779 resultobj
= t_output_helper(resultobj
,o
);
26782 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26783 resultobj
= t_output_helper(resultobj
,o
);
26799 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26800 PyObject
*resultobj
;
26801 wxWindow
*arg1
= (wxWindow
*) 0 ;
26802 int *arg2
= (int *) 0 ;
26803 int *arg3
= (int *) 0 ;
26806 PyObject
* obj0
= 0 ;
26807 PyObject
* obj1
= 0 ;
26808 PyObject
* obj2
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "self",(char *) "x",(char *) "y", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26817 temp2
= PyInt_AsLong(obj1
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26822 temp3
= PyInt_AsLong(obj2
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26830 wxPyEndAllowThreads(__tstate
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26833 Py_INCREF(Py_None
); resultobj
= Py_None
;
26835 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26836 resultobj
= t_output_helper(resultobj
,o
);
26839 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26840 resultobj
= t_output_helper(resultobj
,o
);
26848 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
;
26850 wxWindow
*arg1
= (wxWindow
*) 0 ;
26851 int *arg2
= (int *) 0 ;
26852 int *arg3
= (int *) 0 ;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 PyObject
* obj2
= 0 ;
26858 char *kwnames
[] = {
26859 (char *) "self",(char *) "x",(char *) "y", NULL
26862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26866 temp2
= PyInt_AsLong(obj1
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26871 temp3
= PyInt_AsLong(obj2
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 Py_INCREF(Py_None
); resultobj
= Py_None
;
26884 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26885 resultobj
= t_output_helper(resultobj
,o
);
26888 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26889 resultobj
= t_output_helper(resultobj
,o
);
26897 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
;
26899 wxWindow
*arg1
= (wxWindow
*) 0 ;
26900 wxPoint
*arg2
= 0 ;
26903 PyObject
* obj0
= 0 ;
26904 PyObject
* obj1
= 0 ;
26905 char *kwnames
[] = {
26906 (char *) "self",(char *) "pt", NULL
26909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26914 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26918 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26920 wxPyEndAllowThreads(__tstate
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26924 wxPoint
* resultptr
;
26925 resultptr
= new wxPoint((wxPoint
&) result
);
26926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26934 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
;
26936 wxWindow
*arg1
= (wxWindow
*) 0 ;
26937 wxPoint
*arg2
= 0 ;
26940 PyObject
* obj0
= 0 ;
26941 PyObject
* obj1
= 0 ;
26942 char *kwnames
[] = {
26943 (char *) "self",(char *) "pt", NULL
26946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26951 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26957 wxPyEndAllowThreads(__tstate
);
26958 if (PyErr_Occurred()) SWIG_fail
;
26961 wxPoint
* resultptr
;
26962 resultptr
= new wxPoint((wxPoint
&) result
);
26963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26971 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
;
26973 wxWindow
*arg1
= (wxWindow
*) 0 ;
26977 PyObject
* obj0
= 0 ;
26978 PyObject
* obj1
= 0 ;
26979 PyObject
* obj2
= 0 ;
26980 char *kwnames
[] = {
26981 (char *) "self",(char *) "x",(char *) "y", NULL
26984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26987 arg2
= (int) SWIG_AsInt(obj1
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26989 arg3
= (int) SWIG_AsInt(obj2
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 resultobj
= SWIG_FromInt((int)result
);
27005 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxWindow
*arg1
= (wxWindow
*) 0 ;
27008 wxPoint
*arg2
= 0 ;
27011 PyObject
* obj0
= 0 ;
27012 PyObject
* obj1
= 0 ;
27013 char *kwnames
[] = {
27014 (char *) "self",(char *) "pt", NULL
27017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27022 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27031 resultobj
= SWIG_FromInt((int)result
);
27038 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
27039 PyObject
*resultobj
;
27040 wxWindow
*arg1
= (wxWindow
*) 0 ;
27043 PyObject
* obj0
= 0 ;
27044 PyObject
* obj1
= 0 ;
27046 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27049 arg2
= (long) SWIG_AsLong(obj1
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27053 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27055 wxPyEndAllowThreads(__tstate
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27058 resultobj
= SWIG_FromInt((int)result
);
27065 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
27066 PyObject
*resultobj
;
27067 wxWindow
*arg1
= (wxWindow
*) 0 ;
27069 PyObject
* obj0
= 0 ;
27071 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27076 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27078 wxPyEndAllowThreads(__tstate
);
27079 if (PyErr_Occurred()) SWIG_fail
;
27081 resultobj
= SWIG_FromInt((int)result
);
27088 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27093 argc
= PyObject_Length(args
);
27094 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27095 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27101 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27109 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27116 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27124 _v
= SWIG_CheckLong(argv
[1]);
27126 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27131 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27136 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27137 PyObject
*resultobj
;
27138 wxWindow
*arg1
= (wxWindow
*) 0 ;
27139 long arg2
= (long) wxUPDATE_UI_NONE
;
27140 PyObject
* obj0
= 0 ;
27141 PyObject
* obj1
= 0 ;
27142 char *kwnames
[] = {
27143 (char *) "self",(char *) "flags", NULL
27146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27150 arg2
= (long) SWIG_AsLong(obj1
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 (arg1
)->UpdateWindowUI(arg2
);
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 Py_INCREF(Py_None
); resultobj
= Py_None
;
27167 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 wxWindow
*arg1
= (wxWindow
*) 0 ;
27170 wxMenu
*arg2
= (wxMenu
*) 0 ;
27171 int arg3
= (int) -1 ;
27172 int arg4
= (int) -1 ;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 PyObject
* obj2
= 0 ;
27177 PyObject
* obj3
= 0 ;
27178 char *kwnames
[] = {
27179 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27188 arg3
= (int) SWIG_AsInt(obj2
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27192 arg4
= (int) SWIG_AsInt(obj3
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27211 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27212 PyObject
*resultobj
;
27213 wxWindow
*arg1
= (wxWindow
*) 0 ;
27214 wxMenu
*arg2
= (wxMenu
*) 0 ;
27215 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27216 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27219 PyObject
* obj0
= 0 ;
27220 PyObject
* obj1
= 0 ;
27221 PyObject
* obj2
= 0 ;
27222 char *kwnames
[] = {
27223 (char *) "self",(char *) "menu",(char *) "pos", NULL
27226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27234 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27253 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
;
27255 wxWindow
*arg1
= (wxWindow
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= (long)wxWindow_GetHandle(arg1
);
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 resultobj
= SWIG_FromLong((long)result
);
27279 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
;
27281 wxWindow
*arg1
= (wxWindow
*) 0 ;
27282 wxPaintEvent
*arg2
= 0 ;
27283 PyObject
* obj0
= 0 ;
27284 PyObject
* obj1
= 0 ;
27285 char *kwnames
[] = {
27286 (char *) "self",(char *) "event", NULL
27289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27295 if (arg2
== NULL
) {
27296 PyErr_SetString(PyExc_TypeError
,"null reference");
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 (arg1
)->OnPaint(*arg2
);
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 Py_INCREF(Py_None
); resultobj
= Py_None
;
27313 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxWindow
*arg1
= (wxWindow
*) 0 ;
27318 PyObject
* obj0
= 0 ;
27319 PyObject
* obj1
= 0 ;
27320 char *kwnames
[] = {
27321 (char *) "self",(char *) "orient", NULL
27324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) 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
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27331 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27345 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27346 PyObject
*resultobj
;
27347 wxWindow
*arg1
= (wxWindow
*) 0 ;
27352 bool arg6
= (bool) True
;
27353 PyObject
* obj0
= 0 ;
27354 PyObject
* obj1
= 0 ;
27355 PyObject
* obj2
= 0 ;
27356 PyObject
* obj3
= 0 ;
27357 PyObject
* obj4
= 0 ;
27358 PyObject
* obj5
= 0 ;
27359 char *kwnames
[] = {
27360 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27366 arg2
= (int) SWIG_AsInt(obj1
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27368 arg3
= (int) SWIG_AsInt(obj2
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27370 arg4
= (int) SWIG_AsInt(obj3
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27372 arg5
= (int) SWIG_AsInt(obj4
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27375 arg6
= (bool) SWIG_AsBool(obj5
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27385 Py_INCREF(Py_None
); resultobj
= Py_None
;
27392 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27393 PyObject
*resultobj
;
27394 wxWindow
*arg1
= (wxWindow
*) 0 ;
27397 bool arg4
= (bool) True
;
27398 PyObject
* obj0
= 0 ;
27399 PyObject
* obj1
= 0 ;
27400 PyObject
* obj2
= 0 ;
27401 PyObject
* obj3
= 0 ;
27402 char *kwnames
[] = {
27403 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27409 arg2
= (int) SWIG_AsInt(obj1
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27411 arg3
= (int) SWIG_AsInt(obj2
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 arg4
= (bool) SWIG_AsBool(obj3
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27424 Py_INCREF(Py_None
); resultobj
= Py_None
;
27431 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27432 PyObject
*resultobj
;
27433 wxWindow
*arg1
= (wxWindow
*) 0 ;
27436 PyObject
* obj0
= 0 ;
27437 PyObject
* obj1
= 0 ;
27438 char *kwnames
[] = {
27439 (char *) "self",(char *) "orientation", NULL
27442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27445 arg2
= (int) SWIG_AsInt(obj1
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27451 wxPyEndAllowThreads(__tstate
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= SWIG_FromInt((int)result
);
27461 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
;
27463 wxWindow
*arg1
= (wxWindow
*) 0 ;
27466 PyObject
* obj0
= 0 ;
27467 PyObject
* obj1
= 0 ;
27468 char *kwnames
[] = {
27469 (char *) "self",(char *) "orientation", NULL
27472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27475 arg2
= (int) SWIG_AsInt(obj1
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27484 resultobj
= SWIG_FromInt((int)result
);
27491 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27492 PyObject
*resultobj
;
27493 wxWindow
*arg1
= (wxWindow
*) 0 ;
27496 PyObject
* obj0
= 0 ;
27497 PyObject
* obj1
= 0 ;
27498 char *kwnames
[] = {
27499 (char *) "self",(char *) "orientation", NULL
27502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27505 arg2
= (int) SWIG_AsInt(obj1
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27509 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 resultobj
= SWIG_FromInt((int)result
);
27521 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27522 PyObject
*resultobj
;
27523 wxWindow
*arg1
= (wxWindow
*) 0 ;
27526 wxRect
*arg4
= (wxRect
*) NULL
;
27527 PyObject
* obj0
= 0 ;
27528 PyObject
* obj1
= 0 ;
27529 PyObject
* obj2
= 0 ;
27530 PyObject
* obj3
= 0 ;
27531 char *kwnames
[] = {
27532 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27538 arg2
= (int) SWIG_AsInt(obj1
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27540 arg3
= (int) SWIG_AsInt(obj2
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27548 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27550 wxPyEndAllowThreads(__tstate
);
27551 if (PyErr_Occurred()) SWIG_fail
;
27553 Py_INCREF(Py_None
); resultobj
= Py_None
;
27560 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27561 PyObject
*resultobj
;
27562 wxWindow
*arg1
= (wxWindow
*) 0 ;
27565 PyObject
* obj0
= 0 ;
27566 PyObject
* obj1
= 0 ;
27567 char *kwnames
[] = {
27568 (char *) "self",(char *) "lines", NULL
27571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27574 arg2
= (int) SWIG_AsInt(obj1
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 result
= (bool)(arg1
)->ScrollLines(arg2
);
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27592 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
;
27594 wxWindow
*arg1
= (wxWindow
*) 0 ;
27597 PyObject
* obj0
= 0 ;
27598 PyObject
* obj1
= 0 ;
27599 char *kwnames
[] = {
27600 (char *) "self",(char *) "pages", NULL
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27606 arg2
= (int) SWIG_AsInt(obj1
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 result
= (bool)(arg1
)->ScrollPages(arg2
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27624 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
;
27626 wxWindow
*arg1
= (wxWindow
*) 0 ;
27628 PyObject
* obj0
= 0 ;
27629 char *kwnames
[] = {
27630 (char *) "self", NULL
27633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 result
= (bool)(arg1
)->LineUp();
27640 wxPyEndAllowThreads(__tstate
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27652 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27653 PyObject
*resultobj
;
27654 wxWindow
*arg1
= (wxWindow
*) 0 ;
27656 PyObject
* obj0
= 0 ;
27657 char *kwnames
[] = {
27658 (char *) "self", NULL
27661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27666 result
= (bool)(arg1
)->LineDown();
27668 wxPyEndAllowThreads(__tstate
);
27669 if (PyErr_Occurred()) SWIG_fail
;
27672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27680 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27681 PyObject
*resultobj
;
27682 wxWindow
*arg1
= (wxWindow
*) 0 ;
27684 PyObject
* obj0
= 0 ;
27685 char *kwnames
[] = {
27686 (char *) "self", NULL
27689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27694 result
= (bool)(arg1
)->PageUp();
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27708 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27709 PyObject
*resultobj
;
27710 wxWindow
*arg1
= (wxWindow
*) 0 ;
27712 PyObject
* obj0
= 0 ;
27713 char *kwnames
[] = {
27714 (char *) "self", NULL
27717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 result
= (bool)(arg1
)->PageDown();
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27736 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
;
27738 wxWindow
*arg1
= (wxWindow
*) 0 ;
27739 wxString
*arg2
= 0 ;
27740 bool temp2
= False
;
27741 PyObject
* obj0
= 0 ;
27742 PyObject
* obj1
= 0 ;
27743 char *kwnames
[] = {
27744 (char *) "self",(char *) "text", NULL
27747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27751 arg2
= wxString_in_helper(obj1
);
27752 if (arg2
== NULL
) SWIG_fail
;
27756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27757 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27762 Py_INCREF(Py_None
); resultobj
= Py_None
;
27777 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27778 PyObject
*resultobj
;
27779 wxWindow
*arg1
= (wxWindow
*) 0 ;
27780 wxString
*arg2
= 0 ;
27781 bool temp2
= False
;
27782 PyObject
* obj0
= 0 ;
27783 PyObject
* obj1
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self",(char *) "text", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27792 arg2
= wxString_in_helper(obj1
);
27793 if (arg2
== NULL
) SWIG_fail
;
27797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27798 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27800 wxPyEndAllowThreads(__tstate
);
27801 if (PyErr_Occurred()) SWIG_fail
;
27803 Py_INCREF(Py_None
); resultobj
= Py_None
;
27818 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxWindow
*arg1
= (wxWindow
*) 0 ;
27822 PyObject
* obj0
= 0 ;
27823 char *kwnames
[] = {
27824 (char *) "self", NULL
27827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27850 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27851 PyObject
*resultobj
;
27852 wxWindow
*arg1
= (wxWindow
*) 0 ;
27853 wxString
*arg2
= 0 ;
27854 bool temp2
= False
;
27855 PyObject
* obj0
= 0 ;
27856 PyObject
* obj1
= 0 ;
27857 char *kwnames
[] = {
27858 (char *) "self",(char *) "tip", NULL
27861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27865 arg2
= wxString_in_helper(obj1
);
27866 if (arg2
== NULL
) SWIG_fail
;
27870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27871 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27873 wxPyEndAllowThreads(__tstate
);
27874 if (PyErr_Occurred()) SWIG_fail
;
27876 Py_INCREF(Py_None
); resultobj
= Py_None
;
27891 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27892 PyObject
*resultobj
;
27893 wxWindow
*arg1
= (wxWindow
*) 0 ;
27894 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27895 PyObject
* obj0
= 0 ;
27896 PyObject
* obj1
= 0 ;
27897 char *kwnames
[] = {
27898 (char *) "self",(char *) "tip", NULL
27901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27908 (arg1
)->SetToolTip(arg2
);
27910 wxPyEndAllowThreads(__tstate
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27913 Py_INCREF(Py_None
); resultobj
= Py_None
;
27920 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
;
27922 wxWindow
*arg1
= (wxWindow
*) 0 ;
27924 PyObject
* obj0
= 0 ;
27925 char *kwnames
[] = {
27926 (char *) "self", NULL
27929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27934 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27936 wxPyEndAllowThreads(__tstate
);
27937 if (PyErr_Occurred()) SWIG_fail
;
27940 resultobj
= wxPyMake_wxObject(result
, 0);
27948 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27949 PyObject
*resultobj
;
27950 wxWindow
*arg1
= (wxWindow
*) 0 ;
27951 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27952 PyObject
* obj0
= 0 ;
27953 PyObject
* obj1
= 0 ;
27954 char *kwnames
[] = {
27955 (char *) "self",(char *) "dropTarget", NULL
27958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27962 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27965 (arg1
)->SetDropTarget(arg2
);
27967 wxPyEndAllowThreads(__tstate
);
27968 if (PyErr_Occurred()) SWIG_fail
;
27970 Py_INCREF(Py_None
); resultobj
= Py_None
;
27977 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxWindow
*arg1
= (wxWindow
*) 0 ;
27980 wxPyDropTarget
*result
;
27981 PyObject
* obj0
= 0 ;
27982 char *kwnames
[] = {
27983 (char *) "self", NULL
27986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28003 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28004 PyObject
*resultobj
;
28005 wxWindow
*arg1
= (wxWindow
*) 0 ;
28007 PyObject
* obj0
= 0 ;
28008 PyObject
* obj1
= 0 ;
28009 char *kwnames
[] = {
28010 (char *) "self",(char *) "accept", NULL
28013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
28014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28016 arg2
= (bool) SWIG_AsBool(obj1
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28020 (arg1
)->DragAcceptFiles(arg2
);
28022 wxPyEndAllowThreads(__tstate
);
28023 if (PyErr_Occurred()) SWIG_fail
;
28025 Py_INCREF(Py_None
); resultobj
= Py_None
;
28032 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28033 PyObject
*resultobj
;
28034 wxWindow
*arg1
= (wxWindow
*) 0 ;
28035 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28036 PyObject
* obj0
= 0 ;
28037 PyObject
* obj1
= 0 ;
28038 char *kwnames
[] = {
28039 (char *) "self",(char *) "constraints", NULL
28042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28049 (arg1
)->SetConstraints(arg2
);
28051 wxPyEndAllowThreads(__tstate
);
28052 if (PyErr_Occurred()) SWIG_fail
;
28054 Py_INCREF(Py_None
); resultobj
= Py_None
;
28061 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28062 PyObject
*resultobj
;
28063 wxWindow
*arg1
= (wxWindow
*) 0 ;
28064 wxLayoutConstraints
*result
;
28065 PyObject
* obj0
= 0 ;
28066 char *kwnames
[] = {
28067 (char *) "self", NULL
28070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28077 wxPyEndAllowThreads(__tstate
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28087 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxWindow
*arg1
= (wxWindow
*) 0 ;
28091 PyObject
* obj0
= 0 ;
28092 PyObject
* obj1
= 0 ;
28093 char *kwnames
[] = {
28094 (char *) "self",(char *) "autoLayout", NULL
28097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28100 arg2
= (bool) SWIG_AsBool(obj1
);
28101 if (PyErr_Occurred()) SWIG_fail
;
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 (arg1
)->SetAutoLayout(arg2
);
28106 wxPyEndAllowThreads(__tstate
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28109 Py_INCREF(Py_None
); resultobj
= Py_None
;
28116 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28117 PyObject
*resultobj
;
28118 wxWindow
*arg1
= (wxWindow
*) 0 ;
28120 PyObject
* obj0
= 0 ;
28121 char *kwnames
[] = {
28122 (char *) "self", NULL
28125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28130 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28132 wxPyEndAllowThreads(__tstate
);
28133 if (PyErr_Occurred()) SWIG_fail
;
28136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28144 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
;
28146 wxWindow
*arg1
= (wxWindow
*) 0 ;
28148 PyObject
* obj0
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28158 result
= (bool)(arg1
)->Layout();
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28172 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28173 PyObject
*resultobj
;
28174 wxWindow
*arg1
= (wxWindow
*) 0 ;
28175 wxSizer
*arg2
= (wxSizer
*) 0 ;
28176 bool arg3
= (bool) True
;
28177 PyObject
* obj0
= 0 ;
28178 PyObject
* obj1
= 0 ;
28179 PyObject
* obj2
= 0 ;
28180 char *kwnames
[] = {
28181 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28190 arg3
= (bool) SWIG_AsBool(obj2
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 (arg1
)->SetSizer(arg2
,arg3
);
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28200 Py_INCREF(Py_None
); resultobj
= Py_None
;
28207 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
;
28209 wxWindow
*arg1
= (wxWindow
*) 0 ;
28210 wxSizer
*arg2
= (wxSizer
*) 0 ;
28211 bool arg3
= (bool) True
;
28212 PyObject
* obj0
= 0 ;
28213 PyObject
* obj1
= 0 ;
28214 PyObject
* obj2
= 0 ;
28215 char *kwnames
[] = {
28216 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28225 arg3
= (bool) SWIG_AsBool(obj2
);
28226 if (PyErr_Occurred()) SWIG_fail
;
28229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28232 wxPyEndAllowThreads(__tstate
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28235 Py_INCREF(Py_None
); resultobj
= Py_None
;
28242 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28243 PyObject
*resultobj
;
28244 wxWindow
*arg1
= (wxWindow
*) 0 ;
28246 PyObject
* obj0
= 0 ;
28247 char *kwnames
[] = {
28248 (char *) "self", NULL
28251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28256 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28258 wxPyEndAllowThreads(__tstate
);
28259 if (PyErr_Occurred()) SWIG_fail
;
28262 resultobj
= wxPyMake_wxSizer(result
, 0);
28270 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28271 PyObject
*resultobj
;
28272 wxWindow
*arg1
= (wxWindow
*) 0 ;
28273 wxSizer
*arg2
= (wxSizer
*) 0 ;
28274 PyObject
* obj0
= 0 ;
28275 PyObject
* obj1
= 0 ;
28276 char *kwnames
[] = {
28277 (char *) "self",(char *) "sizer", NULL
28280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28287 (arg1
)->SetContainingSizer(arg2
);
28289 wxPyEndAllowThreads(__tstate
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28292 Py_INCREF(Py_None
); resultobj
= Py_None
;
28299 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28300 PyObject
*resultobj
;
28301 wxWindow
*arg1
= (wxWindow
*) 0 ;
28303 PyObject
* obj0
= 0 ;
28304 char *kwnames
[] = {
28305 (char *) "self", NULL
28308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28313 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28315 wxPyEndAllowThreads(__tstate
);
28316 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= wxPyMake_wxSizer(result
, 0);
28327 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
;
28329 wxWindow
*arg1
= (wxWindow
*) 0 ;
28330 PyObject
* obj0
= 0 ;
28331 char *kwnames
[] = {
28332 (char *) "self", NULL
28335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 (arg1
)->InheritAttributes();
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28345 Py_INCREF(Py_None
); resultobj
= Py_None
;
28352 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28353 PyObject
*resultobj
;
28354 wxWindow
*arg1
= (wxWindow
*) 0 ;
28356 PyObject
* obj0
= 0 ;
28357 char *kwnames
[] = {
28358 (char *) "self", NULL
28361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28380 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28383 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28385 return Py_BuildValue((char *)"");
28387 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28388 PyObject
*resultobj
;
28390 wxWindow
*arg2
= (wxWindow
*) NULL
;
28392 PyObject
* obj0
= 0 ;
28393 PyObject
* obj1
= 0 ;
28394 char *kwnames
[] = {
28395 (char *) "id",(char *) "parent", NULL
28398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28399 arg1
= (long) SWIG_AsLong(obj0
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28406 if (!wxPyCheckForApp()) SWIG_fail
;
28407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28408 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28410 wxPyEndAllowThreads(__tstate
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28414 resultobj
= wxPyMake_wxObject(result
, 0);
28422 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
;
28424 wxString
*arg1
= 0 ;
28425 wxWindow
*arg2
= (wxWindow
*) NULL
;
28427 bool temp1
= False
;
28428 PyObject
* obj0
= 0 ;
28429 PyObject
* obj1
= 0 ;
28430 char *kwnames
[] = {
28431 (char *) "name",(char *) "parent", NULL
28434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28436 arg1
= wxString_in_helper(obj0
);
28437 if (arg1
== NULL
) SWIG_fail
;
28441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28445 if (!wxPyCheckForApp()) SWIG_fail
;
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28453 resultobj
= wxPyMake_wxObject(result
, 0);
28469 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
;
28471 wxString
*arg1
= 0 ;
28472 wxWindow
*arg2
= (wxWindow
*) NULL
;
28474 bool temp1
= False
;
28475 PyObject
* obj0
= 0 ;
28476 PyObject
* obj1
= 0 ;
28477 char *kwnames
[] = {
28478 (char *) "label",(char *) "parent", NULL
28481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28483 arg1
= wxString_in_helper(obj0
);
28484 if (arg1
== NULL
) SWIG_fail
;
28488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28492 if (!wxPyCheckForApp()) SWIG_fail
;
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28496 wxPyEndAllowThreads(__tstate
);
28497 if (PyErr_Occurred()) SWIG_fail
;
28500 resultobj
= wxPyMake_wxObject(result
, 0);
28516 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28517 PyObject
*resultobj
;
28518 wxWindow
*arg1
= (wxWindow
*) 0 ;
28519 unsigned long arg2
;
28521 PyObject
* obj0
= 0 ;
28522 PyObject
* obj1
= 0 ;
28523 char *kwnames
[] = {
28524 (char *) "parent",(char *) "_hWnd", NULL
28527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28530 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28540 resultobj
= wxPyMake_wxObject(result
, 0);
28548 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28549 PyObject
*resultobj
;
28550 wxValidator
*result
;
28551 char *kwnames
[] = {
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28558 result
= (wxValidator
*)new wxValidator();
28560 wxPyEndAllowThreads(__tstate
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28564 resultobj
= wxPyMake_wxObject(result
, 1);
28572 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
;
28574 wxValidator
*arg1
= (wxValidator
*) 0 ;
28575 wxValidator
*result
;
28576 PyObject
* obj0
= 0 ;
28577 char *kwnames
[] = {
28578 (char *) "self", NULL
28581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 result
= (wxValidator
*)(arg1
)->Clone();
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= wxPyMake_wxObject(result
, 0);
28600 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28601 PyObject
*resultobj
;
28602 wxValidator
*arg1
= (wxValidator
*) 0 ;
28603 wxWindow
*arg2
= (wxWindow
*) 0 ;
28605 PyObject
* obj0
= 0 ;
28606 PyObject
* obj1
= 0 ;
28607 char *kwnames
[] = {
28608 (char *) "self",(char *) "parent", NULL
28611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 result
= (bool)(arg1
)->Validate(arg2
);
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28632 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28633 PyObject
*resultobj
;
28634 wxValidator
*arg1
= (wxValidator
*) 0 ;
28636 PyObject
* obj0
= 0 ;
28637 char *kwnames
[] = {
28638 (char *) "self", NULL
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28646 result
= (bool)(arg1
)->TransferToWindow();
28648 wxPyEndAllowThreads(__tstate
);
28649 if (PyErr_Occurred()) SWIG_fail
;
28652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28660 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28661 PyObject
*resultobj
;
28662 wxValidator
*arg1
= (wxValidator
*) 0 ;
28664 PyObject
* obj0
= 0 ;
28665 char *kwnames
[] = {
28666 (char *) "self", NULL
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28674 result
= (bool)(arg1
)->TransferFromWindow();
28676 wxPyEndAllowThreads(__tstate
);
28677 if (PyErr_Occurred()) SWIG_fail
;
28680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28688 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28689 PyObject
*resultobj
;
28690 wxValidator
*arg1
= (wxValidator
*) 0 ;
28692 PyObject
* obj0
= 0 ;
28693 char *kwnames
[] = {
28694 (char *) "self", NULL
28697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28702 result
= (wxWindow
*)(arg1
)->GetWindow();
28704 wxPyEndAllowThreads(__tstate
);
28705 if (PyErr_Occurred()) SWIG_fail
;
28708 resultobj
= wxPyMake_wxObject(result
, 0);
28716 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28717 PyObject
*resultobj
;
28718 wxValidator
*arg1
= (wxValidator
*) 0 ;
28719 wxWindow
*arg2
= (wxWindow
*) 0 ;
28720 PyObject
* obj0
= 0 ;
28721 PyObject
* obj1
= 0 ;
28722 char *kwnames
[] = {
28723 (char *) "self",(char *) "window", NULL
28726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28733 (arg1
)->SetWindow(arg2
);
28735 wxPyEndAllowThreads(__tstate
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28738 Py_INCREF(Py_None
); resultobj
= Py_None
;
28745 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28746 PyObject
*resultobj
;
28748 char *kwnames
[] = {
28752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 result
= (bool)wxValidator::IsSilent();
28757 wxPyEndAllowThreads(__tstate
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28769 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28770 PyObject
*resultobj
;
28771 int arg1
= (int) True
;
28772 PyObject
* obj0
= 0 ;
28773 char *kwnames
[] = {
28774 (char *) "doIt", NULL
28777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28779 arg1
= (int) SWIG_AsInt(obj0
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 wxValidator::SetBellOnError(arg1
);
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 Py_INCREF(Py_None
); resultobj
= Py_None
;
28796 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28799 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28801 return Py_BuildValue((char *)"");
28803 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28804 PyObject
*resultobj
;
28805 wxPyValidator
*result
;
28806 char *kwnames
[] = {
28810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 result
= (wxPyValidator
*)new wxPyValidator();
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28825 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28826 PyObject
*resultobj
;
28827 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28828 PyObject
*arg2
= (PyObject
*) 0 ;
28829 PyObject
*arg3
= (PyObject
*) 0 ;
28830 int arg4
= (int) True
;
28831 PyObject
* obj0
= 0 ;
28832 PyObject
* obj1
= 0 ;
28833 PyObject
* obj2
= 0 ;
28834 PyObject
* obj3
= 0 ;
28835 char *kwnames
[] = {
28836 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28845 arg4
= (int) SWIG_AsInt(obj3
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28850 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 Py_INCREF(Py_None
); resultobj
= Py_None
;
28862 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28865 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28867 return Py_BuildValue((char *)"");
28869 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28870 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28875 static PyObject
*_wrap_DefaultValidator_get() {
28878 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28883 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
;
28885 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28886 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28887 long arg2
= (long) 0 ;
28889 bool temp1
= False
;
28890 PyObject
* obj0
= 0 ;
28891 PyObject
* obj1
= 0 ;
28892 char *kwnames
[] = {
28893 (char *) "title",(char *) "style", NULL
28896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28899 arg1
= wxString_in_helper(obj0
);
28900 if (arg1
== NULL
) SWIG_fail
;
28905 arg2
= (long) SWIG_AsLong(obj1
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28909 if (!wxPyCheckForApp()) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= wxPyMake_wxObject(result
, 1);
28933 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28934 PyObject
*resultobj
;
28935 wxMenu
*arg1
= (wxMenu
*) 0 ;
28937 wxString
*arg3
= 0 ;
28938 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28939 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28940 int arg5
= (int) wxITEM_NORMAL
;
28941 wxMenuItem
*result
;
28942 bool temp3
= False
;
28943 bool temp4
= False
;
28944 PyObject
* obj0
= 0 ;
28945 PyObject
* obj1
= 0 ;
28946 PyObject
* obj2
= 0 ;
28947 PyObject
* obj3
= 0 ;
28948 PyObject
* obj4
= 0 ;
28949 char *kwnames
[] = {
28950 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28956 arg2
= (int) SWIG_AsInt(obj1
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 arg3
= wxString_in_helper(obj2
);
28960 if (arg3
== NULL
) SWIG_fail
;
28965 arg4
= wxString_in_helper(obj3
);
28966 if (arg4
== NULL
) SWIG_fail
;
28971 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= wxPyMake_wxObject(result
, 0);
29006 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29007 PyObject
*resultobj
;
29008 wxMenu
*arg1
= (wxMenu
*) 0 ;
29009 wxMenuItem
*result
;
29010 PyObject
* obj0
= 0 ;
29011 char *kwnames
[] = {
29012 (char *) "self", NULL
29015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= wxPyMake_wxObject(result
, 0);
29034 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxMenu
*arg1
= (wxMenu
*) 0 ;
29038 wxString
*arg3
= 0 ;
29039 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29040 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29041 wxMenuItem
*result
;
29042 bool temp3
= False
;
29043 bool temp4
= False
;
29044 PyObject
* obj0
= 0 ;
29045 PyObject
* obj1
= 0 ;
29046 PyObject
* obj2
= 0 ;
29047 PyObject
* obj3
= 0 ;
29048 char *kwnames
[] = {
29049 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29055 arg2
= (int) SWIG_AsInt(obj1
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29058 arg3
= wxString_in_helper(obj2
);
29059 if (arg3
== NULL
) SWIG_fail
;
29064 arg4
= wxString_in_helper(obj3
);
29065 if (arg4
== NULL
) SWIG_fail
;
29070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29071 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29073 wxPyEndAllowThreads(__tstate
);
29074 if (PyErr_Occurred()) SWIG_fail
;
29077 resultobj
= wxPyMake_wxObject(result
, 0);
29101 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29102 PyObject
*resultobj
;
29103 wxMenu
*arg1
= (wxMenu
*) 0 ;
29105 wxString
*arg3
= 0 ;
29106 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29107 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29108 wxMenuItem
*result
;
29109 bool temp3
= False
;
29110 bool temp4
= False
;
29111 PyObject
* obj0
= 0 ;
29112 PyObject
* obj1
= 0 ;
29113 PyObject
* obj2
= 0 ;
29114 PyObject
* obj3
= 0 ;
29115 char *kwnames
[] = {
29116 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29122 arg2
= (int) SWIG_AsInt(obj1
);
29123 if (PyErr_Occurred()) SWIG_fail
;
29125 arg3
= wxString_in_helper(obj2
);
29126 if (arg3
== NULL
) SWIG_fail
;
29131 arg4
= wxString_in_helper(obj3
);
29132 if (arg4
== NULL
) SWIG_fail
;
29137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29138 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29140 wxPyEndAllowThreads(__tstate
);
29141 if (PyErr_Occurred()) SWIG_fail
;
29144 resultobj
= wxPyMake_wxObject(result
, 0);
29168 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29169 PyObject
*resultobj
;
29170 wxMenu
*arg1
= (wxMenu
*) 0 ;
29172 wxString
*arg3
= 0 ;
29173 wxMenu
*arg4
= (wxMenu
*) 0 ;
29174 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29175 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29176 wxMenuItem
*result
;
29177 bool temp3
= False
;
29178 bool temp5
= False
;
29179 PyObject
* obj0
= 0 ;
29180 PyObject
* obj1
= 0 ;
29181 PyObject
* obj2
= 0 ;
29182 PyObject
* obj3
= 0 ;
29183 PyObject
* obj4
= 0 ;
29184 char *kwnames
[] = {
29185 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29191 arg2
= (int) SWIG_AsInt(obj1
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29194 arg3
= wxString_in_helper(obj2
);
29195 if (arg3
== NULL
) SWIG_fail
;
29198 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29202 arg5
= wxString_in_helper(obj4
);
29203 if (arg5
== NULL
) SWIG_fail
;
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29215 resultobj
= wxPyMake_wxObject(result
, 0);
29239 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
;
29241 wxMenu
*arg1
= (wxMenu
*) 0 ;
29242 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29243 wxMenuItem
*result
;
29244 PyObject
* obj0
= 0 ;
29245 PyObject
* obj1
= 0 ;
29246 char *kwnames
[] = {
29247 (char *) "self",(char *) "item", NULL
29250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29257 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29259 wxPyEndAllowThreads(__tstate
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29263 resultobj
= wxPyMake_wxObject(result
, 0);
29271 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
;
29273 wxMenu
*arg1
= (wxMenu
*) 0 ;
29274 PyObject
* obj0
= 0 ;
29275 char *kwnames
[] = {
29276 (char *) "self", NULL
29279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29286 wxPyEndAllowThreads(__tstate
);
29287 if (PyErr_Occurred()) SWIG_fail
;
29289 Py_INCREF(Py_None
); resultobj
= Py_None
;
29296 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29297 PyObject
*resultobj
;
29298 wxMenu
*arg1
= (wxMenu
*) 0 ;
29300 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29301 wxMenuItem
*result
;
29302 PyObject
* obj0
= 0 ;
29303 PyObject
* obj1
= 0 ;
29304 PyObject
* obj2
= 0 ;
29305 char *kwnames
[] = {
29306 (char *) "self",(char *) "pos",(char *) "item", NULL
29309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29312 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29314 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29324 resultobj
= wxPyMake_wxObject(result
, 0);
29332 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29333 PyObject
*resultobj
;
29334 wxMenu
*arg1
= (wxMenu
*) 0 ;
29337 wxString
*arg4
= 0 ;
29338 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29339 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29340 int arg6
= (int) wxITEM_NORMAL
;
29341 wxMenuItem
*result
;
29342 bool temp4
= False
;
29343 bool temp5
= False
;
29344 PyObject
* obj0
= 0 ;
29345 PyObject
* obj1
= 0 ;
29346 PyObject
* obj2
= 0 ;
29347 PyObject
* obj3
= 0 ;
29348 PyObject
* obj4
= 0 ;
29349 PyObject
* obj5
= 0 ;
29350 char *kwnames
[] = {
29351 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29357 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29359 arg3
= (int) SWIG_AsInt(obj2
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29362 arg4
= wxString_in_helper(obj3
);
29363 if (arg4
== NULL
) SWIG_fail
;
29368 arg5
= wxString_in_helper(obj4
);
29369 if (arg5
== NULL
) SWIG_fail
;
29374 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29385 resultobj
= wxPyMake_wxObject(result
, 0);
29409 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29410 PyObject
*resultobj
;
29411 wxMenu
*arg1
= (wxMenu
*) 0 ;
29413 wxMenuItem
*result
;
29414 PyObject
* obj0
= 0 ;
29415 PyObject
* obj1
= 0 ;
29416 char *kwnames
[] = {
29417 (char *) "self",(char *) "pos", NULL
29420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29423 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29427 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29433 resultobj
= wxPyMake_wxObject(result
, 0);
29441 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29442 PyObject
*resultobj
;
29443 wxMenu
*arg1
= (wxMenu
*) 0 ;
29446 wxString
*arg4
= 0 ;
29447 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29448 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29449 wxMenuItem
*result
;
29450 bool temp4
= False
;
29451 bool temp5
= False
;
29452 PyObject
* obj0
= 0 ;
29453 PyObject
* obj1
= 0 ;
29454 PyObject
* obj2
= 0 ;
29455 PyObject
* obj3
= 0 ;
29456 PyObject
* obj4
= 0 ;
29457 char *kwnames
[] = {
29458 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29464 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29466 arg3
= (int) SWIG_AsInt(obj2
);
29467 if (PyErr_Occurred()) SWIG_fail
;
29469 arg4
= wxString_in_helper(obj3
);
29470 if (arg4
== NULL
) SWIG_fail
;
29475 arg5
= wxString_in_helper(obj4
);
29476 if (arg5
== NULL
) SWIG_fail
;
29481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29482 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29484 wxPyEndAllowThreads(__tstate
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29488 resultobj
= wxPyMake_wxObject(result
, 0);
29512 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29513 PyObject
*resultobj
;
29514 wxMenu
*arg1
= (wxMenu
*) 0 ;
29517 wxString
*arg4
= 0 ;
29518 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29519 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29520 wxMenuItem
*result
;
29521 bool temp4
= False
;
29522 bool temp5
= False
;
29523 PyObject
* obj0
= 0 ;
29524 PyObject
* obj1
= 0 ;
29525 PyObject
* obj2
= 0 ;
29526 PyObject
* obj3
= 0 ;
29527 PyObject
* obj4
= 0 ;
29528 char *kwnames
[] = {
29529 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29535 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29537 arg3
= (int) SWIG_AsInt(obj2
);
29538 if (PyErr_Occurred()) SWIG_fail
;
29540 arg4
= wxString_in_helper(obj3
);
29541 if (arg4
== NULL
) SWIG_fail
;
29546 arg5
= wxString_in_helper(obj4
);
29547 if (arg5
== NULL
) SWIG_fail
;
29552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29553 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29555 wxPyEndAllowThreads(__tstate
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= wxPyMake_wxObject(result
, 0);
29583 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29584 PyObject
*resultobj
;
29585 wxMenu
*arg1
= (wxMenu
*) 0 ;
29588 wxString
*arg4
= 0 ;
29589 wxMenu
*arg5
= (wxMenu
*) 0 ;
29590 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29591 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29592 wxMenuItem
*result
;
29593 bool temp4
= False
;
29594 bool temp6
= False
;
29595 PyObject
* obj0
= 0 ;
29596 PyObject
* obj1
= 0 ;
29597 PyObject
* obj2
= 0 ;
29598 PyObject
* obj3
= 0 ;
29599 PyObject
* obj4
= 0 ;
29600 PyObject
* obj5
= 0 ;
29601 char *kwnames
[] = {
29602 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29608 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29610 arg3
= (int) SWIG_AsInt(obj2
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29613 arg4
= wxString_in_helper(obj3
);
29614 if (arg4
== NULL
) SWIG_fail
;
29617 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29621 arg6
= wxString_in_helper(obj5
);
29622 if (arg6
== NULL
) SWIG_fail
;
29627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29628 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29630 wxPyEndAllowThreads(__tstate
);
29631 if (PyErr_Occurred()) SWIG_fail
;
29634 resultobj
= wxPyMake_wxObject(result
, 0);
29658 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29659 PyObject
*resultobj
;
29660 wxMenu
*arg1
= (wxMenu
*) 0 ;
29661 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29662 wxMenuItem
*result
;
29663 PyObject
* obj0
= 0 ;
29664 PyObject
* obj1
= 0 ;
29665 char *kwnames
[] = {
29666 (char *) "self",(char *) "item", NULL
29669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29678 wxPyEndAllowThreads(__tstate
);
29679 if (PyErr_Occurred()) SWIG_fail
;
29682 resultobj
= wxPyMake_wxObject(result
, 0);
29690 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29691 PyObject
*resultobj
;
29692 wxMenu
*arg1
= (wxMenu
*) 0 ;
29694 wxString
*arg3
= 0 ;
29695 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29696 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29697 int arg5
= (int) wxITEM_NORMAL
;
29698 wxMenuItem
*result
;
29699 bool temp3
= False
;
29700 bool temp4
= False
;
29701 PyObject
* obj0
= 0 ;
29702 PyObject
* obj1
= 0 ;
29703 PyObject
* obj2
= 0 ;
29704 PyObject
* obj3
= 0 ;
29705 PyObject
* obj4
= 0 ;
29706 char *kwnames
[] = {
29707 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29713 arg2
= (int) SWIG_AsInt(obj1
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29716 arg3
= wxString_in_helper(obj2
);
29717 if (arg3
== NULL
) SWIG_fail
;
29722 arg4
= wxString_in_helper(obj3
);
29723 if (arg4
== NULL
) SWIG_fail
;
29728 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29729 if (PyErr_Occurred()) SWIG_fail
;
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29739 resultobj
= wxPyMake_wxObject(result
, 0);
29763 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29764 PyObject
*resultobj
;
29765 wxMenu
*arg1
= (wxMenu
*) 0 ;
29766 wxMenuItem
*result
;
29767 PyObject
* obj0
= 0 ;
29768 char *kwnames
[] = {
29769 (char *) "self", NULL
29772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29777 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29779 wxPyEndAllowThreads(__tstate
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29783 resultobj
= wxPyMake_wxObject(result
, 0);
29791 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29792 PyObject
*resultobj
;
29793 wxMenu
*arg1
= (wxMenu
*) 0 ;
29795 wxString
*arg3
= 0 ;
29796 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29797 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29798 wxMenuItem
*result
;
29799 bool temp3
= False
;
29800 bool temp4
= False
;
29801 PyObject
* obj0
= 0 ;
29802 PyObject
* obj1
= 0 ;
29803 PyObject
* obj2
= 0 ;
29804 PyObject
* obj3
= 0 ;
29805 char *kwnames
[] = {
29806 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29812 arg2
= (int) SWIG_AsInt(obj1
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29815 arg3
= wxString_in_helper(obj2
);
29816 if (arg3
== NULL
) SWIG_fail
;
29821 arg4
= wxString_in_helper(obj3
);
29822 if (arg4
== NULL
) SWIG_fail
;
29827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29828 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29830 wxPyEndAllowThreads(__tstate
);
29831 if (PyErr_Occurred()) SWIG_fail
;
29834 resultobj
= wxPyMake_wxObject(result
, 0);
29858 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
;
29860 wxMenu
*arg1
= (wxMenu
*) 0 ;
29862 wxString
*arg3
= 0 ;
29863 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29864 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29865 wxMenuItem
*result
;
29866 bool temp3
= False
;
29867 bool temp4
= False
;
29868 PyObject
* obj0
= 0 ;
29869 PyObject
* obj1
= 0 ;
29870 PyObject
* obj2
= 0 ;
29871 PyObject
* obj3
= 0 ;
29872 char *kwnames
[] = {
29873 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29879 arg2
= (int) SWIG_AsInt(obj1
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29882 arg3
= wxString_in_helper(obj2
);
29883 if (arg3
== NULL
) SWIG_fail
;
29888 arg4
= wxString_in_helper(obj3
);
29889 if (arg4
== NULL
) SWIG_fail
;
29894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29895 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29897 wxPyEndAllowThreads(__tstate
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29901 resultobj
= wxPyMake_wxObject(result
, 0);
29925 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29926 PyObject
*resultobj
;
29927 wxMenu
*arg1
= (wxMenu
*) 0 ;
29929 wxString
*arg3
= 0 ;
29930 wxMenu
*arg4
= (wxMenu
*) 0 ;
29931 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29932 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29933 wxMenuItem
*result
;
29934 bool temp3
= False
;
29935 bool temp5
= False
;
29936 PyObject
* obj0
= 0 ;
29937 PyObject
* obj1
= 0 ;
29938 PyObject
* obj2
= 0 ;
29939 PyObject
* obj3
= 0 ;
29940 PyObject
* obj4
= 0 ;
29941 char *kwnames
[] = {
29942 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29948 arg2
= (int) SWIG_AsInt(obj1
);
29949 if (PyErr_Occurred()) SWIG_fail
;
29951 arg3
= wxString_in_helper(obj2
);
29952 if (arg3
== NULL
) SWIG_fail
;
29955 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29959 arg5
= wxString_in_helper(obj4
);
29960 if (arg5
== NULL
) SWIG_fail
;
29965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29972 resultobj
= wxPyMake_wxObject(result
, 0);
29996 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29997 PyObject
*resultobj
;
29998 wxMenu
*arg1
= (wxMenu
*) 0 ;
30000 wxMenuItem
*result
;
30001 PyObject
* obj0
= 0 ;
30002 PyObject
* obj1
= 0 ;
30003 char *kwnames
[] = {
30004 (char *) "self",(char *) "id", NULL
30007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30010 arg2
= (int) SWIG_AsInt(obj1
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30020 resultobj
= wxPyMake_wxObject(result
, 0);
30028 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
;
30030 wxMenu
*arg1
= (wxMenu
*) 0 ;
30031 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30032 wxMenuItem
*result
;
30033 PyObject
* obj0
= 0 ;
30034 PyObject
* obj1
= 0 ;
30035 char *kwnames
[] = {
30036 (char *) "self",(char *) "item", NULL
30039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30046 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= wxPyMake_wxObject(result
, 0);
30060 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
;
30062 wxMenu
*arg1
= (wxMenu
*) 0 ;
30065 PyObject
* obj0
= 0 ;
30066 PyObject
* obj1
= 0 ;
30067 char *kwnames
[] = {
30068 (char *) "self",(char *) "id", NULL
30071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30074 arg2
= (int) SWIG_AsInt(obj1
);
30075 if (PyErr_Occurred()) SWIG_fail
;
30077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30078 result
= (bool)(arg1
)->Delete(arg2
);
30080 wxPyEndAllowThreads(__tstate
);
30081 if (PyErr_Occurred()) SWIG_fail
;
30084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30092 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30093 PyObject
*resultobj
;
30094 wxMenu
*arg1
= (wxMenu
*) 0 ;
30095 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30097 PyObject
* obj0
= 0 ;
30098 PyObject
* obj1
= 0 ;
30099 char *kwnames
[] = {
30100 (char *) "self",(char *) "item", NULL
30103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 result
= (bool)(arg1
)->Delete(arg2
);
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30124 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30125 PyObject
*resultobj
;
30126 wxMenu
*arg1
= (wxMenu
*) 0 ;
30127 PyObject
* obj0
= 0 ;
30128 char *kwnames
[] = {
30129 (char *) "self", NULL
30132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 wxMenu_Destroy(arg1
);
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30142 Py_INCREF(Py_None
); resultobj
= Py_None
;
30149 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30150 PyObject
*resultobj
;
30151 wxMenu
*arg1
= (wxMenu
*) 0 ;
30154 PyObject
* obj0
= 0 ;
30155 PyObject
* obj1
= 0 ;
30156 char *kwnames
[] = {
30157 (char *) "self",(char *) "id", NULL
30160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30163 arg2
= (int) SWIG_AsInt(obj1
);
30164 if (PyErr_Occurred()) SWIG_fail
;
30166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30167 result
= (bool)(arg1
)->Destroy(arg2
);
30169 wxPyEndAllowThreads(__tstate
);
30170 if (PyErr_Occurred()) SWIG_fail
;
30173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30181 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30182 PyObject
*resultobj
;
30183 wxMenu
*arg1
= (wxMenu
*) 0 ;
30184 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30186 PyObject
* obj0
= 0 ;
30187 PyObject
* obj1
= 0 ;
30188 char *kwnames
[] = {
30189 (char *) "self",(char *) "item", NULL
30192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30199 result
= (bool)(arg1
)->Destroy(arg2
);
30201 wxPyEndAllowThreads(__tstate
);
30202 if (PyErr_Occurred()) SWIG_fail
;
30205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30213 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30214 PyObject
*resultobj
;
30215 wxMenu
*arg1
= (wxMenu
*) 0 ;
30217 PyObject
* obj0
= 0 ;
30218 char *kwnames
[] = {
30219 (char *) "self", NULL
30222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30227 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30229 wxPyEndAllowThreads(__tstate
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30232 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30239 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
;
30241 wxMenu
*arg1
= (wxMenu
*) 0 ;
30243 PyObject
* obj0
= 0 ;
30244 char *kwnames
[] = {
30245 (char *) "self", NULL
30248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30253 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30255 wxPyEndAllowThreads(__tstate
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30258 resultobj
= result
;
30265 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30266 PyObject
*resultobj
;
30267 wxMenu
*arg1
= (wxMenu
*) 0 ;
30268 wxString
*arg2
= 0 ;
30270 bool temp2
= False
;
30271 PyObject
* obj0
= 0 ;
30272 PyObject
* obj1
= 0 ;
30273 char *kwnames
[] = {
30274 (char *) "self",(char *) "item", NULL
30277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30281 arg2
= wxString_in_helper(obj1
);
30282 if (arg2
== NULL
) SWIG_fail
;
30286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30287 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30289 wxPyEndAllowThreads(__tstate
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30292 resultobj
= SWIG_FromInt((int)result
);
30307 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30308 PyObject
*resultobj
;
30309 wxMenu
*arg1
= (wxMenu
*) 0 ;
30311 wxMenuItem
*result
;
30312 PyObject
* obj0
= 0 ;
30313 PyObject
* obj1
= 0 ;
30314 char *kwnames
[] = {
30315 (char *) "self",(char *) "id", NULL
30318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30321 arg2
= (int) SWIG_AsInt(obj1
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30327 wxPyEndAllowThreads(__tstate
);
30328 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= wxPyMake_wxObject(result
, 0);
30339 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30340 PyObject
*resultobj
;
30341 wxMenu
*arg1
= (wxMenu
*) 0 ;
30343 wxMenuItem
*result
;
30344 PyObject
* obj0
= 0 ;
30345 PyObject
* obj1
= 0 ;
30346 char *kwnames
[] = {
30347 (char *) "self",(char *) "position", NULL
30350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30353 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30354 if (PyErr_Occurred()) SWIG_fail
;
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30359 wxPyEndAllowThreads(__tstate
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= wxPyMake_wxObject(result
, 0);
30371 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
;
30373 wxMenu
*arg1
= (wxMenu
*) 0 ;
30376 PyObject
* obj0
= 0 ;
30377 PyObject
* obj1
= 0 ;
30378 PyObject
* obj2
= 0 ;
30379 char *kwnames
[] = {
30380 (char *) "self",(char *) "id",(char *) "enable", NULL
30383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30386 arg2
= (int) SWIG_AsInt(obj1
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30388 arg3
= (bool) SWIG_AsBool(obj2
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30392 (arg1
)->Enable(arg2
,arg3
);
30394 wxPyEndAllowThreads(__tstate
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 Py_INCREF(Py_None
); resultobj
= Py_None
;
30404 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30405 PyObject
*resultobj
;
30406 wxMenu
*arg1
= (wxMenu
*) 0 ;
30409 PyObject
* obj0
= 0 ;
30410 PyObject
* obj1
= 0 ;
30411 char *kwnames
[] = {
30412 (char *) "self",(char *) "id", NULL
30415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30418 arg2
= (int) SWIG_AsInt(obj1
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30422 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30424 wxPyEndAllowThreads(__tstate
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30436 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
;
30438 wxMenu
*arg1
= (wxMenu
*) 0 ;
30441 PyObject
* obj0
= 0 ;
30442 PyObject
* obj1
= 0 ;
30443 PyObject
* obj2
= 0 ;
30444 char *kwnames
[] = {
30445 (char *) "self",(char *) "id",(char *) "check", NULL
30448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30451 arg2
= (int) SWIG_AsInt(obj1
);
30452 if (PyErr_Occurred()) SWIG_fail
;
30453 arg3
= (bool) SWIG_AsBool(obj2
);
30454 if (PyErr_Occurred()) SWIG_fail
;
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 (arg1
)->Check(arg2
,arg3
);
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 Py_INCREF(Py_None
); resultobj
= Py_None
;
30469 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30470 PyObject
*resultobj
;
30471 wxMenu
*arg1
= (wxMenu
*) 0 ;
30474 PyObject
* obj0
= 0 ;
30475 PyObject
* obj1
= 0 ;
30476 char *kwnames
[] = {
30477 (char *) "self",(char *) "id", NULL
30480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30483 arg2
= (int) SWIG_AsInt(obj1
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30487 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30489 wxPyEndAllowThreads(__tstate
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30501 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30502 PyObject
*resultobj
;
30503 wxMenu
*arg1
= (wxMenu
*) 0 ;
30505 wxString
*arg3
= 0 ;
30506 bool temp3
= False
;
30507 PyObject
* obj0
= 0 ;
30508 PyObject
* obj1
= 0 ;
30509 PyObject
* obj2
= 0 ;
30510 char *kwnames
[] = {
30511 (char *) "self",(char *) "id",(char *) "label", NULL
30514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30517 arg2
= (int) SWIG_AsInt(obj1
);
30518 if (PyErr_Occurred()) SWIG_fail
;
30520 arg3
= wxString_in_helper(obj2
);
30521 if (arg3
== NULL
) SWIG_fail
;
30525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30526 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30528 wxPyEndAllowThreads(__tstate
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30531 Py_INCREF(Py_None
); resultobj
= Py_None
;
30546 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30547 PyObject
*resultobj
;
30548 wxMenu
*arg1
= (wxMenu
*) 0 ;
30551 PyObject
* obj0
= 0 ;
30552 PyObject
* obj1
= 0 ;
30553 char *kwnames
[] = {
30554 (char *) "self",(char *) "id", NULL
30557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30560 arg2
= (int) SWIG_AsInt(obj1
);
30561 if (PyErr_Occurred()) SWIG_fail
;
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30571 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30573 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30582 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxMenu
*arg1
= (wxMenu
*) 0 ;
30586 wxString
*arg3
= 0 ;
30587 bool temp3
= False
;
30588 PyObject
* obj0
= 0 ;
30589 PyObject
* obj1
= 0 ;
30590 PyObject
* obj2
= 0 ;
30591 char *kwnames
[] = {
30592 (char *) "self",(char *) "id",(char *) "helpString", NULL
30595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30598 arg2
= (int) SWIG_AsInt(obj1
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30601 arg3
= wxString_in_helper(obj2
);
30602 if (arg3
== NULL
) SWIG_fail
;
30606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30607 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30609 wxPyEndAllowThreads(__tstate
);
30610 if (PyErr_Occurred()) SWIG_fail
;
30612 Py_INCREF(Py_None
); resultobj
= Py_None
;
30627 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30628 PyObject
*resultobj
;
30629 wxMenu
*arg1
= (wxMenu
*) 0 ;
30632 PyObject
* obj0
= 0 ;
30633 PyObject
* obj1
= 0 ;
30634 char *kwnames
[] = {
30635 (char *) "self",(char *) "id", NULL
30638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30641 arg2
= (int) SWIG_AsInt(obj1
);
30642 if (PyErr_Occurred()) SWIG_fail
;
30644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30645 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30647 wxPyEndAllowThreads(__tstate
);
30648 if (PyErr_Occurred()) SWIG_fail
;
30652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30663 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30664 PyObject
*resultobj
;
30665 wxMenu
*arg1
= (wxMenu
*) 0 ;
30666 wxString
*arg2
= 0 ;
30667 bool temp2
= False
;
30668 PyObject
* obj0
= 0 ;
30669 PyObject
* obj1
= 0 ;
30670 char *kwnames
[] = {
30671 (char *) "self",(char *) "title", NULL
30674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30678 arg2
= wxString_in_helper(obj1
);
30679 if (arg2
== NULL
) SWIG_fail
;
30683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30684 (arg1
)->SetTitle((wxString
const &)*arg2
);
30686 wxPyEndAllowThreads(__tstate
);
30687 if (PyErr_Occurred()) SWIG_fail
;
30689 Py_INCREF(Py_None
); resultobj
= Py_None
;
30704 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30705 PyObject
*resultobj
;
30706 wxMenu
*arg1
= (wxMenu
*) 0 ;
30708 PyObject
* obj0
= 0 ;
30709 char *kwnames
[] = {
30710 (char *) "self", NULL
30713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30718 result
= ((wxMenu
const *)arg1
)->GetTitle();
30720 wxPyEndAllowThreads(__tstate
);
30721 if (PyErr_Occurred()) SWIG_fail
;
30725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30736 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30737 PyObject
*resultobj
;
30738 wxMenu
*arg1
= (wxMenu
*) 0 ;
30739 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30740 PyObject
* obj0
= 0 ;
30741 PyObject
* obj1
= 0 ;
30742 char *kwnames
[] = {
30743 (char *) "self",(char *) "handler", NULL
30746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30753 (arg1
)->SetEventHandler(arg2
);
30755 wxPyEndAllowThreads(__tstate
);
30756 if (PyErr_Occurred()) SWIG_fail
;
30758 Py_INCREF(Py_None
); resultobj
= Py_None
;
30765 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30766 PyObject
*resultobj
;
30767 wxMenu
*arg1
= (wxMenu
*) 0 ;
30768 wxEvtHandler
*result
;
30769 PyObject
* obj0
= 0 ;
30770 char *kwnames
[] = {
30771 (char *) "self", NULL
30774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30779 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30781 wxPyEndAllowThreads(__tstate
);
30782 if (PyErr_Occurred()) SWIG_fail
;
30785 resultobj
= wxPyMake_wxObject(result
, 0);
30793 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
;
30795 wxMenu
*arg1
= (wxMenu
*) 0 ;
30796 wxWindow
*arg2
= (wxWindow
*) 0 ;
30797 PyObject
* obj0
= 0 ;
30798 PyObject
* obj1
= 0 ;
30799 char *kwnames
[] = {
30800 (char *) "self",(char *) "win", NULL
30803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30810 (arg1
)->SetInvokingWindow(arg2
);
30812 wxPyEndAllowThreads(__tstate
);
30813 if (PyErr_Occurred()) SWIG_fail
;
30815 Py_INCREF(Py_None
); resultobj
= Py_None
;
30822 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30823 PyObject
*resultobj
;
30824 wxMenu
*arg1
= (wxMenu
*) 0 ;
30826 PyObject
* obj0
= 0 ;
30827 char *kwnames
[] = {
30828 (char *) "self", NULL
30831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30836 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30838 wxPyEndAllowThreads(__tstate
);
30839 if (PyErr_Occurred()) SWIG_fail
;
30842 resultobj
= wxPyMake_wxObject(result
, 0);
30850 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30851 PyObject
*resultobj
;
30852 wxMenu
*arg1
= (wxMenu
*) 0 ;
30854 PyObject
* obj0
= 0 ;
30855 char *kwnames
[] = {
30856 (char *) "self", NULL
30859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30864 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30866 wxPyEndAllowThreads(__tstate
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= SWIG_FromLong((long)result
);
30876 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
;
30878 wxMenu
*arg1
= (wxMenu
*) 0 ;
30879 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 char *kwnames
[] = {
30883 (char *) "self",(char *) "source", NULL
30886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30895 (arg1
)->UpdateUI(arg2
);
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30900 Py_INCREF(Py_None
); resultobj
= Py_None
;
30907 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30908 PyObject
*resultobj
;
30909 wxMenu
*arg1
= (wxMenu
*) 0 ;
30911 PyObject
* obj0
= 0 ;
30912 char *kwnames
[] = {
30913 (char *) "self", NULL
30916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30921 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30923 wxPyEndAllowThreads(__tstate
);
30924 if (PyErr_Occurred()) SWIG_fail
;
30927 resultobj
= wxPyMake_wxObject(result
, 0);
30935 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30936 PyObject
*resultobj
;
30937 wxMenu
*arg1
= (wxMenu
*) 0 ;
30938 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30939 PyObject
* obj0
= 0 ;
30940 PyObject
* obj1
= 0 ;
30941 char *kwnames
[] = {
30942 (char *) "self",(char *) "menubar", NULL
30945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30952 (arg1
)->Attach(arg2
);
30954 wxPyEndAllowThreads(__tstate
);
30955 if (PyErr_Occurred()) SWIG_fail
;
30957 Py_INCREF(Py_None
); resultobj
= Py_None
;
30964 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxMenu
*arg1
= (wxMenu
*) 0 ;
30967 PyObject
* obj0
= 0 ;
30968 char *kwnames
[] = {
30969 (char *) "self", NULL
30972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30982 Py_INCREF(Py_None
); resultobj
= Py_None
;
30989 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30990 PyObject
*resultobj
;
30991 wxMenu
*arg1
= (wxMenu
*) 0 ;
30993 PyObject
* obj0
= 0 ;
30994 char *kwnames
[] = {
30995 (char *) "self", NULL
30998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31003 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31005 wxPyEndAllowThreads(__tstate
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31017 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
;
31019 wxMenu
*arg1
= (wxMenu
*) 0 ;
31020 wxMenu
*arg2
= (wxMenu
*) 0 ;
31021 PyObject
* obj0
= 0 ;
31022 PyObject
* obj1
= 0 ;
31023 char *kwnames
[] = {
31024 (char *) "self",(char *) "parent", NULL
31027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31034 (arg1
)->SetParent(arg2
);
31036 wxPyEndAllowThreads(__tstate
);
31037 if (PyErr_Occurred()) SWIG_fail
;
31039 Py_INCREF(Py_None
); resultobj
= Py_None
;
31046 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31047 PyObject
*resultobj
;
31048 wxMenu
*arg1
= (wxMenu
*) 0 ;
31050 PyObject
* obj0
= 0 ;
31051 char *kwnames
[] = {
31052 (char *) "self", NULL
31055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31060 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31062 wxPyEndAllowThreads(__tstate
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31066 resultobj
= wxPyMake_wxObject(result
, 0);
31074 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
31076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31077 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31079 return Py_BuildValue((char *)"");
31081 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31082 PyObject
*resultobj
;
31083 long arg1
= (long) 0 ;
31085 PyObject
* obj0
= 0 ;
31086 char *kwnames
[] = {
31087 (char *) "style", NULL
31090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31092 arg1
= (long) SWIG_AsLong(obj0
);
31093 if (PyErr_Occurred()) SWIG_fail
;
31096 if (!wxPyCheckForApp()) SWIG_fail
;
31097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31098 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31100 wxPyEndAllowThreads(__tstate
);
31101 if (PyErr_Occurred()) SWIG_fail
;
31104 resultobj
= wxPyMake_wxObject(result
, 1);
31112 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31113 PyObject
*resultobj
;
31114 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31115 wxMenu
*arg2
= (wxMenu
*) 0 ;
31116 wxString
*arg3
= 0 ;
31118 bool temp3
= False
;
31119 PyObject
* obj0
= 0 ;
31120 PyObject
* obj1
= 0 ;
31121 PyObject
* obj2
= 0 ;
31122 char *kwnames
[] = {
31123 (char *) "self",(char *) "menu",(char *) "title", NULL
31126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31132 arg3
= wxString_in_helper(obj2
);
31133 if (arg3
== NULL
) SWIG_fail
;
31137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31138 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31140 wxPyEndAllowThreads(__tstate
);
31141 if (PyErr_Occurred()) SWIG_fail
;
31144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31160 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
;
31162 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31164 wxMenu
*arg3
= (wxMenu
*) 0 ;
31165 wxString
*arg4
= 0 ;
31167 bool temp4
= False
;
31168 PyObject
* obj0
= 0 ;
31169 PyObject
* obj1
= 0 ;
31170 PyObject
* obj2
= 0 ;
31171 PyObject
* obj3
= 0 ;
31172 char *kwnames
[] = {
31173 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31179 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31180 if (PyErr_Occurred()) SWIG_fail
;
31181 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31184 arg4
= wxString_in_helper(obj3
);
31185 if (arg4
== NULL
) SWIG_fail
;
31189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31190 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31192 wxPyEndAllowThreads(__tstate
);
31193 if (PyErr_Occurred()) SWIG_fail
;
31196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31212 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31213 PyObject
*resultobj
;
31214 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31216 PyObject
* obj0
= 0 ;
31217 char *kwnames
[] = {
31218 (char *) "self", NULL
31221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31226 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31228 wxPyEndAllowThreads(__tstate
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
31238 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31239 PyObject
*resultobj
;
31240 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31243 PyObject
* obj0
= 0 ;
31244 PyObject
* obj1
= 0 ;
31245 char *kwnames
[] = {
31246 (char *) "self",(char *) "pos", NULL
31249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31252 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31256 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31258 wxPyEndAllowThreads(__tstate
);
31259 if (PyErr_Occurred()) SWIG_fail
;
31262 resultobj
= wxPyMake_wxObject(result
, 0);
31270 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31271 PyObject
*resultobj
;
31272 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31274 wxMenu
*arg3
= (wxMenu
*) 0 ;
31275 wxString
*arg4
= 0 ;
31277 bool temp4
= False
;
31278 PyObject
* obj0
= 0 ;
31279 PyObject
* obj1
= 0 ;
31280 PyObject
* obj2
= 0 ;
31281 PyObject
* obj3
= 0 ;
31282 char *kwnames
[] = {
31283 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31289 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31290 if (PyErr_Occurred()) SWIG_fail
;
31291 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31294 arg4
= wxString_in_helper(obj3
);
31295 if (arg4
== NULL
) SWIG_fail
;
31299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31300 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31302 wxPyEndAllowThreads(__tstate
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31306 resultobj
= wxPyMake_wxObject(result
, 0);
31322 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31323 PyObject
*resultobj
;
31324 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31327 PyObject
* obj0
= 0 ;
31328 PyObject
* obj1
= 0 ;
31329 char *kwnames
[] = {
31330 (char *) "self",(char *) "pos", NULL
31333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31336 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31337 if (PyErr_Occurred()) SWIG_fail
;
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31342 wxPyEndAllowThreads(__tstate
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= wxPyMake_wxObject(result
, 0);
31354 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31355 PyObject
*resultobj
;
31356 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31359 PyObject
* obj0
= 0 ;
31360 PyObject
* obj1
= 0 ;
31361 PyObject
* obj2
= 0 ;
31362 char *kwnames
[] = {
31363 (char *) "self",(char *) "pos",(char *) "enable", NULL
31366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31369 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31370 if (PyErr_Occurred()) SWIG_fail
;
31371 arg3
= (bool) SWIG_AsBool(obj2
);
31372 if (PyErr_Occurred()) SWIG_fail
;
31374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31375 (arg1
)->EnableTop(arg2
,arg3
);
31377 wxPyEndAllowThreads(__tstate
);
31378 if (PyErr_Occurred()) SWIG_fail
;
31380 Py_INCREF(Py_None
); resultobj
= Py_None
;
31387 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31388 PyObject
*resultobj
;
31389 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31392 PyObject
* obj0
= 0 ;
31393 PyObject
* obj1
= 0 ;
31394 char *kwnames
[] = {
31395 (char *) "self",(char *) "pos", NULL
31398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31401 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31405 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31407 wxPyEndAllowThreads(__tstate
);
31408 if (PyErr_Occurred()) SWIG_fail
;
31411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31419 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
;
31421 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31423 wxString
*arg3
= 0 ;
31424 bool temp3
= False
;
31425 PyObject
* obj0
= 0 ;
31426 PyObject
* obj1
= 0 ;
31427 PyObject
* obj2
= 0 ;
31428 char *kwnames
[] = {
31429 (char *) "self",(char *) "pos",(char *) "label", NULL
31432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31435 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31438 arg3
= wxString_in_helper(obj2
);
31439 if (arg3
== NULL
) SWIG_fail
;
31443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31444 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31449 Py_INCREF(Py_None
); resultobj
= Py_None
;
31464 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31465 PyObject
*resultobj
;
31466 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31469 PyObject
* obj0
= 0 ;
31470 PyObject
* obj1
= 0 ;
31471 char *kwnames
[] = {
31472 (char *) "self",(char *) "pos", NULL
31475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31478 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31479 if (PyErr_Occurred()) SWIG_fail
;
31481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31482 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31484 wxPyEndAllowThreads(__tstate
);
31485 if (PyErr_Occurred()) SWIG_fail
;
31489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31500 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31501 PyObject
*resultobj
;
31502 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31503 wxString
*arg2
= 0 ;
31504 wxString
*arg3
= 0 ;
31506 bool temp2
= False
;
31507 bool temp3
= False
;
31508 PyObject
* obj0
= 0 ;
31509 PyObject
* obj1
= 0 ;
31510 PyObject
* obj2
= 0 ;
31511 char *kwnames
[] = {
31512 (char *) "self",(char *) "menu",(char *) "item", NULL
31515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31519 arg2
= wxString_in_helper(obj1
);
31520 if (arg2
== NULL
) SWIG_fail
;
31524 arg3
= wxString_in_helper(obj2
);
31525 if (arg3
== NULL
) SWIG_fail
;
31529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31530 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31532 wxPyEndAllowThreads(__tstate
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31535 resultobj
= SWIG_FromInt((int)result
);
31558 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31559 PyObject
*resultobj
;
31560 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31562 wxMenuItem
*result
;
31563 PyObject
* obj0
= 0 ;
31564 PyObject
* obj1
= 0 ;
31565 char *kwnames
[] = {
31566 (char *) "self",(char *) "id", NULL
31569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31572 arg2
= (int) SWIG_AsInt(obj1
);
31573 if (PyErr_Occurred()) SWIG_fail
;
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31578 wxPyEndAllowThreads(__tstate
);
31579 if (PyErr_Occurred()) SWIG_fail
;
31582 resultobj
= wxPyMake_wxObject(result
, 0);
31590 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
;
31592 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31593 wxString
*arg2
= 0 ;
31595 bool temp2
= False
;
31596 PyObject
* obj0
= 0 ;
31597 PyObject
* obj1
= 0 ;
31598 char *kwnames
[] = {
31599 (char *) "self",(char *) "title", NULL
31602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31606 arg2
= wxString_in_helper(obj1
);
31607 if (arg2
== NULL
) SWIG_fail
;
31611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31612 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31614 wxPyEndAllowThreads(__tstate
);
31615 if (PyErr_Occurred()) SWIG_fail
;
31617 resultobj
= SWIG_FromInt((int)result
);
31632 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31633 PyObject
*resultobj
;
31634 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31637 PyObject
* obj0
= 0 ;
31638 PyObject
* obj1
= 0 ;
31639 PyObject
* obj2
= 0 ;
31640 char *kwnames
[] = {
31641 (char *) "self",(char *) "id",(char *) "enable", NULL
31644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31647 arg2
= (int) SWIG_AsInt(obj1
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31649 arg3
= (bool) SWIG_AsBool(obj2
);
31650 if (PyErr_Occurred()) SWIG_fail
;
31652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31653 (arg1
)->Enable(arg2
,arg3
);
31655 wxPyEndAllowThreads(__tstate
);
31656 if (PyErr_Occurred()) SWIG_fail
;
31658 Py_INCREF(Py_None
); resultobj
= Py_None
;
31665 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31666 PyObject
*resultobj
;
31667 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31670 PyObject
* obj0
= 0 ;
31671 PyObject
* obj1
= 0 ;
31672 PyObject
* obj2
= 0 ;
31673 char *kwnames
[] = {
31674 (char *) "self",(char *) "id",(char *) "check", NULL
31677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31680 arg2
= (int) SWIG_AsInt(obj1
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31682 arg3
= (bool) SWIG_AsBool(obj2
);
31683 if (PyErr_Occurred()) SWIG_fail
;
31685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31686 (arg1
)->Check(arg2
,arg3
);
31688 wxPyEndAllowThreads(__tstate
);
31689 if (PyErr_Occurred()) SWIG_fail
;
31691 Py_INCREF(Py_None
); resultobj
= Py_None
;
31698 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31699 PyObject
*resultobj
;
31700 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31703 PyObject
* obj0
= 0 ;
31704 PyObject
* obj1
= 0 ;
31705 char *kwnames
[] = {
31706 (char *) "self",(char *) "id", NULL
31709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31712 arg2
= (int) SWIG_AsInt(obj1
);
31713 if (PyErr_Occurred()) SWIG_fail
;
31715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31716 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31718 wxPyEndAllowThreads(__tstate
);
31719 if (PyErr_Occurred()) SWIG_fail
;
31722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31730 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31731 PyObject
*resultobj
;
31732 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31735 PyObject
* obj0
= 0 ;
31736 PyObject
* obj1
= 0 ;
31737 char *kwnames
[] = {
31738 (char *) "self",(char *) "id", NULL
31741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31744 arg2
= (int) SWIG_AsInt(obj1
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31748 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31750 wxPyEndAllowThreads(__tstate
);
31751 if (PyErr_Occurred()) SWIG_fail
;
31754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31762 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31763 PyObject
*resultobj
;
31764 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31766 wxString
*arg3
= 0 ;
31767 bool temp3
= False
;
31768 PyObject
* obj0
= 0 ;
31769 PyObject
* obj1
= 0 ;
31770 PyObject
* obj2
= 0 ;
31771 char *kwnames
[] = {
31772 (char *) "self",(char *) "id",(char *) "label", NULL
31775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31778 arg2
= (int) SWIG_AsInt(obj1
);
31779 if (PyErr_Occurred()) SWIG_fail
;
31781 arg3
= wxString_in_helper(obj2
);
31782 if (arg3
== NULL
) SWIG_fail
;
31786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31787 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31789 wxPyEndAllowThreads(__tstate
);
31790 if (PyErr_Occurred()) SWIG_fail
;
31792 Py_INCREF(Py_None
); resultobj
= Py_None
;
31807 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31808 PyObject
*resultobj
;
31809 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31812 PyObject
* obj0
= 0 ;
31813 PyObject
* obj1
= 0 ;
31814 char *kwnames
[] = {
31815 (char *) "self",(char *) "id", NULL
31818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31821 arg2
= (int) SWIG_AsInt(obj1
);
31822 if (PyErr_Occurred()) SWIG_fail
;
31824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31825 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31827 wxPyEndAllowThreads(__tstate
);
31828 if (PyErr_Occurred()) SWIG_fail
;
31832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31843 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31844 PyObject
*resultobj
;
31845 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31847 wxString
*arg3
= 0 ;
31848 bool temp3
= False
;
31849 PyObject
* obj0
= 0 ;
31850 PyObject
* obj1
= 0 ;
31851 PyObject
* obj2
= 0 ;
31852 char *kwnames
[] = {
31853 (char *) "self",(char *) "id",(char *) "helpString", NULL
31856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31859 arg2
= (int) SWIG_AsInt(obj1
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31862 arg3
= wxString_in_helper(obj2
);
31863 if (arg3
== NULL
) SWIG_fail
;
31867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31868 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31870 wxPyEndAllowThreads(__tstate
);
31871 if (PyErr_Occurred()) SWIG_fail
;
31873 Py_INCREF(Py_None
); resultobj
= Py_None
;
31888 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31889 PyObject
*resultobj
;
31890 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31893 PyObject
* obj0
= 0 ;
31894 PyObject
* obj1
= 0 ;
31895 char *kwnames
[] = {
31896 (char *) "self",(char *) "id", NULL
31899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31902 arg2
= (int) SWIG_AsInt(obj1
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31906 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31908 wxPyEndAllowThreads(__tstate
);
31909 if (PyErr_Occurred()) SWIG_fail
;
31913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31924 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31925 PyObject
*resultobj
;
31926 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31928 PyObject
* obj0
= 0 ;
31929 char *kwnames
[] = {
31930 (char *) "self", NULL
31933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31940 wxPyEndAllowThreads(__tstate
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31944 resultobj
= wxPyMake_wxObject(result
, 0);
31952 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31953 PyObject
*resultobj
;
31954 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31956 PyObject
* obj0
= 0 ;
31957 char *kwnames
[] = {
31958 (char *) "self", NULL
31961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31966 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31968 wxPyEndAllowThreads(__tstate
);
31969 if (PyErr_Occurred()) SWIG_fail
;
31972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31980 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31981 PyObject
*resultobj
;
31982 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31983 wxFrame
*arg2
= (wxFrame
*) 0 ;
31984 PyObject
* obj0
= 0 ;
31985 PyObject
* obj1
= 0 ;
31986 char *kwnames
[] = {
31987 (char *) "self",(char *) "frame", NULL
31990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31997 (arg1
)->Attach(arg2
);
31999 wxPyEndAllowThreads(__tstate
);
32000 if (PyErr_Occurred()) SWIG_fail
;
32002 Py_INCREF(Py_None
); resultobj
= Py_None
;
32009 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32010 PyObject
*resultobj
;
32011 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32012 PyObject
* obj0
= 0 ;
32013 char *kwnames
[] = {
32014 (char *) "self", NULL
32017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32027 Py_INCREF(Py_None
); resultobj
= Py_None
;
32034 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
32036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32037 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32039 return Py_BuildValue((char *)"");
32041 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32042 PyObject
*resultobj
;
32043 wxMenu
*arg1
= (wxMenu
*) NULL
;
32044 int arg2
= (int) wxID_ANY
;
32045 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32046 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32047 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32048 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32049 int arg5
= (int) wxITEM_NORMAL
;
32050 wxMenu
*arg6
= (wxMenu
*) NULL
;
32051 wxMenuItem
*result
;
32052 bool temp3
= False
;
32053 bool temp4
= False
;
32054 PyObject
* obj0
= 0 ;
32055 PyObject
* obj1
= 0 ;
32056 PyObject
* obj2
= 0 ;
32057 PyObject
* obj3
= 0 ;
32058 PyObject
* obj4
= 0 ;
32059 PyObject
* obj5
= 0 ;
32060 char *kwnames
[] = {
32061 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32070 arg2
= (int) SWIG_AsInt(obj1
);
32071 if (PyErr_Occurred()) SWIG_fail
;
32075 arg3
= wxString_in_helper(obj2
);
32076 if (arg3
== NULL
) SWIG_fail
;
32082 arg4
= wxString_in_helper(obj3
);
32083 if (arg4
== NULL
) SWIG_fail
;
32088 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
32089 if (PyErr_Occurred()) SWIG_fail
;
32092 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32097 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32099 wxPyEndAllowThreads(__tstate
);
32100 if (PyErr_Occurred()) SWIG_fail
;
32103 resultobj
= wxPyMake_wxObject(result
, 1);
32127 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32128 PyObject
*resultobj
;
32129 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32131 PyObject
* obj0
= 0 ;
32132 char *kwnames
[] = {
32133 (char *) "self", NULL
32136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32141 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32143 wxPyEndAllowThreads(__tstate
);
32144 if (PyErr_Occurred()) SWIG_fail
;
32147 resultobj
= wxPyMake_wxObject(result
, 0);
32155 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32156 PyObject
*resultobj
;
32157 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32158 wxMenu
*arg2
= (wxMenu
*) 0 ;
32159 PyObject
* obj0
= 0 ;
32160 PyObject
* obj1
= 0 ;
32161 char *kwnames
[] = {
32162 (char *) "self",(char *) "menu", NULL
32165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32172 (arg1
)->SetMenu(arg2
);
32174 wxPyEndAllowThreads(__tstate
);
32175 if (PyErr_Occurred()) SWIG_fail
;
32177 Py_INCREF(Py_None
); resultobj
= Py_None
;
32184 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32185 PyObject
*resultobj
;
32186 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32188 PyObject
* obj0
= 0 ;
32189 PyObject
* obj1
= 0 ;
32190 char *kwnames
[] = {
32191 (char *) "self",(char *) "id", NULL
32194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32197 arg2
= (int) SWIG_AsInt(obj1
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32201 (arg1
)->SetId(arg2
);
32203 wxPyEndAllowThreads(__tstate
);
32204 if (PyErr_Occurred()) SWIG_fail
;
32206 Py_INCREF(Py_None
); resultobj
= Py_None
;
32213 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32214 PyObject
*resultobj
;
32215 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32217 PyObject
* obj0
= 0 ;
32218 char *kwnames
[] = {
32219 (char *) "self", NULL
32222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32227 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32229 wxPyEndAllowThreads(__tstate
);
32230 if (PyErr_Occurred()) SWIG_fail
;
32232 resultobj
= SWIG_FromInt((int)result
);
32239 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32240 PyObject
*resultobj
;
32241 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32243 PyObject
* obj0
= 0 ;
32244 char *kwnames
[] = {
32245 (char *) "self", NULL
32248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32253 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32255 wxPyEndAllowThreads(__tstate
);
32256 if (PyErr_Occurred()) SWIG_fail
;
32259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32267 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32268 PyObject
*resultobj
;
32269 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32270 wxString
*arg2
= 0 ;
32271 bool temp2
= False
;
32272 PyObject
* obj0
= 0 ;
32273 PyObject
* obj1
= 0 ;
32274 char *kwnames
[] = {
32275 (char *) "self",(char *) "str", NULL
32278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32282 arg2
= wxString_in_helper(obj1
);
32283 if (arg2
== NULL
) SWIG_fail
;
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 (arg1
)->SetText((wxString
const &)*arg2
);
32290 wxPyEndAllowThreads(__tstate
);
32291 if (PyErr_Occurred()) SWIG_fail
;
32293 Py_INCREF(Py_None
); resultobj
= Py_None
;
32308 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32309 PyObject
*resultobj
;
32310 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32312 PyObject
* obj0
= 0 ;
32313 char *kwnames
[] = {
32314 (char *) "self", NULL
32317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32340 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32341 PyObject
*resultobj
;
32342 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32344 PyObject
* obj0
= 0 ;
32345 char *kwnames
[] = {
32346 (char *) "self", NULL
32349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32355 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32356 result
= (wxString
*) &_result_ref
;
32359 wxPyEndAllowThreads(__tstate
);
32360 if (PyErr_Occurred()) SWIG_fail
;
32364 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32366 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32375 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32376 PyObject
*resultobj
;
32377 wxString
*arg1
= 0 ;
32379 bool temp1
= False
;
32380 PyObject
* obj0
= 0 ;
32381 char *kwnames
[] = {
32382 (char *) "text", NULL
32385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32387 arg1
= wxString_in_helper(obj0
);
32388 if (arg1
== NULL
) SWIG_fail
;
32392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32393 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32395 wxPyEndAllowThreads(__tstate
);
32396 if (PyErr_Occurred()) SWIG_fail
;
32400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32419 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32420 PyObject
*resultobj
;
32421 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32423 PyObject
* obj0
= 0 ;
32424 char *kwnames
[] = {
32425 (char *) "self", NULL
32428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32433 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32435 wxPyEndAllowThreads(__tstate
);
32436 if (PyErr_Occurred()) SWIG_fail
;
32438 resultobj
= SWIG_FromInt((int)result
);
32445 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32446 PyObject
*resultobj
;
32447 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32449 PyObject
* obj0
= 0 ;
32450 PyObject
* obj1
= 0 ;
32451 char *kwnames
[] = {
32452 (char *) "self",(char *) "kind", NULL
32455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32458 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32459 if (PyErr_Occurred()) SWIG_fail
;
32461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32462 (arg1
)->SetKind((wxItemKind
)arg2
);
32464 wxPyEndAllowThreads(__tstate
);
32465 if (PyErr_Occurred()) SWIG_fail
;
32467 Py_INCREF(Py_None
); resultobj
= Py_None
;
32474 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32475 PyObject
*resultobj
;
32476 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32478 PyObject
* obj0
= 0 ;
32479 PyObject
* obj1
= 0 ;
32480 char *kwnames
[] = {
32481 (char *) "self",(char *) "checkable", NULL
32484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32487 arg2
= (bool) SWIG_AsBool(obj1
);
32488 if (PyErr_Occurred()) SWIG_fail
;
32490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32491 (arg1
)->SetCheckable(arg2
);
32493 wxPyEndAllowThreads(__tstate
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32496 Py_INCREF(Py_None
); resultobj
= Py_None
;
32503 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32504 PyObject
*resultobj
;
32505 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32507 PyObject
* obj0
= 0 ;
32508 char *kwnames
[] = {
32509 (char *) "self", NULL
32512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32517 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32519 wxPyEndAllowThreads(__tstate
);
32520 if (PyErr_Occurred()) SWIG_fail
;
32523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32531 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32532 PyObject
*resultobj
;
32533 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32535 PyObject
* obj0
= 0 ;
32536 char *kwnames
[] = {
32537 (char *) "self", NULL
32540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32545 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32547 wxPyEndAllowThreads(__tstate
);
32548 if (PyErr_Occurred()) SWIG_fail
;
32551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32559 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32560 PyObject
*resultobj
;
32561 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32562 wxMenu
*arg2
= (wxMenu
*) 0 ;
32563 PyObject
* obj0
= 0 ;
32564 PyObject
* obj1
= 0 ;
32565 char *kwnames
[] = {
32566 (char *) "self",(char *) "menu", NULL
32569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32576 (arg1
)->SetSubMenu(arg2
);
32578 wxPyEndAllowThreads(__tstate
);
32579 if (PyErr_Occurred()) SWIG_fail
;
32581 Py_INCREF(Py_None
); resultobj
= Py_None
;
32588 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32589 PyObject
*resultobj
;
32590 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32592 PyObject
* obj0
= 0 ;
32593 char *kwnames
[] = {
32594 (char *) "self", NULL
32597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32608 resultobj
= wxPyMake_wxObject(result
, 0);
32616 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32617 PyObject
*resultobj
;
32618 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32619 bool arg2
= (bool) True
;
32620 PyObject
* obj0
= 0 ;
32621 PyObject
* obj1
= 0 ;
32622 char *kwnames
[] = {
32623 (char *) "self",(char *) "enable", NULL
32626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32630 arg2
= (bool) SWIG_AsBool(obj1
);
32631 if (PyErr_Occurred()) SWIG_fail
;
32634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32635 (arg1
)->Enable(arg2
);
32637 wxPyEndAllowThreads(__tstate
);
32638 if (PyErr_Occurred()) SWIG_fail
;
32640 Py_INCREF(Py_None
); resultobj
= Py_None
;
32647 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32648 PyObject
*resultobj
;
32649 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32651 PyObject
* obj0
= 0 ;
32652 char *kwnames
[] = {
32653 (char *) "self", NULL
32656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32661 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32663 wxPyEndAllowThreads(__tstate
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32675 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32676 PyObject
*resultobj
;
32677 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32678 bool arg2
= (bool) True
;
32679 PyObject
* obj0
= 0 ;
32680 PyObject
* obj1
= 0 ;
32681 char *kwnames
[] = {
32682 (char *) "self",(char *) "check", NULL
32685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32689 arg2
= (bool) SWIG_AsBool(obj1
);
32690 if (PyErr_Occurred()) SWIG_fail
;
32693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32694 (arg1
)->Check(arg2
);
32696 wxPyEndAllowThreads(__tstate
);
32697 if (PyErr_Occurred()) SWIG_fail
;
32699 Py_INCREF(Py_None
); resultobj
= Py_None
;
32706 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32707 PyObject
*resultobj
;
32708 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32710 PyObject
* obj0
= 0 ;
32711 char *kwnames
[] = {
32712 (char *) "self", NULL
32715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32720 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32722 wxPyEndAllowThreads(__tstate
);
32723 if (PyErr_Occurred()) SWIG_fail
;
32726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32734 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32735 PyObject
*resultobj
;
32736 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32737 PyObject
* obj0
= 0 ;
32738 char *kwnames
[] = {
32739 (char *) "self", NULL
32742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32752 Py_INCREF(Py_None
); resultobj
= Py_None
;
32759 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32760 PyObject
*resultobj
;
32761 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32762 wxString
*arg2
= 0 ;
32763 bool temp2
= False
;
32764 PyObject
* obj0
= 0 ;
32765 PyObject
* obj1
= 0 ;
32766 char *kwnames
[] = {
32767 (char *) "self",(char *) "str", NULL
32770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32774 arg2
= wxString_in_helper(obj1
);
32775 if (arg2
== NULL
) SWIG_fail
;
32779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32780 (arg1
)->SetHelp((wxString
const &)*arg2
);
32782 wxPyEndAllowThreads(__tstate
);
32783 if (PyErr_Occurred()) SWIG_fail
;
32785 Py_INCREF(Py_None
); resultobj
= Py_None
;
32800 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32801 PyObject
*resultobj
;
32802 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32804 PyObject
* obj0
= 0 ;
32805 char *kwnames
[] = {
32806 (char *) "self", NULL
32809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32815 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32816 result
= (wxString
*) &_result_ref
;
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32824 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32826 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32835 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32836 PyObject
*resultobj
;
32837 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32838 wxAcceleratorEntry
*result
;
32839 PyObject
* obj0
= 0 ;
32840 char *kwnames
[] = {
32841 (char *) "self", NULL
32844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32849 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32851 wxPyEndAllowThreads(__tstate
);
32852 if (PyErr_Occurred()) SWIG_fail
;
32854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32861 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32862 PyObject
*resultobj
;
32863 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32864 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32865 PyObject
* obj0
= 0 ;
32866 PyObject
* obj1
= 0 ;
32867 char *kwnames
[] = {
32868 (char *) "self",(char *) "accel", NULL
32871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32878 (arg1
)->SetAccel(arg2
);
32880 wxPyEndAllowThreads(__tstate
);
32881 if (PyErr_Occurred()) SWIG_fail
;
32883 Py_INCREF(Py_None
); resultobj
= Py_None
;
32890 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32891 PyObject
*resultobj
;
32892 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32894 PyObject
* obj0
= 0 ;
32895 PyObject
* obj1
= 0 ;
32896 char *kwnames
[] = {
32897 (char *) "self",(char *) "font", NULL
32900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32906 if (arg2
== NULL
) {
32907 PyErr_SetString(PyExc_TypeError
,"null reference");
32911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32912 (arg1
)->SetFont((wxFont
const &)*arg2
);
32914 wxPyEndAllowThreads(__tstate
);
32915 if (PyErr_Occurred()) SWIG_fail
;
32917 Py_INCREF(Py_None
); resultobj
= Py_None
;
32924 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32925 PyObject
*resultobj
;
32926 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32928 PyObject
* obj0
= 0 ;
32929 char *kwnames
[] = {
32930 (char *) "self", NULL
32933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32938 result
= (arg1
)->GetFont();
32940 wxPyEndAllowThreads(__tstate
);
32941 if (PyErr_Occurred()) SWIG_fail
;
32944 wxFont
* resultptr
;
32945 resultptr
= new wxFont((wxFont
&) result
);
32946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32954 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32955 PyObject
*resultobj
;
32956 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32957 wxColour
*arg2
= 0 ;
32959 PyObject
* obj0
= 0 ;
32960 PyObject
* obj1
= 0 ;
32961 char *kwnames
[] = {
32962 (char *) "self",(char *) "colText", NULL
32965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32970 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32974 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32976 wxPyEndAllowThreads(__tstate
);
32977 if (PyErr_Occurred()) SWIG_fail
;
32979 Py_INCREF(Py_None
); resultobj
= Py_None
;
32986 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32987 PyObject
*resultobj
;
32988 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32990 PyObject
* obj0
= 0 ;
32991 char *kwnames
[] = {
32992 (char *) "self", NULL
32995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33000 result
= (arg1
)->GetTextColour();
33002 wxPyEndAllowThreads(__tstate
);
33003 if (PyErr_Occurred()) SWIG_fail
;
33006 wxColour
* resultptr
;
33007 resultptr
= new wxColour((wxColour
&) result
);
33008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33016 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33017 PyObject
*resultobj
;
33018 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33019 wxColour
*arg2
= 0 ;
33021 PyObject
* obj0
= 0 ;
33022 PyObject
* obj1
= 0 ;
33023 char *kwnames
[] = {
33024 (char *) "self",(char *) "colBack", NULL
33027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33036 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
33038 wxPyEndAllowThreads(__tstate
);
33039 if (PyErr_Occurred()) SWIG_fail
;
33041 Py_INCREF(Py_None
); resultobj
= Py_None
;
33048 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33049 PyObject
*resultobj
;
33050 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33052 PyObject
* obj0
= 0 ;
33053 char *kwnames
[] = {
33054 (char *) "self", NULL
33057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
33058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33062 result
= (arg1
)->GetBackgroundColour();
33064 wxPyEndAllowThreads(__tstate
);
33065 if (PyErr_Occurred()) SWIG_fail
;
33068 wxColour
* resultptr
;
33069 resultptr
= new wxColour((wxColour
&) result
);
33070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33078 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33079 PyObject
*resultobj
;
33080 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33081 wxBitmap
*arg2
= 0 ;
33082 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
33083 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
33084 PyObject
* obj0
= 0 ;
33085 PyObject
* obj1
= 0 ;
33086 PyObject
* obj2
= 0 ;
33087 char *kwnames
[] = {
33088 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33097 if (arg2
== NULL
) {
33098 PyErr_SetString(PyExc_TypeError
,"null reference");
33102 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33105 if (arg3
== NULL
) {
33106 PyErr_SetString(PyExc_TypeError
,"null reference");
33111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33112 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33114 wxPyEndAllowThreads(__tstate
);
33115 if (PyErr_Occurred()) SWIG_fail
;
33117 Py_INCREF(Py_None
); resultobj
= Py_None
;
33124 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33125 PyObject
*resultobj
;
33126 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33127 wxBitmap
*arg2
= 0 ;
33128 PyObject
* obj0
= 0 ;
33129 PyObject
* obj1
= 0 ;
33130 char *kwnames
[] = {
33131 (char *) "self",(char *) "bmpDisabled", NULL
33134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33140 if (arg2
== NULL
) {
33141 PyErr_SetString(PyExc_TypeError
,"null reference");
33145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33146 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33148 wxPyEndAllowThreads(__tstate
);
33149 if (PyErr_Occurred()) SWIG_fail
;
33151 Py_INCREF(Py_None
); resultobj
= Py_None
;
33158 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33159 PyObject
*resultobj
;
33160 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33162 PyObject
* obj0
= 0 ;
33163 char *kwnames
[] = {
33164 (char *) "self", NULL
33167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33173 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33174 result
= (wxBitmap
*) &_result_ref
;
33177 wxPyEndAllowThreads(__tstate
);
33178 if (PyErr_Occurred()) SWIG_fail
;
33181 wxBitmap
* resultptr
= new wxBitmap(*result
);
33182 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33190 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33191 PyObject
*resultobj
;
33192 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33194 PyObject
* obj0
= 0 ;
33195 PyObject
* obj1
= 0 ;
33196 char *kwnames
[] = {
33197 (char *) "self",(char *) "nWidth", NULL
33200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33203 arg2
= (int) SWIG_AsInt(obj1
);
33204 if (PyErr_Occurred()) SWIG_fail
;
33206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33207 (arg1
)->SetMarginWidth(arg2
);
33209 wxPyEndAllowThreads(__tstate
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33212 Py_INCREF(Py_None
); resultobj
= Py_None
;
33219 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33220 PyObject
*resultobj
;
33221 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33223 PyObject
* obj0
= 0 ;
33224 char *kwnames
[] = {
33225 (char *) "self", NULL
33228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33233 result
= (int)(arg1
)->GetMarginWidth();
33235 wxPyEndAllowThreads(__tstate
);
33236 if (PyErr_Occurred()) SWIG_fail
;
33238 resultobj
= SWIG_FromInt((int)result
);
33245 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33246 PyObject
*resultobj
;
33248 char *kwnames
[] = {
33252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33255 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33257 wxPyEndAllowThreads(__tstate
);
33258 if (PyErr_Occurred()) SWIG_fail
;
33260 resultobj
= SWIG_FromInt((int)result
);
33267 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33268 PyObject
*resultobj
;
33269 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33271 PyObject
* obj0
= 0 ;
33272 char *kwnames
[] = {
33273 (char *) "self", NULL
33276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33281 result
= (bool)(arg1
)->IsOwnerDrawn();
33283 wxPyEndAllowThreads(__tstate
);
33284 if (PyErr_Occurred()) SWIG_fail
;
33287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33295 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33296 PyObject
*resultobj
;
33297 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33298 bool arg2
= (bool) True
;
33299 PyObject
* obj0
= 0 ;
33300 PyObject
* obj1
= 0 ;
33301 char *kwnames
[] = {
33302 (char *) "self",(char *) "ownerDrawn", NULL
33305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
33306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33309 arg2
= (bool) SWIG_AsBool(obj1
);
33310 if (PyErr_Occurred()) SWIG_fail
;
33313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33314 (arg1
)->SetOwnerDrawn(arg2
);
33316 wxPyEndAllowThreads(__tstate
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33319 Py_INCREF(Py_None
); resultobj
= Py_None
;
33326 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33327 PyObject
*resultobj
;
33328 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33329 PyObject
* obj0
= 0 ;
33330 char *kwnames
[] = {
33331 (char *) "self", NULL
33334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33339 (arg1
)->ResetOwnerDrawn();
33341 wxPyEndAllowThreads(__tstate
);
33342 if (PyErr_Occurred()) SWIG_fail
;
33344 Py_INCREF(Py_None
); resultobj
= Py_None
;
33351 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33352 PyObject
*resultobj
;
33353 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33354 wxBitmap
*arg2
= 0 ;
33355 PyObject
* obj0
= 0 ;
33356 PyObject
* obj1
= 0 ;
33357 char *kwnames
[] = {
33358 (char *) "self",(char *) "bitmap", NULL
33361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33367 if (arg2
== NULL
) {
33368 PyErr_SetString(PyExc_TypeError
,"null reference");
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33375 wxPyEndAllowThreads(__tstate
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33378 Py_INCREF(Py_None
); resultobj
= Py_None
;
33385 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33386 PyObject
*resultobj
;
33387 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33389 PyObject
* obj0
= 0 ;
33390 char *kwnames
[] = {
33391 (char *) "self", NULL
33394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33400 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33401 result
= (wxBitmap
*) &_result_ref
;
33404 wxPyEndAllowThreads(__tstate
);
33405 if (PyErr_Occurred()) SWIG_fail
;
33408 wxBitmap
* resultptr
= new wxBitmap(*result
);
33409 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33417 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
33419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33420 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33422 return Py_BuildValue((char *)"");
33424 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
33425 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33430 static PyObject
*_wrap_ControlNameStr_get() {
33435 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33437 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33444 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33445 PyObject
*resultobj
;
33446 wxWindow
*arg1
= (wxWindow
*) 0 ;
33447 int arg2
= (int) -1 ;
33448 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33449 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33450 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33451 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33452 long arg5
= (long) 0 ;
33453 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33454 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33455 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33456 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33460 bool temp7
= False
;
33461 PyObject
* obj0
= 0 ;
33462 PyObject
* obj1
= 0 ;
33463 PyObject
* obj2
= 0 ;
33464 PyObject
* obj3
= 0 ;
33465 PyObject
* obj4
= 0 ;
33466 PyObject
* obj5
= 0 ;
33467 PyObject
* obj6
= 0 ;
33468 char *kwnames
[] = {
33469 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33476 arg2
= (int) SWIG_AsInt(obj1
);
33477 if (PyErr_Occurred()) SWIG_fail
;
33482 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33488 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33492 arg5
= (long) SWIG_AsLong(obj4
);
33493 if (PyErr_Occurred()) SWIG_fail
;
33496 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33499 if (arg6
== NULL
) {
33500 PyErr_SetString(PyExc_TypeError
,"null reference");
33506 arg7
= wxString_in_helper(obj6
);
33507 if (arg7
== NULL
) SWIG_fail
;
33512 if (!wxPyCheckForApp()) SWIG_fail
;
33513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33514 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33516 wxPyEndAllowThreads(__tstate
);
33517 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= wxPyMake_wxObject(result
, 1);
33536 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33537 PyObject
*resultobj
;
33539 char *kwnames
[] = {
33543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33545 if (!wxPyCheckForApp()) SWIG_fail
;
33546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33547 result
= (wxControl
*)new wxControl();
33549 wxPyEndAllowThreads(__tstate
);
33550 if (PyErr_Occurred()) SWIG_fail
;
33553 resultobj
= wxPyMake_wxObject(result
, 1);
33561 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33562 PyObject
*resultobj
;
33563 wxControl
*arg1
= (wxControl
*) 0 ;
33564 wxWindow
*arg2
= (wxWindow
*) 0 ;
33565 int arg3
= (int) -1 ;
33566 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33567 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33568 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33569 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33570 long arg6
= (long) 0 ;
33571 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33572 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33573 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33574 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33578 bool temp8
= False
;
33579 PyObject
* obj0
= 0 ;
33580 PyObject
* obj1
= 0 ;
33581 PyObject
* obj2
= 0 ;
33582 PyObject
* obj3
= 0 ;
33583 PyObject
* obj4
= 0 ;
33584 PyObject
* obj5
= 0 ;
33585 PyObject
* obj6
= 0 ;
33586 PyObject
* obj7
= 0 ;
33587 char *kwnames
[] = {
33588 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33597 arg3
= (int) SWIG_AsInt(obj2
);
33598 if (PyErr_Occurred()) SWIG_fail
;
33603 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33609 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33613 arg6
= (long) SWIG_AsLong(obj5
);
33614 if (PyErr_Occurred()) SWIG_fail
;
33617 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33620 if (arg7
== NULL
) {
33621 PyErr_SetString(PyExc_TypeError
,"null reference");
33627 arg8
= wxString_in_helper(obj7
);
33628 if (arg8
== NULL
) SWIG_fail
;
33633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33634 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33636 wxPyEndAllowThreads(__tstate
);
33637 if (PyErr_Occurred()) SWIG_fail
;
33640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33656 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33657 PyObject
*resultobj
;
33658 wxControl
*arg1
= (wxControl
*) 0 ;
33659 wxCommandEvent
*arg2
= 0 ;
33660 PyObject
* obj0
= 0 ;
33661 PyObject
* obj1
= 0 ;
33662 char *kwnames
[] = {
33663 (char *) "self",(char *) "event", NULL
33666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33672 if (arg2
== NULL
) {
33673 PyErr_SetString(PyExc_TypeError
,"null reference");
33677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33678 (arg1
)->Command(*arg2
);
33680 wxPyEndAllowThreads(__tstate
);
33681 if (PyErr_Occurred()) SWIG_fail
;
33683 Py_INCREF(Py_None
); resultobj
= Py_None
;
33690 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33691 PyObject
*resultobj
;
33692 wxControl
*arg1
= (wxControl
*) 0 ;
33694 PyObject
* obj0
= 0 ;
33695 char *kwnames
[] = {
33696 (char *) "self", NULL
33699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33704 result
= (arg1
)->GetLabel();
33706 wxPyEndAllowThreads(__tstate
);
33707 if (PyErr_Occurred()) SWIG_fail
;
33711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33722 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33723 PyObject
*resultobj
;
33724 wxControl
*arg1
= (wxControl
*) 0 ;
33725 wxString
*arg2
= 0 ;
33726 bool temp2
= False
;
33727 PyObject
* obj0
= 0 ;
33728 PyObject
* obj1
= 0 ;
33729 char *kwnames
[] = {
33730 (char *) "self",(char *) "label", NULL
33733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33737 arg2
= wxString_in_helper(obj1
);
33738 if (arg2
== NULL
) SWIG_fail
;
33742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33743 (arg1
)->SetLabel((wxString
const &)*arg2
);
33745 wxPyEndAllowThreads(__tstate
);
33746 if (PyErr_Occurred()) SWIG_fail
;
33748 Py_INCREF(Py_None
); resultobj
= Py_None
;
33763 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33764 PyObject
*resultobj
;
33765 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33766 wxVisualAttributes result
;
33767 PyObject
* obj0
= 0 ;
33768 char *kwnames
[] = {
33769 (char *) "variant", NULL
33772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33774 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33775 if (PyErr_Occurred()) SWIG_fail
;
33778 if (!wxPyCheckForApp()) SWIG_fail
;
33779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33780 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33782 wxPyEndAllowThreads(__tstate
);
33783 if (PyErr_Occurred()) SWIG_fail
;
33786 wxVisualAttributes
* resultptr
;
33787 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33796 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33799 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33801 return Py_BuildValue((char *)"");
33803 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33804 PyObject
*resultobj
;
33805 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33806 wxString
*arg2
= 0 ;
33807 PyObject
*arg3
= (PyObject
*) NULL
;
33809 bool temp2
= False
;
33810 PyObject
* obj0
= 0 ;
33811 PyObject
* obj1
= 0 ;
33812 PyObject
* obj2
= 0 ;
33813 char *kwnames
[] = {
33814 (char *) "self",(char *) "item",(char *) "clientData", NULL
33817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33821 arg2
= wxString_in_helper(obj1
);
33822 if (arg2
== NULL
) SWIG_fail
;
33829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33830 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33832 wxPyEndAllowThreads(__tstate
);
33833 if (PyErr_Occurred()) SWIG_fail
;
33835 resultobj
= SWIG_FromInt((int)result
);
33850 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33851 PyObject
*resultobj
;
33852 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33853 wxArrayString
*arg2
= 0 ;
33854 bool temp2
= False
;
33855 PyObject
* obj0
= 0 ;
33856 PyObject
* obj1
= 0 ;
33857 char *kwnames
[] = {
33858 (char *) "self",(char *) "strings", NULL
33861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33865 if (! PySequence_Check(obj1
)) {
33866 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33869 arg2
= new wxArrayString
;
33871 int i
, len
=PySequence_Length(obj1
);
33872 for (i
=0; i
<len
; i
++) {
33873 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33875 PyObject
* str
= PyObject_Unicode(item
);
33877 PyObject
* str
= PyObject_Str(item
);
33879 if (PyErr_Occurred()) SWIG_fail
;
33880 arg2
->Add(Py2wxString(str
));
33886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33887 (arg1
)->Append((wxArrayString
const &)*arg2
);
33889 wxPyEndAllowThreads(__tstate
);
33890 if (PyErr_Occurred()) SWIG_fail
;
33892 Py_INCREF(Py_None
); resultobj
= Py_None
;
33894 if (temp2
) delete arg2
;
33899 if (temp2
) delete arg2
;
33905 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33906 PyObject
*resultobj
;
33907 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33908 wxString
*arg2
= 0 ;
33910 PyObject
*arg4
= (PyObject
*) NULL
;
33912 bool temp2
= False
;
33913 PyObject
* obj0
= 0 ;
33914 PyObject
* obj1
= 0 ;
33915 PyObject
* obj2
= 0 ;
33916 PyObject
* obj3
= 0 ;
33917 char *kwnames
[] = {
33918 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33925 arg2
= wxString_in_helper(obj1
);
33926 if (arg2
== NULL
) SWIG_fail
;
33929 arg3
= (int) SWIG_AsInt(obj2
);
33930 if (PyErr_Occurred()) SWIG_fail
;
33935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33936 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33938 wxPyEndAllowThreads(__tstate
);
33939 if (PyErr_Occurred()) SWIG_fail
;
33941 resultobj
= SWIG_FromInt((int)result
);
33956 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33957 PyObject
*resultobj
;
33958 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33959 PyObject
* obj0
= 0 ;
33960 char *kwnames
[] = {
33961 (char *) "self", NULL
33964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33971 wxPyEndAllowThreads(__tstate
);
33972 if (PyErr_Occurred()) SWIG_fail
;
33974 Py_INCREF(Py_None
); resultobj
= Py_None
;
33981 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33982 PyObject
*resultobj
;
33983 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33985 PyObject
* obj0
= 0 ;
33986 PyObject
* obj1
= 0 ;
33987 char *kwnames
[] = {
33988 (char *) "self",(char *) "n", NULL
33991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33994 arg2
= (int) SWIG_AsInt(obj1
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33998 (arg1
)->Delete(arg2
);
34000 wxPyEndAllowThreads(__tstate
);
34001 if (PyErr_Occurred()) SWIG_fail
;
34003 Py_INCREF(Py_None
); resultobj
= Py_None
;
34010 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34011 PyObject
*resultobj
;
34012 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34014 PyObject
* obj0
= 0 ;
34015 char *kwnames
[] = {
34016 (char *) "self", NULL
34019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34024 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34026 wxPyEndAllowThreads(__tstate
);
34027 if (PyErr_Occurred()) SWIG_fail
;
34029 resultobj
= SWIG_FromInt((int)result
);
34036 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34037 PyObject
*resultobj
;
34038 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34040 PyObject
* obj0
= 0 ;
34041 char *kwnames
[] = {
34042 (char *) "self", NULL
34045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34050 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34052 wxPyEndAllowThreads(__tstate
);
34053 if (PyErr_Occurred()) SWIG_fail
;
34056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34064 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34065 PyObject
*resultobj
;
34066 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34069 PyObject
* obj0
= 0 ;
34070 PyObject
* obj1
= 0 ;
34071 char *kwnames
[] = {
34072 (char *) "self",(char *) "n", NULL
34075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34078 arg2
= (int) SWIG_AsInt(obj1
);
34079 if (PyErr_Occurred()) SWIG_fail
;
34081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34082 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34084 wxPyEndAllowThreads(__tstate
);
34085 if (PyErr_Occurred()) SWIG_fail
;
34089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34100 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34101 PyObject
*resultobj
;
34102 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34103 wxArrayString result
;
34104 PyObject
* obj0
= 0 ;
34105 char *kwnames
[] = {
34106 (char *) "self", NULL
34109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34114 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34116 wxPyEndAllowThreads(__tstate
);
34117 if (PyErr_Occurred()) SWIG_fail
;
34120 resultobj
= wxArrayString2PyList_helper(result
);
34128 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34129 PyObject
*resultobj
;
34130 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34132 wxString
*arg3
= 0 ;
34133 bool temp3
= False
;
34134 PyObject
* obj0
= 0 ;
34135 PyObject
* obj1
= 0 ;
34136 PyObject
* obj2
= 0 ;
34137 char *kwnames
[] = {
34138 (char *) "self",(char *) "n",(char *) "s", NULL
34141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34144 arg2
= (int) SWIG_AsInt(obj1
);
34145 if (PyErr_Occurred()) SWIG_fail
;
34147 arg3
= wxString_in_helper(obj2
);
34148 if (arg3
== NULL
) SWIG_fail
;
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34155 wxPyEndAllowThreads(__tstate
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34158 Py_INCREF(Py_None
); resultobj
= Py_None
;
34173 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34174 PyObject
*resultobj
;
34175 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34176 wxString
*arg2
= 0 ;
34178 bool temp2
= False
;
34179 PyObject
* obj0
= 0 ;
34180 PyObject
* obj1
= 0 ;
34181 char *kwnames
[] = {
34182 (char *) "self",(char *) "s", NULL
34185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34189 arg2
= wxString_in_helper(obj1
);
34190 if (arg2
== NULL
) SWIG_fail
;
34194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34195 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34197 wxPyEndAllowThreads(__tstate
);
34198 if (PyErr_Occurred()) SWIG_fail
;
34200 resultobj
= SWIG_FromInt((int)result
);
34215 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34216 PyObject
*resultobj
;
34217 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34219 PyObject
* obj0
= 0 ;
34220 PyObject
* obj1
= 0 ;
34221 char *kwnames
[] = {
34222 (char *) "self",(char *) "n", NULL
34225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34228 arg2
= (int) SWIG_AsInt(obj1
);
34229 if (PyErr_Occurred()) SWIG_fail
;
34231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34232 (arg1
)->Select(arg2
);
34234 wxPyEndAllowThreads(__tstate
);
34235 if (PyErr_Occurred()) SWIG_fail
;
34237 Py_INCREF(Py_None
); resultobj
= Py_None
;
34244 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34245 PyObject
*resultobj
;
34246 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34248 PyObject
* obj0
= 0 ;
34249 char *kwnames
[] = {
34250 (char *) "self", NULL
34253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34258 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34260 wxPyEndAllowThreads(__tstate
);
34261 if (PyErr_Occurred()) SWIG_fail
;
34263 resultobj
= SWIG_FromInt((int)result
);
34270 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34271 PyObject
*resultobj
;
34272 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34274 PyObject
* obj0
= 0 ;
34275 char *kwnames
[] = {
34276 (char *) "self", NULL
34279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34284 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34286 wxPyEndAllowThreads(__tstate
);
34287 if (PyErr_Occurred()) SWIG_fail
;
34291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34302 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34303 PyObject
*resultobj
;
34304 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34307 PyObject
* obj0
= 0 ;
34308 PyObject
* obj1
= 0 ;
34309 char *kwnames
[] = {
34310 (char *) "self",(char *) "n", NULL
34313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34316 arg2
= (int) SWIG_AsInt(obj1
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34320 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34322 wxPyEndAllowThreads(__tstate
);
34323 if (PyErr_Occurred()) SWIG_fail
;
34325 resultobj
= result
;
34332 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34333 PyObject
*resultobj
;
34334 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34336 PyObject
*arg3
= (PyObject
*) 0 ;
34337 PyObject
* obj0
= 0 ;
34338 PyObject
* obj1
= 0 ;
34339 PyObject
* obj2
= 0 ;
34340 char *kwnames
[] = {
34341 (char *) "self",(char *) "n",(char *) "clientData", NULL
34344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34347 arg2
= (int) SWIG_AsInt(obj1
);
34348 if (PyErr_Occurred()) SWIG_fail
;
34351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34352 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34354 wxPyEndAllowThreads(__tstate
);
34355 if (PyErr_Occurred()) SWIG_fail
;
34357 Py_INCREF(Py_None
); resultobj
= Py_None
;
34364 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
34366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34367 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34369 return Py_BuildValue((char *)"");
34371 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
34373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34374 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34376 return Py_BuildValue((char *)"");
34378 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34379 PyObject
*resultobj
;
34380 wxSizerItem
*result
;
34381 char *kwnames
[] = {
34385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34388 result
= (wxSizerItem
*)new wxSizerItem();
34390 wxPyEndAllowThreads(__tstate
);
34391 if (PyErr_Occurred()) SWIG_fail
;
34393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34400 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34401 PyObject
*resultobj
;
34402 wxWindow
*arg1
= (wxWindow
*) 0 ;
34406 PyObject
*arg5
= (PyObject
*) NULL
;
34407 wxSizerItem
*result
;
34408 PyObject
* obj0
= 0 ;
34409 PyObject
* obj1
= 0 ;
34410 PyObject
* obj2
= 0 ;
34411 PyObject
* obj3
= 0 ;
34412 PyObject
* obj4
= 0 ;
34413 char *kwnames
[] = {
34414 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34420 arg2
= (int) SWIG_AsInt(obj1
);
34421 if (PyErr_Occurred()) SWIG_fail
;
34422 arg3
= (int) SWIG_AsInt(obj2
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34424 arg4
= (int) SWIG_AsInt(obj3
);
34425 if (PyErr_Occurred()) SWIG_fail
;
34430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34431 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34433 wxPyEndAllowThreads(__tstate
);
34434 if (PyErr_Occurred()) SWIG_fail
;
34436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34443 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34444 PyObject
*resultobj
;
34450 PyObject
*arg6
= (PyObject
*) NULL
;
34451 wxSizerItem
*result
;
34452 PyObject
* obj0
= 0 ;
34453 PyObject
* obj1
= 0 ;
34454 PyObject
* obj2
= 0 ;
34455 PyObject
* obj3
= 0 ;
34456 PyObject
* obj4
= 0 ;
34457 PyObject
* obj5
= 0 ;
34458 char *kwnames
[] = {
34459 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34463 arg1
= (int) SWIG_AsInt(obj0
);
34464 if (PyErr_Occurred()) SWIG_fail
;
34465 arg2
= (int) SWIG_AsInt(obj1
);
34466 if (PyErr_Occurred()) SWIG_fail
;
34467 arg3
= (int) SWIG_AsInt(obj2
);
34468 if (PyErr_Occurred()) SWIG_fail
;
34469 arg4
= (int) SWIG_AsInt(obj3
);
34470 if (PyErr_Occurred()) SWIG_fail
;
34471 arg5
= (int) SWIG_AsInt(obj4
);
34472 if (PyErr_Occurred()) SWIG_fail
;
34477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34478 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34480 wxPyEndAllowThreads(__tstate
);
34481 if (PyErr_Occurred()) SWIG_fail
;
34483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34490 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34491 PyObject
*resultobj
;
34492 wxSizer
*arg1
= (wxSizer
*) 0 ;
34496 PyObject
*arg5
= (PyObject
*) NULL
;
34497 wxSizerItem
*result
;
34498 PyObject
* obj0
= 0 ;
34499 PyObject
* obj1
= 0 ;
34500 PyObject
* obj2
= 0 ;
34501 PyObject
* obj3
= 0 ;
34502 PyObject
* obj4
= 0 ;
34503 char *kwnames
[] = {
34504 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34510 arg2
= (int) SWIG_AsInt(obj1
);
34511 if (PyErr_Occurred()) SWIG_fail
;
34512 arg3
= (int) SWIG_AsInt(obj2
);
34513 if (PyErr_Occurred()) SWIG_fail
;
34514 arg4
= (int) SWIG_AsInt(obj3
);
34515 if (PyErr_Occurred()) SWIG_fail
;
34520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34521 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34523 wxPyEndAllowThreads(__tstate
);
34524 if (PyErr_Occurred()) SWIG_fail
;
34526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34533 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34534 PyObject
*resultobj
;
34535 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34536 PyObject
* obj0
= 0 ;
34537 char *kwnames
[] = {
34538 (char *) "self", NULL
34541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34546 (arg1
)->DeleteWindows();
34548 wxPyEndAllowThreads(__tstate
);
34549 if (PyErr_Occurred()) SWIG_fail
;
34551 Py_INCREF(Py_None
); resultobj
= Py_None
;
34558 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34559 PyObject
*resultobj
;
34560 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34561 PyObject
* obj0
= 0 ;
34562 char *kwnames
[] = {
34563 (char *) "self", NULL
34566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34571 (arg1
)->DetachSizer();
34573 wxPyEndAllowThreads(__tstate
);
34574 if (PyErr_Occurred()) SWIG_fail
;
34576 Py_INCREF(Py_None
); resultobj
= Py_None
;
34583 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34584 PyObject
*resultobj
;
34585 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34587 PyObject
* obj0
= 0 ;
34588 char *kwnames
[] = {
34589 (char *) "self", NULL
34592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34597 result
= (arg1
)->GetSize();
34599 wxPyEndAllowThreads(__tstate
);
34600 if (PyErr_Occurred()) SWIG_fail
;
34603 wxSize
* resultptr
;
34604 resultptr
= new wxSize((wxSize
&) result
);
34605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34613 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34614 PyObject
*resultobj
;
34615 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34617 PyObject
* obj0
= 0 ;
34618 char *kwnames
[] = {
34619 (char *) "self", NULL
34622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34627 result
= (arg1
)->CalcMin();
34629 wxPyEndAllowThreads(__tstate
);
34630 if (PyErr_Occurred()) SWIG_fail
;
34633 wxSize
* resultptr
;
34634 resultptr
= new wxSize((wxSize
&) result
);
34635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34643 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34644 PyObject
*resultobj
;
34645 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34650 PyObject
* obj0
= 0 ;
34651 PyObject
* obj1
= 0 ;
34652 PyObject
* obj2
= 0 ;
34653 char *kwnames
[] = {
34654 (char *) "self",(char *) "pos",(char *) "size", NULL
34657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34660 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34661 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34663 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34664 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34668 (arg1
)->SetDimension(arg2
,arg3
);
34670 wxPyEndAllowThreads(__tstate
);
34671 if (PyErr_Occurred()) SWIG_fail
;
34673 Py_INCREF(Py_None
); resultobj
= Py_None
;
34680 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34681 PyObject
*resultobj
;
34682 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34684 PyObject
* obj0
= 0 ;
34685 char *kwnames
[] = {
34686 (char *) "self", NULL
34689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34694 result
= (arg1
)->GetMinSize();
34696 wxPyEndAllowThreads(__tstate
);
34697 if (PyErr_Occurred()) SWIG_fail
;
34700 wxSize
* resultptr
;
34701 resultptr
= new wxSize((wxSize
&) result
);
34702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34710 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34711 PyObject
*resultobj
;
34712 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34714 PyObject
* obj0
= 0 ;
34715 char *kwnames
[] = {
34716 (char *) "self", NULL
34719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34724 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34726 wxPyEndAllowThreads(__tstate
);
34727 if (PyErr_Occurred()) SWIG_fail
;
34730 wxSize
* resultptr
;
34731 resultptr
= new wxSize((wxSize
&) result
);
34732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34740 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34741 PyObject
*resultobj
;
34742 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34745 PyObject
* obj0
= 0 ;
34746 PyObject
* obj1
= 0 ;
34747 PyObject
* obj2
= 0 ;
34748 char *kwnames
[] = {
34749 (char *) "self",(char *) "x",(char *) "y", NULL
34752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34755 arg2
= (int) SWIG_AsInt(obj1
);
34756 if (PyErr_Occurred()) SWIG_fail
;
34757 arg3
= (int) SWIG_AsInt(obj2
);
34758 if (PyErr_Occurred()) SWIG_fail
;
34760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34761 (arg1
)->SetInitSize(arg2
,arg3
);
34763 wxPyEndAllowThreads(__tstate
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34766 Py_INCREF(Py_None
); resultobj
= Py_None
;
34773 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34774 PyObject
*resultobj
;
34775 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34778 PyObject
* obj0
= 0 ;
34779 PyObject
* obj1
= 0 ;
34780 PyObject
* obj2
= 0 ;
34781 char *kwnames
[] = {
34782 (char *) "self",(char *) "width",(char *) "height", NULL
34785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34788 arg2
= (int) SWIG_AsInt(obj1
);
34789 if (PyErr_Occurred()) SWIG_fail
;
34790 arg3
= (int) SWIG_AsInt(obj2
);
34791 if (PyErr_Occurred()) SWIG_fail
;
34793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34794 (arg1
)->SetRatio(arg2
,arg3
);
34796 wxPyEndAllowThreads(__tstate
);
34797 if (PyErr_Occurred()) SWIG_fail
;
34799 Py_INCREF(Py_None
); resultobj
= Py_None
;
34806 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34807 PyObject
*resultobj
;
34808 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34811 PyObject
* obj0
= 0 ;
34812 PyObject
* obj1
= 0 ;
34813 char *kwnames
[] = {
34814 (char *) "self",(char *) "size", NULL
34817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34820 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34821 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34825 (arg1
)->SetRatio(arg2
);
34827 wxPyEndAllowThreads(__tstate
);
34828 if (PyErr_Occurred()) SWIG_fail
;
34830 Py_INCREF(Py_None
); resultobj
= Py_None
;
34837 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34838 PyObject
*resultobj
;
34839 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34841 PyObject
* obj0
= 0 ;
34842 PyObject
* obj1
= 0 ;
34843 char *kwnames
[] = {
34844 (char *) "self",(char *) "ratio", NULL
34847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34850 arg2
= (float) SWIG_AsFloat(obj1
);
34851 if (PyErr_Occurred()) SWIG_fail
;
34853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34854 (arg1
)->SetRatio(arg2
);
34856 wxPyEndAllowThreads(__tstate
);
34857 if (PyErr_Occurred()) SWIG_fail
;
34859 Py_INCREF(Py_None
); resultobj
= Py_None
;
34866 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34867 PyObject
*resultobj
;
34868 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34870 PyObject
* obj0
= 0 ;
34871 char *kwnames
[] = {
34872 (char *) "self", NULL
34875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34880 result
= (float)(arg1
)->GetRatio();
34882 wxPyEndAllowThreads(__tstate
);
34883 if (PyErr_Occurred()) SWIG_fail
;
34885 resultobj
= SWIG_FromFloat((float)result
);
34892 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34893 PyObject
*resultobj
;
34894 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34896 PyObject
* obj0
= 0 ;
34897 char *kwnames
[] = {
34898 (char *) "self", NULL
34901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34906 result
= (bool)(arg1
)->IsWindow();
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34920 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34921 PyObject
*resultobj
;
34922 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34924 PyObject
* obj0
= 0 ;
34925 char *kwnames
[] = {
34926 (char *) "self", NULL
34929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34934 result
= (bool)(arg1
)->IsSizer();
34936 wxPyEndAllowThreads(__tstate
);
34937 if (PyErr_Occurred()) SWIG_fail
;
34940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34948 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34949 PyObject
*resultobj
;
34950 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34952 PyObject
* obj0
= 0 ;
34953 char *kwnames
[] = {
34954 (char *) "self", NULL
34957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34962 result
= (bool)(arg1
)->IsSpacer();
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34976 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34977 PyObject
*resultobj
;
34978 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34980 PyObject
* obj0
= 0 ;
34981 PyObject
* obj1
= 0 ;
34982 char *kwnames
[] = {
34983 (char *) "self",(char *) "proportion", NULL
34986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34989 arg2
= (int) SWIG_AsInt(obj1
);
34990 if (PyErr_Occurred()) SWIG_fail
;
34992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34993 (arg1
)->SetProportion(arg2
);
34995 wxPyEndAllowThreads(__tstate
);
34996 if (PyErr_Occurred()) SWIG_fail
;
34998 Py_INCREF(Py_None
); resultobj
= Py_None
;
35005 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35006 PyObject
*resultobj
;
35007 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35009 PyObject
* obj0
= 0 ;
35010 char *kwnames
[] = {
35011 (char *) "self", NULL
35014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35019 result
= (int)(arg1
)->GetProportion();
35021 wxPyEndAllowThreads(__tstate
);
35022 if (PyErr_Occurred()) SWIG_fail
;
35024 resultobj
= SWIG_FromInt((int)result
);
35031 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35032 PyObject
*resultobj
;
35033 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35035 PyObject
* obj0
= 0 ;
35036 PyObject
* obj1
= 0 ;
35037 char *kwnames
[] = {
35038 (char *) "self",(char *) "flag", NULL
35041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35044 arg2
= (int) SWIG_AsInt(obj1
);
35045 if (PyErr_Occurred()) SWIG_fail
;
35047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35048 (arg1
)->SetFlag(arg2
);
35050 wxPyEndAllowThreads(__tstate
);
35051 if (PyErr_Occurred()) SWIG_fail
;
35053 Py_INCREF(Py_None
); resultobj
= Py_None
;
35060 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35061 PyObject
*resultobj
;
35062 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35064 PyObject
* obj0
= 0 ;
35065 char *kwnames
[] = {
35066 (char *) "self", NULL
35069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35074 result
= (int)(arg1
)->GetFlag();
35076 wxPyEndAllowThreads(__tstate
);
35077 if (PyErr_Occurred()) SWIG_fail
;
35079 resultobj
= SWIG_FromInt((int)result
);
35086 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35087 PyObject
*resultobj
;
35088 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35090 PyObject
* obj0
= 0 ;
35091 PyObject
* obj1
= 0 ;
35092 char *kwnames
[] = {
35093 (char *) "self",(char *) "border", NULL
35096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35099 arg2
= (int) SWIG_AsInt(obj1
);
35100 if (PyErr_Occurred()) SWIG_fail
;
35102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35103 (arg1
)->SetBorder(arg2
);
35105 wxPyEndAllowThreads(__tstate
);
35106 if (PyErr_Occurred()) SWIG_fail
;
35108 Py_INCREF(Py_None
); resultobj
= Py_None
;
35115 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35116 PyObject
*resultobj
;
35117 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35119 PyObject
* obj0
= 0 ;
35120 char *kwnames
[] = {
35121 (char *) "self", NULL
35124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35129 result
= (int)(arg1
)->GetBorder();
35131 wxPyEndAllowThreads(__tstate
);
35132 if (PyErr_Occurred()) SWIG_fail
;
35134 resultobj
= SWIG_FromInt((int)result
);
35141 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35142 PyObject
*resultobj
;
35143 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35145 PyObject
* obj0
= 0 ;
35146 char *kwnames
[] = {
35147 (char *) "self", NULL
35150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35155 result
= (wxWindow
*)(arg1
)->GetWindow();
35157 wxPyEndAllowThreads(__tstate
);
35158 if (PyErr_Occurred()) SWIG_fail
;
35161 resultobj
= wxPyMake_wxObject(result
, 0);
35169 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35170 PyObject
*resultobj
;
35171 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35172 wxWindow
*arg2
= (wxWindow
*) 0 ;
35173 PyObject
* obj0
= 0 ;
35174 PyObject
* obj1
= 0 ;
35175 char *kwnames
[] = {
35176 (char *) "self",(char *) "window", NULL
35179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35186 (arg1
)->SetWindow(arg2
);
35188 wxPyEndAllowThreads(__tstate
);
35189 if (PyErr_Occurred()) SWIG_fail
;
35191 Py_INCREF(Py_None
); resultobj
= Py_None
;
35198 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35199 PyObject
*resultobj
;
35200 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35202 PyObject
* obj0
= 0 ;
35203 char *kwnames
[] = {
35204 (char *) "self", NULL
35207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35212 result
= (wxSizer
*)(arg1
)->GetSizer();
35214 wxPyEndAllowThreads(__tstate
);
35215 if (PyErr_Occurred()) SWIG_fail
;
35218 resultobj
= wxPyMake_wxSizer(result
, 0);
35226 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35227 PyObject
*resultobj
;
35228 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35229 wxSizer
*arg2
= (wxSizer
*) 0 ;
35230 PyObject
* obj0
= 0 ;
35231 PyObject
* obj1
= 0 ;
35232 char *kwnames
[] = {
35233 (char *) "self",(char *) "sizer", NULL
35236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35243 (arg1
)->SetSizer(arg2
);
35245 wxPyEndAllowThreads(__tstate
);
35246 if (PyErr_Occurred()) SWIG_fail
;
35248 Py_INCREF(Py_None
); resultobj
= Py_None
;
35255 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35256 PyObject
*resultobj
;
35257 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35259 PyObject
* obj0
= 0 ;
35260 char *kwnames
[] = {
35261 (char *) "self", NULL
35264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35270 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35271 result
= (wxSize
*) &_result_ref
;
35274 wxPyEndAllowThreads(__tstate
);
35275 if (PyErr_Occurred()) SWIG_fail
;
35277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35284 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35285 PyObject
*resultobj
;
35286 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35289 PyObject
* obj0
= 0 ;
35290 PyObject
* obj1
= 0 ;
35291 char *kwnames
[] = {
35292 (char *) "self",(char *) "size", NULL
35295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35300 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35304 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35306 wxPyEndAllowThreads(__tstate
);
35307 if (PyErr_Occurred()) SWIG_fail
;
35309 Py_INCREF(Py_None
); resultobj
= Py_None
;
35316 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35317 PyObject
*resultobj
;
35318 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35320 PyObject
* obj0
= 0 ;
35321 PyObject
* obj1
= 0 ;
35322 char *kwnames
[] = {
35323 (char *) "self",(char *) "show", NULL
35326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35329 arg2
= (bool) SWIG_AsBool(obj1
);
35330 if (PyErr_Occurred()) SWIG_fail
;
35332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35333 (arg1
)->Show(arg2
);
35335 wxPyEndAllowThreads(__tstate
);
35336 if (PyErr_Occurred()) SWIG_fail
;
35338 Py_INCREF(Py_None
); resultobj
= Py_None
;
35345 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35346 PyObject
*resultobj
;
35347 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35349 PyObject
* obj0
= 0 ;
35350 char *kwnames
[] = {
35351 (char *) "self", NULL
35354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35359 result
= (bool)(arg1
)->IsShown();
35361 wxPyEndAllowThreads(__tstate
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35373 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35374 PyObject
*resultobj
;
35375 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35377 PyObject
* obj0
= 0 ;
35378 char *kwnames
[] = {
35379 (char *) "self", NULL
35382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35387 result
= (arg1
)->GetPosition();
35389 wxPyEndAllowThreads(__tstate
);
35390 if (PyErr_Occurred()) SWIG_fail
;
35393 wxPoint
* resultptr
;
35394 resultptr
= new wxPoint((wxPoint
&) result
);
35395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35403 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35404 PyObject
*resultobj
;
35405 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35407 PyObject
* obj0
= 0 ;
35408 char *kwnames
[] = {
35409 (char *) "self", NULL
35412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35417 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35419 wxPyEndAllowThreads(__tstate
);
35420 if (PyErr_Occurred()) SWIG_fail
;
35422 resultobj
= result
;
35429 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35432 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35434 return Py_BuildValue((char *)"");
35436 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35437 PyObject
*resultobj
;
35438 wxSizer
*arg1
= (wxSizer
*) 0 ;
35439 PyObject
*arg2
= (PyObject
*) 0 ;
35440 PyObject
* obj0
= 0 ;
35441 PyObject
* obj1
= 0 ;
35442 char *kwnames
[] = {
35443 (char *) "self",(char *) "_self", NULL
35446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35452 wxSizer__setOORInfo(arg1
,arg2
);
35454 wxPyEndAllowThreads(__tstate
);
35455 if (PyErr_Occurred()) SWIG_fail
;
35457 Py_INCREF(Py_None
); resultobj
= Py_None
;
35464 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35465 PyObject
*resultobj
;
35466 wxSizer
*arg1
= (wxSizer
*) 0 ;
35467 PyObject
*arg2
= (PyObject
*) 0 ;
35468 int arg3
= (int) 0 ;
35469 int arg4
= (int) 0 ;
35470 int arg5
= (int) 0 ;
35471 PyObject
*arg6
= (PyObject
*) NULL
;
35472 PyObject
* obj0
= 0 ;
35473 PyObject
* obj1
= 0 ;
35474 PyObject
* obj2
= 0 ;
35475 PyObject
* obj3
= 0 ;
35476 PyObject
* obj4
= 0 ;
35477 PyObject
* obj5
= 0 ;
35478 char *kwnames
[] = {
35479 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35487 arg3
= (int) SWIG_AsInt(obj2
);
35488 if (PyErr_Occurred()) SWIG_fail
;
35491 arg4
= (int) SWIG_AsInt(obj3
);
35492 if (PyErr_Occurred()) SWIG_fail
;
35495 arg5
= (int) SWIG_AsInt(obj4
);
35496 if (PyErr_Occurred()) SWIG_fail
;
35502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35503 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35505 wxPyEndAllowThreads(__tstate
);
35506 if (PyErr_Occurred()) SWIG_fail
;
35508 Py_INCREF(Py_None
); resultobj
= Py_None
;
35515 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35516 PyObject
*resultobj
;
35517 wxSizer
*arg1
= (wxSizer
*) 0 ;
35519 PyObject
*arg3
= (PyObject
*) 0 ;
35520 int arg4
= (int) 0 ;
35521 int arg5
= (int) 0 ;
35522 int arg6
= (int) 0 ;
35523 PyObject
*arg7
= (PyObject
*) NULL
;
35524 PyObject
* obj0
= 0 ;
35525 PyObject
* obj1
= 0 ;
35526 PyObject
* obj2
= 0 ;
35527 PyObject
* obj3
= 0 ;
35528 PyObject
* obj4
= 0 ;
35529 PyObject
* obj5
= 0 ;
35530 PyObject
* obj6
= 0 ;
35531 char *kwnames
[] = {
35532 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35538 arg2
= (int) SWIG_AsInt(obj1
);
35539 if (PyErr_Occurred()) SWIG_fail
;
35542 arg4
= (int) SWIG_AsInt(obj3
);
35543 if (PyErr_Occurred()) SWIG_fail
;
35546 arg5
= (int) SWIG_AsInt(obj4
);
35547 if (PyErr_Occurred()) SWIG_fail
;
35550 arg6
= (int) SWIG_AsInt(obj5
);
35551 if (PyErr_Occurred()) SWIG_fail
;
35557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35558 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35560 wxPyEndAllowThreads(__tstate
);
35561 if (PyErr_Occurred()) SWIG_fail
;
35563 Py_INCREF(Py_None
); resultobj
= Py_None
;
35570 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35571 PyObject
*resultobj
;
35572 wxSizer
*arg1
= (wxSizer
*) 0 ;
35573 PyObject
*arg2
= (PyObject
*) 0 ;
35574 int arg3
= (int) 0 ;
35575 int arg4
= (int) 0 ;
35576 int arg5
= (int) 0 ;
35577 PyObject
*arg6
= (PyObject
*) NULL
;
35578 PyObject
* obj0
= 0 ;
35579 PyObject
* obj1
= 0 ;
35580 PyObject
* obj2
= 0 ;
35581 PyObject
* obj3
= 0 ;
35582 PyObject
* obj4
= 0 ;
35583 PyObject
* obj5
= 0 ;
35584 char *kwnames
[] = {
35585 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35593 arg3
= (int) SWIG_AsInt(obj2
);
35594 if (PyErr_Occurred()) SWIG_fail
;
35597 arg4
= (int) SWIG_AsInt(obj3
);
35598 if (PyErr_Occurred()) SWIG_fail
;
35601 arg5
= (int) SWIG_AsInt(obj4
);
35602 if (PyErr_Occurred()) SWIG_fail
;
35608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35609 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35611 wxPyEndAllowThreads(__tstate
);
35612 if (PyErr_Occurred()) SWIG_fail
;
35614 Py_INCREF(Py_None
); resultobj
= Py_None
;
35621 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35622 PyObject
*resultobj
;
35623 wxSizer
*arg1
= (wxSizer
*) 0 ;
35624 PyObject
*arg2
= (PyObject
*) 0 ;
35626 PyObject
* obj0
= 0 ;
35627 PyObject
* obj1
= 0 ;
35628 char *kwnames
[] = {
35629 (char *) "self",(char *) "item", NULL
35632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35638 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35640 wxPyEndAllowThreads(__tstate
);
35641 if (PyErr_Occurred()) SWIG_fail
;
35644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35652 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35653 PyObject
*resultobj
;
35654 wxSizer
*arg1
= (wxSizer
*) 0 ;
35655 PyObject
*arg2
= (PyObject
*) 0 ;
35657 PyObject
* obj0
= 0 ;
35658 PyObject
* obj1
= 0 ;
35659 char *kwnames
[] = {
35660 (char *) "self",(char *) "item", NULL
35663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35669 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35671 wxPyEndAllowThreads(__tstate
);
35672 if (PyErr_Occurred()) SWIG_fail
;
35675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35683 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35684 PyObject
*resultobj
;
35685 wxSizer
*arg1
= (wxSizer
*) 0 ;
35686 PyObject
*arg2
= (PyObject
*) 0 ;
35689 PyObject
* obj0
= 0 ;
35690 PyObject
* obj1
= 0 ;
35691 PyObject
* obj2
= 0 ;
35692 char *kwnames
[] = {
35693 (char *) "self",(char *) "item",(char *) "size", NULL
35696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35702 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35706 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35708 wxPyEndAllowThreads(__tstate
);
35709 if (PyErr_Occurred()) SWIG_fail
;
35711 Py_INCREF(Py_None
); resultobj
= Py_None
;
35718 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35719 PyObject
*resultobj
;
35720 wxSizer
*arg1
= (wxSizer
*) 0 ;
35721 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35722 PyObject
* obj0
= 0 ;
35723 PyObject
* obj1
= 0 ;
35724 char *kwnames
[] = {
35725 (char *) "self",(char *) "item", NULL
35728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 wxPyEndAllowThreads(__tstate
);
35738 if (PyErr_Occurred()) SWIG_fail
;
35740 Py_INCREF(Py_None
); resultobj
= Py_None
;
35747 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35748 PyObject
*resultobj
;
35749 wxSizer
*arg1
= (wxSizer
*) 0 ;
35751 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35752 PyObject
* obj0
= 0 ;
35753 PyObject
* obj1
= 0 ;
35754 PyObject
* obj2
= 0 ;
35755 char *kwnames
[] = {
35756 (char *) "self",(char *) "index",(char *) "item", NULL
35759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35762 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35763 if (PyErr_Occurred()) SWIG_fail
;
35764 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35768 (arg1
)->Insert(arg2
,arg3
);
35770 wxPyEndAllowThreads(__tstate
);
35771 if (PyErr_Occurred()) SWIG_fail
;
35773 Py_INCREF(Py_None
); resultobj
= Py_None
;
35780 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35781 PyObject
*resultobj
;
35782 wxSizer
*arg1
= (wxSizer
*) 0 ;
35783 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35784 PyObject
* obj0
= 0 ;
35785 PyObject
* obj1
= 0 ;
35786 char *kwnames
[] = {
35787 (char *) "self",(char *) "item", NULL
35790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35797 (arg1
)->Prepend(arg2
);
35799 wxPyEndAllowThreads(__tstate
);
35800 if (PyErr_Occurred()) SWIG_fail
;
35802 Py_INCREF(Py_None
); resultobj
= Py_None
;
35809 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35810 PyObject
*resultobj
;
35811 wxSizer
*arg1
= (wxSizer
*) 0 ;
35816 PyObject
* obj0
= 0 ;
35817 PyObject
* obj1
= 0 ;
35818 PyObject
* obj2
= 0 ;
35819 PyObject
* obj3
= 0 ;
35820 PyObject
* obj4
= 0 ;
35821 char *kwnames
[] = {
35822 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35828 arg2
= (int) SWIG_AsInt(obj1
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35830 arg3
= (int) SWIG_AsInt(obj2
);
35831 if (PyErr_Occurred()) SWIG_fail
;
35832 arg4
= (int) SWIG_AsInt(obj3
);
35833 if (PyErr_Occurred()) SWIG_fail
;
35834 arg5
= (int) SWIG_AsInt(obj4
);
35835 if (PyErr_Occurred()) SWIG_fail
;
35837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35838 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35840 wxPyEndAllowThreads(__tstate
);
35841 if (PyErr_Occurred()) SWIG_fail
;
35843 Py_INCREF(Py_None
); resultobj
= Py_None
;
35850 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35851 PyObject
*resultobj
;
35852 wxSizer
*arg1
= (wxSizer
*) 0 ;
35855 PyObject
* obj0
= 0 ;
35856 PyObject
* obj1
= 0 ;
35857 char *kwnames
[] = {
35858 (char *) "self",(char *) "size", NULL
35861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35866 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35870 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35872 wxPyEndAllowThreads(__tstate
);
35873 if (PyErr_Occurred()) SWIG_fail
;
35875 Py_INCREF(Py_None
); resultobj
= Py_None
;
35882 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35883 PyObject
*resultobj
;
35884 wxSizer
*arg1
= (wxSizer
*) 0 ;
35886 PyObject
* obj0
= 0 ;
35887 char *kwnames
[] = {
35888 (char *) "self", NULL
35891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35896 result
= (arg1
)->GetSize();
35898 wxPyEndAllowThreads(__tstate
);
35899 if (PyErr_Occurred()) SWIG_fail
;
35902 wxSize
* resultptr
;
35903 resultptr
= new wxSize((wxSize
&) result
);
35904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35912 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35913 PyObject
*resultobj
;
35914 wxSizer
*arg1
= (wxSizer
*) 0 ;
35916 PyObject
* obj0
= 0 ;
35917 char *kwnames
[] = {
35918 (char *) "self", NULL
35921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35926 result
= (arg1
)->GetPosition();
35928 wxPyEndAllowThreads(__tstate
);
35929 if (PyErr_Occurred()) SWIG_fail
;
35932 wxPoint
* resultptr
;
35933 resultptr
= new wxPoint((wxPoint
&) result
);
35934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35942 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35943 PyObject
*resultobj
;
35944 wxSizer
*arg1
= (wxSizer
*) 0 ;
35946 PyObject
* obj0
= 0 ;
35947 char *kwnames
[] = {
35948 (char *) "self", NULL
35951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35956 result
= (arg1
)->GetMinSize();
35958 wxPyEndAllowThreads(__tstate
);
35959 if (PyErr_Occurred()) SWIG_fail
;
35962 wxSize
* resultptr
;
35963 resultptr
= new wxSize((wxSize
&) result
);
35964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35972 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35973 PyObject
*resultobj
;
35974 wxSizer
*arg1
= (wxSizer
*) 0 ;
35975 PyObject
* obj0
= 0 ;
35976 char *kwnames
[] = {
35977 (char *) "self", NULL
35980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35985 (arg1
)->RecalcSizes();
35987 wxPyEndAllowThreads(__tstate
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35990 Py_INCREF(Py_None
); resultobj
= Py_None
;
35997 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35998 PyObject
*resultobj
;
35999 wxSizer
*arg1
= (wxSizer
*) 0 ;
36001 PyObject
* obj0
= 0 ;
36002 char *kwnames
[] = {
36003 (char *) "self", NULL
36006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36011 result
= (arg1
)->CalcMin();
36013 wxPyEndAllowThreads(__tstate
);
36014 if (PyErr_Occurred()) SWIG_fail
;
36017 wxSize
* resultptr
;
36018 resultptr
= new wxSize((wxSize
&) result
);
36019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36027 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36028 PyObject
*resultobj
;
36029 wxSizer
*arg1
= (wxSizer
*) 0 ;
36030 PyObject
* obj0
= 0 ;
36031 char *kwnames
[] = {
36032 (char *) "self", NULL
36035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36042 wxPyEndAllowThreads(__tstate
);
36043 if (PyErr_Occurred()) SWIG_fail
;
36045 Py_INCREF(Py_None
); resultobj
= Py_None
;
36052 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36053 PyObject
*resultobj
;
36054 wxSizer
*arg1
= (wxSizer
*) 0 ;
36055 wxWindow
*arg2
= (wxWindow
*) 0 ;
36057 PyObject
* obj0
= 0 ;
36058 PyObject
* obj1
= 0 ;
36059 char *kwnames
[] = {
36060 (char *) "self",(char *) "window", NULL
36063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36070 result
= (arg1
)->Fit(arg2
);
36072 wxPyEndAllowThreads(__tstate
);
36073 if (PyErr_Occurred()) SWIG_fail
;
36076 wxSize
* resultptr
;
36077 resultptr
= new wxSize((wxSize
&) result
);
36078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36086 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36087 PyObject
*resultobj
;
36088 wxSizer
*arg1
= (wxSizer
*) 0 ;
36089 wxWindow
*arg2
= (wxWindow
*) 0 ;
36090 PyObject
* obj0
= 0 ;
36091 PyObject
* obj1
= 0 ;
36092 char *kwnames
[] = {
36093 (char *) "self",(char *) "window", NULL
36096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36103 (arg1
)->FitInside(arg2
);
36105 wxPyEndAllowThreads(__tstate
);
36106 if (PyErr_Occurred()) SWIG_fail
;
36108 Py_INCREF(Py_None
); resultobj
= Py_None
;
36115 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36116 PyObject
*resultobj
;
36117 wxSizer
*arg1
= (wxSizer
*) 0 ;
36118 wxWindow
*arg2
= (wxWindow
*) 0 ;
36119 PyObject
* obj0
= 0 ;
36120 PyObject
* obj1
= 0 ;
36121 char *kwnames
[] = {
36122 (char *) "self",(char *) "window", NULL
36125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36132 (arg1
)->SetSizeHints(arg2
);
36134 wxPyEndAllowThreads(__tstate
);
36135 if (PyErr_Occurred()) SWIG_fail
;
36137 Py_INCREF(Py_None
); resultobj
= Py_None
;
36144 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36145 PyObject
*resultobj
;
36146 wxSizer
*arg1
= (wxSizer
*) 0 ;
36147 wxWindow
*arg2
= (wxWindow
*) 0 ;
36148 PyObject
* obj0
= 0 ;
36149 PyObject
* obj1
= 0 ;
36150 char *kwnames
[] = {
36151 (char *) "self",(char *) "window", NULL
36154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36161 (arg1
)->SetVirtualSizeHints(arg2
);
36163 wxPyEndAllowThreads(__tstate
);
36164 if (PyErr_Occurred()) SWIG_fail
;
36166 Py_INCREF(Py_None
); resultobj
= Py_None
;
36173 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36174 PyObject
*resultobj
;
36175 wxSizer
*arg1
= (wxSizer
*) 0 ;
36176 bool arg2
= (bool) False
;
36177 PyObject
* obj0
= 0 ;
36178 PyObject
* obj1
= 0 ;
36179 char *kwnames
[] = {
36180 (char *) "self",(char *) "deleteWindows", NULL
36183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36187 arg2
= (bool) SWIG_AsBool(obj1
);
36188 if (PyErr_Occurred()) SWIG_fail
;
36191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36192 (arg1
)->Clear(arg2
);
36194 wxPyEndAllowThreads(__tstate
);
36195 if (PyErr_Occurred()) SWIG_fail
;
36197 Py_INCREF(Py_None
); resultobj
= Py_None
;
36204 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36205 PyObject
*resultobj
;
36206 wxSizer
*arg1
= (wxSizer
*) 0 ;
36207 PyObject
* obj0
= 0 ;
36208 char *kwnames
[] = {
36209 (char *) "self", NULL
36212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36217 (arg1
)->DeleteWindows();
36219 wxPyEndAllowThreads(__tstate
);
36220 if (PyErr_Occurred()) SWIG_fail
;
36222 Py_INCREF(Py_None
); resultobj
= Py_None
;
36229 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36230 PyObject
*resultobj
;
36231 wxSizer
*arg1
= (wxSizer
*) 0 ;
36233 PyObject
* obj0
= 0 ;
36234 char *kwnames
[] = {
36235 (char *) "self", NULL
36238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36243 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36245 wxPyEndAllowThreads(__tstate
);
36246 if (PyErr_Occurred()) SWIG_fail
;
36248 resultobj
= result
;
36255 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36256 PyObject
*resultobj
;
36257 wxSizer
*arg1
= (wxSizer
*) 0 ;
36258 PyObject
*arg2
= (PyObject
*) 0 ;
36259 bool arg3
= (bool) True
;
36260 PyObject
* obj0
= 0 ;
36261 PyObject
* obj1
= 0 ;
36262 PyObject
* obj2
= 0 ;
36263 char *kwnames
[] = {
36264 (char *) "self",(char *) "item",(char *) "show", NULL
36267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36272 arg3
= (bool) SWIG_AsBool(obj2
);
36273 if (PyErr_Occurred()) SWIG_fail
;
36276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36277 wxSizer_Show(arg1
,arg2
,arg3
);
36279 wxPyEndAllowThreads(__tstate
);
36280 if (PyErr_Occurred()) SWIG_fail
;
36282 Py_INCREF(Py_None
); resultobj
= Py_None
;
36289 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36290 PyObject
*resultobj
;
36291 wxSizer
*arg1
= (wxSizer
*) 0 ;
36292 PyObject
*arg2
= (PyObject
*) 0 ;
36294 PyObject
* obj0
= 0 ;
36295 PyObject
* obj1
= 0 ;
36296 char *kwnames
[] = {
36297 (char *) "self",(char *) "item", NULL
36300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36306 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36308 wxPyEndAllowThreads(__tstate
);
36309 if (PyErr_Occurred()) SWIG_fail
;
36312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36320 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36321 PyObject
*resultobj
;
36322 wxSizer
*arg1
= (wxSizer
*) 0 ;
36324 PyObject
* obj0
= 0 ;
36325 PyObject
* obj1
= 0 ;
36326 char *kwnames
[] = {
36327 (char *) "self",(char *) "show", NULL
36330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36333 arg2
= (bool) SWIG_AsBool(obj1
);
36334 if (PyErr_Occurred()) SWIG_fail
;
36336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36337 (arg1
)->ShowItems(arg2
);
36339 wxPyEndAllowThreads(__tstate
);
36340 if (PyErr_Occurred()) SWIG_fail
;
36342 Py_INCREF(Py_None
); resultobj
= Py_None
;
36349 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
36351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36352 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36354 return Py_BuildValue((char *)"");
36356 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36357 PyObject
*resultobj
;
36359 char *kwnames
[] = {
36363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36366 result
= (wxPySizer
*)new wxPySizer();
36368 wxPyEndAllowThreads(__tstate
);
36369 if (PyErr_Occurred()) SWIG_fail
;
36371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36378 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36379 PyObject
*resultobj
;
36380 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36381 PyObject
*arg2
= (PyObject
*) 0 ;
36382 PyObject
*arg3
= (PyObject
*) 0 ;
36383 PyObject
* obj0
= 0 ;
36384 PyObject
* obj1
= 0 ;
36385 PyObject
* obj2
= 0 ;
36386 char *kwnames
[] = {
36387 (char *) "self",(char *) "self",(char *) "_class", NULL
36390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36397 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36399 wxPyEndAllowThreads(__tstate
);
36400 if (PyErr_Occurred()) SWIG_fail
;
36402 Py_INCREF(Py_None
); resultobj
= Py_None
;
36409 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
36411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36412 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36414 return Py_BuildValue((char *)"");
36416 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36417 PyObject
*resultobj
;
36418 int arg1
= (int) wxHORIZONTAL
;
36419 wxBoxSizer
*result
;
36420 PyObject
* obj0
= 0 ;
36421 char *kwnames
[] = {
36422 (char *) "orient", NULL
36425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36427 arg1
= (int) SWIG_AsInt(obj0
);
36428 if (PyErr_Occurred()) SWIG_fail
;
36431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36432 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36434 wxPyEndAllowThreads(__tstate
);
36435 if (PyErr_Occurred()) SWIG_fail
;
36437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36444 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36445 PyObject
*resultobj
;
36446 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36448 PyObject
* obj0
= 0 ;
36449 char *kwnames
[] = {
36450 (char *) "self", NULL
36453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36458 result
= (int)(arg1
)->GetOrientation();
36460 wxPyEndAllowThreads(__tstate
);
36461 if (PyErr_Occurred()) SWIG_fail
;
36463 resultobj
= SWIG_FromInt((int)result
);
36470 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36471 PyObject
*resultobj
;
36472 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36474 PyObject
* obj0
= 0 ;
36475 PyObject
* obj1
= 0 ;
36476 char *kwnames
[] = {
36477 (char *) "self",(char *) "orient", NULL
36480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36483 arg2
= (int) SWIG_AsInt(obj1
);
36484 if (PyErr_Occurred()) SWIG_fail
;
36486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36487 (arg1
)->SetOrientation(arg2
);
36489 wxPyEndAllowThreads(__tstate
);
36490 if (PyErr_Occurred()) SWIG_fail
;
36492 Py_INCREF(Py_None
); resultobj
= Py_None
;
36499 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36502 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36504 return Py_BuildValue((char *)"");
36506 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36507 PyObject
*resultobj
;
36508 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36509 int arg2
= (int) wxHORIZONTAL
;
36510 wxStaticBoxSizer
*result
;
36511 PyObject
* obj0
= 0 ;
36512 PyObject
* obj1
= 0 ;
36513 char *kwnames
[] = {
36514 (char *) "box",(char *) "orient", NULL
36517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36521 arg2
= (int) SWIG_AsInt(obj1
);
36522 if (PyErr_Occurred()) SWIG_fail
;
36525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36526 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36528 wxPyEndAllowThreads(__tstate
);
36529 if (PyErr_Occurred()) SWIG_fail
;
36531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36538 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36539 PyObject
*resultobj
;
36540 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36541 wxStaticBox
*result
;
36542 PyObject
* obj0
= 0 ;
36543 char *kwnames
[] = {
36544 (char *) "self", NULL
36547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36552 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36554 wxPyEndAllowThreads(__tstate
);
36555 if (PyErr_Occurred()) SWIG_fail
;
36558 resultobj
= wxPyMake_wxObject(result
, 0);
36566 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36569 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36571 return Py_BuildValue((char *)"");
36573 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36574 PyObject
*resultobj
;
36575 int arg1
= (int) 1 ;
36576 int arg2
= (int) 0 ;
36577 int arg3
= (int) 0 ;
36578 int arg4
= (int) 0 ;
36579 wxGridSizer
*result
;
36580 PyObject
* obj0
= 0 ;
36581 PyObject
* obj1
= 0 ;
36582 PyObject
* obj2
= 0 ;
36583 PyObject
* obj3
= 0 ;
36584 char *kwnames
[] = {
36585 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36590 arg1
= (int) SWIG_AsInt(obj0
);
36591 if (PyErr_Occurred()) SWIG_fail
;
36594 arg2
= (int) SWIG_AsInt(obj1
);
36595 if (PyErr_Occurred()) SWIG_fail
;
36598 arg3
= (int) SWIG_AsInt(obj2
);
36599 if (PyErr_Occurred()) SWIG_fail
;
36602 arg4
= (int) SWIG_AsInt(obj3
);
36603 if (PyErr_Occurred()) SWIG_fail
;
36606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36607 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36609 wxPyEndAllowThreads(__tstate
);
36610 if (PyErr_Occurred()) SWIG_fail
;
36612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36619 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36620 PyObject
*resultobj
;
36621 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36623 PyObject
* obj0
= 0 ;
36624 PyObject
* obj1
= 0 ;
36625 char *kwnames
[] = {
36626 (char *) "self",(char *) "cols", NULL
36629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36632 arg2
= (int) SWIG_AsInt(obj1
);
36633 if (PyErr_Occurred()) SWIG_fail
;
36635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36636 (arg1
)->SetCols(arg2
);
36638 wxPyEndAllowThreads(__tstate
);
36639 if (PyErr_Occurred()) SWIG_fail
;
36641 Py_INCREF(Py_None
); resultobj
= Py_None
;
36648 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36649 PyObject
*resultobj
;
36650 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36652 PyObject
* obj0
= 0 ;
36653 PyObject
* obj1
= 0 ;
36654 char *kwnames
[] = {
36655 (char *) "self",(char *) "rows", NULL
36658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36661 arg2
= (int) SWIG_AsInt(obj1
);
36662 if (PyErr_Occurred()) SWIG_fail
;
36664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36665 (arg1
)->SetRows(arg2
);
36667 wxPyEndAllowThreads(__tstate
);
36668 if (PyErr_Occurred()) SWIG_fail
;
36670 Py_INCREF(Py_None
); resultobj
= Py_None
;
36677 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36678 PyObject
*resultobj
;
36679 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36681 PyObject
* obj0
= 0 ;
36682 PyObject
* obj1
= 0 ;
36683 char *kwnames
[] = {
36684 (char *) "self",(char *) "gap", NULL
36687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36690 arg2
= (int) SWIG_AsInt(obj1
);
36691 if (PyErr_Occurred()) SWIG_fail
;
36693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36694 (arg1
)->SetVGap(arg2
);
36696 wxPyEndAllowThreads(__tstate
);
36697 if (PyErr_Occurred()) SWIG_fail
;
36699 Py_INCREF(Py_None
); resultobj
= Py_None
;
36706 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36707 PyObject
*resultobj
;
36708 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36710 PyObject
* obj0
= 0 ;
36711 PyObject
* obj1
= 0 ;
36712 char *kwnames
[] = {
36713 (char *) "self",(char *) "gap", NULL
36716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36719 arg2
= (int) SWIG_AsInt(obj1
);
36720 if (PyErr_Occurred()) SWIG_fail
;
36722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36723 (arg1
)->SetHGap(arg2
);
36725 wxPyEndAllowThreads(__tstate
);
36726 if (PyErr_Occurred()) SWIG_fail
;
36728 Py_INCREF(Py_None
); resultobj
= Py_None
;
36735 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36736 PyObject
*resultobj
;
36737 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36739 PyObject
* obj0
= 0 ;
36740 char *kwnames
[] = {
36741 (char *) "self", NULL
36744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36749 result
= (int)(arg1
)->GetCols();
36751 wxPyEndAllowThreads(__tstate
);
36752 if (PyErr_Occurred()) SWIG_fail
;
36754 resultobj
= SWIG_FromInt((int)result
);
36761 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36762 PyObject
*resultobj
;
36763 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36765 PyObject
* obj0
= 0 ;
36766 char *kwnames
[] = {
36767 (char *) "self", NULL
36770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36775 result
= (int)(arg1
)->GetRows();
36777 wxPyEndAllowThreads(__tstate
);
36778 if (PyErr_Occurred()) SWIG_fail
;
36780 resultobj
= SWIG_FromInt((int)result
);
36787 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36788 PyObject
*resultobj
;
36789 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36791 PyObject
* obj0
= 0 ;
36792 char *kwnames
[] = {
36793 (char *) "self", NULL
36796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36801 result
= (int)(arg1
)->GetVGap();
36803 wxPyEndAllowThreads(__tstate
);
36804 if (PyErr_Occurred()) SWIG_fail
;
36806 resultobj
= SWIG_FromInt((int)result
);
36813 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36814 PyObject
*resultobj
;
36815 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36817 PyObject
* obj0
= 0 ;
36818 char *kwnames
[] = {
36819 (char *) "self", NULL
36822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36827 result
= (int)(arg1
)->GetHGap();
36829 wxPyEndAllowThreads(__tstate
);
36830 if (PyErr_Occurred()) SWIG_fail
;
36832 resultobj
= SWIG_FromInt((int)result
);
36839 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36842 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36844 return Py_BuildValue((char *)"");
36846 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36847 PyObject
*resultobj
;
36848 int arg1
= (int) 1 ;
36849 int arg2
= (int) 0 ;
36850 int arg3
= (int) 0 ;
36851 int arg4
= (int) 0 ;
36852 wxFlexGridSizer
*result
;
36853 PyObject
* obj0
= 0 ;
36854 PyObject
* obj1
= 0 ;
36855 PyObject
* obj2
= 0 ;
36856 PyObject
* obj3
= 0 ;
36857 char *kwnames
[] = {
36858 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36863 arg1
= (int) SWIG_AsInt(obj0
);
36864 if (PyErr_Occurred()) SWIG_fail
;
36867 arg2
= (int) SWIG_AsInt(obj1
);
36868 if (PyErr_Occurred()) SWIG_fail
;
36871 arg3
= (int) SWIG_AsInt(obj2
);
36872 if (PyErr_Occurred()) SWIG_fail
;
36875 arg4
= (int) SWIG_AsInt(obj3
);
36876 if (PyErr_Occurred()) SWIG_fail
;
36879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36880 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36882 wxPyEndAllowThreads(__tstate
);
36883 if (PyErr_Occurred()) SWIG_fail
;
36885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36892 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36893 PyObject
*resultobj
;
36894 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36896 int arg3
= (int) 0 ;
36897 PyObject
* obj0
= 0 ;
36898 PyObject
* obj1
= 0 ;
36899 PyObject
* obj2
= 0 ;
36900 char *kwnames
[] = {
36901 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36907 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36908 if (PyErr_Occurred()) SWIG_fail
;
36910 arg3
= (int) SWIG_AsInt(obj2
);
36911 if (PyErr_Occurred()) SWIG_fail
;
36914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36915 (arg1
)->AddGrowableRow(arg2
,arg3
);
36917 wxPyEndAllowThreads(__tstate
);
36918 if (PyErr_Occurred()) SWIG_fail
;
36920 Py_INCREF(Py_None
); resultobj
= Py_None
;
36927 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36928 PyObject
*resultobj
;
36929 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36931 PyObject
* obj0
= 0 ;
36932 PyObject
* obj1
= 0 ;
36933 char *kwnames
[] = {
36934 (char *) "self",(char *) "idx", NULL
36937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36940 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36941 if (PyErr_Occurred()) SWIG_fail
;
36943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36944 (arg1
)->RemoveGrowableRow(arg2
);
36946 wxPyEndAllowThreads(__tstate
);
36947 if (PyErr_Occurred()) SWIG_fail
;
36949 Py_INCREF(Py_None
); resultobj
= Py_None
;
36956 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36957 PyObject
*resultobj
;
36958 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36960 int arg3
= (int) 0 ;
36961 PyObject
* obj0
= 0 ;
36962 PyObject
* obj1
= 0 ;
36963 PyObject
* obj2
= 0 ;
36964 char *kwnames
[] = {
36965 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36971 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36972 if (PyErr_Occurred()) SWIG_fail
;
36974 arg3
= (int) SWIG_AsInt(obj2
);
36975 if (PyErr_Occurred()) SWIG_fail
;
36978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36979 (arg1
)->AddGrowableCol(arg2
,arg3
);
36981 wxPyEndAllowThreads(__tstate
);
36982 if (PyErr_Occurred()) SWIG_fail
;
36984 Py_INCREF(Py_None
); resultobj
= Py_None
;
36991 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36992 PyObject
*resultobj
;
36993 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36995 PyObject
* obj0
= 0 ;
36996 PyObject
* obj1
= 0 ;
36997 char *kwnames
[] = {
36998 (char *) "self",(char *) "idx", NULL
37001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37004 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37005 if (PyErr_Occurred()) SWIG_fail
;
37007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37008 (arg1
)->RemoveGrowableCol(arg2
);
37010 wxPyEndAllowThreads(__tstate
);
37011 if (PyErr_Occurred()) SWIG_fail
;
37013 Py_INCREF(Py_None
); resultobj
= Py_None
;
37020 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37021 PyObject
*resultobj
;
37022 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37024 PyObject
* obj0
= 0 ;
37025 PyObject
* obj1
= 0 ;
37026 char *kwnames
[] = {
37027 (char *) "self",(char *) "direction", NULL
37030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37033 arg2
= (int) SWIG_AsInt(obj1
);
37034 if (PyErr_Occurred()) SWIG_fail
;
37036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37037 (arg1
)->SetFlexibleDirection(arg2
);
37039 wxPyEndAllowThreads(__tstate
);
37040 if (PyErr_Occurred()) SWIG_fail
;
37042 Py_INCREF(Py_None
); resultobj
= Py_None
;
37049 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37050 PyObject
*resultobj
;
37051 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37053 PyObject
* obj0
= 0 ;
37054 char *kwnames
[] = {
37055 (char *) "self", NULL
37058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37063 result
= (int)(arg1
)->GetFlexibleDirection();
37065 wxPyEndAllowThreads(__tstate
);
37066 if (PyErr_Occurred()) SWIG_fail
;
37068 resultobj
= SWIG_FromInt((int)result
);
37075 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37076 PyObject
*resultobj
;
37077 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37079 PyObject
* obj0
= 0 ;
37080 PyObject
* obj1
= 0 ;
37081 char *kwnames
[] = {
37082 (char *) "self",(char *) "mode", NULL
37085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37088 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
37089 if (PyErr_Occurred()) SWIG_fail
;
37091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37092 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37094 wxPyEndAllowThreads(__tstate
);
37095 if (PyErr_Occurred()) SWIG_fail
;
37097 Py_INCREF(Py_None
); resultobj
= Py_None
;
37104 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37105 PyObject
*resultobj
;
37106 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37108 PyObject
* obj0
= 0 ;
37109 char *kwnames
[] = {
37110 (char *) "self", NULL
37113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37118 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37120 wxPyEndAllowThreads(__tstate
);
37121 if (PyErr_Occurred()) SWIG_fail
;
37123 resultobj
= SWIG_FromInt((int)result
);
37130 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37131 PyObject
*resultobj
;
37132 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37133 wxArrayInt
*result
;
37134 PyObject
* obj0
= 0 ;
37135 char *kwnames
[] = {
37136 (char *) "self", NULL
37139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37145 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37146 result
= (wxArrayInt
*) &_result_ref
;
37149 wxPyEndAllowThreads(__tstate
);
37150 if (PyErr_Occurred()) SWIG_fail
;
37153 resultobj
= PyList_New(0);
37155 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37156 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37157 PyList_Append(resultobj
, val
);
37167 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37168 PyObject
*resultobj
;
37169 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37170 wxArrayInt
*result
;
37171 PyObject
* obj0
= 0 ;
37172 char *kwnames
[] = {
37173 (char *) "self", NULL
37176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37182 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37183 result
= (wxArrayInt
*) &_result_ref
;
37186 wxPyEndAllowThreads(__tstate
);
37187 if (PyErr_Occurred()) SWIG_fail
;
37190 resultobj
= PyList_New(0);
37192 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37193 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37194 PyList_Append(resultobj
, val
);
37204 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37207 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37209 return Py_BuildValue((char *)"");
37211 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37212 PyObject
*resultobj
;
37213 int arg1
= (int) 0 ;
37214 int arg2
= (int) 0 ;
37215 wxGBPosition
*result
;
37216 PyObject
* obj0
= 0 ;
37217 PyObject
* obj1
= 0 ;
37218 char *kwnames
[] = {
37219 (char *) "row",(char *) "col", NULL
37222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37224 arg1
= (int) SWIG_AsInt(obj0
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37228 arg2
= (int) SWIG_AsInt(obj1
);
37229 if (PyErr_Occurred()) SWIG_fail
;
37232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37233 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37235 wxPyEndAllowThreads(__tstate
);
37236 if (PyErr_Occurred()) SWIG_fail
;
37238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37245 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37246 PyObject
*resultobj
;
37247 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37249 PyObject
* obj0
= 0 ;
37250 char *kwnames
[] = {
37251 (char *) "self", NULL
37254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37259 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37261 wxPyEndAllowThreads(__tstate
);
37262 if (PyErr_Occurred()) SWIG_fail
;
37264 resultobj
= SWIG_FromInt((int)result
);
37271 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37272 PyObject
*resultobj
;
37273 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37275 PyObject
* obj0
= 0 ;
37276 char *kwnames
[] = {
37277 (char *) "self", NULL
37280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37285 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37287 wxPyEndAllowThreads(__tstate
);
37288 if (PyErr_Occurred()) SWIG_fail
;
37290 resultobj
= SWIG_FromInt((int)result
);
37297 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37298 PyObject
*resultobj
;
37299 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37301 PyObject
* obj0
= 0 ;
37302 PyObject
* obj1
= 0 ;
37303 char *kwnames
[] = {
37304 (char *) "self",(char *) "row", NULL
37307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37310 arg2
= (int) SWIG_AsInt(obj1
);
37311 if (PyErr_Occurred()) SWIG_fail
;
37313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37314 (arg1
)->SetRow(arg2
);
37316 wxPyEndAllowThreads(__tstate
);
37317 if (PyErr_Occurred()) SWIG_fail
;
37319 Py_INCREF(Py_None
); resultobj
= Py_None
;
37326 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37327 PyObject
*resultobj
;
37328 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37330 PyObject
* obj0
= 0 ;
37331 PyObject
* obj1
= 0 ;
37332 char *kwnames
[] = {
37333 (char *) "self",(char *) "col", NULL
37336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37339 arg2
= (int) SWIG_AsInt(obj1
);
37340 if (PyErr_Occurred()) SWIG_fail
;
37342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37343 (arg1
)->SetCol(arg2
);
37345 wxPyEndAllowThreads(__tstate
);
37346 if (PyErr_Occurred()) SWIG_fail
;
37348 Py_INCREF(Py_None
); resultobj
= Py_None
;
37355 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37356 PyObject
*resultobj
;
37357 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37358 wxGBPosition
*arg2
= 0 ;
37360 wxGBPosition temp2
;
37361 PyObject
* obj0
= 0 ;
37362 PyObject
* obj1
= 0 ;
37363 char *kwnames
[] = {
37364 (char *) "self",(char *) "other", NULL
37367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37372 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37376 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37378 wxPyEndAllowThreads(__tstate
);
37379 if (PyErr_Occurred()) SWIG_fail
;
37382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37390 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37391 PyObject
*resultobj
;
37392 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37393 wxGBPosition
*arg2
= 0 ;
37395 wxGBPosition temp2
;
37396 PyObject
* obj0
= 0 ;
37397 PyObject
* obj1
= 0 ;
37398 char *kwnames
[] = {
37399 (char *) "self",(char *) "other", NULL
37402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37407 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37411 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37413 wxPyEndAllowThreads(__tstate
);
37414 if (PyErr_Occurred()) SWIG_fail
;
37417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37425 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37426 PyObject
*resultobj
;
37427 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37428 int arg2
= (int) 0 ;
37429 int arg3
= (int) 0 ;
37430 PyObject
* obj0
= 0 ;
37431 PyObject
* obj1
= 0 ;
37432 PyObject
* obj2
= 0 ;
37433 char *kwnames
[] = {
37434 (char *) "self",(char *) "row",(char *) "col", NULL
37437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37441 arg2
= (int) SWIG_AsInt(obj1
);
37442 if (PyErr_Occurred()) SWIG_fail
;
37445 arg3
= (int) SWIG_AsInt(obj2
);
37446 if (PyErr_Occurred()) SWIG_fail
;
37449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37450 wxGBPosition_Set(arg1
,arg2
,arg3
);
37452 wxPyEndAllowThreads(__tstate
);
37453 if (PyErr_Occurred()) SWIG_fail
;
37455 Py_INCREF(Py_None
); resultobj
= Py_None
;
37462 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37463 PyObject
*resultobj
;
37464 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37466 PyObject
* obj0
= 0 ;
37467 char *kwnames
[] = {
37468 (char *) "self", NULL
37471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37476 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37478 wxPyEndAllowThreads(__tstate
);
37479 if (PyErr_Occurred()) SWIG_fail
;
37481 resultobj
= result
;
37488 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37491 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37493 return Py_BuildValue((char *)"");
37495 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37496 PyObject
*resultobj
;
37497 int arg1
= (int) 1 ;
37498 int arg2
= (int) 1 ;
37500 PyObject
* obj0
= 0 ;
37501 PyObject
* obj1
= 0 ;
37502 char *kwnames
[] = {
37503 (char *) "rowspan",(char *) "colspan", NULL
37506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37508 arg1
= (int) SWIG_AsInt(obj0
);
37509 if (PyErr_Occurred()) SWIG_fail
;
37512 arg2
= (int) SWIG_AsInt(obj1
);
37513 if (PyErr_Occurred()) SWIG_fail
;
37516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37517 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37519 wxPyEndAllowThreads(__tstate
);
37520 if (PyErr_Occurred()) SWIG_fail
;
37522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37529 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37530 PyObject
*resultobj
;
37531 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37533 PyObject
* obj0
= 0 ;
37534 char *kwnames
[] = {
37535 (char *) "self", NULL
37538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37543 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37545 wxPyEndAllowThreads(__tstate
);
37546 if (PyErr_Occurred()) SWIG_fail
;
37548 resultobj
= SWIG_FromInt((int)result
);
37555 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37556 PyObject
*resultobj
;
37557 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37559 PyObject
* obj0
= 0 ;
37560 char *kwnames
[] = {
37561 (char *) "self", NULL
37564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37569 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37571 wxPyEndAllowThreads(__tstate
);
37572 if (PyErr_Occurred()) SWIG_fail
;
37574 resultobj
= SWIG_FromInt((int)result
);
37581 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37582 PyObject
*resultobj
;
37583 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37585 PyObject
* obj0
= 0 ;
37586 PyObject
* obj1
= 0 ;
37587 char *kwnames
[] = {
37588 (char *) "self",(char *) "rowspan", NULL
37591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37594 arg2
= (int) SWIG_AsInt(obj1
);
37595 if (PyErr_Occurred()) SWIG_fail
;
37597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37598 (arg1
)->SetRowspan(arg2
);
37600 wxPyEndAllowThreads(__tstate
);
37601 if (PyErr_Occurred()) SWIG_fail
;
37603 Py_INCREF(Py_None
); resultobj
= Py_None
;
37610 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37611 PyObject
*resultobj
;
37612 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37614 PyObject
* obj0
= 0 ;
37615 PyObject
* obj1
= 0 ;
37616 char *kwnames
[] = {
37617 (char *) "self",(char *) "colspan", NULL
37620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37623 arg2
= (int) SWIG_AsInt(obj1
);
37624 if (PyErr_Occurred()) SWIG_fail
;
37626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37627 (arg1
)->SetColspan(arg2
);
37629 wxPyEndAllowThreads(__tstate
);
37630 if (PyErr_Occurred()) SWIG_fail
;
37632 Py_INCREF(Py_None
); resultobj
= Py_None
;
37639 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37640 PyObject
*resultobj
;
37641 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37642 wxGBSpan
*arg2
= 0 ;
37645 PyObject
* obj0
= 0 ;
37646 PyObject
* obj1
= 0 ;
37647 char *kwnames
[] = {
37648 (char *) "self",(char *) "other", NULL
37651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37656 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37660 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37662 wxPyEndAllowThreads(__tstate
);
37663 if (PyErr_Occurred()) SWIG_fail
;
37666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37674 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37675 PyObject
*resultobj
;
37676 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37677 wxGBSpan
*arg2
= 0 ;
37680 PyObject
* obj0
= 0 ;
37681 PyObject
* obj1
= 0 ;
37682 char *kwnames
[] = {
37683 (char *) "self",(char *) "other", NULL
37686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37691 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37695 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37697 wxPyEndAllowThreads(__tstate
);
37698 if (PyErr_Occurred()) SWIG_fail
;
37701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37709 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37710 PyObject
*resultobj
;
37711 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37712 int arg2
= (int) 1 ;
37713 int arg3
= (int) 1 ;
37714 PyObject
* obj0
= 0 ;
37715 PyObject
* obj1
= 0 ;
37716 PyObject
* obj2
= 0 ;
37717 char *kwnames
[] = {
37718 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37725 arg2
= (int) SWIG_AsInt(obj1
);
37726 if (PyErr_Occurred()) SWIG_fail
;
37729 arg3
= (int) SWIG_AsInt(obj2
);
37730 if (PyErr_Occurred()) SWIG_fail
;
37733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37734 wxGBSpan_Set(arg1
,arg2
,arg3
);
37736 wxPyEndAllowThreads(__tstate
);
37737 if (PyErr_Occurred()) SWIG_fail
;
37739 Py_INCREF(Py_None
); resultobj
= Py_None
;
37746 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37747 PyObject
*resultobj
;
37748 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37750 PyObject
* obj0
= 0 ;
37751 char *kwnames
[] = {
37752 (char *) "self", NULL
37755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37760 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37762 wxPyEndAllowThreads(__tstate
);
37763 if (PyErr_Occurred()) SWIG_fail
;
37765 resultobj
= result
;
37772 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37775 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37777 return Py_BuildValue((char *)"");
37779 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37780 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37785 static PyObject
*_wrap_DefaultSpan_get() {
37788 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37793 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37794 PyObject
*resultobj
;
37795 wxGBSizerItem
*result
;
37796 char *kwnames
[] = {
37800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37803 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37805 wxPyEndAllowThreads(__tstate
);
37806 if (PyErr_Occurred()) SWIG_fail
;
37808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37815 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37816 PyObject
*resultobj
;
37817 wxWindow
*arg1
= (wxWindow
*) 0 ;
37818 wxGBPosition
*arg2
= 0 ;
37819 wxGBSpan
*arg3
= 0 ;
37822 PyObject
*arg6
= (PyObject
*) NULL
;
37823 wxGBSizerItem
*result
;
37824 wxGBPosition temp2
;
37826 PyObject
* obj0
= 0 ;
37827 PyObject
* obj1
= 0 ;
37828 PyObject
* obj2
= 0 ;
37829 PyObject
* obj3
= 0 ;
37830 PyObject
* obj4
= 0 ;
37831 PyObject
* obj5
= 0 ;
37832 char *kwnames
[] = {
37833 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37841 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37845 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37847 arg4
= (int) SWIG_AsInt(obj3
);
37848 if (PyErr_Occurred()) SWIG_fail
;
37849 arg5
= (int) SWIG_AsInt(obj4
);
37850 if (PyErr_Occurred()) SWIG_fail
;
37855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37856 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37858 wxPyEndAllowThreads(__tstate
);
37859 if (PyErr_Occurred()) SWIG_fail
;
37861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37868 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37869 PyObject
*resultobj
;
37870 wxSizer
*arg1
= (wxSizer
*) 0 ;
37871 wxGBPosition
*arg2
= 0 ;
37872 wxGBSpan
*arg3
= 0 ;
37875 PyObject
*arg6
= (PyObject
*) NULL
;
37876 wxGBSizerItem
*result
;
37877 wxGBPosition temp2
;
37879 PyObject
* obj0
= 0 ;
37880 PyObject
* obj1
= 0 ;
37881 PyObject
* obj2
= 0 ;
37882 PyObject
* obj3
= 0 ;
37883 PyObject
* obj4
= 0 ;
37884 PyObject
* obj5
= 0 ;
37885 char *kwnames
[] = {
37886 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37894 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37898 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37900 arg4
= (int) SWIG_AsInt(obj3
);
37901 if (PyErr_Occurred()) SWIG_fail
;
37902 arg5
= (int) SWIG_AsInt(obj4
);
37903 if (PyErr_Occurred()) SWIG_fail
;
37908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37909 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37911 wxPyEndAllowThreads(__tstate
);
37912 if (PyErr_Occurred()) SWIG_fail
;
37914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37921 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37922 PyObject
*resultobj
;
37925 wxGBPosition
*arg3
= 0 ;
37926 wxGBSpan
*arg4
= 0 ;
37929 PyObject
*arg7
= (PyObject
*) NULL
;
37930 wxGBSizerItem
*result
;
37931 wxGBPosition temp3
;
37933 PyObject
* obj0
= 0 ;
37934 PyObject
* obj1
= 0 ;
37935 PyObject
* obj2
= 0 ;
37936 PyObject
* obj3
= 0 ;
37937 PyObject
* obj4
= 0 ;
37938 PyObject
* obj5
= 0 ;
37939 PyObject
* obj6
= 0 ;
37940 char *kwnames
[] = {
37941 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37945 arg1
= (int) SWIG_AsInt(obj0
);
37946 if (PyErr_Occurred()) SWIG_fail
;
37947 arg2
= (int) SWIG_AsInt(obj1
);
37948 if (PyErr_Occurred()) SWIG_fail
;
37951 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37955 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37957 arg5
= (int) SWIG_AsInt(obj4
);
37958 if (PyErr_Occurred()) SWIG_fail
;
37959 arg6
= (int) SWIG_AsInt(obj5
);
37960 if (PyErr_Occurred()) SWIG_fail
;
37965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37966 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37968 wxPyEndAllowThreads(__tstate
);
37969 if (PyErr_Occurred()) SWIG_fail
;
37971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37978 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37979 PyObject
*resultobj
;
37980 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37981 wxGBPosition result
;
37982 PyObject
* obj0
= 0 ;
37983 char *kwnames
[] = {
37984 (char *) "self", NULL
37987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37992 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37994 wxPyEndAllowThreads(__tstate
);
37995 if (PyErr_Occurred()) SWIG_fail
;
37998 wxGBPosition
* resultptr
;
37999 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38008 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38009 PyObject
*resultobj
;
38010 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38012 PyObject
* obj0
= 0 ;
38013 char *kwnames
[] = {
38014 (char *) "self", NULL
38017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38022 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38024 wxPyEndAllowThreads(__tstate
);
38025 if (PyErr_Occurred()) SWIG_fail
;
38028 wxGBSpan
* resultptr
;
38029 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38038 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38039 PyObject
*resultobj
;
38040 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38041 wxGBPosition
*arg2
= 0 ;
38043 wxGBPosition temp2
;
38044 PyObject
* obj0
= 0 ;
38045 PyObject
* obj1
= 0 ;
38046 char *kwnames
[] = {
38047 (char *) "self",(char *) "pos", NULL
38050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38055 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38059 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38061 wxPyEndAllowThreads(__tstate
);
38062 if (PyErr_Occurred()) SWIG_fail
;
38065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38073 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38074 PyObject
*resultobj
;
38075 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38076 wxGBSpan
*arg2
= 0 ;
38079 PyObject
* obj0
= 0 ;
38080 PyObject
* obj1
= 0 ;
38081 char *kwnames
[] = {
38082 (char *) "self",(char *) "span", NULL
38085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38090 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38094 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38096 wxPyEndAllowThreads(__tstate
);
38097 if (PyErr_Occurred()) SWIG_fail
;
38100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38108 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38109 PyObject
*resultobj
;
38110 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38111 wxGBSizerItem
*arg2
= 0 ;
38113 PyObject
* obj0
= 0 ;
38114 PyObject
* obj1
= 0 ;
38115 char *kwnames
[] = {
38116 (char *) "self",(char *) "other", NULL
38119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38123 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38125 if (arg2
== NULL
) {
38126 PyErr_SetString(PyExc_TypeError
,"null reference");
38130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38131 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38133 wxPyEndAllowThreads(__tstate
);
38134 if (PyErr_Occurred()) SWIG_fail
;
38137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38145 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38146 PyObject
*resultobj
;
38147 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38148 wxGBPosition
*arg2
= 0 ;
38149 wxGBSpan
*arg3
= 0 ;
38151 wxGBPosition temp2
;
38153 PyObject
* obj0
= 0 ;
38154 PyObject
* obj1
= 0 ;
38155 PyObject
* obj2
= 0 ;
38156 char *kwnames
[] = {
38157 (char *) "self",(char *) "pos",(char *) "span", NULL
38160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38165 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38169 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38173 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38175 wxPyEndAllowThreads(__tstate
);
38176 if (PyErr_Occurred()) SWIG_fail
;
38179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38187 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38188 PyObject
*resultobj
;
38189 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38190 wxGBPosition result
;
38191 PyObject
* obj0
= 0 ;
38192 char *kwnames
[] = {
38193 (char *) "self", NULL
38196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38201 result
= wxGBSizerItem_GetEndPos(arg1
);
38203 wxPyEndAllowThreads(__tstate
);
38204 if (PyErr_Occurred()) SWIG_fail
;
38207 wxGBPosition
* resultptr
;
38208 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38217 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38218 PyObject
*resultobj
;
38219 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38220 wxGridBagSizer
*result
;
38221 PyObject
* obj0
= 0 ;
38222 char *kwnames
[] = {
38223 (char *) "self", NULL
38226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38231 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38233 wxPyEndAllowThreads(__tstate
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38243 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38244 PyObject
*resultobj
;
38245 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38246 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38247 PyObject
* obj0
= 0 ;
38248 PyObject
* obj1
= 0 ;
38249 char *kwnames
[] = {
38250 (char *) "self",(char *) "sizer", NULL
38253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38260 (arg1
)->SetGBSizer(arg2
);
38262 wxPyEndAllowThreads(__tstate
);
38263 if (PyErr_Occurred()) SWIG_fail
;
38265 Py_INCREF(Py_None
); resultobj
= Py_None
;
38272 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
38274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38275 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38277 return Py_BuildValue((char *)"");
38279 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38280 PyObject
*resultobj
;
38281 int arg1
= (int) 0 ;
38282 int arg2
= (int) 0 ;
38283 wxGridBagSizer
*result
;
38284 PyObject
* obj0
= 0 ;
38285 PyObject
* obj1
= 0 ;
38286 char *kwnames
[] = {
38287 (char *) "vgap",(char *) "hgap", NULL
38290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38292 arg1
= (int) SWIG_AsInt(obj0
);
38293 if (PyErr_Occurred()) SWIG_fail
;
38296 arg2
= (int) SWIG_AsInt(obj1
);
38297 if (PyErr_Occurred()) SWIG_fail
;
38300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38301 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38303 wxPyEndAllowThreads(__tstate
);
38304 if (PyErr_Occurred()) SWIG_fail
;
38306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38313 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38314 PyObject
*resultobj
;
38315 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38316 PyObject
*arg2
= (PyObject
*) 0 ;
38317 wxGBPosition
*arg3
= 0 ;
38318 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38319 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38320 int arg5
= (int) 0 ;
38321 int arg6
= (int) 0 ;
38322 PyObject
*arg7
= (PyObject
*) NULL
;
38324 wxGBPosition temp3
;
38326 PyObject
* obj0
= 0 ;
38327 PyObject
* obj1
= 0 ;
38328 PyObject
* obj2
= 0 ;
38329 PyObject
* obj3
= 0 ;
38330 PyObject
* obj4
= 0 ;
38331 PyObject
* obj5
= 0 ;
38332 PyObject
* obj6
= 0 ;
38333 char *kwnames
[] = {
38334 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38343 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38348 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38352 arg5
= (int) SWIG_AsInt(obj4
);
38353 if (PyErr_Occurred()) SWIG_fail
;
38356 arg6
= (int) SWIG_AsInt(obj5
);
38357 if (PyErr_Occurred()) SWIG_fail
;
38363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38364 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38366 wxPyEndAllowThreads(__tstate
);
38367 if (PyErr_Occurred()) SWIG_fail
;
38370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38378 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38379 PyObject
*resultobj
;
38380 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38381 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38383 PyObject
* obj0
= 0 ;
38384 PyObject
* obj1
= 0 ;
38385 char *kwnames
[] = {
38386 (char *) "self",(char *) "item", NULL
38389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38396 result
= (bool)(arg1
)->Add(arg2
);
38398 wxPyEndAllowThreads(__tstate
);
38399 if (PyErr_Occurred()) SWIG_fail
;
38402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38410 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38411 PyObject
*resultobj
;
38412 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38414 PyObject
* obj0
= 0 ;
38415 char *kwnames
[] = {
38416 (char *) "self", NULL
38419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38424 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38426 wxPyEndAllowThreads(__tstate
);
38427 if (PyErr_Occurred()) SWIG_fail
;
38430 wxSize
* resultptr
;
38431 resultptr
= new wxSize((wxSize
&) result
);
38432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38440 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38441 PyObject
*resultobj
;
38442 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38445 PyObject
* obj0
= 0 ;
38446 PyObject
* obj1
= 0 ;
38447 char *kwnames
[] = {
38448 (char *) "self",(char *) "sz", NULL
38451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38456 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38460 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38462 wxPyEndAllowThreads(__tstate
);
38463 if (PyErr_Occurred()) SWIG_fail
;
38465 Py_INCREF(Py_None
); resultobj
= Py_None
;
38472 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38473 PyObject
*resultobj
;
38474 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38475 wxWindow
*arg2
= (wxWindow
*) 0 ;
38476 wxGBPosition result
;
38477 PyObject
* obj0
= 0 ;
38478 PyObject
* obj1
= 0 ;
38480 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38487 result
= (arg1
)->GetItemPosition(arg2
);
38489 wxPyEndAllowThreads(__tstate
);
38490 if (PyErr_Occurred()) SWIG_fail
;
38493 wxGBPosition
* resultptr
;
38494 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38503 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38504 PyObject
*resultobj
;
38505 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38506 wxSizer
*arg2
= (wxSizer
*) 0 ;
38507 wxGBPosition result
;
38508 PyObject
* obj0
= 0 ;
38509 PyObject
* obj1
= 0 ;
38511 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38518 result
= (arg1
)->GetItemPosition(arg2
);
38520 wxPyEndAllowThreads(__tstate
);
38521 if (PyErr_Occurred()) SWIG_fail
;
38524 wxGBPosition
* resultptr
;
38525 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38534 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38535 PyObject
*resultobj
;
38536 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38538 wxGBPosition result
;
38539 PyObject
* obj0
= 0 ;
38540 PyObject
* obj1
= 0 ;
38542 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38545 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38546 if (PyErr_Occurred()) SWIG_fail
;
38548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38549 result
= (arg1
)->GetItemPosition(arg2
);
38551 wxPyEndAllowThreads(__tstate
);
38552 if (PyErr_Occurred()) SWIG_fail
;
38555 wxGBPosition
* resultptr
;
38556 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38565 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38570 argc
= PyObject_Length(args
);
38571 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38572 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38578 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38588 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38596 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38604 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38614 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38622 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38630 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38638 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38640 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38645 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38650 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38651 PyObject
*resultobj
;
38652 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38653 wxWindow
*arg2
= (wxWindow
*) 0 ;
38654 wxGBPosition
*arg3
= 0 ;
38656 wxGBPosition temp3
;
38657 PyObject
* obj0
= 0 ;
38658 PyObject
* obj1
= 0 ;
38659 PyObject
* obj2
= 0 ;
38661 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38668 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38672 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38674 wxPyEndAllowThreads(__tstate
);
38675 if (PyErr_Occurred()) SWIG_fail
;
38678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38686 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38687 PyObject
*resultobj
;
38688 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38689 wxSizer
*arg2
= (wxSizer
*) 0 ;
38690 wxGBPosition
*arg3
= 0 ;
38692 wxGBPosition temp3
;
38693 PyObject
* obj0
= 0 ;
38694 PyObject
* obj1
= 0 ;
38695 PyObject
* obj2
= 0 ;
38697 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38704 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38708 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38710 wxPyEndAllowThreads(__tstate
);
38711 if (PyErr_Occurred()) SWIG_fail
;
38714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38722 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38723 PyObject
*resultobj
;
38724 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38726 wxGBPosition
*arg3
= 0 ;
38728 wxGBPosition temp3
;
38729 PyObject
* obj0
= 0 ;
38730 PyObject
* obj1
= 0 ;
38731 PyObject
* obj2
= 0 ;
38733 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38736 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38737 if (PyErr_Occurred()) SWIG_fail
;
38740 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38744 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38746 wxPyEndAllowThreads(__tstate
);
38747 if (PyErr_Occurred()) SWIG_fail
;
38750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38758 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38763 argc
= PyObject_Length(args
);
38764 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38765 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38771 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38781 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38790 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38793 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38802 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38812 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38821 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38824 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38833 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38841 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38844 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38847 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38853 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38858 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38859 PyObject
*resultobj
;
38860 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38861 wxWindow
*arg2
= (wxWindow
*) 0 ;
38863 PyObject
* obj0
= 0 ;
38864 PyObject
* obj1
= 0 ;
38866 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38873 result
= (arg1
)->GetItemSpan(arg2
);
38875 wxPyEndAllowThreads(__tstate
);
38876 if (PyErr_Occurred()) SWIG_fail
;
38879 wxGBSpan
* resultptr
;
38880 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38889 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38890 PyObject
*resultobj
;
38891 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38892 wxSizer
*arg2
= (wxSizer
*) 0 ;
38894 PyObject
* obj0
= 0 ;
38895 PyObject
* obj1
= 0 ;
38897 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38904 result
= (arg1
)->GetItemSpan(arg2
);
38906 wxPyEndAllowThreads(__tstate
);
38907 if (PyErr_Occurred()) SWIG_fail
;
38910 wxGBSpan
* resultptr
;
38911 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38920 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38921 PyObject
*resultobj
;
38922 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38925 PyObject
* obj0
= 0 ;
38926 PyObject
* obj1
= 0 ;
38928 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38931 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38932 if (PyErr_Occurred()) SWIG_fail
;
38934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38935 result
= (arg1
)->GetItemSpan(arg2
);
38937 wxPyEndAllowThreads(__tstate
);
38938 if (PyErr_Occurred()) SWIG_fail
;
38941 wxGBSpan
* resultptr
;
38942 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38951 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38956 argc
= PyObject_Length(args
);
38957 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38958 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38964 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38974 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38982 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38990 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39000 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39008 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39016 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39024 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39026 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39031 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39036 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
39037 PyObject
*resultobj
;
39038 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39039 wxWindow
*arg2
= (wxWindow
*) 0 ;
39040 wxGBSpan
*arg3
= 0 ;
39043 PyObject
* obj0
= 0 ;
39044 PyObject
* obj1
= 0 ;
39045 PyObject
* obj2
= 0 ;
39047 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39054 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39058 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39060 wxPyEndAllowThreads(__tstate
);
39061 if (PyErr_Occurred()) SWIG_fail
;
39064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39072 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
39073 PyObject
*resultobj
;
39074 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39075 wxSizer
*arg2
= (wxSizer
*) 0 ;
39076 wxGBSpan
*arg3
= 0 ;
39079 PyObject
* obj0
= 0 ;
39080 PyObject
* obj1
= 0 ;
39081 PyObject
* obj2
= 0 ;
39083 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39090 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39094 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39096 wxPyEndAllowThreads(__tstate
);
39097 if (PyErr_Occurred()) SWIG_fail
;
39100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39108 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
39109 PyObject
*resultobj
;
39110 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39112 wxGBSpan
*arg3
= 0 ;
39115 PyObject
* obj0
= 0 ;
39116 PyObject
* obj1
= 0 ;
39117 PyObject
* obj2
= 0 ;
39119 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39122 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
39123 if (PyErr_Occurred()) SWIG_fail
;
39126 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39130 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39132 wxPyEndAllowThreads(__tstate
);
39133 if (PyErr_Occurred()) SWIG_fail
;
39136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39144 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39149 argc
= PyObject_Length(args
);
39150 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39151 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39157 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39167 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39176 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39179 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39188 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39198 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39207 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39210 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39219 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39227 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39230 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39233 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39239 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39244 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
39245 PyObject
*resultobj
;
39246 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39247 wxWindow
*arg2
= (wxWindow
*) 0 ;
39248 wxGBSizerItem
*result
;
39249 PyObject
* obj0
= 0 ;
39250 PyObject
* obj1
= 0 ;
39252 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39259 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39261 wxPyEndAllowThreads(__tstate
);
39262 if (PyErr_Occurred()) SWIG_fail
;
39264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39271 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
39272 PyObject
*resultobj
;
39273 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39274 wxSizer
*arg2
= (wxSizer
*) 0 ;
39275 wxGBSizerItem
*result
;
39276 PyObject
* obj0
= 0 ;
39277 PyObject
* obj1
= 0 ;
39279 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39286 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39288 wxPyEndAllowThreads(__tstate
);
39289 if (PyErr_Occurred()) SWIG_fail
;
39291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39298 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39303 argc
= PyObject_Length(args
);
39304 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39305 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39311 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39321 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39329 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39337 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39347 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39355 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39360 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39365 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39366 PyObject
*resultobj
;
39367 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39368 wxGBPosition
*arg2
= 0 ;
39369 wxGBSizerItem
*result
;
39370 wxGBPosition temp2
;
39371 PyObject
* obj0
= 0 ;
39372 PyObject
* obj1
= 0 ;
39373 char *kwnames
[] = {
39374 (char *) "self",(char *) "pos", NULL
39377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39382 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39386 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39388 wxPyEndAllowThreads(__tstate
);
39389 if (PyErr_Occurred()) SWIG_fail
;
39391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39398 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39399 PyObject
*resultobj
;
39400 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39401 wxPoint
*arg2
= 0 ;
39402 wxGBSizerItem
*result
;
39404 PyObject
* obj0
= 0 ;
39405 PyObject
* obj1
= 0 ;
39406 char *kwnames
[] = {
39407 (char *) "self",(char *) "pt", NULL
39410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39415 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39419 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39421 wxPyEndAllowThreads(__tstate
);
39422 if (PyErr_Occurred()) SWIG_fail
;
39424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39431 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39432 PyObject
*resultobj
;
39433 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39434 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39435 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39437 PyObject
* obj0
= 0 ;
39438 PyObject
* obj1
= 0 ;
39439 PyObject
* obj2
= 0 ;
39440 char *kwnames
[] = {
39441 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39450 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39455 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39457 wxPyEndAllowThreads(__tstate
);
39458 if (PyErr_Occurred()) SWIG_fail
;
39461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39469 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39470 PyObject
*resultobj
;
39471 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39472 wxGBPosition
*arg2
= 0 ;
39473 wxGBSpan
*arg3
= 0 ;
39474 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39476 wxGBPosition temp2
;
39478 PyObject
* obj0
= 0 ;
39479 PyObject
* obj1
= 0 ;
39480 PyObject
* obj2
= 0 ;
39481 PyObject
* obj3
= 0 ;
39482 char *kwnames
[] = {
39483 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39491 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39495 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39498 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39503 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39505 wxPyEndAllowThreads(__tstate
);
39506 if (PyErr_Occurred()) SWIG_fail
;
39509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39517 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39520 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39522 return Py_BuildValue((char *)"");
39524 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39525 PyObject
*resultobj
;
39526 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39528 wxWindow
*arg3
= (wxWindow
*) 0 ;
39530 int arg5
= (int) 0 ;
39531 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39532 PyObject
* obj0
= 0 ;
39533 PyObject
* obj1
= 0 ;
39534 PyObject
* obj2
= 0 ;
39535 PyObject
* obj3
= 0 ;
39536 PyObject
* obj4
= 0 ;
39537 PyObject
* obj5
= 0 ;
39538 char *kwnames
[] = {
39539 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39545 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39546 if (PyErr_Occurred()) SWIG_fail
;
39547 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39549 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39550 if (PyErr_Occurred()) SWIG_fail
;
39552 arg5
= (int) SWIG_AsInt(obj4
);
39553 if (PyErr_Occurred()) SWIG_fail
;
39556 arg6
= (int) SWIG_AsInt(obj5
);
39557 if (PyErr_Occurred()) SWIG_fail
;
39560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39561 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39563 wxPyEndAllowThreads(__tstate
);
39564 if (PyErr_Occurred()) SWIG_fail
;
39566 Py_INCREF(Py_None
); resultobj
= Py_None
;
39573 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39574 PyObject
*resultobj
;
39575 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39576 wxWindow
*arg2
= (wxWindow
*) 0 ;
39577 int arg3
= (int) 0 ;
39578 PyObject
* obj0
= 0 ;
39579 PyObject
* obj1
= 0 ;
39580 PyObject
* obj2
= 0 ;
39581 char *kwnames
[] = {
39582 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39591 arg3
= (int) SWIG_AsInt(obj2
);
39592 if (PyErr_Occurred()) SWIG_fail
;
39595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39596 (arg1
)->LeftOf(arg2
,arg3
);
39598 wxPyEndAllowThreads(__tstate
);
39599 if (PyErr_Occurred()) SWIG_fail
;
39601 Py_INCREF(Py_None
); resultobj
= Py_None
;
39608 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39609 PyObject
*resultobj
;
39610 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39611 wxWindow
*arg2
= (wxWindow
*) 0 ;
39612 int arg3
= (int) 0 ;
39613 PyObject
* obj0
= 0 ;
39614 PyObject
* obj1
= 0 ;
39615 PyObject
* obj2
= 0 ;
39616 char *kwnames
[] = {
39617 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39626 arg3
= (int) SWIG_AsInt(obj2
);
39627 if (PyErr_Occurred()) SWIG_fail
;
39630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39631 (arg1
)->RightOf(arg2
,arg3
);
39633 wxPyEndAllowThreads(__tstate
);
39634 if (PyErr_Occurred()) SWIG_fail
;
39636 Py_INCREF(Py_None
); resultobj
= Py_None
;
39643 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39644 PyObject
*resultobj
;
39645 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39646 wxWindow
*arg2
= (wxWindow
*) 0 ;
39647 int arg3
= (int) 0 ;
39648 PyObject
* obj0
= 0 ;
39649 PyObject
* obj1
= 0 ;
39650 PyObject
* obj2
= 0 ;
39651 char *kwnames
[] = {
39652 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39661 arg3
= (int) SWIG_AsInt(obj2
);
39662 if (PyErr_Occurred()) SWIG_fail
;
39665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39666 (arg1
)->Above(arg2
,arg3
);
39668 wxPyEndAllowThreads(__tstate
);
39669 if (PyErr_Occurred()) SWIG_fail
;
39671 Py_INCREF(Py_None
); resultobj
= Py_None
;
39678 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39679 PyObject
*resultobj
;
39680 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39681 wxWindow
*arg2
= (wxWindow
*) 0 ;
39682 int arg3
= (int) 0 ;
39683 PyObject
* obj0
= 0 ;
39684 PyObject
* obj1
= 0 ;
39685 PyObject
* obj2
= 0 ;
39686 char *kwnames
[] = {
39687 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39696 arg3
= (int) SWIG_AsInt(obj2
);
39697 if (PyErr_Occurred()) SWIG_fail
;
39700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39701 (arg1
)->Below(arg2
,arg3
);
39703 wxPyEndAllowThreads(__tstate
);
39704 if (PyErr_Occurred()) SWIG_fail
;
39706 Py_INCREF(Py_None
); resultobj
= Py_None
;
39713 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39714 PyObject
*resultobj
;
39715 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39716 wxWindow
*arg2
= (wxWindow
*) 0 ;
39718 int arg4
= (int) 0 ;
39719 PyObject
* obj0
= 0 ;
39720 PyObject
* obj1
= 0 ;
39721 PyObject
* obj2
= 0 ;
39722 PyObject
* obj3
= 0 ;
39723 char *kwnames
[] = {
39724 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39732 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39733 if (PyErr_Occurred()) SWIG_fail
;
39735 arg4
= (int) SWIG_AsInt(obj3
);
39736 if (PyErr_Occurred()) SWIG_fail
;
39739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39740 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39742 wxPyEndAllowThreads(__tstate
);
39743 if (PyErr_Occurred()) SWIG_fail
;
39745 Py_INCREF(Py_None
); resultobj
= Py_None
;
39752 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39753 PyObject
*resultobj
;
39754 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39755 wxWindow
*arg2
= (wxWindow
*) 0 ;
39758 PyObject
* obj0
= 0 ;
39759 PyObject
* obj1
= 0 ;
39760 PyObject
* obj2
= 0 ;
39761 PyObject
* obj3
= 0 ;
39762 char *kwnames
[] = {
39763 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39771 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39772 if (PyErr_Occurred()) SWIG_fail
;
39773 arg4
= (int) SWIG_AsInt(obj3
);
39774 if (PyErr_Occurred()) SWIG_fail
;
39776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39777 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39779 wxPyEndAllowThreads(__tstate
);
39780 if (PyErr_Occurred()) SWIG_fail
;
39782 Py_INCREF(Py_None
); resultobj
= Py_None
;
39789 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39790 PyObject
*resultobj
;
39791 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39793 PyObject
* obj0
= 0 ;
39794 PyObject
* obj1
= 0 ;
39795 char *kwnames
[] = {
39796 (char *) "self",(char *) "val", NULL
39799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39802 arg2
= (int) SWIG_AsInt(obj1
);
39803 if (PyErr_Occurred()) SWIG_fail
;
39805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39806 (arg1
)->Absolute(arg2
);
39808 wxPyEndAllowThreads(__tstate
);
39809 if (PyErr_Occurred()) SWIG_fail
;
39811 Py_INCREF(Py_None
); resultobj
= Py_None
;
39818 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39819 PyObject
*resultobj
;
39820 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39821 PyObject
* obj0
= 0 ;
39822 char *kwnames
[] = {
39823 (char *) "self", NULL
39826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39831 (arg1
)->Unconstrained();
39833 wxPyEndAllowThreads(__tstate
);
39834 if (PyErr_Occurred()) SWIG_fail
;
39836 Py_INCREF(Py_None
); resultobj
= Py_None
;
39843 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39844 PyObject
*resultobj
;
39845 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39846 PyObject
* obj0
= 0 ;
39847 char *kwnames
[] = {
39848 (char *) "self", NULL
39851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39858 wxPyEndAllowThreads(__tstate
);
39859 if (PyErr_Occurred()) SWIG_fail
;
39861 Py_INCREF(Py_None
); resultobj
= Py_None
;
39868 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39869 PyObject
*resultobj
;
39870 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39872 PyObject
* obj0
= 0 ;
39873 char *kwnames
[] = {
39874 (char *) "self", NULL
39877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39882 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39884 wxPyEndAllowThreads(__tstate
);
39885 if (PyErr_Occurred()) SWIG_fail
;
39888 resultobj
= wxPyMake_wxObject(result
, 0);
39896 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39897 PyObject
*resultobj
;
39898 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39900 PyObject
* obj0
= 0 ;
39901 char *kwnames
[] = {
39902 (char *) "self", NULL
39905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39910 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39912 wxPyEndAllowThreads(__tstate
);
39913 if (PyErr_Occurred()) SWIG_fail
;
39915 resultobj
= SWIG_FromInt((int)result
);
39922 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39923 PyObject
*resultobj
;
39924 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39926 PyObject
* obj0
= 0 ;
39927 PyObject
* obj1
= 0 ;
39928 char *kwnames
[] = {
39929 (char *) "self",(char *) "which", NULL
39932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39935 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39936 if (PyErr_Occurred()) SWIG_fail
;
39938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39939 (arg1
)->SetEdge((wxEdge
)arg2
);
39941 wxPyEndAllowThreads(__tstate
);
39942 if (PyErr_Occurred()) SWIG_fail
;
39944 Py_INCREF(Py_None
); resultobj
= Py_None
;
39951 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39952 PyObject
*resultobj
;
39953 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39955 PyObject
* obj0
= 0 ;
39956 PyObject
* obj1
= 0 ;
39957 char *kwnames
[] = {
39958 (char *) "self",(char *) "v", NULL
39961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39964 arg2
= (int) SWIG_AsInt(obj1
);
39965 if (PyErr_Occurred()) SWIG_fail
;
39967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39968 (arg1
)->SetValue(arg2
);
39970 wxPyEndAllowThreads(__tstate
);
39971 if (PyErr_Occurred()) SWIG_fail
;
39973 Py_INCREF(Py_None
); resultobj
= Py_None
;
39980 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39981 PyObject
*resultobj
;
39982 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39984 PyObject
* obj0
= 0 ;
39985 char *kwnames
[] = {
39986 (char *) "self", NULL
39989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39994 result
= (int)(arg1
)->GetMargin();
39996 wxPyEndAllowThreads(__tstate
);
39997 if (PyErr_Occurred()) SWIG_fail
;
39999 resultobj
= SWIG_FromInt((int)result
);
40006 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40007 PyObject
*resultobj
;
40008 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40010 PyObject
* obj0
= 0 ;
40011 PyObject
* obj1
= 0 ;
40012 char *kwnames
[] = {
40013 (char *) "self",(char *) "m", NULL
40016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40019 arg2
= (int) SWIG_AsInt(obj1
);
40020 if (PyErr_Occurred()) SWIG_fail
;
40022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40023 (arg1
)->SetMargin(arg2
);
40025 wxPyEndAllowThreads(__tstate
);
40026 if (PyErr_Occurred()) SWIG_fail
;
40028 Py_INCREF(Py_None
); resultobj
= Py_None
;
40035 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40036 PyObject
*resultobj
;
40037 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40039 PyObject
* obj0
= 0 ;
40040 char *kwnames
[] = {
40041 (char *) "self", NULL
40044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40049 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40051 wxPyEndAllowThreads(__tstate
);
40052 if (PyErr_Occurred()) SWIG_fail
;
40054 resultobj
= SWIG_FromInt((int)result
);
40061 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40062 PyObject
*resultobj
;
40063 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40065 PyObject
* obj0
= 0 ;
40066 char *kwnames
[] = {
40067 (char *) "self", NULL
40070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40075 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40077 wxPyEndAllowThreads(__tstate
);
40078 if (PyErr_Occurred()) SWIG_fail
;
40080 resultobj
= SWIG_FromInt((int)result
);
40087 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40088 PyObject
*resultobj
;
40089 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40091 PyObject
* obj0
= 0 ;
40092 char *kwnames
[] = {
40093 (char *) "self", NULL
40096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40101 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40103 wxPyEndAllowThreads(__tstate
);
40104 if (PyErr_Occurred()) SWIG_fail
;
40106 resultobj
= SWIG_FromInt((int)result
);
40113 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40114 PyObject
*resultobj
;
40115 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40117 PyObject
* obj0
= 0 ;
40118 char *kwnames
[] = {
40119 (char *) "self", NULL
40122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40127 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40129 wxPyEndAllowThreads(__tstate
);
40130 if (PyErr_Occurred()) SWIG_fail
;
40133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40141 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40142 PyObject
*resultobj
;
40143 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40145 PyObject
* obj0
= 0 ;
40146 PyObject
* obj1
= 0 ;
40147 char *kwnames
[] = {
40148 (char *) "self",(char *) "d", NULL
40151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40154 arg2
= (bool) SWIG_AsBool(obj1
);
40155 if (PyErr_Occurred()) SWIG_fail
;
40157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40158 (arg1
)->SetDone(arg2
);
40160 wxPyEndAllowThreads(__tstate
);
40161 if (PyErr_Occurred()) SWIG_fail
;
40163 Py_INCREF(Py_None
); resultobj
= Py_None
;
40170 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40171 PyObject
*resultobj
;
40172 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40174 PyObject
* obj0
= 0 ;
40175 char *kwnames
[] = {
40176 (char *) "self", NULL
40179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40184 result
= (int)(arg1
)->GetRelationship();
40186 wxPyEndAllowThreads(__tstate
);
40187 if (PyErr_Occurred()) SWIG_fail
;
40189 resultobj
= SWIG_FromInt((int)result
);
40196 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40197 PyObject
*resultobj
;
40198 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40200 PyObject
* obj0
= 0 ;
40201 PyObject
* obj1
= 0 ;
40202 char *kwnames
[] = {
40203 (char *) "self",(char *) "r", NULL
40206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40209 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
40210 if (PyErr_Occurred()) SWIG_fail
;
40212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40213 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40215 wxPyEndAllowThreads(__tstate
);
40216 if (PyErr_Occurred()) SWIG_fail
;
40218 Py_INCREF(Py_None
); resultobj
= Py_None
;
40225 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40226 PyObject
*resultobj
;
40227 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40228 wxWindow
*arg2
= (wxWindow
*) 0 ;
40230 PyObject
* obj0
= 0 ;
40231 PyObject
* obj1
= 0 ;
40232 char *kwnames
[] = {
40233 (char *) "self",(char *) "otherW", NULL
40236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40243 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40245 wxPyEndAllowThreads(__tstate
);
40246 if (PyErr_Occurred()) SWIG_fail
;
40249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40257 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40258 PyObject
*resultobj
;
40259 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40260 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40261 wxWindow
*arg3
= (wxWindow
*) 0 ;
40263 PyObject
* obj0
= 0 ;
40264 PyObject
* obj1
= 0 ;
40265 PyObject
* obj2
= 0 ;
40266 char *kwnames
[] = {
40267 (char *) "self",(char *) "constraints",(char *) "win", NULL
40270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40275 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40279 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40281 wxPyEndAllowThreads(__tstate
);
40282 if (PyErr_Occurred()) SWIG_fail
;
40285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40293 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40294 PyObject
*resultobj
;
40295 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40297 wxWindow
*arg3
= (wxWindow
*) 0 ;
40298 wxWindow
*arg4
= (wxWindow
*) 0 ;
40300 PyObject
* obj0
= 0 ;
40301 PyObject
* obj1
= 0 ;
40302 PyObject
* obj2
= 0 ;
40303 PyObject
* obj3
= 0 ;
40304 char *kwnames
[] = {
40305 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40311 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40312 if (PyErr_Occurred()) SWIG_fail
;
40313 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40315 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40319 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40321 wxPyEndAllowThreads(__tstate
);
40322 if (PyErr_Occurred()) SWIG_fail
;
40324 resultobj
= SWIG_FromInt((int)result
);
40331 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40334 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40336 return Py_BuildValue((char *)"");
40338 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40339 PyObject
*resultobj
;
40340 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40341 wxIndividualLayoutConstraint
*result
;
40342 PyObject
* obj0
= 0 ;
40343 char *kwnames
[] = {
40344 (char *) "self", NULL
40347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40350 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40359 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40360 PyObject
*resultobj
;
40361 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40362 wxIndividualLayoutConstraint
*result
;
40363 PyObject
* obj0
= 0 ;
40364 char *kwnames
[] = {
40365 (char *) "self", NULL
40368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40371 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40380 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40381 PyObject
*resultobj
;
40382 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40383 wxIndividualLayoutConstraint
*result
;
40384 PyObject
* obj0
= 0 ;
40385 char *kwnames
[] = {
40386 (char *) "self", NULL
40389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40392 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40401 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40402 PyObject
*resultobj
;
40403 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40404 wxIndividualLayoutConstraint
*result
;
40405 PyObject
* obj0
= 0 ;
40406 char *kwnames
[] = {
40407 (char *) "self", NULL
40410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40413 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40422 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40423 PyObject
*resultobj
;
40424 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40425 wxIndividualLayoutConstraint
*result
;
40426 PyObject
* obj0
= 0 ;
40427 char *kwnames
[] = {
40428 (char *) "self", NULL
40431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40434 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40443 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40444 PyObject
*resultobj
;
40445 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40446 wxIndividualLayoutConstraint
*result
;
40447 PyObject
* obj0
= 0 ;
40448 char *kwnames
[] = {
40449 (char *) "self", NULL
40452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40455 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40464 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40465 PyObject
*resultobj
;
40466 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40467 wxIndividualLayoutConstraint
*result
;
40468 PyObject
* obj0
= 0 ;
40469 char *kwnames
[] = {
40470 (char *) "self", NULL
40473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40476 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40485 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40486 PyObject
*resultobj
;
40487 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40488 wxIndividualLayoutConstraint
*result
;
40489 PyObject
* obj0
= 0 ;
40490 char *kwnames
[] = {
40491 (char *) "self", NULL
40494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40497 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40506 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40507 PyObject
*resultobj
;
40508 wxLayoutConstraints
*result
;
40509 char *kwnames
[] = {
40513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40516 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40518 wxPyEndAllowThreads(__tstate
);
40519 if (PyErr_Occurred()) SWIG_fail
;
40521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40528 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40529 PyObject
*resultobj
;
40530 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40531 wxWindow
*arg2
= (wxWindow
*) 0 ;
40532 int *arg3
= (int *) 0 ;
40535 PyObject
* obj0
= 0 ;
40536 PyObject
* obj1
= 0 ;
40537 char *kwnames
[] = {
40538 (char *) "self",(char *) "win", NULL
40542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40549 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40551 wxPyEndAllowThreads(__tstate
);
40552 if (PyErr_Occurred()) SWIG_fail
;
40555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40558 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40559 resultobj
= t_output_helper(resultobj
,o
);
40567 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40568 PyObject
*resultobj
;
40569 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40571 PyObject
* obj0
= 0 ;
40572 char *kwnames
[] = {
40573 (char *) "self", NULL
40576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40581 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40583 wxPyEndAllowThreads(__tstate
);
40584 if (PyErr_Occurred()) SWIG_fail
;
40587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40595 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40598 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40600 return Py_BuildValue((char *)"");
40602 static PyMethodDef SwigMethods
[] = {
40603 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40604 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40605 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40608 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40629 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40642 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40657 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40708 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40736 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40754 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40756 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40764 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40765 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40777 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40788 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40793 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40799 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40809 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40819 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40823 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40894 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40896 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40898 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40900 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40902 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40904 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40906 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40908 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40910 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40912 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40914 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40916 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40930 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40948 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40951 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40954 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40966 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40971 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40977 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40983 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
41046 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
41053 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
41089 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
41099 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
41109 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
41111 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
41113 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
41116 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
41120 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
41123 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
41126 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
41128 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
41133 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
41141 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
41145 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
41148 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
41150 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
41154 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
41171 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
41173 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
41176 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
41178 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
41182 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
41186 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
41195 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
41198 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
41201 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
41205 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
41212 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
41217 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
41222 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
41266 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
41281 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
41285 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
41295 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
41347 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
41348 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41413 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41432 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41434 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41437 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41451 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41460 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41468 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41471 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41476 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41493 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41494 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41496 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41497 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41498 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41499 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41500 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41502 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41506 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41510 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41511 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41512 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41513 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41514 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41515 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41516 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41517 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41518 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41519 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41520 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41521 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41522 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41523 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41524 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41525 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41526 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41527 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41528 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41529 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41530 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41531 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41532 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41533 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41534 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41535 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41536 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41537 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41538 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41539 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41540 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41541 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41542 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41543 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41544 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41545 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41546 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41547 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41548 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41549 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41550 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41551 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41552 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41553 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41554 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41555 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41556 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41557 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41558 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41559 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41560 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41561 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41562 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41563 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41564 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41565 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41566 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41567 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41568 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41569 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41570 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41571 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41572 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41573 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41574 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41575 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41576 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41577 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41578 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41579 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41580 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41581 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41582 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41583 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41584 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41585 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41586 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41587 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41588 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41589 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41590 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41591 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41592 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41593 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41594 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41595 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41596 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41597 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41598 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41599 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41600 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41601 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41602 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41603 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41604 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41605 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41606 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41607 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41608 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41609 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41610 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41611 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41612 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41613 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41614 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41615 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41616 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41617 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41618 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41619 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41620 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41621 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41622 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41623 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41624 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41625 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41626 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41627 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41628 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41629 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41630 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41631 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41632 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41633 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41634 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41635 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41636 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41637 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41638 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41639 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41640 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41641 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41642 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41643 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41644 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41645 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41646 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41647 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41648 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41649 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41650 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41651 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41652 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41653 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41654 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41655 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41656 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41657 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41658 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41659 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41660 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41661 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41662 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41663 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41664 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41665 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41666 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41667 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41668 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41669 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41670 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41671 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41672 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41673 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41674 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41675 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41676 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41677 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41678 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41679 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
},
41680 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41681 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41682 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41683 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41684 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41685 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41686 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41687 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41688 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41689 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41690 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41691 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41692 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41693 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41694 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41695 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41696 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41697 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41698 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41699 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41700 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41701 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41702 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41703 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41704 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41705 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41706 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41707 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41708 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41709 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41710 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41711 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41712 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41713 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41714 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41715 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41716 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41717 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41718 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41719 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41720 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41721 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41722 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41723 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41724 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41725 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41726 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41727 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41728 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41729 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41730 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41731 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41732 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41733 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41734 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41735 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41736 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41737 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41738 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41739 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41740 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41741 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41742 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41743 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41744 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41745 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41746 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41747 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41748 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41749 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41750 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41751 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41752 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41753 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41754 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41755 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41756 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41757 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41758 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41759 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41760 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41761 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41762 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41763 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41764 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41765 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41766 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41767 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41768 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41769 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41770 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41771 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41772 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41773 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41774 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41775 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41776 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41777 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41778 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41779 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41780 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41781 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41782 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41783 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41784 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41785 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41786 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41787 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41788 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41789 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41790 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41791 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41792 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41793 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41794 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
41795 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
},
41796 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41797 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41798 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41799 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41800 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41801 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41802 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41803 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41804 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41805 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41806 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41807 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41808 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41809 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41810 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41811 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41812 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
},
41813 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
},
41814 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41815 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41816 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41817 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41818 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41819 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41820 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41821 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41822 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41823 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41824 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41825 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41826 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41827 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41828 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41829 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41830 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41831 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41832 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41833 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41834 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41835 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41836 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41837 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41838 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41839 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41840 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41841 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41842 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41843 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41844 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41845 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41846 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41847 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41848 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41849 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41850 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41851 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41852 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41853 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41858 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41860 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41861 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41863 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41864 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41866 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41867 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41869 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41870 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41872 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41873 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41875 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41876 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41878 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41879 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41881 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41882 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41884 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41885 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41887 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41888 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41890 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41891 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41893 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41894 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41896 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41897 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41899 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41900 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41902 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41903 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41905 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41906 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41908 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41909 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41911 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41914 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41915 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41917 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41918 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41920 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41921 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41923 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41924 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41926 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41927 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41929 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41930 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41932 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41933 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41935 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41936 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41938 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41939 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41941 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41942 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41944 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41945 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41947 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41948 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41950 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41951 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41953 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41954 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41956 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41957 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41959 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41960 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41962 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41963 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41965 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41966 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41968 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41969 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41971 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41972 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41974 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41975 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41977 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41978 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41980 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41981 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41983 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41984 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41986 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41987 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41989 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41990 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41992 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41993 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41995 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41996 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41998 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41999 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42001 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42002 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42004 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42005 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42007 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42008 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42010 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42013 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42014 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42016 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42017 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42019 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42020 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42022 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42023 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42025 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42026 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42028 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42029 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42031 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42032 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42034 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42035 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42037 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42038 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42040 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42041 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42043 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42044 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42046 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42047 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42049 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42050 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42052 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42053 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42055 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42056 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42058 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42059 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42061 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42062 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42064 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42065 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42067 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42068 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42070 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42071 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42073 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42074 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42076 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42077 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42079 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42080 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42082 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42083 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42085 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42086 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42088 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42089 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42091 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42092 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42094 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42095 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42097 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42100 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42101 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42103 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42104 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42106 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42107 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42109 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42110 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42112 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42115 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42118 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42119 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42121 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42122 return (void *)((wxObject
*) ((wxSizer
*) x
));
42124 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42125 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42127 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42128 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42130 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42131 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42133 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42134 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42136 static void *_p_wxImageTo_p_wxObject(void *x
) {
42137 return (void *)((wxObject
*) ((wxImage
*) x
));
42139 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42140 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42142 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42143 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42145 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42146 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42148 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42149 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42151 static void *_p_wxControlTo_p_wxObject(void *x
) {
42152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42154 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42155 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42157 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42158 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42160 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42161 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42163 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42164 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42166 static void *_p_wxEventTo_p_wxObject(void *x
) {
42167 return (void *)((wxObject
*) ((wxEvent
*) x
));
42169 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42170 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42172 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42173 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42175 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42176 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42178 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42179 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42181 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42182 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42184 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42185 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42187 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42190 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42191 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42193 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42196 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42197 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42199 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42200 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42202 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42203 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42205 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42206 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42208 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42209 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42211 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42212 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42214 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42215 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42217 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42218 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42220 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42221 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42223 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42224 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42226 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42227 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42229 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42230 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42232 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42233 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42235 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42236 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42238 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42239 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42241 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42242 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42244 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42245 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42247 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42248 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42250 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42251 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42253 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42254 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42256 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42257 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42259 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42260 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42262 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42263 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42265 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42266 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42268 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42269 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42271 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42272 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42274 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42275 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42277 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42278 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42280 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42281 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42283 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42284 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42286 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42287 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42289 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42290 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42292 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42293 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42295 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42296 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42298 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42299 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42301 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42302 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42304 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42305 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42307 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42308 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42310 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42311 return (void *)((wxWindow
*) ((wxControl
*) x
));
42313 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42314 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42316 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42317 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42319 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42320 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42322 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42323 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42325 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42326 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42328 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42329 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42331 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42332 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42334 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42335 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42337 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42338 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42340 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42341 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42343 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42344 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42346 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}};
42347 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}};
42348 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}};
42349 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}};
42350 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}};
42351 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}};
42352 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}};
42353 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}};
42354 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}};
42355 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}};
42356 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}};
42357 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}};
42358 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}};
42359 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}};
42360 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}};
42361 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}};
42362 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}};
42363 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}};
42364 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}};
42365 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}};
42366 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}};
42367 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}};
42368 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}};
42369 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}};
42370 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}};
42371 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}};
42372 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}};
42373 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}};
42374 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}};
42375 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}};
42376 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}};
42377 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}};
42378 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}};
42379 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}};
42380 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}};
42381 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}};
42382 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}};
42383 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}};
42384 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}};
42385 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}};
42386 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}};
42387 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}};
42388 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}};
42389 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}};
42390 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}};
42391 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}};
42392 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}};
42393 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}};
42394 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}};
42395 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}};
42396 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}};
42397 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}};
42398 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}};
42399 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}};
42400 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}};
42401 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}};
42402 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}};
42403 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}};
42404 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}};
42405 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}};
42406 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}};
42407 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}};
42408 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}};
42409 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}};
42410 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}};
42411 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}};
42412 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}};
42413 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}};
42414 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}};
42415 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}};
42416 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}};
42417 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}};
42418 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}};
42419 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}};
42420 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}};
42421 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}};
42422 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}};
42423 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}};
42424 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}};
42425 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}};
42426 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}};
42427 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}};
42428 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}};
42429 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}};
42430 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}};
42431 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}};
42432 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}};
42433 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}};
42434 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}};
42435 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}};
42436 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}};
42437 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}};
42438 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}};
42439 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}};
42440 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}};
42441 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}};
42442 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}};
42443 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}};
42444 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}};
42445 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}};
42446 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}};
42447 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}};
42448 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}};
42449 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}};
42450 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}};
42451 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}};
42452 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}};
42453 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}};
42454 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}};
42455 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}};
42456 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}};
42457 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}};
42458 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}};
42459 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}};
42460 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}};
42462 static swig_type_info
*swig_types_initial
[] = {
42463 _swigt__p_wxLayoutConstraints
,
42464 _swigt__p_wxRealPoint
,
42465 _swigt__p_wxSizerItem
,
42466 _swigt__p_wxGBSizerItem
,
42467 _swigt__p_wxScrollEvent
,
42468 _swigt__p_wxIndividualLayoutConstraint
,
42470 _swigt__p_wxBoxSizer
,
42471 _swigt__p_wxStaticBoxSizer
,
42472 _swigt__p_wxGridBagSizer
,
42473 _swigt__p_wxAcceleratorEntry
,
42474 _swigt__p_wxUpdateUIEvent
,
42477 _swigt__p_wxGridSizer
,
42478 _swigt__p_wxFlexGridSizer
,
42479 _swigt__p_wxInitDialogEvent
,
42480 _swigt__p_wxItemContainer
,
42481 _swigt__p_wxNcPaintEvent
,
42482 _swigt__p_wxPaintEvent
,
42483 _swigt__p_wxSysColourChangedEvent
,
42484 _swigt__p_wxMouseCaptureChangedEvent
,
42485 _swigt__p_wxDisplayChangedEvent
,
42486 _swigt__p_wxPaletteChangedEvent
,
42487 _swigt__p_wxControl
,
42489 _swigt__p_wxMenuBarBase
,
42490 _swigt__p_wxSetCursorEvent
,
42491 _swigt__p_wxFSFile
,
42493 _swigt__p_wxRegion
,
42494 _swigt__p_wxPoint2D
,
42498 _swigt__p_wxPySizer
,
42499 _swigt__p_wxVisualAttributes
,
42500 _swigt__p_wxNotifyEvent
,
42501 _swigt__p_wxPyEvent
,
42502 _swigt__p_wxPropagationDisabler
,
42503 _swigt__p_wxAppTraits
,
42504 _swigt__p_wxArrayString
,
42505 _swigt__p_wxShowEvent
,
42506 _swigt__p_wxToolTip
,
42507 _swigt__p_wxMaximizeEvent
,
42508 _swigt__p_wxIconizeEvent
,
42509 _swigt__p_wxActivateEvent
,
42510 _swigt__p_wxMoveEvent
,
42511 _swigt__p_wxSizeEvent
,
42512 _swigt__p_wxQueryNewPaletteEvent
,
42513 _swigt__p_wxWindowCreateEvent
,
42514 _swigt__p_wxIdleEvent
,
42515 _swigt__p_wxMenuItem
,
42516 _swigt__p_wxStaticBox
,
42518 _swigt__p_wxTIFFHandler
,
42519 _swigt__p_wxXPMHandler
,
42520 _swigt__p_wxPNMHandler
,
42521 _swigt__p_wxJPEGHandler
,
42522 _swigt__p_wxPCXHandler
,
42523 _swigt__p_wxGIFHandler
,
42524 _swigt__p_wxPNGHandler
,
42525 _swigt__p_wxANIHandler
,
42526 _swigt__p_wxMemoryFSHandler
,
42527 _swigt__p_wxEvtHandler
,
42528 _swigt__p_wxCURHandler
,
42529 _swigt__p_wxICOHandler
,
42530 _swigt__p_wxBMPHandler
,
42531 _swigt__p_wxImageHandler
,
42532 _swigt__p_wxFileSystemHandler
,
42533 _swigt__p_wxPyFileSystemHandler
,
42534 _swigt__p_wxInternetFSHandler
,
42535 _swigt__p_wxZipFSHandler
,
42537 _swigt__p_wxGBSpan
,
42538 _swigt__p_wxPropagateOnce
,
42539 _swigt__p_wxAcceleratorTable
,
42541 _swigt__p_wxGBPosition
,
42544 _swigt__p_wxScrollWinEvent
,
42545 _swigt__p_wxImageHistogram
,
42548 _swigt__p_wxCursor
,
42549 _swigt__p_wxObject
,
42550 _swigt__p_wxPyInputStream
,
42551 _swigt__p_wxOutputStream
,
42552 _swigt__p_wxInputStream
,
42553 _swigt__p_wxDateTime
,
42554 _swigt__p_wxKeyEvent
,
42555 _swigt__p_wxNavigationKeyEvent
,
42556 _swigt__p_wxWindowDestroyEvent
,
42557 _swigt__p_wxWindow
,
42558 _swigt__p_wxMenuBar
,
42559 _swigt__p_wxFileSystem
,
42560 _swigt__p_wxBitmap
,
42561 _swigt__p_wxMenuEvent
,
42562 _swigt__p_wxContextMenuEvent
,
42563 _swigt__p_unsigned_char
,
42564 _swigt__p_wxCloseEvent
,
42565 _swigt__p_wxEraseEvent
,
42566 _swigt__p_wxMouseEvent
,
42568 _swigt__p_wxCommandEvent
,
42569 _swigt__p_wxPyCommandEvent
,
42570 _swigt__p_wxPyDropTarget
,
42571 _swigt__p_wxChildFocusEvent
,
42572 _swigt__p_wxFocusEvent
,
42573 _swigt__p_wxDropFilesEvent
,
42574 _swigt__p_wxControlWithItems
,
42575 _swigt__p_wxColour
,
42576 _swigt__p_wxValidator
,
42577 _swigt__p_wxPyValidator
,
42582 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42584 static swig_const_info swig_const_table
[] = {
42594 SWIGEXPORT(void) SWIG_init(void) {
42595 static PyObject
*SWIG_globals
= 0;
42596 static int typeinit
= 0;
42599 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42600 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42601 d
= PyModule_GetDict(m
);
42604 for (i
= 0; swig_types_initial
[i
]; i
++) {
42605 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42609 SWIG_InstallConstants(d
,swig_const_table
);
42612 #ifndef wxPyUSE_EXPORT
42613 // Make our API structure a CObject so other modules can import it
42614 // from this module.
42615 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42616 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42620 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42621 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42622 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42623 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42624 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42625 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42626 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42627 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42628 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42629 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42630 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42631 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42632 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42633 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42634 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42635 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42636 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42637 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42638 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42639 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42640 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42641 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42642 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42643 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42644 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42645 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42646 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42647 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42648 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42649 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42650 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42651 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42652 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42653 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42654 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42655 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42656 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42657 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42658 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42659 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42660 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42661 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42662 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42663 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42664 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42665 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42666 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42667 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42668 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42669 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42670 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42671 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42672 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42673 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42674 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42675 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42676 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42677 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42678 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42679 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42680 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42681 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42682 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42683 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42684 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42685 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42686 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42687 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42688 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42689 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42690 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42691 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42692 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42693 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42694 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42695 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42696 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42697 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42698 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42699 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42700 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42701 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42702 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42703 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42704 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42705 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42706 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42707 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42708 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42709 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42710 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42711 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42712 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42713 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42714 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42715 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42716 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42717 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42718 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42719 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42720 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42721 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42722 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42723 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42724 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42725 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42726 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42727 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42728 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42729 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42730 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42731 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42732 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42733 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42734 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42735 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42736 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42737 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42738 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42739 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42740 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42741 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42742 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42743 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42744 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42745 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42746 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42747 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42748 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42749 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42750 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42751 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42752 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42753 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42754 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42755 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42756 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42757 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42758 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42759 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42760 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42761 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42762 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42763 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42764 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42765 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42766 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42767 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42768 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42769 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42770 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42771 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42772 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42773 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42774 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42775 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42776 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42777 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42778 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42779 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42780 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42781 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42782 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42783 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42784 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42785 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42786 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42787 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42788 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42789 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42790 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42791 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42792 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42793 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42794 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42795 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42796 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42797 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42798 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42799 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42800 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42801 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42802 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42803 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42804 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42805 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42806 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42807 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42808 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42809 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42810 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42811 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42812 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42813 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42814 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42815 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42816 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42817 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42818 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42819 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42820 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42821 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42822 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42823 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42824 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42825 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42826 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42827 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42828 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42829 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42830 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42831 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42832 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42833 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42834 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42835 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42836 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42837 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42838 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42839 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42840 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42841 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42842 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42843 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42844 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42845 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42846 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42847 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42848 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42849 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42850 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42851 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42852 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42853 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42854 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42855 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42856 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42857 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42858 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42859 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42860 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42861 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42862 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42863 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42864 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42865 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42866 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42867 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42868 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42869 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42870 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42871 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42872 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42873 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42874 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42875 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42876 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42877 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42878 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42879 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42880 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42881 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42882 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42883 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42884 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42885 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42886 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42887 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42888 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42889 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42890 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42891 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42892 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42893 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42894 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42895 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42896 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42897 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42898 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42899 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42900 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42901 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42902 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42903 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42904 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42905 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42906 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42907 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42908 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42909 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42910 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42911 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42912 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42913 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42914 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42915 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42916 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42917 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42918 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42919 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42920 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42921 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42922 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42923 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42924 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42925 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42926 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42927 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42928 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42929 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42930 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42931 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42932 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42933 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42934 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42935 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42936 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42937 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42938 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42939 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42940 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42941 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42942 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42943 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42944 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42945 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42946 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42947 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42948 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42949 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42950 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42951 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42952 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42953 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42954 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42955 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42956 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42957 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42958 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42959 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42960 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42961 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42962 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42963 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42964 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42965 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42966 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42967 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42968 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42969 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42970 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42971 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42972 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42973 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42974 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42975 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42976 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42977 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42978 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42979 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42980 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42981 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42982 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42983 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42984 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42985 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42986 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42987 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42988 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42989 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42990 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42991 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42992 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42993 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42994 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42995 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42996 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42997 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42998 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42999 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
43000 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
43001 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
43002 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
43003 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
43004 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
43005 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
43006 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
43007 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
43008 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
43009 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
43010 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
43011 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
43012 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
43013 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
43014 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
43015 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
43016 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
43017 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
43018 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
43019 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
43020 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
43021 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
43022 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
43023 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
43024 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
43025 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
43026 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
43027 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
43028 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
43029 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
43030 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
43031 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
43032 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
43033 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
43034 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
43035 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
43036 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
43037 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
43038 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
43039 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
43040 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
43041 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
43042 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
43043 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
43044 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
43045 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
43046 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
43047 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
43048 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
43049 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
43050 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
43051 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
43052 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
43053 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
43054 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
43055 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
43056 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
43057 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
43058 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
43059 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
43060 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
43061 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
43062 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
43063 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
43064 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
43065 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
43066 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
43067 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
43068 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
43069 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
43070 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
43071 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
43072 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
43073 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
43074 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
43075 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
43076 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
43077 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43078 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
43079 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
43080 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
43081 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
43082 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
43083 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
43084 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
43085 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
43086 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
43087 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
43088 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
43089 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
43090 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43091 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
43092 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
43093 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
43094 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
43095 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
43096 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
43097 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
43098 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
43099 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
43100 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
43101 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
43102 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43103 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
43104 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
43105 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
43106 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
43107 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
43108 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
43109 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
43110 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
43111 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
43112 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
43113 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43114 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43115 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43116 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43117 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
43118 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
43119 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
43120 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
43121 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
43122 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
43123 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43124 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43125 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
43126 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
43127 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
43128 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
43129 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
43130 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
43131 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
43132 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
43133 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
43134 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
43135 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43136 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43137 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
43138 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
43139 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
43140 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
43141 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
43142 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
43143 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
43144 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
43145 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
43146 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
43147 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
43148 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
43149 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
43150 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
43151 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
43152 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
43153 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
43154 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
43155 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
43156 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
43157 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
43158 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
43159 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
43160 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
43161 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
43162 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
43163 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
43164 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
43165 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
43166 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
43167 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
43168 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
43169 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
43170 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
43171 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
43172 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
43173 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
43174 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
43175 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
43176 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
43177 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
43178 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
43179 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
43180 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
43181 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
43182 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
43183 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
43184 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
43185 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
43186 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
43187 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
43188 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43189 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43190 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
43191 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
43192 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
43194 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43197 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43199 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43200 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43201 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43202 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43203 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43204 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43205 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
43206 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
43207 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
43208 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
43209 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
43210 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
43211 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
43212 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
43213 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
43214 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
43215 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
43216 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
43217 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
43218 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43219 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43220 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43221 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43222 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43223 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43224 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43225 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43226 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43227 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43228 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43229 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43230 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43231 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43232 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43233 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43234 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43235 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43236 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43237 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43238 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43239 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43240 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43241 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43242 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43243 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43244 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43245 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43246 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43247 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43248 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43249 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43250 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43251 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43252 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43253 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43254 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43255 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43256 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43257 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43258 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43259 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43260 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43261 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43262 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43263 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43264 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43265 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43266 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43267 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43268 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43269 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43270 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43271 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43272 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43273 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43274 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43275 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43276 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43277 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43278 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43279 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43280 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43281 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43282 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43283 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43284 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43285 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43286 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43287 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43288 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43289 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43290 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43291 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43292 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43293 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43294 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43295 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43296 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43297 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43298 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43299 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43300 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43301 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43302 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43303 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43304 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43305 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43306 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43307 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43308 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43309 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43310 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43311 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43312 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43313 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43314 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43315 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43316 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43317 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43318 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43319 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43320 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43321 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43322 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43323 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43324 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43325 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43326 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43327 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43328 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43329 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43330 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43331 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43332 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
43333 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
43334 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
43335 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
43336 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
43337 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
43338 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43339 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_FromInt((int)wxNavigationKeyEvent::IsForward
));
43340 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_FromInt((int)wxNavigationKeyEvent::WinChange
));
43341 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
43342 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
43343 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
43344 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43345 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43346 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43347 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43348 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43349 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43350 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43351 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43352 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43353 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43354 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43355 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43356 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43357 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43358 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43359 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43360 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43361 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43362 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43363 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43364 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43365 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43366 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43367 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43368 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43369 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43370 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43371 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43372 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43373 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43374 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43375 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43376 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43377 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43378 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43379 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43380 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43382 // Initialize threading, some globals and such
43386 // Although these are defined in __version__ they need to be here too so
43387 // that an assert can be done to ensure that the wxPython and the wxWindows
43389 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43390 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43391 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));