1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210 #define SWIGTYPE_p_wxRealPoint swig_types[1]
211 #define SWIGTYPE_p_wxSizerItem swig_types[2]
212 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
214 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215 #define SWIGTYPE_p_wxSizer swig_types[6]
216 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
217 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221 #define SWIGTYPE_p_wxMenu swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 #define SWIGTYPE_p_wxGridSizer swig_types[14]
224 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226 #define SWIGTYPE_p_wxItemContainer swig_types[17]
227 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
229 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxFont swig_types[25]
235 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237 #define SWIGTYPE_p_wxFSFile swig_types[28]
238 #define SWIGTYPE_p_wxCaret swig_types[29]
239 #define SWIGTYPE_p_wxRegion swig_types[30]
240 #define SWIGTYPE_p_wxPoint2D swig_types[31]
241 #define SWIGTYPE_p_int swig_types[32]
242 #define SWIGTYPE_p_wxSize swig_types[33]
243 #define SWIGTYPE_p_wxDC swig_types[34]
244 #define SWIGTYPE_p_wxPySizer swig_types[35]
245 #define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246 #define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyEvent swig_types[38]
248 #define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249 #define SWIGTYPE_p_wxAppTraits swig_types[40]
250 #define SWIGTYPE_p_wxArrayString swig_types[41]
251 #define SWIGTYPE_p_wxShowEvent swig_types[42]
252 #define SWIGTYPE_p_wxToolTip swig_types[43]
253 #define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
256 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
257 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
258 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260 #define SWIGTYPE_p_wxIdleEvent swig_types[51]
261 #define SWIGTYPE_p_wxMenuItem swig_types[52]
262 #define SWIGTYPE_p_wxStaticBox swig_types[53]
263 #define SWIGTYPE_p_long swig_types[54]
264 #define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265 #define SWIGTYPE_p_wxXPMHandler swig_types[56]
266 #define SWIGTYPE_p_wxPNMHandler swig_types[57]
267 #define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268 #define SWIGTYPE_p_wxPCXHandler swig_types[59]
269 #define SWIGTYPE_p_wxGIFHandler swig_types[60]
270 #define SWIGTYPE_p_wxPNGHandler swig_types[61]
271 #define SWIGTYPE_p_wxANIHandler swig_types[62]
272 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
274 #define SWIGTYPE_p_wxCURHandler swig_types[65]
275 #define SWIGTYPE_p_wxICOHandler swig_types[66]
276 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
277 #define SWIGTYPE_p_wxImageHandler swig_types[68]
278 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282 #define SWIGTYPE_p_wxRect swig_types[73]
283 #define SWIGTYPE_p_wxGBSpan swig_types[74]
284 #define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285 #define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286 #define SWIGTYPE_p_char swig_types[77]
287 #define SWIGTYPE_p_wxGBPosition swig_types[78]
288 #define SWIGTYPE_p_wxImage swig_types[79]
289 #define SWIGTYPE_p_wxFrame swig_types[80]
290 #define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291 #define SWIGTYPE_p_wxImageHistogram swig_types[82]
292 #define SWIGTYPE_p_byte swig_types[83]
293 #define SWIGTYPE_p_wxPoint swig_types[84]
294 #define SWIGTYPE_p_wxCursor swig_types[85]
295 #define SWIGTYPE_p_wxObject swig_types[86]
296 #define SWIGTYPE_p_wxPyInputStream swig_types[87]
297 #define SWIGTYPE_p_wxOutputStream swig_types[88]
298 #define SWIGTYPE_p_wxInputStream swig_types[89]
299 #define SWIGTYPE_p_wxDateTime swig_types[90]
300 #define SWIGTYPE_p_wxKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303 #define SWIGTYPE_p_wxWindow swig_types[94]
304 #define SWIGTYPE_p_wxMenuBar swig_types[95]
305 #define SWIGTYPE_p_wxFileSystem swig_types[96]
306 #define SWIGTYPE_p_wxBitmap swig_types[97]
307 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
308 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309 #define SWIGTYPE_p_unsigned_char swig_types[100]
310 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
311 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
312 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
313 #define SWIGTYPE_p_wxPyApp swig_types[104]
314 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317 #define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxFocusEvent swig_types[109]
319 #define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320 #define SWIGTYPE_p_wxControlWithItems swig_types[111]
321 #define SWIGTYPE_p_wxColour swig_types[112]
322 #define SWIGTYPE_p_wxValidator swig_types[113]
323 #define SWIGTYPE_p_wxPyValidator swig_types[114]
324 static swig_type_info
*swig_types
[116];
326 /* -------- TYPES TABLE (END) -------- */
329 /*-----------------------------------------------
330 @(target):= _core_.so
331 ------------------------------------------------*/
332 #define SWIG_init init_core_
334 #define SWIG_name "_core_"
336 /* Auxiliar swig macros */
339 #define SWIGSTATICINLINE(a) static inline a
340 #define SWIGSTATIC(a) static a
341 #define swig_new_array(type, size) (new type[(size)])
342 #define swig_delete_array(cptr) delete[] cptr
343 #define swig_const_cast(type,a) const_cast<type>(a)
344 #define swig_static_cast(type,a) static_cast<type>(a)
345 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
347 #ifdef HAVE_NUMERIC_CAST
348 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
350 #define swig_numeric_cast(type,a) static_cast<type>(a)
355 #define SWIGSTATICINLINE(a) static a
356 #define SWIGSTATIC(a) static a
357 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358 #define swig_delete_array(cptr) free((char*)cptr)
359 #define swig_const_cast(type,a) (type)(a)
360 #define swig_static_cast(type,a) (type)(a)
361 #define swig_reinterpret_cast(type,a) (type)(a)
362 #define swig_numeric_cast(type,a) (type)(a)
364 #endif /* __cplusplus */
367 #define SWIG_FromSignedChar PyInt_FromLong
368 #define SWIG_FromUnsignedChar PyInt_FromLong
369 #define SWIG_FromShort PyInt_FromLong
370 #define SWIG_FromUnsignedShort PyInt_FromLong
371 #define SWIG_FromInt PyInt_FromLong
372 #define SWIG_FromLong PyInt_FromLong
373 #define SWIG_FromFloat PyFloat_FromDouble
374 #define SWIG_FromDouble PyFloat_FromDouble
375 #define SWIG_FromFloat PyFloat_FromDouble
376 #define SWIG_FromDouble PyFloat_FromDouble
379 #include "wx/wxPython/wxPython_int.h"
380 #include "wx/wxPython/pyclasses.h"
383 #ifndef wxPyUSE_EXPORT
384 // Helper functions for dealing with SWIG objects and such. These are
385 // located here so they know about the SWIG types and functions declared
386 // in the wrapper code.
388 #include <wx/hashmap.h>
389 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
392 // Maintains a hashmap of className to swig_type_info pointers. Given the
393 // name of a class either looks up the type info in the cache, or scans the
394 // SWIG tables for it.
395 extern PyObject
* wxPyPtrTypeMap
;
397 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
399 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
401 if (typeInfoCache
== NULL
)
402 typeInfoCache
= new wxPyTypeInfoHashMap
;
404 wxString
name(className
);
405 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
408 // it wasn't in the cache, so look it up from SWIG
409 name
.Append(wxT(" *"));
410 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
412 // if it still wasn't found, try looking for a mapped name
417 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
418 (char*)(const char*)name
.mbc_str())) != NULL
) {
419 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
420 name
.Append(wxT(" *"));
421 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
425 // and add it to the map if found
426 (*typeInfoCache
)[className
] = swigType
;
433 // Check if a class name is a type known to SWIG
434 bool wxPyCheckSwigType(const wxChar
* className
) {
436 swig_type_info
* swigType
= wxPyFindSwigType(className
);
437 return swigType
!= NULL
;
441 // Given a pointer to a C++ object and a class name, construct a Python proxy
443 PyObject
* wxPyConstructObject(void* ptr
,
444 const wxChar
* className
,
447 swig_type_info
* swigType
= wxPyFindSwigType(className
);
448 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
450 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
454 // Extract a pointer to the wrapped C++ object from a Python proxy object.
455 // Ensures that the proxy object is of the specified (or derived) type. If
456 // not able to perform the conversion then a Python exception is set and the
457 // error should be handled properly in the caller. Returns True on success.
458 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
459 const wxChar
* className
) {
461 swig_type_info
* swigType
= wxPyFindSwigType(className
);
462 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
464 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
468 // Make a SWIGified pointer object suitable for a .this attribute
469 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
471 PyObject
* robj
= NULL
;
473 swig_type_info
* swigType
= wxPyFindSwigType(className
);
474 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
476 #ifdef SWIG_COBJECT_TYPES
477 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
483 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
484 strcpy(r
, swigType
->name
);
485 robj
= PyString_FromString(result
);
495 // Export a C API in a struct. Other modules will be able to load this from
496 // the wx._core_ module and will then have safe access to these functions,
497 // even if they are located in another shared library.
498 static wxPyCoreAPI API
= {
500 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
501 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
502 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
503 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
504 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
505 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
506 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
507 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
508 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
509 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
510 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
511 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
512 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
513 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
514 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
515 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
516 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
523 wxPyBeginAllowThreads
,
525 wxPyBeginBlockThreads
,
539 wxBitmap_LIST_helper
,
540 wxString_LIST_helper
,
541 wxAcceleratorEntry_LIST_helper
,
550 wxPySimple_typecheck
,
553 wxPyCBH_setCallbackInfo
,
554 wxPyCBH_findCallback
,
555 wxPyCBH_callCallback
,
556 wxPyCBH_callCallbackObj
,
564 wxArrayString2PyList_helper
,
565 wxArrayInt2PyList_helper
,
569 wxPyOORClientData_dtor
,
571 wxPyCBInputStream_create
,
574 wxPySwigInstance_Check
582 enum wxHotkeyModifier
590 #define wxEVT_HOTKEY 9999
593 static const wxString
wxPyEmptyString(wxEmptyString
);
594 wxString
wxObject_GetClassName(wxObject
*self
){
595 return self
->GetClassInfo()->GetClassName();
597 void wxObject_Destroy(wxObject
*self
){
602 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
609 SWIGSTATICINLINE(long)
610 SWIG_CheckLongInRange(long value
, const char* type
,
611 long min_value
, long max_value
)
613 if (!PyErr_Occurred()) {
614 if (value
< min_value
) {
616 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
617 value
, type
, min_value
);
619 PyErr_SetObject(PyExc_OverflowError
, err
);
621 } else if (value
> max_value
) {
623 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
624 value
, type
, max_value
);
625 PyErr_SetObject(PyExc_OverflowError
, err
);
633 SWIGSTATICINLINE(long)
634 SWIG_AsLong(PyObject
* obj
)
636 if (PyNumber_Check(obj
))
637 return PyInt_AsLong(obj
);
639 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
640 obj
->ob_type
->tp_name
);
641 PyErr_SetObject(PyExc_TypeError
, errmsg
);
648 #if INT_MAX != LONG_MAX
649 SWIGSTATICINLINE(int)
650 SWIG_AsInt(PyObject
*obj
)
652 return swig_numeric_cast(int,
653 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
654 "int", INT_MIN
, INT_MAX
));
657 #define SWIG_AsInt SWIG_AsLong
661 SWIGSTATICINLINE(int)
662 SWIG_CheckInt(PyObject
* obj
)
665 if (PyErr_Occurred()) {
673 PyObject
*wxSize_Get(wxSize
*self
){
674 bool blocked
= wxPyBeginBlockThreads();
675 PyObject
* tup
= PyTuple_New(2);
676 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
677 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
678 wxPyEndBlockThreads(blocked
);
682 SWIGSTATICINLINE(double)
683 SWIG_AsDouble(PyObject
*obj
)
685 if (PyNumber_Check(obj
))
686 return PyFloat_AsDouble(obj
);
688 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
689 obj
->ob_type
->tp_name
);
690 PyErr_SetObject(PyExc_TypeError
, errmsg
);
697 SWIGSTATICINLINE(int)
698 SWIG_CheckDouble(PyObject
* obj
)
701 if (PyErr_Occurred()) {
709 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
713 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
714 bool blocked
= wxPyBeginBlockThreads();
715 PyObject
* tup
= PyTuple_New(2);
716 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
717 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
718 wxPyEndBlockThreads(blocked
);
722 SWIGSTATICINLINE(int)
723 SWIG_CheckLong(PyObject
* obj
)
726 if (PyErr_Occurred()) {
734 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
738 PyObject
*wxPoint_Get(wxPoint
*self
){
739 bool blocked
= wxPyBeginBlockThreads();
740 PyObject
* tup
= PyTuple_New(2);
741 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
742 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
743 wxPyEndBlockThreads(blocked
);
746 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
750 self
->height
= height
;
752 PyObject
*wxRect_Get(wxRect
*self
){
753 bool blocked
= wxPyBeginBlockThreads();
754 PyObject
* tup
= PyTuple_New(4);
755 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
756 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
757 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
758 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
759 wxPyEndBlockThreads(blocked
);
763 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
766 wxRect
dest(0,0,0,0);
769 reg1
.Intersect(reg2
);
770 dest
= reg1
.GetBox();
772 if (dest
!= wxRect(0,0,0,0)) {
773 bool blocked
= wxPyBeginBlockThreads();
774 wxRect
* newRect
= new wxRect(dest
);
775 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
776 wxPyEndBlockThreads(blocked
);
784 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
790 } else if (target
== Py_None
) {
794 if (!PyTuple_Check(target
)) {
796 target
= PyTuple_New(1);
797 PyTuple_SetItem(target
, 0, o2
);
800 PyTuple_SetItem(o3
, 0, o
);
803 target
= PySequence_Concat(o2
, o3
);
810 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
814 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
815 bool blocked
= wxPyBeginBlockThreads();
816 PyObject
* tup
= PyTuple_New(2);
817 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
818 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
819 wxPyEndBlockThreads(blocked
);
823 #include "wx/wxPython/pyistream.h"
825 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
826 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
828 return new wxPyInputStream(wxis
);
833 SWIGSTATICINLINE(PyObject
*)
834 SWIG_FromChar(char c
)
836 return PyString_FromStringAndSize(&c
,1);
840 SWIGSTATICINLINE(PyObject
* )
841 SWIG_FromUnsignedLong(unsigned long value
)
843 return (value
> LONG_MAX
) ?
844 PyLong_FromUnsignedLong(value
)
845 : PyInt_FromLong(swig_numeric_cast(long,value
));
849 /* returns '1' if the input is a raw char*, '0' if is a PyString */
851 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
853 static swig_type_info
* pchar_info
= 0;
855 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
857 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
859 PyString_AsStringAndSize(obj
, cptr
, &psize
);
860 if (PyErr_Occurred()) {
862 PyErr_SetString(PyExc_TypeError
,"a string is expected");
864 if (size
) *size
= psize
;
867 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
874 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
876 char* cptr
; size_t csize
;
877 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
878 if (PyErr_Occurred()) {
881 PyString_FromFormat("a char array of size %d is expected", size
);
882 PyErr_SetObject(PyExc_TypeError
, err
);
885 /* in C (but not in C++) you can do:
889 ie, assing the array using an extra '0' char.
892 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
896 PyString_FromFormat("a char array of maximum size %d is expected",
898 PyErr_SetObject(PyExc_TypeError
, err
);
901 if (csize
) memcpy(carray
, cptr
, csize
);
902 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
908 SWIGSTATICINLINE(char)
909 SWIG_AsChar(PyObject
*obj
)
912 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
913 c
= swig_numeric_cast(char,
914 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
915 "char", CHAR_MIN
, CHAR_MAX
));
917 SWIG_AsCharArray(obj
, &c
, 1);
918 if (PyErr_Occurred()) {
920 PyErr_SetString(PyExc_TypeError
, "a char is expected");
927 SWIGSTATICINLINE(int)
928 SWIG_CheckChar(PyObject
* obj
)
931 if (PyErr_Occurred()) {
939 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
940 // We use only strings for the streams, not unicode
941 PyObject
* str
= PyObject_Str(obj
);
943 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
946 self
->Write(PyString_AS_STRING(str
),
947 PyString_GET_SIZE(str
));
951 #include "wx/wxPython/pyistream.h"
954 class wxPyFileSystemHandler
: public wxFileSystemHandler
957 wxPyFileSystemHandler() : wxFileSystemHandler() {}
959 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
960 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
961 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
962 DEC_PYCALLBACK_STRING__pure(FindNext
);
964 wxString
GetProtocol(const wxString
& location
) {
965 return wxFileSystemHandler::GetProtocol(location
);
968 wxString
GetLeftLocation(const wxString
& location
) {
969 return wxFileSystemHandler::GetLeftLocation(location
);
972 wxString
GetAnchor(const wxString
& location
) {
973 return wxFileSystemHandler::GetAnchor(location
);
976 wxString
GetRightLocation(const wxString
& location
) {
977 return wxFileSystemHandler::GetRightLocation(location
);
980 wxString
GetMimeTypeFromExt(const wxString
& location
) {
981 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
988 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
989 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
990 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
991 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
994 SWIGSTATICINLINE(bool)
995 SWIG_AsBool(PyObject
*obj
)
997 return PyObject_IsTrue(obj
) ? true : false;
1001 SWIGSTATICINLINE(int)
1002 SWIG_CheckBool(PyObject
* obj
)
1005 if (PyErr_Occurred()) {
1014 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1015 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1016 return fname
.GetFullPath();
1020 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1023 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1026 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1027 const wxBitmap
& bitmap
,
1029 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1032 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1034 wxMemoryFSHandler::AddFile(filename
,
1035 // TODO: Verify data type
1036 (void*)PyString_AsString(data
),
1037 (size_t)PyString_Size(data
));
1041 #include "wx/wxPython/pyistream.h"
1044 SWIGSTATICINLINE(unsigned long)
1045 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1046 unsigned long max_value
)
1048 if (!PyErr_Occurred()) {
1049 if (value
> max_value
) {
1051 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1052 value
, type
, max_value
);
1053 PyErr_SetObject(PyExc_OverflowError
, err
);
1061 SWIGSTATICINLINE(unsigned long)
1062 SWIG_AsUnsignedLong(PyObject
* obj
)
1064 if (PyLong_Check(obj
)) {
1065 return PyLong_AsUnsignedLong(obj
);
1067 long i
= SWIG_AsLong(obj
);
1068 if ( !PyErr_Occurred() && (i
< 0)) {
1069 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1076 SWIGSTATICINLINE(unsigned char)
1077 SWIG_AsUnsignedChar(PyObject
*obj
)
1079 return swig_numeric_cast(unsigned char,
1080 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1081 "unsigned char", UCHAR_MAX
));
1085 SWIGSTATICINLINE(int)
1086 SWIG_CheckUnsignedChar(PyObject
* obj
)
1088 SWIG_AsUnsignedChar(obj
);
1089 if (PyErr_Occurred()) {
1097 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1098 if (width
> 0 && height
> 0)
1099 return new wxImage(width
, height
, clear
);
1103 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1104 return new wxImage(bitmap
.ConvertToImage());
1106 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1107 // Copy the source data so the wxImage can clean it up later
1108 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1113 memcpy(copy
, data
, width
*height
*3);
1114 return new wxImage(width
, height
, copy
, False
);
1116 wxSize
wxImage_GetSize(wxImage
*self
){
1117 wxSize
size(self
->GetWidth(), self
->GetHeight());
1120 PyObject
*wxImage_GetData(wxImage
*self
){
1121 unsigned char* data
= self
->GetData();
1122 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1124 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1127 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1128 unsigned char* dataPtr
;
1130 if (! PyString_Check(data
)) {
1131 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1135 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1136 dataPtr
= (unsigned char*) malloc(len
);
1137 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1138 self
->SetData(dataPtr
);
1139 // wxImage takes ownership of dataPtr...
1141 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1142 unsigned char* data
= self
->GetData();
1143 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1145 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1148 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1149 unsigned char* buffer
;
1152 bool blocked
= wxPyBeginBlockThreads();
1153 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1156 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1157 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1160 self
->SetData(buffer
);
1162 wxPyEndBlockThreads(blocked
);
1164 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1165 unsigned char* data
= self
->GetAlpha();
1169 int len
= self
->GetWidth() * self
->GetHeight();
1171 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1175 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1176 unsigned char* dataPtr
;
1178 if (! PyString_Check(data
)) {
1179 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1183 size_t len
= self
->GetWidth() * self
->GetHeight();
1184 dataPtr
= (unsigned char*) malloc(len
);
1185 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1186 self
->SetAlpha(dataPtr
);
1187 // wxImage takes ownership of dataPtr...
1189 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1190 unsigned char* data
= self
->GetAlpha();
1191 int len
= self
->GetWidth() * self
->GetHeight();
1193 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1196 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1197 unsigned char* buffer
;
1200 bool blocked
= wxPyBeginBlockThreads();
1201 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1204 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1205 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1208 self
->SetAlpha(buffer
);
1210 wxPyEndBlockThreads(blocked
);
1213 SWIGSTATICINLINE(int)
1214 SWIG_CheckUnsignedLong(PyObject
* obj
)
1216 SWIG_AsUnsignedLong(obj
);
1217 if (PyErr_Occurred()) {
1225 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1226 wxBitmap
bitmap(*self
);
1229 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1230 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1231 wxBitmap
bitmap( mono
, 1 );
1234 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1235 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1236 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1237 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1238 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1239 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1240 if (PyCallable_Check(func
)) {
1241 self
->Connect(id
, lastId
, eventType
,
1242 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1243 new wxPyCallback(func
));
1245 else if (func
== Py_None
) {
1246 self
->Disconnect(id
, lastId
, eventType
,
1247 (wxObjectEventFunction
)
1248 &wxPyCallback::EventThunker
);
1252 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1255 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1256 return self
->Disconnect(id
, lastId
, eventType
,
1257 (wxObjectEventFunction
)
1258 &wxPyCallback::EventThunker
);
1260 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1261 if (_self
&& _self
!= Py_None
) {
1262 self
->SetClientObject(new wxPyOORClientData(_self
));
1265 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1267 self
->SetClientObject(NULL
); // This will delete it too
1271 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1273 return self
->m_uniChar
;
1279 #if UINT_MAX < LONG_MAX
1280 #define SWIG_FromUnsignedInt SWIG_FromLong
1282 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1286 #if UINT_MAX != ULONG_MAX
1287 SWIGSTATICINLINE(unsigned int)
1288 SWIG_AsUnsignedInt(PyObject
*obj
)
1290 return swig_numeric_cast(unsigned int,
1291 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1292 "unsigned int", UINT_MAX
));
1295 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1299 SWIGSTATICINLINE(int)
1300 SWIG_CheckUnsignedInt(PyObject
* obj
)
1302 SWIG_AsUnsignedInt(obj
);
1303 if (PyErr_Occurred()) {
1311 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1312 self
->m_size
= size
;
1314 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1317 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1318 int count
= self
->GetNumberOfFiles();
1319 wxString
* files
= self
->GetFiles();
1320 PyObject
* list
= PyList_New(count
);
1323 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1327 for (int i
=0; i
<count
; i
++) {
1328 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1334 wxPyApp
*new_wxPyApp(){
1335 wxPythonApp
= new wxPyApp();
1338 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1340 void wxApp_CleanUp() {
1345 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1349 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1350 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1351 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1352 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1353 wxWindowList
& list
= self
->GetChildren();
1354 return wxPy_ConvertList(&list
);
1356 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1358 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1363 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1370 long wxWindow_GetHandle(wxWindow
*self
){
1371 return wxPyGetWinHandle(self
);
1374 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1375 return wxWindow::FindWindowById(id
, parent
);
1378 wxWindow
* wxFindWindowByName( const wxString
& name
,
1379 const wxWindow
*parent
= NULL
) {
1380 return wxWindow::FindWindowByName(name
, parent
);
1383 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1384 const wxWindow
*parent
= NULL
) {
1385 return wxWindow::FindWindowByLabel(label
, parent
);
1390 #include <wx/msw/private.h> // to get wxGetWindowId
1394 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1396 WXHWND hWnd
= (WXHWND
)_hWnd
;
1397 long id
= wxGetWindowId(hWnd
);
1398 wxWindow
* win
= new wxWindow
;
1399 parent
->AddChild(win
);
1400 win
->SetEventHandler(win
);
1403 win
->SubclassWin(hWnd
);
1404 win
->AdoptAttributesFromHWND();
1405 win
->SetupColours();
1408 wxPyRaiseNotImplemented();
1414 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1415 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1416 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1418 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1420 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1421 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1422 wxMenuItemList
& list
= self
->GetMenuItems();
1423 return wxPy_ConvertList(&list
);
1425 int MenuItem_GetDefaultMarginWidth(){ return 0; }
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
);
1461 SWIG_FloatCast(double value
)
1464 if (!PyErr_Occurred()) {
1465 if (value
< FLT_MIN
) {
1467 PyString_FromFormat("value %g is less than float minimum %g",
1469 PyErr_SetObject(PyExc_OverflowError
, err
);
1471 } else if (value
> FLT_MAX
) {
1473 PyString_FromFormat("value %g is greater than float maximum %g",
1475 PyErr_SetObject(PyExc_OverflowError
, err
);
1478 f
= swig_numeric_cast(float, value
);
1485 SWIGSTATICINLINE(float)
1486 SWIG_AsFloat(PyObject
*obj
)
1488 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1492 SWIGSTATICINLINE(int)
1493 SWIG_CheckFloat(PyObject
* obj
)
1496 if (PyErr_Occurred()) {
1504 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1505 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1507 Py_INCREF(data
->m_obj
);
1515 // Figure out the type of the sizer item
1517 struct wxPySizerItemInfo
{
1519 : window(NULL
), sizer(NULL
), gotSize(False
),
1520 size(wxDefaultSize
), gotPos(False
), pos(-1)
1531 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1533 wxPySizerItemInfo info
;
1535 wxSize
* sizePtr
= &size
;
1537 // Find out what the type of the item is
1539 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1544 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1548 // try wxSize or (w,h)
1549 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1550 info
.size
= *sizePtr
;
1551 info
.gotSize
= True
;
1555 if (checkIdx
&& PyInt_Check(item
)) {
1556 info
.pos
= PyInt_AsLong(item
);
1562 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1563 // no expected type, figure out what kind of error message to generate
1564 if ( !checkSize
&& !checkIdx
)
1565 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1566 else if ( checkSize
&& !checkIdx
)
1567 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1568 else if ( !checkSize
&& checkIdx
)
1569 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1571 // can this one happen?
1572 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1578 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1579 self
->SetClientObject(new wxPyOORClientData(_self
));
1581 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1583 wxPyUserData
* data
= NULL
;
1584 bool blocked
= wxPyBeginBlockThreads();
1585 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1586 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1587 data
= new wxPyUserData(userData
);
1588 wxPyEndBlockThreads(blocked
);
1590 // Now call the real Add method if a valid item type was found
1592 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1593 else if ( info
.sizer
)
1594 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1595 else if (info
.gotSize
)
1596 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1597 proportion
, flag
, border
, data
);
1599 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1601 wxPyUserData
* data
= NULL
;
1602 bool blocked
= wxPyBeginBlockThreads();
1603 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1604 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1605 data
= new wxPyUserData(userData
);
1606 wxPyEndBlockThreads(blocked
);
1608 // Now call the real Insert method if a valid item type was found
1610 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1611 else if ( info
.sizer
)
1612 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1613 else if (info
.gotSize
)
1614 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1615 proportion
, flag
, border
, data
);
1617 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1619 wxPyUserData
* data
= NULL
;
1620 bool blocked
= wxPyBeginBlockThreads();
1621 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1622 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1623 data
= new wxPyUserData(userData
);
1624 wxPyEndBlockThreads(blocked
);
1626 // Now call the real Prepend method if a valid item type was found
1628 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1629 else if ( info
.sizer
)
1630 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1631 else if (info
.gotSize
)
1632 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1633 proportion
, flag
, border
, data
);
1635 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1636 bool blocked
= wxPyBeginBlockThreads();
1637 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1638 wxPyEndBlockThreads(blocked
);
1640 return self
->Remove(info
.window
);
1641 else if ( info
.sizer
)
1642 return self
->Remove(info
.sizer
);
1643 else if ( info
.gotPos
)
1644 return self
->Remove(info
.pos
);
1648 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1649 bool blocked
= wxPyBeginBlockThreads();
1650 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1651 wxPyEndBlockThreads(blocked
);
1653 return self
->Detach(info
.window
);
1654 else if ( info
.sizer
)
1655 return self
->Detach(info
.sizer
);
1656 else if ( info
.gotPos
)
1657 return self
->Detach(info
.pos
);
1661 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1662 bool blocked
= wxPyBeginBlockThreads();
1663 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1664 wxPyEndBlockThreads(blocked
);
1666 self
->SetItemMinSize(info
.window
, size
);
1667 else if ( info
.sizer
)
1668 self
->SetItemMinSize(info
.sizer
, size
);
1669 else if ( info
.gotPos
)
1670 self
->SetItemMinSize(info
.pos
, size
);
1672 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1673 wxSizerItemList
& list
= self
->GetChildren();
1674 return wxPy_ConvertList(&list
);
1676 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1677 bool blocked
= wxPyBeginBlockThreads();
1678 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1679 wxPyEndBlockThreads(blocked
);
1681 self
->Show(info
.window
, show
);
1682 else if ( info
.sizer
)
1683 self
->Show(info
.sizer
, show
);
1685 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1686 bool blocked
= wxPyBeginBlockThreads();
1687 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1688 wxPyEndBlockThreads(blocked
);
1690 self
->Hide(info
.window
);
1691 else if ( info
.sizer
)
1692 self
->Hide(info
.sizer
);
1694 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1695 bool blocked
= wxPyBeginBlockThreads();
1696 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1697 wxPyEndBlockThreads(blocked
);
1699 return self
->IsShown(info
.window
);
1700 else if ( info
.sizer
)
1701 return self
->IsShown(info
.sizer
);
1707 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1708 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1709 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1714 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1716 if (source
== Py_None
) {
1717 **obj
= wxGBPosition(-1,-1);
1720 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1723 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1725 if (source
== Py_None
) {
1726 **obj
= wxGBSpan(-1,-1);
1729 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1733 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1737 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1738 bool blocked
= wxPyBeginBlockThreads();
1739 PyObject
* tup
= PyTuple_New(2);
1740 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1741 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1742 wxPyEndBlockThreads(blocked
);
1745 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1746 self
->SetRowspan(rowspan
);
1747 self
->SetColspan(colspan
);
1749 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1750 bool blocked
= wxPyBeginBlockThreads();
1751 PyObject
* tup
= PyTuple_New(2);
1752 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1753 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1754 wxPyEndBlockThreads(blocked
);
1757 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1759 wxPyUserData
* data
= NULL
;
1760 bool blocked
= wxPyBeginBlockThreads();
1761 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1762 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1763 data
= new wxPyUserData(userData
);
1764 wxPyEndBlockThreads(blocked
);
1766 // Now call the real Add method if a valid item type was found
1768 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1769 else if ( info
.sizer
)
1770 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1771 else if (info
.gotSize
)
1772 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1773 pos
, span
, flag
, border
, data
);
1781 static int _wrap_EmptyString_set(PyObject
*_val
) {
1782 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1787 static PyObject
*_wrap_EmptyString_get() {
1792 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1794 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1801 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
*resultobj
;
1803 wxObject
*arg1
= (wxObject
*) 0 ;
1805 PyObject
* obj0
= 0 ;
1807 (char *) "self", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 result
= wxObject_GetClassName(arg1
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1833 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
*resultobj
;
1835 wxObject
*arg1
= (wxObject
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1838 (char *) "self", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 wxObject_Destroy(arg1
);
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1851 Py_INCREF(Py_None
); resultobj
= Py_None
;
1858 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1861 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1863 return Py_BuildValue((char *)"");
1865 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxSize
*arg1
= (wxSize
*) 0 ;
1869 PyObject
* obj0
= 0 ;
1870 PyObject
* obj1
= 0 ;
1872 (char *) "self",(char *) "x", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1878 arg2
= (int) SWIG_AsInt(obj1
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1880 if (arg1
) (arg1
)->x
= arg2
;
1882 Py_INCREF(Py_None
); resultobj
= Py_None
;
1889 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
*resultobj
;
1891 wxSize
*arg1
= (wxSize
*) 0 ;
1893 PyObject
* obj0
= 0 ;
1895 (char *) "self", NULL
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1901 result
= (int) ((arg1
)->x
);
1903 resultobj
= SWIG_FromInt((int)result
);
1910 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxSize
*arg1
= (wxSize
*) 0 ;
1914 PyObject
* obj0
= 0 ;
1915 PyObject
* obj1
= 0 ;
1917 (char *) "self",(char *) "y", NULL
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1923 arg2
= (int) SWIG_AsInt(obj1
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1925 if (arg1
) (arg1
)->y
= arg2
;
1927 Py_INCREF(Py_None
); resultobj
= Py_None
;
1934 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxSize
*arg1
= (wxSize
*) 0 ;
1938 PyObject
* obj0
= 0 ;
1940 (char *) "self", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1946 result
= (int) ((arg1
)->y
);
1948 resultobj
= SWIG_FromInt((int)result
);
1955 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
*resultobj
;
1957 int arg1
= (int) 0 ;
1958 int arg2
= (int) 0 ;
1960 PyObject
* obj0
= 0 ;
1961 PyObject
* obj1
= 0 ;
1963 (char *) "w",(char *) "h", NULL
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1968 arg1
= (int) SWIG_AsInt(obj0
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1972 arg2
= (int) SWIG_AsInt(obj1
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1989 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxSize
*arg1
= (wxSize
*) 0 ;
1992 PyObject
* obj0
= 0 ;
1994 (char *) "self", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 Py_INCREF(Py_None
); resultobj
= Py_None
;
2014 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxSize
*arg1
= (wxSize
*) 0 ;
2020 PyObject
* obj0
= 0 ;
2021 PyObject
* obj1
= 0 ;
2023 (char *) "self",(char *) "sz", NULL
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2031 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2049 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2051 wxSize
*arg1
= (wxSize
*) 0 ;
2055 PyObject
* obj0
= 0 ;
2056 PyObject
* obj1
= 0 ;
2058 (char *) "self",(char *) "sz", NULL
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2066 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) SWIG_fail
;
2076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2084 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
*resultobj
;
2086 wxSize
*arg1
= (wxSize
*) 0 ;
2090 PyObject
* obj0
= 0 ;
2091 PyObject
* obj1
= 0 ;
2093 (char *) "self",(char *) "sz", NULL
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2101 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2112 resultptr
= new wxSize((wxSize
&) result
);
2113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2121 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
*resultobj
;
2123 wxSize
*arg1
= (wxSize
*) 0 ;
2127 PyObject
* obj0
= 0 ;
2128 PyObject
* obj1
= 0 ;
2130 (char *) "self",(char *) "sz", NULL
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2138 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2142 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2149 resultptr
= new wxSize((wxSize
&) result
);
2150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2158 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
*resultobj
;
2160 wxSize
*arg1
= (wxSize
*) 0 ;
2163 PyObject
* obj0
= 0 ;
2164 PyObject
* obj1
= 0 ;
2166 (char *) "self",(char *) "sz", NULL
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2174 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 (arg1
)->IncTo((wxSize
const &)*arg2
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2183 Py_INCREF(Py_None
); resultobj
= Py_None
;
2190 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxSize
*arg1
= (wxSize
*) 0 ;
2195 PyObject
* obj0
= 0 ;
2196 PyObject
* obj1
= 0 ;
2198 (char *) "self",(char *) "sz", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2206 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 (arg1
)->DecTo((wxSize
const &)*arg2
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2215 Py_INCREF(Py_None
); resultobj
= Py_None
;
2222 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxSize
*arg1
= (wxSize
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2228 PyObject
* obj1
= 0 ;
2229 PyObject
* obj2
= 0 ;
2231 (char *) "self",(char *) "w",(char *) "h", NULL
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2237 arg2
= (int) SWIG_AsInt(obj1
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2239 arg3
= (int) SWIG_AsInt(obj2
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 (arg1
)->Set(arg2
,arg3
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 Py_INCREF(Py_None
); resultobj
= Py_None
;
2255 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxSize
*arg1
= (wxSize
*) 0 ;
2259 PyObject
* obj0
= 0 ;
2260 PyObject
* obj1
= 0 ;
2262 (char *) "self",(char *) "w", NULL
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2268 arg2
= (int) SWIG_AsInt(obj1
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 (arg1
)->SetWidth(arg2
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 Py_INCREF(Py_None
); resultobj
= Py_None
;
2284 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxSize
*arg1
= (wxSize
*) 0 ;
2288 PyObject
* obj0
= 0 ;
2289 PyObject
* obj1
= 0 ;
2291 (char *) "self",(char *) "h", NULL
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2297 arg2
= (int) SWIG_AsInt(obj1
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 (arg1
)->SetHeight(arg2
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 Py_INCREF(Py_None
); resultobj
= Py_None
;
2313 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxSize
*arg1
= (wxSize
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2319 (char *) "self", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) SWIG_fail
;
2332 resultobj
= SWIG_FromInt((int)result
);
2339 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 wxSize
*arg1
= (wxSize
*) 0 ;
2343 PyObject
* obj0
= 0 ;
2345 (char *) "self", NULL
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2355 wxPyEndAllowThreads(__tstate
);
2356 if (PyErr_Occurred()) SWIG_fail
;
2358 resultobj
= SWIG_FromInt((int)result
);
2365 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
*resultobj
;
2367 wxSize
*arg1
= (wxSize
*) 0 ;
2369 PyObject
* obj0
= 0 ;
2371 (char *) "self", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2393 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxSize
*arg1
= (wxSize
*) 0 ;
2398 PyObject
* obj0
= 0 ;
2399 PyObject
* obj1
= 0 ;
2401 (char *) "self",(char *) "size", NULL
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2418 Py_INCREF(Py_None
); resultobj
= Py_None
;
2425 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2427 wxSize
*arg1
= (wxSize
*) 0 ;
2429 PyObject
* obj0
= 0 ;
2431 (char *) "self", NULL
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 result
= (PyObject
*)wxSize_Get(arg1
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2451 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2454 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2456 return Py_BuildValue((char *)"");
2458 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "self",(char *) "x", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 arg2
= (double) SWIG_AsDouble(obj1
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2473 if (arg1
) (arg1
)->x
= arg2
;
2475 Py_INCREF(Py_None
); resultobj
= Py_None
;
2482 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
*resultobj
;
2484 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2486 PyObject
* obj0
= 0 ;
2488 (char *) "self", NULL
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2494 result
= (double) ((arg1
)->x
);
2496 resultobj
= SWIG_FromDouble((double)result
);
2503 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
*resultobj
;
2505 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2510 (char *) "self",(char *) "y", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2516 arg2
= (double) SWIG_AsDouble(obj1
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2518 if (arg1
) (arg1
)->y
= arg2
;
2520 Py_INCREF(Py_None
); resultobj
= Py_None
;
2527 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2531 PyObject
* obj0
= 0 ;
2533 (char *) "self", NULL
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 result
= (double) ((arg1
)->y
);
2541 resultobj
= SWIG_FromDouble((double)result
);
2548 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 double arg1
= (double) 0.0 ;
2551 double arg2
= (double) 0.0 ;
2552 wxRealPoint
*result
;
2553 PyObject
* obj0
= 0 ;
2554 PyObject
* obj1
= 0 ;
2556 (char *) "x",(char *) "y", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2561 arg1
= (double) SWIG_AsDouble(obj0
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2565 arg2
= (double) SWIG_AsDouble(obj1
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2582 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2585 PyObject
* obj0
= 0 ;
2587 (char *) "self", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2600 Py_INCREF(Py_None
); resultobj
= Py_None
;
2607 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
*resultobj
;
2609 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2610 wxRealPoint
*arg2
= 0 ;
2613 PyObject
* obj0
= 0 ;
2614 PyObject
* obj1
= 0 ;
2616 (char *) "self",(char *) "pt", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2624 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2642 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2645 wxRealPoint
*arg2
= 0 ;
2648 PyObject
* obj0
= 0 ;
2649 PyObject
* obj1
= 0 ;
2651 (char *) "self",(char *) "pt", NULL
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2659 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2677 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
*resultobj
;
2679 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2680 wxRealPoint
*arg2
= 0 ;
2683 PyObject
* obj0
= 0 ;
2684 PyObject
* obj1
= 0 ;
2686 (char *) "self",(char *) "pt", NULL
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2700 wxPyEndAllowThreads(__tstate
);
2701 if (PyErr_Occurred()) SWIG_fail
;
2704 wxRealPoint
* resultptr
;
2705 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2714 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
*resultobj
;
2716 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2717 wxRealPoint
*arg2
= 0 ;
2720 PyObject
* obj0
= 0 ;
2721 PyObject
* obj1
= 0 ;
2723 (char *) "self",(char *) "pt", NULL
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2731 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2737 wxPyEndAllowThreads(__tstate
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2741 wxRealPoint
* resultptr
;
2742 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2751 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2757 PyObject
* obj1
= 0 ;
2758 PyObject
* obj2
= 0 ;
2760 (char *) "self",(char *) "x",(char *) "y", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 arg2
= (double) SWIG_AsDouble(obj1
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2768 arg3
= (double) SWIG_AsDouble(obj2
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 wxRealPoint_Set(arg1
,arg2
,arg3
);
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 Py_INCREF(Py_None
); resultobj
= Py_None
;
2784 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2786 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2788 PyObject
* obj0
= 0 ;
2790 (char *) "self", NULL
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2810 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2813 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2815 return Py_BuildValue((char *)"");
2817 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2819 wxPoint
*arg1
= (wxPoint
*) 0 ;
2821 PyObject
* obj0
= 0 ;
2822 PyObject
* obj1
= 0 ;
2824 (char *) "self",(char *) "x", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2830 arg2
= (int) SWIG_AsInt(obj1
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2832 if (arg1
) (arg1
)->x
= arg2
;
2834 Py_INCREF(Py_None
); resultobj
= Py_None
;
2841 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2843 wxPoint
*arg1
= (wxPoint
*) 0 ;
2845 PyObject
* obj0
= 0 ;
2847 (char *) "self", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2853 result
= (int) ((arg1
)->x
);
2855 resultobj
= SWIG_FromInt((int)result
);
2862 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxPoint
*arg1
= (wxPoint
*) 0 ;
2866 PyObject
* obj0
= 0 ;
2867 PyObject
* obj1
= 0 ;
2869 (char *) "self",(char *) "y", NULL
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2875 arg2
= (int) SWIG_AsInt(obj1
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2877 if (arg1
) (arg1
)->y
= arg2
;
2879 Py_INCREF(Py_None
); resultobj
= Py_None
;
2886 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2888 wxPoint
*arg1
= (wxPoint
*) 0 ;
2890 PyObject
* obj0
= 0 ;
2892 (char *) "self", NULL
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2898 result
= (int) ((arg1
)->y
);
2900 resultobj
= SWIG_FromInt((int)result
);
2907 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2909 int arg1
= (int) 0 ;
2910 int arg2
= (int) 0 ;
2912 PyObject
* obj0
= 0 ;
2913 PyObject
* obj1
= 0 ;
2915 (char *) "x",(char *) "y", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2920 arg1
= (int) SWIG_AsInt(obj0
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2924 arg2
= (int) SWIG_AsInt(obj1
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2941 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxPoint
*arg1
= (wxPoint
*) 0 ;
2944 PyObject
* obj0
= 0 ;
2946 (char *) "self", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2959 Py_INCREF(Py_None
); resultobj
= Py_None
;
2966 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
;
2968 wxPoint
*arg1
= (wxPoint
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2975 (char *) "self",(char *) "pt", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3001 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxPoint
*arg1
= (wxPoint
*) 0 ;
3007 PyObject
* obj0
= 0 ;
3008 PyObject
* obj1
= 0 ;
3010 (char *) "self",(char *) "pt", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3036 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxPoint
*arg1
= (wxPoint
*) 0 ;
3042 PyObject
* obj0
= 0 ;
3043 PyObject
* obj1
= 0 ;
3045 (char *) "self",(char *) "pt", NULL
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3063 wxPoint
* resultptr
;
3064 resultptr
= new wxPoint((wxPoint
&) result
);
3065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3073 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3075 wxPoint
*arg1
= (wxPoint
*) 0 ;
3079 PyObject
* obj0
= 0 ;
3080 PyObject
* obj1
= 0 ;
3082 (char *) "self",(char *) "pt", NULL
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3090 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3100 wxPoint
* resultptr
;
3101 resultptr
= new wxPoint((wxPoint
&) result
);
3102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3110 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
*resultobj
;
3112 wxPoint
*arg1
= (wxPoint
*) 0 ;
3116 PyObject
* obj0
= 0 ;
3117 PyObject
* obj1
= 0 ;
3119 (char *) "self",(char *) "pt", NULL
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3133 result
= (wxPoint
*) &_result_ref
;
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3146 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxPoint
*arg1
= (wxPoint
*) 0 ;
3152 PyObject
* obj0
= 0 ;
3153 PyObject
* obj1
= 0 ;
3155 (char *) "self",(char *) "pt", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3169 result
= (wxPoint
*) &_result_ref
;
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3182 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
*resultobj
;
3184 wxPoint
*arg1
= (wxPoint
*) 0 ;
3187 PyObject
* obj0
= 0 ;
3188 PyObject
* obj1
= 0 ;
3189 PyObject
* obj2
= 0 ;
3191 (char *) "self",(char *) "x",(char *) "y", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3197 arg2
= (long) SWIG_AsLong(obj1
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3199 arg3
= (long) SWIG_AsLong(obj2
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 wxPoint_Set(arg1
,arg2
,arg3
);
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) SWIG_fail
;
3208 Py_INCREF(Py_None
); resultobj
= Py_None
;
3215 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
*resultobj
;
3217 wxPoint
*arg1
= (wxPoint
*) 0 ;
3219 PyObject
* obj0
= 0 ;
3221 (char *) "self", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3229 result
= (PyObject
*)wxPoint_Get(arg1
);
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3241 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3244 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3246 return Py_BuildValue((char *)"");
3248 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 int arg1
= (int) 0 ;
3251 int arg2
= (int) 0 ;
3252 int arg3
= (int) 0 ;
3253 int arg4
= (int) 0 ;
3255 PyObject
* obj0
= 0 ;
3256 PyObject
* obj1
= 0 ;
3257 PyObject
* obj2
= 0 ;
3258 PyObject
* obj3
= 0 ;
3260 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3265 arg1
= (int) SWIG_AsInt(obj0
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 arg2
= (int) SWIG_AsInt(obj1
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3273 arg3
= (int) SWIG_AsInt(obj2
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3277 arg4
= (int) SWIG_AsInt(obj3
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3294 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3301 PyObject
* obj0
= 0 ;
3302 PyObject
* obj1
= 0 ;
3304 (char *) "topLeft",(char *) "bottomRight", NULL
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3310 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3314 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3330 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3337 PyObject
* obj0
= 0 ;
3338 PyObject
* obj1
= 0 ;
3340 (char *) "pos",(char *) "size", NULL
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3350 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3366 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxRect
*arg1
= (wxRect
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3371 (char *) "self", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 Py_INCREF(Py_None
); resultobj
= Py_None
;
3391 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxRect
*arg1
= (wxRect
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3397 (char *) "self", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 result
= (int)((wxRect
const *)arg1
)->GetX();
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3410 resultobj
= SWIG_FromInt((int)result
);
3417 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxRect
*arg1
= (wxRect
*) 0 ;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3424 (char *) "self",(char *) "x", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3430 arg2
= (int) SWIG_AsInt(obj1
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 Py_INCREF(Py_None
); resultobj
= Py_None
;
3446 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxRect
*arg1
= (wxRect
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3452 (char *) "self", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (int)(arg1
)->GetY();
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_FromInt((int)result
);
3472 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxRect
*arg1
= (wxRect
*) 0 ;
3476 PyObject
* obj0
= 0 ;
3477 PyObject
* obj1
= 0 ;
3479 (char *) "self",(char *) "y", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3485 arg2
= (int) SWIG_AsInt(obj1
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3501 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxRect
*arg1
= (wxRect
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "self", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= SWIG_FromInt((int)result
);
3527 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3529 wxRect
*arg1
= (wxRect
*) 0 ;
3531 PyObject
* obj0
= 0 ;
3532 PyObject
* obj1
= 0 ;
3534 (char *) "self",(char *) "w", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3540 arg2
= (int) SWIG_AsInt(obj1
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 (arg1
)->SetWidth(arg2
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3549 Py_INCREF(Py_None
); resultobj
= Py_None
;
3556 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxRect
*arg1
= (wxRect
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3562 (char *) "self", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= SWIG_FromInt((int)result
);
3582 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxRect
*arg1
= (wxRect
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3587 PyObject
* obj1
= 0 ;
3589 (char *) "self",(char *) "h", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3595 arg2
= (int) SWIG_AsInt(obj1
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 (arg1
)->SetHeight(arg2
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 Py_INCREF(Py_None
); resultobj
= Py_None
;
3611 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxRect
*arg1
= (wxRect
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3617 (char *) "self", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 result
= ((wxRect
const *)arg1
)->GetPosition();
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3631 wxPoint
* resultptr
;
3632 resultptr
= new wxPoint((wxPoint
&) result
);
3633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3641 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
*resultobj
;
3643 wxRect
*arg1
= (wxRect
*) 0 ;
3646 PyObject
* obj0
= 0 ;
3647 PyObject
* obj1
= 0 ;
3649 (char *) "self",(char *) "p", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 Py_INCREF(Py_None
); resultobj
= Py_None
;
3673 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxRect
*arg1
= (wxRect
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3679 (char *) "self", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= ((wxRect
const *)arg1
)->GetSize();
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3694 resultptr
= new wxSize((wxSize
&) result
);
3695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3703 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
;
3705 wxRect
*arg1
= (wxRect
*) 0 ;
3708 PyObject
* obj0
= 0 ;
3709 PyObject
* obj1
= 0 ;
3711 (char *) "self",(char *) "s", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 (arg1
)->SetSize((wxSize
const &)*arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3737 wxRect
*arg1
= (wxRect
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3741 (char *) "self", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3755 wxPoint
* resultptr
;
3756 resultptr
= new wxPoint((wxPoint
&) result
);
3757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3765 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxRect
*arg1
= (wxRect
*) 0 ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3773 (char *) "self",(char *) "p", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3781 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 Py_INCREF(Py_None
); resultobj
= Py_None
;
3797 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxRect
*arg1
= (wxRect
*) 0 ;
3801 PyObject
* obj0
= 0 ;
3803 (char *) "self", NULL
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3817 wxPoint
* resultptr
;
3818 resultptr
= new wxPoint((wxPoint
&) result
);
3819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3827 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxRect
*arg1
= (wxRect
*) 0 ;
3832 PyObject
* obj0
= 0 ;
3833 PyObject
* obj1
= 0 ;
3835 (char *) "self",(char *) "p", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 Py_INCREF(Py_None
); resultobj
= Py_None
;
3859 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxRect
*arg1
= (wxRect
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= SWIG_FromInt((int)result
);
3885 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxRect
*arg1
= (wxRect
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3891 (char *) "self", NULL
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 result
= (int)((wxRect
const *)arg1
)->GetTop();
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 resultobj
= SWIG_FromInt((int)result
);
3911 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3913 wxRect
*arg1
= (wxRect
*) 0 ;
3915 PyObject
* obj0
= 0 ;
3917 (char *) "self", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= SWIG_FromInt((int)result
);
3937 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxRect
*arg1
= (wxRect
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "self", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (int)((wxRect
const *)arg1
)->GetRight();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_FromInt((int)result
);
3963 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxRect
*arg1
= (wxRect
*) 0 ;
3967 PyObject
* obj0
= 0 ;
3968 PyObject
* obj1
= 0 ;
3970 (char *) "self",(char *) "left", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3976 arg2
= (int) SWIG_AsInt(obj1
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetLeft(arg2
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxRect
*arg1
= (wxRect
*) 0 ;
3996 PyObject
* obj0
= 0 ;
3997 PyObject
* obj1
= 0 ;
3999 (char *) "self",(char *) "right", NULL
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4005 arg2
= (int) SWIG_AsInt(obj1
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 (arg1
)->SetRight(arg2
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 Py_INCREF(Py_None
); resultobj
= Py_None
;
4021 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxRect
*arg1
= (wxRect
*) 0 ;
4025 PyObject
* obj0
= 0 ;
4026 PyObject
* obj1
= 0 ;
4028 (char *) "self",(char *) "top", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4034 arg2
= (int) SWIG_AsInt(obj1
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 (arg1
)->SetTop(arg2
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 Py_INCREF(Py_None
); resultobj
= Py_None
;
4050 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxRect
*arg1
= (wxRect
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4057 (char *) "self",(char *) "bottom", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4063 arg2
= (int) SWIG_AsInt(obj1
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 (arg1
)->SetBottom(arg2
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxRect
*arg1
= (wxRect
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4086 PyObject
* obj1
= 0 ;
4087 PyObject
* obj2
= 0 ;
4089 (char *) "self",(char *) "dx",(char *) "dy", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4095 arg2
= (int) SWIG_AsInt(obj1
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4097 arg3
= (int) SWIG_AsInt(obj2
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4103 result
= (wxRect
*) &_result_ref
;
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4116 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4118 wxRect
*arg1
= (wxRect
*) 0 ;
4122 PyObject
* obj0
= 0 ;
4123 PyObject
* obj1
= 0 ;
4124 PyObject
* obj2
= 0 ;
4126 (char *) "self",(char *) "dx",(char *) "dy", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4132 arg2
= (int) SWIG_AsInt(obj1
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4134 arg3
= (int) SWIG_AsInt(obj2
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4140 result
= (wxRect
*) &_result_ref
;
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4153 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 wxRect
*arg1
= (wxRect
*) 0 ;
4158 PyObject
* obj0
= 0 ;
4159 PyObject
* obj1
= 0 ;
4160 PyObject
* obj2
= 0 ;
4162 (char *) "self",(char *) "dx",(char *) "dy", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4168 arg2
= (int) SWIG_AsInt(obj1
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4170 arg3
= (int) SWIG_AsInt(obj2
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 (arg1
)->Offset(arg2
,arg3
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 Py_INCREF(Py_None
); resultobj
= Py_None
;
4186 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxRect
*arg1
= (wxRect
*) 0 ;
4191 PyObject
* obj0
= 0 ;
4192 PyObject
* obj1
= 0 ;
4194 (char *) "self",(char *) "pt", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4202 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 (arg1
)->Offset((wxPoint
const &)*arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 Py_INCREF(Py_None
); resultobj
= Py_None
;
4218 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxRect
*arg1
= (wxRect
*) 0 ;
4224 PyObject
* obj0
= 0 ;
4225 PyObject
* obj1
= 0 ;
4227 (char *) "self",(char *) "rect", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4235 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4241 result
= (wxRect
*) &_result_ref
;
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4254 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
;
4256 wxRect
*arg1
= (wxRect
*) 0 ;
4260 PyObject
* obj0
= 0 ;
4261 PyObject
* obj1
= 0 ;
4263 (char *) "self",(char *) "rect", NULL
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4271 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4282 resultptr
= new wxRect((wxRect
&) result
);
4283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4291 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 wxRect
*arg1
= (wxRect
*) 0 ;
4297 PyObject
* obj0
= 0 ;
4298 PyObject
* obj1
= 0 ;
4300 (char *) "self",(char *) "rect", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4308 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4314 result
= (wxRect
*) &_result_ref
;
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4327 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxRect
*arg1
= (wxRect
*) 0 ;
4333 PyObject
* obj0
= 0 ;
4334 PyObject
* obj1
= 0 ;
4336 (char *) "self",(char *) "rect", NULL
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4344 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4362 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
*resultobj
;
4364 wxRect
*arg1
= (wxRect
*) 0 ;
4368 PyObject
* obj0
= 0 ;
4369 PyObject
* obj1
= 0 ;
4371 (char *) "self",(char *) "rect", NULL
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4379 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4397 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxRect
*arg1
= (wxRect
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4405 PyObject
* obj2
= 0 ;
4407 (char *) "self",(char *) "x",(char *) "y", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4413 arg2
= (int) SWIG_AsInt(obj1
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4415 arg3
= (int) SWIG_AsInt(obj2
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4433 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxRect
*arg1
= (wxRect
*) 0 ;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4442 (char *) "self",(char *) "pt", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4450 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4468 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4470 wxRect
*arg1
= (wxRect
*) 0 ;
4474 PyObject
* obj0
= 0 ;
4475 PyObject
* obj1
= 0 ;
4477 (char *) "self",(char *) "rect", NULL
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4485 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4503 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxRect
*arg1
= (wxRect
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4510 (char *) "self",(char *) "x", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4516 arg2
= (int) SWIG_AsInt(obj1
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4518 if (arg1
) (arg1
)->x
= arg2
;
4520 Py_INCREF(Py_None
); resultobj
= Py_None
;
4527 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
;
4529 wxRect
*arg1
= (wxRect
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4533 (char *) "self", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4539 result
= (int) ((arg1
)->x
);
4541 resultobj
= SWIG_FromInt((int)result
);
4548 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxRect
*arg1
= (wxRect
*) 0 ;
4552 PyObject
* obj0
= 0 ;
4553 PyObject
* obj1
= 0 ;
4555 (char *) "self",(char *) "y", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4561 arg2
= (int) SWIG_AsInt(obj1
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4563 if (arg1
) (arg1
)->y
= arg2
;
4565 Py_INCREF(Py_None
); resultobj
= Py_None
;
4572 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxRect
*arg1
= (wxRect
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4578 (char *) "self", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4584 result
= (int) ((arg1
)->y
);
4586 resultobj
= SWIG_FromInt((int)result
);
4593 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxRect
*arg1
= (wxRect
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4598 PyObject
* obj1
= 0 ;
4600 (char *) "self",(char *) "width", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4606 arg2
= (int) SWIG_AsInt(obj1
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4608 if (arg1
) (arg1
)->width
= arg2
;
4610 Py_INCREF(Py_None
); resultobj
= Py_None
;
4617 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4619 wxRect
*arg1
= (wxRect
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4623 (char *) "self", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4629 result
= (int) ((arg1
)->width
);
4631 resultobj
= SWIG_FromInt((int)result
);
4638 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxRect
*arg1
= (wxRect
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4645 (char *) "self",(char *) "height", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4651 arg2
= (int) SWIG_AsInt(obj1
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4653 if (arg1
) (arg1
)->height
= arg2
;
4655 Py_INCREF(Py_None
); resultobj
= Py_None
;
4662 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxRect
*arg1
= (wxRect
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4668 (char *) "self", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4674 result
= (int) ((arg1
)->height
);
4676 resultobj
= SWIG_FromInt((int)result
);
4683 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4685 wxRect
*arg1
= (wxRect
*) 0 ;
4686 int arg2
= (int) 0 ;
4687 int arg3
= (int) 0 ;
4688 int arg4
= (int) 0 ;
4689 int arg5
= (int) 0 ;
4690 PyObject
* obj0
= 0 ;
4691 PyObject
* obj1
= 0 ;
4692 PyObject
* obj2
= 0 ;
4693 PyObject
* obj3
= 0 ;
4694 PyObject
* obj4
= 0 ;
4696 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4703 arg2
= (int) SWIG_AsInt(obj1
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4707 arg3
= (int) SWIG_AsInt(obj2
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4711 arg4
= (int) SWIG_AsInt(obj3
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4715 arg5
= (int) SWIG_AsInt(obj4
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 Py_INCREF(Py_None
); resultobj
= Py_None
;
4732 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxRect
*arg1
= (wxRect
*) 0 ;
4736 PyObject
* obj0
= 0 ;
4738 (char *) "self", NULL
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (PyObject
*)wxRect_Get(arg1
);
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4758 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4761 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4763 return Py_BuildValue((char *)"");
4765 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxRect
*arg1
= (wxRect
*) 0 ;
4768 wxRect
*arg2
= (wxRect
*) 0 ;
4770 PyObject
* obj0
= 0 ;
4771 PyObject
* obj1
= 0 ;
4773 (char *) "r1",(char *) "r2", NULL
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4795 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 double arg1
= (double) 0.0 ;
4798 double arg2
= (double) 0.0 ;
4800 PyObject
* obj0
= 0 ;
4801 PyObject
* obj1
= 0 ;
4803 (char *) "x",(char *) "y", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4808 arg1
= (double) SWIG_AsDouble(obj0
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4812 arg2
= (double) SWIG_AsDouble(obj1
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4829 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxPoint2D
*arg1
= 0 ;
4834 PyObject
* obj0
= 0 ;
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4842 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4858 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4863 PyObject
* obj0
= 0 ;
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4871 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4887 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4889 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4890 int *arg2
= (int *) 0 ;
4891 int *arg3
= (int *) 0 ;
4894 PyObject
* obj0
= 0 ;
4896 (char *) "self", NULL
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 Py_INCREF(Py_None
); resultobj
= Py_None
;
4913 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4914 resultobj
= t_output_helper(resultobj
,o
);
4917 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4918 resultobj
= t_output_helper(resultobj
,o
);
4926 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4929 int *arg2
= (int *) 0 ;
4930 int *arg3
= (int *) 0 ;
4933 PyObject
* obj0
= 0 ;
4935 (char *) "self", NULL
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 Py_INCREF(Py_None
); resultobj
= Py_None
;
4952 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4953 resultobj
= t_output_helper(resultobj
,o
);
4956 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4957 resultobj
= t_output_helper(resultobj
,o
);
4965 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4971 (char *) "self", NULL
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= SWIG_FromDouble((double)result
);
4991 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4995 PyObject
* obj0
= 0 ;
4997 (char *) "self", NULL
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_FromDouble((double)result
);
5017 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5021 PyObject
* obj0
= 0 ;
5022 PyObject
* obj1
= 0 ;
5024 (char *) "self",(char *) "length", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5030 arg2
= (double) SWIG_AsDouble(obj1
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 (arg1
)->SetVectorLength(arg2
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 Py_INCREF(Py_None
); resultobj
= Py_None
;
5046 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5053 (char *) "self",(char *) "degrees", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5059 arg2
= (double) SWIG_AsDouble(obj1
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 (arg1
)->SetVectorAngle(arg2
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 Py_INCREF(Py_None
); resultobj
= Py_None
;
5075 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5078 wxPoint2D
*arg2
= 0 ;
5081 PyObject
* obj0
= 0 ;
5082 PyObject
* obj1
= 0 ;
5084 (char *) "self",(char *) "pt", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_FromDouble((double)result
);
5108 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5111 wxPoint2D
*arg2
= 0 ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5117 (char *) "self",(char *) "pt", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5125 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= SWIG_FromDouble((double)result
);
5141 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5144 wxPoint2D
*arg2
= 0 ;
5147 PyObject
* obj0
= 0 ;
5148 PyObject
* obj1
= 0 ;
5150 (char *) "self",(char *) "vec", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5158 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= SWIG_FromDouble((double)result
);
5174 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5177 wxPoint2D
*arg2
= 0 ;
5180 PyObject
* obj0
= 0 ;
5181 PyObject
* obj1
= 0 ;
5183 (char *) "self",(char *) "vec", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5191 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_FromDouble((double)result
);
5207 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5211 PyObject
* obj0
= 0 ;
5213 (char *) "self", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (arg1
)->operator -();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5227 wxPoint2D
* resultptr
;
5228 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5237 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
;
5239 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5240 wxPoint2D
*arg2
= 0 ;
5243 PyObject
* obj0
= 0 ;
5244 PyObject
* obj1
= 0 ;
5246 (char *) "self",(char *) "pt", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5254 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5260 result
= (wxPoint2D
*) &_result_ref
;
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5273 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
;
5275 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5276 wxPoint2D
*arg2
= 0 ;
5279 PyObject
* obj0
= 0 ;
5280 PyObject
* obj1
= 0 ;
5282 (char *) "self",(char *) "pt", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5290 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5296 result
= (wxPoint2D
*) &_result_ref
;
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5309 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5312 wxPoint2D
*arg2
= 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5318 (char *) "self",(char *) "pt", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5326 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5332 result
= (wxPoint2D
*) &_result_ref
;
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5345 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
*resultobj
;
5347 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5348 wxPoint2D
*arg2
= 0 ;
5351 PyObject
* obj0
= 0 ;
5352 PyObject
* obj1
= 0 ;
5354 (char *) "self",(char *) "pt", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5362 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5368 result
= (wxPoint2D
*) &_result_ref
;
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5381 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
;
5383 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5384 wxPoint2D
*arg2
= 0 ;
5387 PyObject
* obj0
= 0 ;
5388 PyObject
* obj1
= 0 ;
5390 (char *) "self",(char *) "pt", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5398 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5416 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5419 wxPoint2D
*arg2
= 0 ;
5422 PyObject
* obj0
= 0 ;
5423 PyObject
* obj1
= 0 ;
5425 (char *) "self",(char *) "pt", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5433 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5451 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5455 PyObject
* obj0
= 0 ;
5456 PyObject
* obj1
= 0 ;
5458 (char *) "self",(char *) "m_x", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 arg2
= (double) SWIG_AsDouble(obj1
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5466 if (arg1
) (arg1
)->m_x
= arg2
;
5468 Py_INCREF(Py_None
); resultobj
= Py_None
;
5475 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5477 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5479 PyObject
* obj0
= 0 ;
5481 (char *) "self", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5487 result
= (double) ((arg1
)->m_x
);
5489 resultobj
= SWIG_FromDouble((double)result
);
5496 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5501 PyObject
* obj1
= 0 ;
5503 (char *) "self",(char *) "m_y", NULL
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5509 arg2
= (double) SWIG_AsDouble(obj1
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5511 if (arg1
) (arg1
)->m_y
= arg2
;
5513 Py_INCREF(Py_None
); resultobj
= Py_None
;
5520 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5524 PyObject
* obj0
= 0 ;
5526 (char *) "self", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 result
= (double) ((arg1
)->m_y
);
5534 resultobj
= SWIG_FromDouble((double)result
);
5541 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5544 double arg2
= (double) 0 ;
5545 double arg3
= (double) 0 ;
5546 PyObject
* obj0
= 0 ;
5547 PyObject
* obj1
= 0 ;
5548 PyObject
* obj2
= 0 ;
5550 (char *) "self",(char *) "x",(char *) "y", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5557 arg2
= (double) SWIG_AsDouble(obj1
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5561 arg3
= (double) SWIG_AsDouble(obj2
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 wxPoint2D_Set(arg1
,arg2
,arg3
);
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5584 (char *) "self", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5604 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5607 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5609 return Py_BuildValue((char *)"");
5611 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5612 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5617 static PyObject
*_wrap_DefaultPosition_get() {
5620 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5625 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5626 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5631 static PyObject
*_wrap_DefaultSize_get() {
5634 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5639 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 PyObject
*arg1
= (PyObject
*) 0 ;
5642 wxPyInputStream
*result
;
5643 PyObject
* obj0
= 0 ;
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5664 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
;
5666 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5667 PyObject
* obj0
= 0 ;
5669 (char *) "self", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5682 Py_INCREF(Py_None
); resultobj
= Py_None
;
5689 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5692 PyObject
* obj0
= 0 ;
5694 (char *) "self", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 Py_INCREF(Py_None
); resultobj
= Py_None
;
5714 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5720 (char *) "self", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (bool)(arg1
)->eof();
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5742 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5745 int arg2
= (int) -1 ;
5747 PyObject
* obj0
= 0 ;
5748 PyObject
* obj1
= 0 ;
5750 (char *) "self",(char *) "size", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5757 arg2
= (int) SWIG_AsInt(obj1
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 result
= (PyObject
*)(arg1
)->read(arg2
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5774 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5777 int arg2
= (int) -1 ;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5782 (char *) "self",(char *) "size", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 arg2
= (int) SWIG_AsInt(obj1
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (PyObject
*)(arg1
)->readline(arg2
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5806 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5809 int arg2
= (int) -1 ;
5811 PyObject
* obj0
= 0 ;
5812 PyObject
* obj1
= 0 ;
5814 (char *) "self",(char *) "sizehint", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5821 arg2
= (int) SWIG_AsInt(obj1
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5838 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5842 int arg3
= (int) 0 ;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5845 PyObject
* obj2
= 0 ;
5847 (char *) "self",(char *) "offset",(char *) "whence", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5853 arg2
= (int) SWIG_AsInt(obj1
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 arg3
= (int) SWIG_AsInt(obj2
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 (arg1
)->seek(arg2
,arg3
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 Py_INCREF(Py_None
); resultobj
= Py_None
;
5873 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5877 PyObject
* obj0
= 0 ;
5879 (char *) "self", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (int)(arg1
)->tell();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_FromInt((int)result
);
5899 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5903 PyObject
* obj0
= 0 ;
5905 (char *) "self", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= (char)(arg1
)->Peek();
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= SWIG_FromChar((char)result
);
5925 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5931 (char *) "self", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (char)(arg1
)->GetC();
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= SWIG_FromChar((char)result
);
5951 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5957 (char *) "self", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 result
= (size_t)(arg1
)->LastRead();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5977 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5981 PyObject
* obj0
= 0 ;
5983 (char *) "self", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (bool)(arg1
)->CanRead();
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6005 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
*resultobj
;
6007 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6011 (char *) "self", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (bool)(arg1
)->Eof();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6033 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6041 (char *) "self",(char *) "c", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6047 arg2
= (char) SWIG_AsChar(obj1
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (bool)(arg1
)->Ungetch(arg2
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6065 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6069 int arg3
= (int) wxFromStart
;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6073 PyObject
* obj2
= 0 ;
6075 (char *) "self",(char *) "pos",(char *) "mode", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6081 arg2
= (long) SWIG_AsLong(obj1
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= SWIG_FromLong((long)result
);
6101 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6107 (char *) "self", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (long)(arg1
)->TellI();
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= SWIG_FromLong((long)result
);
6127 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6130 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6132 return Py_BuildValue((char *)"");
6134 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6137 PyObject
*arg2
= (PyObject
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6141 (char *) "self",(char *) "obj", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 wxOutputStream_write(arg1
,arg2
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 Py_INCREF(Py_None
); resultobj
= Py_None
;
6162 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6165 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6167 return Py_BuildValue((char *)"");
6169 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6172 wxString
*arg2
= 0 ;
6173 wxString
*arg3
= 0 ;
6174 wxString
*arg4
= 0 ;
6177 wxPyInputStream
*temp1
;
6179 bool temp2
= False
;
6180 bool temp3
= False
;
6181 bool temp4
= False
;
6183 PyObject
* obj0
= 0 ;
6184 PyObject
* obj1
= 0 ;
6185 PyObject
* obj2
= 0 ;
6186 PyObject
* obj3
= 0 ;
6187 PyObject
* obj4
= 0 ;
6189 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6194 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6195 arg1
= temp1
->m_wxis
;
6198 PyErr_Clear(); // clear the failure of the wxPyConvert above
6199 arg1
= wxPyCBInputStream_create(obj0
, False
);
6201 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6208 arg2
= wxString_in_helper(obj1
);
6209 if (arg2
== NULL
) SWIG_fail
;
6213 arg3
= wxString_in_helper(obj2
);
6214 if (arg3
== NULL
) SWIG_fail
;
6218 arg4
= wxString_in_helper(obj3
);
6219 if (arg4
== NULL
) SWIG_fail
;
6222 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6223 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= wxPyMake_wxObject(result
);
6273 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6278 (char *) "self", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 Py_INCREF(Py_None
); resultobj
= Py_None
;
6298 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
;
6300 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6301 wxInputStream
*result
;
6302 PyObject
* obj0
= 0 ;
6304 (char *) "self", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 result
= (wxInputStream
*)(arg1
)->GetStream();
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6318 wxPyInputStream
* _ptr
= NULL
;
6321 _ptr
= new wxPyInputStream(result
);
6323 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6331 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6335 PyObject
* obj0
= 0 ;
6337 (char *) "self", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6347 result
= (wxString
*) &_result_ref
;
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6357 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6366 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6372 (char *) "self", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 wxString
const &_result_ref
= (arg1
)->GetLocation();
6382 result
= (wxString
*) &_result_ref
;
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6392 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6401 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6407 (char *) "self", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6417 result
= (wxString
*) &_result_ref
;
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6427 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6436 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
;
6438 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6440 PyObject
* obj0
= 0 ;
6442 (char *) "self", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 result
= (arg1
)->GetModificationTime();
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6456 wxDateTime
* resultptr
;
6457 resultptr
= new wxDateTime((wxDateTime
&) result
);
6458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6466 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6469 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6471 return Py_BuildValue((char *)"");
6473 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6476 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6478 return Py_BuildValue((char *)"");
6480 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
;
6482 wxPyFileSystemHandler
*result
;
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6502 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6505 PyObject
*arg2
= (PyObject
*) 0 ;
6506 PyObject
*arg3
= (PyObject
*) 0 ;
6507 PyObject
* obj0
= 0 ;
6508 PyObject
* obj1
= 0 ;
6509 PyObject
* obj2
= 0 ;
6511 (char *) "self",(char *) "self",(char *) "_class", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 Py_INCREF(Py_None
); resultobj
= Py_None
;
6533 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6536 wxString
*arg2
= 0 ;
6538 bool temp2
= False
;
6539 PyObject
* obj0
= 0 ;
6540 PyObject
* obj1
= 0 ;
6542 (char *) "self",(char *) "location", NULL
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6549 arg2
= wxString_in_helper(obj1
);
6550 if (arg2
== NULL
) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6577 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
*resultobj
;
6579 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6580 wxFileSystem
*arg2
= 0 ;
6581 wxString
*arg3
= 0 ;
6583 bool temp3
= False
;
6584 PyObject
* obj0
= 0 ;
6585 PyObject
* obj1
= 0 ;
6586 PyObject
* obj2
= 0 ;
6588 (char *) "self",(char *) "fs",(char *) "location", NULL
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6598 PyErr_SetString(PyExc_TypeError
,"null reference");
6602 arg3
= wxString_in_helper(obj2
);
6603 if (arg3
== NULL
) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= wxPyMake_wxObject(result
);
6630 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6633 wxString
*arg2
= 0 ;
6634 int arg3
= (int) 0 ;
6636 bool temp2
= False
;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6639 PyObject
* obj2
= 0 ;
6641 (char *) "self",(char *) "spec",(char *) "flags", NULL
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6648 arg2
= wxString_in_helper(obj1
);
6649 if (arg2
== NULL
) SWIG_fail
;
6653 arg3
= (int) SWIG_AsInt(obj2
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6684 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
;
6686 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6688 PyObject
* obj0
= 0 ;
6690 (char *) "self", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (arg1
)->FindNext();
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6716 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
;
6718 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6719 wxString
*arg2
= 0 ;
6721 bool temp2
= False
;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6725 (char *) "self",(char *) "location", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6732 arg2
= wxString_in_helper(obj1
);
6733 if (arg2
== NULL
) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6764 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6767 wxString
*arg2
= 0 ;
6769 bool temp2
= False
;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6773 (char *) "self",(char *) "location", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6780 arg2
= wxString_in_helper(obj1
);
6781 if (arg2
== NULL
) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6812 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6815 wxString
*arg2
= 0 ;
6817 bool temp2
= False
;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6821 (char *) "self",(char *) "location", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6828 arg2
= wxString_in_helper(obj1
);
6829 if (arg2
== NULL
) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6860 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6863 wxString
*arg2
= 0 ;
6865 bool temp2
= False
;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6869 (char *) "self",(char *) "location", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6876 arg2
= wxString_in_helper(obj1
);
6877 if (arg2
== NULL
) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6908 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6911 wxString
*arg2
= 0 ;
6913 bool temp2
= False
;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6917 (char *) "self",(char *) "location", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6924 arg2
= wxString_in_helper(obj1
);
6925 if (arg2
== NULL
) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6956 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6959 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6961 return Py_BuildValue((char *)"");
6963 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxFileSystem
*result
;
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (wxFileSystem
*)new wxFileSystem();
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= wxPyMake_wxObject(result
);
6987 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "self", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 Py_INCREF(Py_None
); resultobj
= Py_None
;
7012 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
;
7014 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7015 wxString
*arg2
= 0 ;
7016 bool arg3
= (bool) False
;
7017 bool temp2
= False
;
7018 PyObject
* obj0
= 0 ;
7019 PyObject
* obj1
= 0 ;
7020 PyObject
* obj2
= 0 ;
7022 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7029 arg2
= wxString_in_helper(obj1
);
7030 if (arg2
== NULL
) SWIG_fail
;
7034 arg3
= (bool) SWIG_AsBool(obj2
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 Py_INCREF(Py_None
); resultobj
= Py_None
;
7059 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7061 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7063 PyObject
* obj0
= 0 ;
7065 (char *) "self", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 result
= (arg1
)->GetPath();
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7091 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7094 wxString
*arg2
= 0 ;
7096 bool temp2
= False
;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7100 (char *) "self",(char *) "location", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7107 arg2
= wxString_in_helper(obj1
);
7108 if (arg2
== NULL
) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= wxPyMake_wxObject(result
);
7135 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7138 wxString
*arg2
= 0 ;
7139 int arg3
= (int) 0 ;
7141 bool temp2
= False
;
7142 PyObject
* obj0
= 0 ;
7143 PyObject
* obj1
= 0 ;
7144 PyObject
* obj2
= 0 ;
7146 (char *) "self",(char *) "spec",(char *) "flags", NULL
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7153 arg2
= wxString_in_helper(obj1
);
7154 if (arg2
== NULL
) SWIG_fail
;
7158 arg3
= (int) SWIG_AsInt(obj2
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7189 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
;
7191 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7193 PyObject
* obj0
= 0 ;
7195 (char *) "self", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= (arg1
)->FindNext();
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7221 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7223 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7224 PyObject
* obj0
= 0 ;
7226 (char *) "handler", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 wxFileSystem::AddHandler(arg1
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 Py_INCREF(Py_None
); resultobj
= Py_None
;
7246 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 wxFileSystem::CleanUpHandlers();
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 Py_INCREF(Py_None
); resultobj
= Py_None
;
7267 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxString
*arg1
= 0 ;
7271 bool temp1
= False
;
7272 PyObject
* obj0
= 0 ;
7274 (char *) "filename", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7279 arg1
= wxString_in_helper(obj0
);
7280 if (arg1
== NULL
) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7311 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7314 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7316 return Py_BuildValue((char *)"");
7318 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxString
*arg1
= 0 ;
7322 bool temp1
= False
;
7323 PyObject
* obj0
= 0 ;
7325 (char *) "url", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7330 arg1
= wxString_in_helper(obj0
);
7331 if (arg1
== NULL
) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7362 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxInternetFSHandler
*result
;
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7384 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7387 wxString
*arg2
= 0 ;
7389 bool temp2
= False
;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7393 (char *) "self",(char *) "location", NULL
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7400 arg2
= wxString_in_helper(obj1
);
7401 if (arg2
== NULL
) SWIG_fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7428 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7431 wxFileSystem
*arg2
= 0 ;
7432 wxString
*arg3
= 0 ;
7434 bool temp3
= False
;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7437 PyObject
* obj2
= 0 ;
7439 (char *) "self",(char *) "fs",(char *) "location", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7449 PyErr_SetString(PyExc_TypeError
,"null reference");
7453 arg3
= wxString_in_helper(obj2
);
7454 if (arg3
== NULL
) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= wxPyMake_wxObject(result
);
7481 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7484 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7486 return Py_BuildValue((char *)"");
7488 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7490 wxZipFSHandler
*result
;
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7510 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7513 wxString
*arg2
= 0 ;
7515 bool temp2
= False
;
7516 PyObject
* obj0
= 0 ;
7517 PyObject
* obj1
= 0 ;
7519 (char *) "self",(char *) "location", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7526 arg2
= wxString_in_helper(obj1
);
7527 if (arg2
== NULL
) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7554 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7557 wxFileSystem
*arg2
= 0 ;
7558 wxString
*arg3
= 0 ;
7560 bool temp3
= False
;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7563 PyObject
* obj2
= 0 ;
7565 (char *) "self",(char *) "fs",(char *) "location", NULL
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7575 PyErr_SetString(PyExc_TypeError
,"null reference");
7579 arg3
= wxString_in_helper(obj2
);
7580 if (arg3
== NULL
) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= wxPyMake_wxObject(result
);
7607 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7610 wxString
*arg2
= 0 ;
7611 int arg3
= (int) 0 ;
7613 bool temp2
= False
;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7616 PyObject
* obj2
= 0 ;
7618 (char *) "self",(char *) "spec",(char *) "flags", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7625 arg2
= wxString_in_helper(obj1
);
7626 if (arg2
== NULL
) SWIG_fail
;
7630 arg3
= (int) SWIG_AsInt(obj2
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7661 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (arg1
)->FindNext();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7693 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7696 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7698 return Py_BuildValue((char *)"");
7700 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7702 wxString
*arg1
= 0 ;
7705 bool temp1
= False
;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7708 PyObject
* obj2
= 0 ;
7710 (char *) "filename",(char *) "image",(char *) "type", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7715 arg1
= wxString_in_helper(obj0
);
7716 if (arg1
== NULL
) SWIG_fail
;
7719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7723 PyErr_SetString(PyExc_TypeError
,"null reference");
7726 arg3
= (long) SWIG_AsLong(obj2
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 Py_INCREF(Py_None
); resultobj
= Py_None
;
7750 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxString
*arg1
= 0 ;
7753 wxBitmap
*arg2
= 0 ;
7755 bool temp1
= False
;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7758 PyObject
* obj2
= 0 ;
7760 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7765 arg1
= wxString_in_helper(obj0
);
7766 if (arg1
== NULL
) SWIG_fail
;
7769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7773 PyErr_SetString(PyExc_TypeError
,"null reference");
7776 arg3
= (long) SWIG_AsLong(obj2
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 Py_INCREF(Py_None
); resultobj
= Py_None
;
7800 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxString
*arg1
= 0 ;
7803 PyObject
*arg2
= (PyObject
*) 0 ;
7804 bool temp1
= False
;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7808 (char *) "filename",(char *) "data", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 arg1
= wxString_in_helper(obj0
);
7814 if (arg1
== NULL
) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 Py_INCREF(Py_None
); resultobj
= Py_None
;
7840 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxMemoryFSHandler
*result
;
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7862 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxString
*arg1
= 0 ;
7865 bool temp1
= False
;
7866 PyObject
* obj0
= 0 ;
7868 (char *) "filename", NULL
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7873 arg1
= wxString_in_helper(obj0
);
7874 if (arg1
== NULL
) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 Py_INCREF(Py_None
); resultobj
= Py_None
;
7899 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7902 wxString
*arg2
= 0 ;
7904 bool temp2
= False
;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7908 (char *) "self",(char *) "location", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 arg2
= wxString_in_helper(obj1
);
7916 if (arg2
== NULL
) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7943 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
*resultobj
;
7945 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7946 wxFileSystem
*arg2
= 0 ;
7947 wxString
*arg3
= 0 ;
7949 bool temp3
= False
;
7950 PyObject
* obj0
= 0 ;
7951 PyObject
* obj1
= 0 ;
7952 PyObject
* obj2
= 0 ;
7954 (char *) "self",(char *) "fs",(char *) "location", NULL
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7964 PyErr_SetString(PyExc_TypeError
,"null reference");
7968 arg3
= wxString_in_helper(obj2
);
7969 if (arg3
== NULL
) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= wxPyMake_wxObject(result
);
7996 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7999 wxString
*arg2
= 0 ;
8000 int arg3
= (int) 0 ;
8002 bool temp2
= False
;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8005 PyObject
* obj2
= 0 ;
8007 (char *) "self",(char *) "spec",(char *) "flags", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8014 arg2
= wxString_in_helper(obj1
);
8015 if (arg2
== NULL
) SWIG_fail
;
8019 arg3
= (int) SWIG_AsInt(obj2
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8050 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "self", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= (arg1
)->FindNext();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8082 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8085 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8087 return Py_BuildValue((char *)"");
8089 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
;
8091 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8093 PyObject
* obj0
= 0 ;
8095 (char *) "self", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (arg1
)->GetName();
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8121 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8127 (char *) "self", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 result
= (arg1
)->GetExtension();
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8153 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8159 (char *) "self", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 result
= (long)(arg1
)->GetType();
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= SWIG_FromLong((long)result
);
8179 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8185 (char *) "self", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (arg1
)->GetMimeType();
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8211 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8214 wxString
*arg2
= 0 ;
8216 bool temp2
= False
;
8217 PyObject
* obj0
= 0 ;
8218 PyObject
* obj1
= 0 ;
8220 (char *) "self",(char *) "name", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8227 arg2
= wxString_in_helper(obj1
);
8228 if (arg2
== NULL
) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8255 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8258 wxString
*arg2
= 0 ;
8259 bool temp2
= False
;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8263 (char *) "self",(char *) "name", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8270 arg2
= wxString_in_helper(obj1
);
8271 if (arg2
== NULL
) SWIG_fail
;
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 (arg1
)->SetName((wxString
const &)*arg2
);
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 Py_INCREF(Py_None
); resultobj
= Py_None
;
8296 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
;
8298 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8299 wxString
*arg2
= 0 ;
8300 bool temp2
= False
;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8304 (char *) "self",(char *) "extension", NULL
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 arg2
= wxString_in_helper(obj1
);
8312 if (arg2
== NULL
) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 (arg1
)->SetExtension((wxString
const &)*arg2
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 Py_INCREF(Py_None
); resultobj
= Py_None
;
8337 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8341 PyObject
* obj0
= 0 ;
8342 PyObject
* obj1
= 0 ;
8344 (char *) "self",(char *) "type", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8350 arg2
= (long) SWIG_AsLong(obj1
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 (arg1
)->SetType(arg2
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 Py_INCREF(Py_None
); resultobj
= Py_None
;
8366 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
*resultobj
;
8368 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8369 wxString
*arg2
= 0 ;
8370 bool temp2
= False
;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8374 (char *) "self",(char *) "mimetype", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8381 arg2
= wxString_in_helper(obj1
);
8382 if (arg2
== NULL
) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 Py_INCREF(Py_None
); resultobj
= Py_None
;
8407 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8410 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8412 return Py_BuildValue((char *)"");
8414 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxImageHistogram
*result
;
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= (wxImageHistogram
*)new wxImageHistogram();
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8436 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 unsigned char arg1
;
8439 unsigned char arg2
;
8440 unsigned char arg3
;
8441 unsigned long result
;
8442 PyObject
* obj0
= 0 ;
8443 PyObject
* obj1
= 0 ;
8444 PyObject
* obj2
= 0 ;
8446 (char *) "r",(char *) "g",(char *) "b", NULL
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8450 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8452 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8454 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8470 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8473 unsigned char *arg2
= (unsigned char *) 0 ;
8474 unsigned char *arg3
= (unsigned char *) 0 ;
8475 unsigned char *arg4
= (unsigned char *) 0 ;
8476 unsigned char arg5
= (unsigned char) 1 ;
8477 unsigned char arg6
= (unsigned char) 0 ;
8478 unsigned char arg7
= (unsigned char) 0 ;
8480 unsigned char temp2
;
8481 unsigned char temp3
;
8482 unsigned char temp4
;
8483 PyObject
* obj0
= 0 ;
8484 PyObject
* obj1
= 0 ;
8485 PyObject
* obj2
= 0 ;
8486 PyObject
* obj3
= 0 ;
8488 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8498 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8502 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8506 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8520 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8521 resultobj
= t_output_helper(resultobj
,o
);
8524 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8525 resultobj
= t_output_helper(resultobj
,o
);
8528 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8529 resultobj
= t_output_helper(resultobj
,o
);
8537 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8540 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8542 return Py_BuildValue((char *)"");
8544 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8546 wxString
*arg1
= 0 ;
8547 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8548 int arg3
= (int) -1 ;
8550 bool temp1
= False
;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8553 PyObject
* obj2
= 0 ;
8555 (char *) "name",(char *) "type",(char *) "index", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8560 arg1
= wxString_in_helper(obj0
);
8561 if (arg1
== NULL
) SWIG_fail
;
8565 arg2
= (long) SWIG_AsLong(obj1
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8569 arg3
= (int) SWIG_AsInt(obj2
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8594 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxImage
*arg1
= (wxImage
*) 0 ;
8597 PyObject
* obj0
= 0 ;
8599 (char *) "self", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 Py_INCREF(Py_None
); resultobj
= Py_None
;
8619 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxString
*arg1
= 0 ;
8622 wxString
*arg2
= 0 ;
8623 int arg3
= (int) -1 ;
8625 bool temp1
= False
;
8626 bool temp2
= False
;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8629 PyObject
* obj2
= 0 ;
8631 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8636 arg1
= wxString_in_helper(obj0
);
8637 if (arg1
== NULL
) SWIG_fail
;
8641 arg2
= wxString_in_helper(obj1
);
8642 if (arg2
== NULL
) SWIG_fail
;
8646 arg3
= (int) SWIG_AsInt(obj2
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8679 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxInputStream
*arg1
= 0 ;
8682 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8683 int arg3
= (int) -1 ;
8685 wxPyInputStream
*temp1
;
8687 PyObject
* obj0
= 0 ;
8688 PyObject
* obj1
= 0 ;
8689 PyObject
* obj2
= 0 ;
8691 (char *) "stream",(char *) "type",(char *) "index", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8696 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8697 arg1
= temp1
->m_wxis
;
8700 PyErr_Clear(); // clear the failure of the wxPyConvert above
8701 arg1
= wxPyCBInputStream_create(obj0
, False
);
8703 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8710 arg2
= (long) SWIG_AsLong(obj1
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8714 arg3
= (int) SWIG_AsInt(obj2
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8739 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxInputStream
*arg1
= 0 ;
8742 wxString
*arg2
= 0 ;
8743 int arg3
= (int) -1 ;
8745 wxPyInputStream
*temp1
;
8747 bool temp2
= False
;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8752 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8757 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8758 arg1
= temp1
->m_wxis
;
8761 PyErr_Clear(); // clear the failure of the wxPyConvert above
8762 arg1
= wxPyCBInputStream_create(obj0
, False
);
8764 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8771 arg2
= wxString_in_helper(obj1
);
8772 if (arg2
== NULL
) SWIG_fail
;
8776 arg3
= (int) SWIG_AsInt(obj2
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8809 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
;
8811 int arg1
= (int) 0 ;
8812 int arg2
= (int) 0 ;
8813 bool arg3
= (bool) True
;
8815 PyObject
* obj0
= 0 ;
8816 PyObject
* obj1
= 0 ;
8817 PyObject
* obj2
= 0 ;
8819 (char *) "width",(char *) "height",(char *) "clear", NULL
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8824 arg1
= (int) SWIG_AsInt(obj0
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8828 arg2
= (int) SWIG_AsInt(obj1
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8832 arg3
= (bool) SWIG_AsBool(obj2
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8849 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
;
8851 wxBitmap
*arg1
= 0 ;
8853 PyObject
* obj0
= 0 ;
8855 (char *) "bitmap", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8863 PyErr_SetString(PyExc_TypeError
,"null reference");
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8880 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8884 unsigned char *arg3
= (unsigned char *) 0 ;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8888 PyObject
* obj2
= 0 ;
8890 (char *) "width",(char *) "height",(char *) "data", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8894 arg1
= (int) SWIG_AsInt(obj0
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8896 arg2
= (int) SWIG_AsInt(obj1
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8898 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8914 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxImage
*arg1
= (wxImage
*) 0 ;
8919 PyObject
* obj0
= 0 ;
8920 PyObject
* obj1
= 0 ;
8921 PyObject
* obj2
= 0 ;
8923 (char *) "self",(char *) "width",(char *) "height", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 arg2
= (int) SWIG_AsInt(obj1
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8931 arg3
= (int) SWIG_AsInt(obj2
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 (arg1
)->Create(arg2
,arg3
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxImage
*arg1
= (wxImage
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 (char *) "self", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxImage
*arg1
= (wxImage
*) 0 ;
8977 SwigValueWrapper
< wxImage
> result
;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8982 (char *) "self",(char *) "width",(char *) "height", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8988 arg2
= (int) SWIG_AsInt(obj1
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8990 arg3
= (int) SWIG_AsInt(obj2
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (arg1
)->Scale(arg2
,arg3
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
9000 wxImage
* resultptr
;
9001 resultptr
= new wxImage((wxImage
&) result
);
9002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9010 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxImage
*arg1
= (wxImage
*) 0 ;
9015 SwigValueWrapper
< wxImage
> result
;
9016 PyObject
* obj0
= 0 ;
9017 PyObject
* obj1
= 0 ;
9018 PyObject
* obj2
= 0 ;
9020 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9026 arg2
= (int) SWIG_AsInt(obj1
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9028 arg3
= (int) SWIG_AsInt(obj2
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9038 wxImage
* resultptr
;
9039 resultptr
= new wxImage((wxImage
&) result
);
9040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9048 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxImage
*arg1
= (wxImage
*) 0 ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9056 PyObject
* obj2
= 0 ;
9058 (char *) "self",(char *) "width",(char *) "height", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9064 arg2
= (int) SWIG_AsInt(obj1
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9066 arg3
= (int) SWIG_AsInt(obj2
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9072 result
= (wxImage
*) &_result_ref
;
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9085 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 wxImage
*arg1
= (wxImage
*) 0 ;
9090 unsigned char arg4
;
9091 unsigned char arg5
;
9092 unsigned char arg6
;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 PyObject
* obj2
= 0 ;
9096 PyObject
* obj3
= 0 ;
9097 PyObject
* obj4
= 0 ;
9098 PyObject
* obj5
= 0 ;
9100 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9106 arg2
= (int) SWIG_AsInt(obj1
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9108 arg3
= (int) SWIG_AsInt(obj2
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9110 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9112 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9114 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9123 Py_INCREF(Py_None
); resultobj
= Py_None
;
9130 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
*resultobj
;
9132 wxImage
*arg1
= (wxImage
*) 0 ;
9135 unsigned char result
;
9136 PyObject
* obj0
= 0 ;
9137 PyObject
* obj1
= 0 ;
9138 PyObject
* obj2
= 0 ;
9140 (char *) "self",(char *) "x",(char *) "y", NULL
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9146 arg2
= (int) SWIG_AsInt(obj1
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9148 arg3
= (int) SWIG_AsInt(obj2
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9164 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9166 wxImage
*arg1
= (wxImage
*) 0 ;
9169 unsigned char result
;
9170 PyObject
* obj0
= 0 ;
9171 PyObject
* obj1
= 0 ;
9172 PyObject
* obj2
= 0 ;
9174 (char *) "self",(char *) "x",(char *) "y", NULL
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9180 arg2
= (int) SWIG_AsInt(obj1
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9182 arg3
= (int) SWIG_AsInt(obj2
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9198 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9200 wxImage
*arg1
= (wxImage
*) 0 ;
9203 unsigned char result
;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 PyObject
* obj2
= 0 ;
9208 (char *) "self",(char *) "x",(char *) "y", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9214 arg2
= (int) SWIG_AsInt(obj1
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9216 arg3
= (int) SWIG_AsInt(obj2
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9232 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9234 wxImage
*arg1
= (wxImage
*) 0 ;
9237 unsigned char arg4
;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9240 PyObject
* obj2
= 0 ;
9241 PyObject
* obj3
= 0 ;
9243 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9249 arg2
= (int) SWIG_AsInt(obj1
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9251 arg3
= (int) SWIG_AsInt(obj2
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9253 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 Py_INCREF(Py_None
); resultobj
= Py_None
;
9269 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxImage
*arg1
= (wxImage
*) 0 ;
9274 unsigned char result
;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9277 PyObject
* obj2
= 0 ;
9279 (char *) "self",(char *) "x",(char *) "y", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9285 arg2
= (int) SWIG_AsInt(obj1
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9287 arg3
= (int) SWIG_AsInt(obj2
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9303 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxImage
*arg1
= (wxImage
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (bool)(arg1
)->HasAlpha();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9331 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxImage
*arg1
= (wxImage
*) 0 ;
9334 byte
*arg2
= (byte
*) 0 ;
9335 byte
*arg3
= (byte
*) 0 ;
9336 byte
*arg4
= (byte
*) 0 ;
9337 byte arg5
= (byte
) 0 ;
9338 byte arg6
= (byte
) 0 ;
9339 byte arg7
= (byte
) 0 ;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9346 PyObject
* obj2
= 0 ;
9347 PyObject
* obj3
= 0 ;
9349 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9363 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9367 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9381 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9382 resultobj
= t_output_helper(resultobj
,o
);
9385 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9386 resultobj
= t_output_helper(resultobj
,o
);
9389 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9390 resultobj
= t_output_helper(resultobj
,o
);
9398 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxImage
*arg1
= (wxImage
*) 0 ;
9406 PyObject
* obj0
= 0 ;
9407 PyObject
* obj1
= 0 ;
9408 PyObject
* obj2
= 0 ;
9409 PyObject
* obj3
= 0 ;
9410 PyObject
* obj4
= 0 ;
9412 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9422 PyErr_SetString(PyExc_TypeError
,"null reference");
9425 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9427 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9429 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9447 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
;
9449 wxString
*arg1
= 0 ;
9451 bool temp1
= False
;
9452 PyObject
* obj0
= 0 ;
9454 (char *) "name", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9459 arg1
= wxString_in_helper(obj0
);
9460 if (arg1
== NULL
) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9487 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxString
*arg1
= 0 ;
9490 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9492 bool temp1
= False
;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9496 (char *) "name",(char *) "type", NULL
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9501 arg1
= wxString_in_helper(obj0
);
9502 if (arg1
== NULL
) SWIG_fail
;
9506 arg2
= (long) SWIG_AsLong(obj1
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= SWIG_FromInt((int)result
);
9531 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxImage
*arg1
= (wxImage
*) 0 ;
9534 wxString
*arg2
= 0 ;
9535 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9536 int arg4
= (int) -1 ;
9538 bool temp2
= False
;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9541 PyObject
* obj2
= 0 ;
9542 PyObject
* obj3
= 0 ;
9544 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9551 arg2
= wxString_in_helper(obj1
);
9552 if (arg2
== NULL
) SWIG_fail
;
9556 arg3
= (long) SWIG_AsLong(obj2
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9560 arg4
= (int) SWIG_AsInt(obj3
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9587 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxImage
*arg1
= (wxImage
*) 0 ;
9590 wxString
*arg2
= 0 ;
9591 wxString
*arg3
= 0 ;
9592 int arg4
= (int) -1 ;
9594 bool temp2
= False
;
9595 bool temp3
= False
;
9596 PyObject
* obj0
= 0 ;
9597 PyObject
* obj1
= 0 ;
9598 PyObject
* obj2
= 0 ;
9599 PyObject
* obj3
= 0 ;
9601 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 arg2
= wxString_in_helper(obj1
);
9609 if (arg2
== NULL
) SWIG_fail
;
9613 arg3
= wxString_in_helper(obj2
);
9614 if (arg3
== NULL
) SWIG_fail
;
9618 arg4
= (int) SWIG_AsInt(obj3
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9653 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxImage
*arg1
= (wxImage
*) 0 ;
9656 wxString
*arg2
= 0 ;
9659 bool temp2
= False
;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9662 PyObject
* obj2
= 0 ;
9664 (char *) "self",(char *) "name",(char *) "type", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 arg2
= wxString_in_helper(obj1
);
9672 if (arg2
== NULL
) SWIG_fail
;
9675 arg3
= (int) SWIG_AsInt(obj2
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9701 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
;
9703 wxImage
*arg1
= (wxImage
*) 0 ;
9704 wxString
*arg2
= 0 ;
9705 wxString
*arg3
= 0 ;
9707 bool temp2
= False
;
9708 bool temp3
= False
;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9711 PyObject
* obj2
= 0 ;
9713 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9720 arg2
= wxString_in_helper(obj1
);
9721 if (arg2
== NULL
) SWIG_fail
;
9725 arg3
= wxString_in_helper(obj2
);
9726 if (arg3
== NULL
) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9761 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxInputStream
*arg1
= 0 ;
9765 wxPyInputStream
*temp1
;
9767 PyObject
* obj0
= 0 ;
9769 (char *) "stream", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9774 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9775 arg1
= temp1
->m_wxis
;
9778 PyErr_Clear(); // clear the failure of the wxPyConvert above
9779 arg1
= wxPyCBInputStream_create(obj0
, False
);
9781 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (bool)wxImage::CanRead(*arg1
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9811 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxImage
*arg1
= (wxImage
*) 0 ;
9814 wxInputStream
*arg2
= 0 ;
9815 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9816 int arg4
= (int) -1 ;
9818 wxPyInputStream
*temp2
;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9822 PyObject
* obj2
= 0 ;
9823 PyObject
* obj3
= 0 ;
9825 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9832 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9833 arg2
= temp2
->m_wxis
;
9836 PyErr_Clear(); // clear the failure of the wxPyConvert above
9837 arg2
= wxPyCBInputStream_create(obj1
, False
);
9839 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9846 arg3
= (long) SWIG_AsLong(obj2
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9850 arg4
= (int) SWIG_AsInt(obj3
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9877 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxImage
*arg1
= (wxImage
*) 0 ;
9880 wxInputStream
*arg2
= 0 ;
9881 wxString
*arg3
= 0 ;
9882 int arg4
= (int) -1 ;
9884 wxPyInputStream
*temp2
;
9886 bool temp3
= False
;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9889 PyObject
* obj2
= 0 ;
9890 PyObject
* obj3
= 0 ;
9892 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9899 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9900 arg2
= temp2
->m_wxis
;
9903 PyErr_Clear(); // clear the failure of the wxPyConvert above
9904 arg2
= wxPyCBInputStream_create(obj1
, False
);
9906 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9913 arg3
= wxString_in_helper(obj2
);
9914 if (arg3
== NULL
) SWIG_fail
;
9918 arg4
= (int) SWIG_AsInt(obj3
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9953 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxImage
*arg1
= (wxImage
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9959 (char *) "self", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= (bool)(arg1
)->Ok();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9981 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
;
9983 wxImage
*arg1
= (wxImage
*) 0 ;
9985 PyObject
* obj0
= 0 ;
9987 (char *) "self", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (int)(arg1
)->GetWidth();
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_FromInt((int)result
);
10007 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxImage
*arg1
= (wxImage
*) 0 ;
10011 PyObject
* obj0
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= (int)(arg1
)->GetHeight();
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 resultobj
= SWIG_FromInt((int)result
);
10033 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxImage
*arg1
= (wxImage
*) 0 ;
10037 PyObject
* obj0
= 0 ;
10038 char *kwnames
[] = {
10039 (char *) "self", NULL
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 result
= wxImage_GetSize(arg1
);
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10053 wxSize
* resultptr
;
10054 resultptr
= new wxSize((wxSize
&) result
);
10055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10063 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxImage
*arg1
= (wxImage
*) 0 ;
10067 SwigValueWrapper
< wxImage
> result
;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self",(char *) "rect", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10080 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10090 wxImage
* resultptr
;
10091 resultptr
= new wxImage((wxImage
&) result
);
10092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10100 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxImage
*arg1
= (wxImage
*) 0 ;
10103 SwigValueWrapper
< wxImage
> result
;
10104 PyObject
* obj0
= 0 ;
10105 char *kwnames
[] = {
10106 (char *) "self", NULL
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (arg1
)->Copy();
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10120 wxImage
* resultptr
;
10121 resultptr
= new wxImage((wxImage
&) result
);
10122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10130 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxImage
*arg1
= (wxImage
*) 0 ;
10133 wxImage
*arg2
= 0 ;
10136 PyObject
* obj0
= 0 ;
10137 PyObject
* obj1
= 0 ;
10138 PyObject
* obj2
= 0 ;
10139 PyObject
* obj3
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10150 if (arg2
== NULL
) {
10151 PyErr_SetString(PyExc_TypeError
,"null reference");
10154 arg3
= (int) SWIG_AsInt(obj2
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10156 arg4
= (int) SWIG_AsInt(obj3
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 Py_INCREF(Py_None
); resultobj
= Py_None
;
10172 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxImage
*arg1
= (wxImage
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (PyObject
*)wxImage_GetData(arg1
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= result
;
10198 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxImage
*arg1
= (wxImage
*) 0 ;
10201 PyObject
*arg2
= (PyObject
*) 0 ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self",(char *) "data", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 wxImage_SetData(arg1
,arg2
);
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 Py_INCREF(Py_None
); resultobj
= Py_None
;
10226 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10228 wxImage
*arg1
= (wxImage
*) 0 ;
10230 PyObject
* obj0
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "self", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 resultobj
= result
;
10252 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 wxImage
*arg1
= (wxImage
*) 0 ;
10255 PyObject
*arg2
= (PyObject
*) 0 ;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10258 char *kwnames
[] = {
10259 (char *) "self",(char *) "data", NULL
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 wxImage_SetDataBuffer(arg1
,arg2
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 Py_INCREF(Py_None
); resultobj
= Py_None
;
10280 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxImage
*arg1
= (wxImage
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= result
;
10306 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxImage
*arg1
= (wxImage
*) 0 ;
10309 PyObject
*arg2
= (PyObject
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self",(char *) "data", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 wxImage_SetAlphaData(arg1
,arg2
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 Py_INCREF(Py_None
); resultobj
= Py_None
;
10334 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxImage
*arg1
= (wxImage
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= result
;
10360 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxImage
*arg1
= (wxImage
*) 0 ;
10363 PyObject
*arg2
= (PyObject
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 PyObject
* obj1
= 0 ;
10366 char *kwnames
[] = {
10367 (char *) "self",(char *) "data", NULL
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 wxImage_SetAlphaBuffer(arg1
,arg2
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 Py_INCREF(Py_None
); resultobj
= Py_None
;
10388 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
;
10390 wxImage
*arg1
= (wxImage
*) 0 ;
10391 unsigned char arg2
;
10392 unsigned char arg3
;
10393 unsigned char arg4
;
10394 PyObject
* obj0
= 0 ;
10395 PyObject
* obj1
= 0 ;
10396 PyObject
* obj2
= 0 ;
10397 PyObject
* obj3
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10407 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10409 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 Py_INCREF(Py_None
); resultobj
= Py_None
;
10425 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxImage
*arg1
= (wxImage
*) 0 ;
10428 unsigned char result
;
10429 PyObject
* obj0
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (unsigned char)(arg1
)->GetMaskRed();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10451 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxImage
*arg1
= (wxImage
*) 0 ;
10454 unsigned char result
;
10455 PyObject
* obj0
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (unsigned char)(arg1
)->GetMaskGreen();
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10470 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10477 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxImage
*arg1
= (wxImage
*) 0 ;
10480 unsigned char result
;
10481 PyObject
* obj0
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "self", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (unsigned char)(arg1
)->GetMaskBlue();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10503 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxImage
*arg1
= (wxImage
*) 0 ;
10506 bool arg2
= (bool) True
;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self",(char *) "mask", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10517 arg2
= (bool) SWIG_AsBool(obj1
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 (arg1
)->SetMask(arg2
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 Py_INCREF(Py_None
); resultobj
= Py_None
;
10534 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxImage
*arg1
= (wxImage
*) 0 ;
10538 PyObject
* obj0
= 0 ;
10539 char *kwnames
[] = {
10540 (char *) "self", NULL
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= (bool)(arg1
)->HasMask();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10562 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxImage
*arg1
= (wxImage
*) 0 ;
10566 wxPoint
*arg3
= 0 ;
10567 bool arg4
= (bool) True
;
10568 wxPoint
*arg5
= (wxPoint
*) NULL
;
10569 SwigValueWrapper
< wxImage
> result
;
10571 PyObject
* obj0
= 0 ;
10572 PyObject
* obj1
= 0 ;
10573 PyObject
* obj2
= 0 ;
10574 PyObject
* obj3
= 0 ;
10575 PyObject
* obj4
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10583 arg2
= (double) SWIG_AsDouble(obj1
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10590 arg4
= (bool) SWIG_AsBool(obj3
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10594 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10605 wxImage
* resultptr
;
10606 resultptr
= new wxImage((wxImage
&) result
);
10607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10615 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxImage
*arg1
= (wxImage
*) 0 ;
10618 bool arg2
= (bool) True
;
10619 SwigValueWrapper
< wxImage
> result
;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self",(char *) "clockwise", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10630 arg2
= (bool) SWIG_AsBool(obj1
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (arg1
)->Rotate90(arg2
);
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10641 wxImage
* resultptr
;
10642 resultptr
= new wxImage((wxImage
&) result
);
10643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10651 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxImage
*arg1
= (wxImage
*) 0 ;
10654 bool arg2
= (bool) True
;
10655 SwigValueWrapper
< wxImage
> result
;
10656 PyObject
* obj0
= 0 ;
10657 PyObject
* obj1
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self",(char *) "horizontally", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10666 arg2
= (bool) SWIG_AsBool(obj1
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (arg1
)->Mirror(arg2
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10677 wxImage
* resultptr
;
10678 resultptr
= new wxImage((wxImage
&) result
);
10679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10687 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxImage
*arg1
= (wxImage
*) 0 ;
10690 unsigned char arg2
;
10691 unsigned char arg3
;
10692 unsigned char arg4
;
10693 unsigned char arg5
;
10694 unsigned char arg6
;
10695 unsigned char arg7
;
10696 PyObject
* obj0
= 0 ;
10697 PyObject
* obj1
= 0 ;
10698 PyObject
* obj2
= 0 ;
10699 PyObject
* obj3
= 0 ;
10700 PyObject
* obj4
= 0 ;
10701 PyObject
* obj5
= 0 ;
10702 PyObject
* obj6
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10710 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10712 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10714 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10716 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10718 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10720 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 Py_INCREF(Py_None
); resultobj
= Py_None
;
10736 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
;
10738 wxImage
*arg1
= (wxImage
*) 0 ;
10739 unsigned char arg2
;
10740 unsigned char arg3
;
10741 unsigned char arg4
;
10742 SwigValueWrapper
< wxImage
> result
;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 PyObject
* obj2
= 0 ;
10746 PyObject
* obj3
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10754 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10756 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10758 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10768 wxImage
* resultptr
;
10769 resultptr
= new wxImage((wxImage
&) result
);
10770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10778 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxImage
*arg1
= (wxImage
*) 0 ;
10781 wxString
*arg2
= 0 ;
10782 wxString
*arg3
= 0 ;
10783 bool temp2
= False
;
10784 bool temp3
= False
;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 PyObject
* obj2
= 0 ;
10788 char *kwnames
[] = {
10789 (char *) "self",(char *) "name",(char *) "value", NULL
10792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10796 arg2
= wxString_in_helper(obj1
);
10797 if (arg2
== NULL
) SWIG_fail
;
10801 arg3
= wxString_in_helper(obj2
);
10802 if (arg3
== NULL
) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 Py_INCREF(Py_None
); resultobj
= Py_None
;
10835 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxImage
*arg1
= (wxImage
*) 0 ;
10838 wxString
*arg2
= 0 ;
10840 bool temp2
= 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_SetOptionInt",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
;
10856 arg3
= (int) SWIG_AsInt(obj2
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 Py_INCREF(Py_None
); resultobj
= Py_None
;
10880 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxImage
*arg1
= (wxImage
*) 0 ;
10883 wxString
*arg2
= 0 ;
10885 bool temp2
= False
;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self",(char *) "name", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10896 arg2
= wxString_in_helper(obj1
);
10897 if (arg2
== NULL
) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10928 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxImage
*arg1
= (wxImage
*) 0 ;
10931 wxString
*arg2
= 0 ;
10933 bool temp2
= False
;
10934 PyObject
* obj0
= 0 ;
10935 PyObject
* obj1
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "self",(char *) "name", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10944 arg2
= wxString_in_helper(obj1
);
10945 if (arg2
== NULL
) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= SWIG_FromInt((int)result
);
10970 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxImage
*arg1
= (wxImage
*) 0 ;
10973 wxString
*arg2
= 0 ;
10975 bool temp2
= False
;
10976 PyObject
* obj0
= 0 ;
10977 PyObject
* obj1
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "name", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10986 arg2
= wxString_in_helper(obj1
);
10987 if (arg2
== NULL
) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11014 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxImage
*arg1
= (wxImage
*) 0 ;
11017 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11018 unsigned long result
;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self",(char *) "stopafter", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11029 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11046 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
*resultobj
;
11048 wxImage
*arg1
= (wxImage
*) 0 ;
11049 wxImageHistogram
*arg2
= 0 ;
11050 unsigned long result
;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self",(char *) "h", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11063 if (arg2
== NULL
) {
11064 PyErr_SetString(PyExc_TypeError
,"null reference");
11068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11069 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11081 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
;
11083 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11084 PyObject
* obj0
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "handler", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 wxImage::AddHandler(arg1
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11099 Py_INCREF(Py_None
); resultobj
= Py_None
;
11106 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11109 PyObject
* obj0
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "handler", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 wxImage::InsertHandler(arg1
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 Py_INCREF(Py_None
); resultobj
= Py_None
;
11131 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
;
11133 wxString
*arg1
= 0 ;
11135 bool temp1
= False
;
11136 PyObject
* obj0
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "name", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11143 arg1
= wxString_in_helper(obj0
);
11144 if (arg1
== NULL
) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11171 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
;
11174 char *kwnames
[] = {
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= wxImage::GetImageExtWildcard();
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11199 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
;
11201 wxImage
*arg1
= (wxImage
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 result
= wxImage_ConvertToBitmap(arg1
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11219 wxBitmap
* resultptr
;
11220 resultptr
= new wxBitmap((wxBitmap
&) result
);
11221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11229 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxImage
*arg1
= (wxImage
*) 0 ;
11232 unsigned char arg2
;
11233 unsigned char arg3
;
11234 unsigned char arg4
;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 PyObject
* obj2
= 0 ;
11239 PyObject
* obj3
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11247 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11249 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11251 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 wxBitmap
* resultptr
;
11262 resultptr
= new wxBitmap((wxBitmap
&) result
);
11263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11271 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11274 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11276 return Py_BuildValue((char *)"");
11278 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 char *kwnames
[] = {
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 wxInitAllImageHandlers();
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 Py_INCREF(Py_None
); resultobj
= Py_None
;
11299 static int _wrap_NullImage_set(PyObject
*_val
) {
11300 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11305 static PyObject
*_wrap_NullImage_get() {
11308 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11313 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11314 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11319 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11324 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11326 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11333 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11334 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11339 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11344 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11346 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11353 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11354 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11359 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11364 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11366 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11373 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11374 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11379 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11384 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11386 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11393 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11394 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11399 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11404 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11406 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11413 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxBMPHandler
*result
;
11416 char *kwnames
[] = {
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (wxBMPHandler
*)new wxBMPHandler();
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11435 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11438 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11440 return Py_BuildValue((char *)"");
11442 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
;
11444 wxICOHandler
*result
;
11445 char *kwnames
[] = {
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 result
= (wxICOHandler
*)new wxICOHandler();
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11464 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11467 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11469 return Py_BuildValue((char *)"");
11471 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxCURHandler
*result
;
11474 char *kwnames
[] = {
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (wxCURHandler
*)new wxCURHandler();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11493 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11496 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11498 return Py_BuildValue((char *)"");
11500 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxANIHandler
*result
;
11503 char *kwnames
[] = {
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (wxANIHandler
*)new wxANIHandler();
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11522 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11525 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11527 return Py_BuildValue((char *)"");
11529 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxPNGHandler
*result
;
11532 char *kwnames
[] = {
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 result
= (wxPNGHandler
*)new wxPNGHandler();
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11551 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11554 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11556 return Py_BuildValue((char *)"");
11558 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxGIFHandler
*result
;
11561 char *kwnames
[] = {
11565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 result
= (wxGIFHandler
*)new wxGIFHandler();
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11580 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11583 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11585 return Py_BuildValue((char *)"");
11587 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
;
11589 wxPCXHandler
*result
;
11590 char *kwnames
[] = {
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (wxPCXHandler
*)new wxPCXHandler();
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11609 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11612 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11614 return Py_BuildValue((char *)"");
11616 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxJPEGHandler
*result
;
11619 char *kwnames
[] = {
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11638 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11641 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11643 return Py_BuildValue((char *)"");
11645 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
;
11647 wxPNMHandler
*result
;
11648 char *kwnames
[] = {
11652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (wxPNMHandler
*)new wxPNMHandler();
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11667 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11670 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11672 return Py_BuildValue((char *)"");
11674 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
;
11676 wxXPMHandler
*result
;
11677 char *kwnames
[] = {
11681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (wxXPMHandler
*)new wxXPMHandler();
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11696 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11699 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11701 return Py_BuildValue((char *)"");
11703 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxTIFFHandler
*result
;
11706 char *kwnames
[] = {
11710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11725 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11728 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11730 return Py_BuildValue((char *)"");
11732 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxEvtHandler
*result
;
11735 char *kwnames
[] = {
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (wxEvtHandler
*)new wxEvtHandler();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= wxPyMake_wxObject(result
);
11756 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11759 wxEvtHandler
*result
;
11760 PyObject
* obj0
= 0 ;
11761 char *kwnames
[] = {
11762 (char *) "self", NULL
11765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= wxPyMake_wxObject(result
);
11784 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
;
11786 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11787 wxEvtHandler
*result
;
11788 PyObject
* obj0
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "self", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= wxPyMake_wxObject(result
);
11812 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11815 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11816 PyObject
* obj0
= 0 ;
11817 PyObject
* obj1
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "self",(char *) "handler", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 (arg1
)->SetNextHandler(arg2
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 Py_INCREF(Py_None
); resultobj
= Py_None
;
11841 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11844 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11845 PyObject
* obj0
= 0 ;
11846 PyObject
* obj1
= 0 ;
11847 char *kwnames
[] = {
11848 (char *) "self",(char *) "handler", NULL
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 (arg1
)->SetPreviousHandler(arg2
);
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 Py_INCREF(Py_None
); resultobj
= Py_None
;
11870 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
;
11872 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11874 PyObject
* obj0
= 0 ;
11875 char *kwnames
[] = {
11876 (char *) "self", NULL
11879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11898 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
;
11900 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 char *kwnames
[] = {
11905 (char *) "self",(char *) "enabled", NULL
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11911 arg2
= (bool) SWIG_AsBool(obj1
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 (arg1
)->SetEvtHandlerEnabled(arg2
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 Py_INCREF(Py_None
); resultobj
= Py_None
;
11927 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11930 wxEvent
*arg2
= 0 ;
11932 PyObject
* obj0
= 0 ;
11933 PyObject
* obj1
= 0 ;
11934 char *kwnames
[] = {
11935 (char *) "self",(char *) "event", NULL
11938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11944 if (arg2
== NULL
) {
11945 PyErr_SetString(PyExc_TypeError
,"null reference");
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11964 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11967 wxEvent
*arg2
= 0 ;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "event", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11980 if (arg2
== NULL
) {
11981 PyErr_SetString(PyExc_TypeError
,"null reference");
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 (arg1
)->AddPendingEvent(*arg2
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 Py_INCREF(Py_None
); resultobj
= Py_None
;
11998 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
;
12000 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12001 PyObject
* obj0
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "self", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 (arg1
)->ProcessPendingEvents();
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 Py_INCREF(Py_None
); resultobj
= Py_None
;
12023 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12024 PyObject
*resultobj
;
12025 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12029 PyObject
*arg5
= (PyObject
*) 0 ;
12030 PyObject
* obj0
= 0 ;
12031 PyObject
* obj1
= 0 ;
12032 PyObject
* obj2
= 0 ;
12033 PyObject
* obj3
= 0 ;
12034 PyObject
* obj4
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12042 arg2
= (int) SWIG_AsInt(obj1
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12044 arg3
= (int) SWIG_AsInt(obj2
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12046 arg4
= (int) SWIG_AsInt(obj3
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 Py_INCREF(Py_None
); resultobj
= Py_None
;
12063 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12067 int arg3
= (int) -1 ;
12068 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 PyObject
* obj2
= 0 ;
12073 PyObject
* obj3
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12081 arg2
= (int) SWIG_AsInt(obj1
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 arg3
= (int) SWIG_AsInt(obj2
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12107 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
;
12109 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12110 PyObject
*arg2
= (PyObject
*) 0 ;
12111 PyObject
* obj0
= 0 ;
12112 PyObject
* obj1
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self",(char *) "_self", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 wxEvtHandler__setOORInfo(arg1
,arg2
);
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 Py_INCREF(Py_None
); resultobj
= Py_None
;
12135 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12138 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12140 return Py_BuildValue((char *)"");
12142 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12144 wxEventType result
;
12145 char *kwnames
[] = {
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 result
= (wxEventType
)wxNewEventType();
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= SWIG_FromInt((int)result
);
12164 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12165 PyObject
*resultobj
;
12166 wxEvent
*arg1
= (wxEvent
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 Py_INCREF(Py_None
); resultobj
= Py_None
;
12189 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxEvent
*arg1
= (wxEvent
*) 0 ;
12193 PyObject
* obj0
= 0 ;
12194 PyObject
* obj1
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self",(char *) "typ", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12202 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 (arg1
)->SetEventType(arg2
);
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12211 Py_INCREF(Py_None
); resultobj
= Py_None
;
12218 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxEvent
*arg1
= (wxEvent
*) 0 ;
12221 wxEventType result
;
12222 PyObject
* obj0
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "self", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12237 resultobj
= SWIG_FromInt((int)result
);
12244 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12245 PyObject
*resultobj
;
12246 wxEvent
*arg1
= (wxEvent
*) 0 ;
12248 PyObject
* obj0
= 0 ;
12249 char *kwnames
[] = {
12250 (char *) "self", NULL
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= wxPyMake_wxObject(result
);
12272 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12274 wxEvent
*arg1
= (wxEvent
*) 0 ;
12275 wxObject
*arg2
= (wxObject
*) 0 ;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self",(char *) "obj", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 (arg1
)->SetEventObject(arg2
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 Py_INCREF(Py_None
); resultobj
= Py_None
;
12301 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxEvent
*arg1
= (wxEvent
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_FromLong((long)result
);
12327 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxEvent
*arg1
= (wxEvent
*) 0 ;
12330 long arg2
= (long) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 PyObject
* obj1
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self",(char *) "ts", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12341 arg2
= (long) SWIG_AsLong(obj1
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 (arg1
)->SetTimestamp(arg2
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 Py_INCREF(Py_None
); resultobj
= Py_None
;
12358 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxEvent
*arg1
= (wxEvent
*) 0 ;
12362 PyObject
* obj0
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= (int)((wxEvent
const *)arg1
)->GetId();
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= SWIG_FromInt((int)result
);
12384 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxEvent
*arg1
= (wxEvent
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 PyObject
* obj1
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self",(char *) "Id", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12397 arg2
= (int) SWIG_AsInt(obj1
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 (arg1
)->SetId(arg2
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 Py_INCREF(Py_None
); resultobj
= Py_None
;
12413 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxEvent
*arg1
= (wxEvent
*) 0 ;
12417 PyObject
* obj0
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12441 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 wxEvent
*arg1
= (wxEvent
*) 0 ;
12444 bool arg2
= (bool) True
;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self",(char *) "skip", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12455 arg2
= (bool) SWIG_AsBool(obj1
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 (arg1
)->Skip(arg2
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 Py_INCREF(Py_None
); resultobj
= Py_None
;
12472 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12473 PyObject
*resultobj
;
12474 wxEvent
*arg1
= (wxEvent
*) 0 ;
12476 PyObject
* obj0
= 0 ;
12477 char *kwnames
[] = {
12478 (char *) "self", NULL
12481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12500 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxEvent
*arg1
= (wxEvent
*) 0 ;
12504 PyObject
* obj0
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12528 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxEvent
*arg1
= (wxEvent
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= (int)(arg1
)->StopPropagation();
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= SWIG_FromInt((int)result
);
12554 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxEvent
*arg1
= (wxEvent
*) 0 ;
12558 PyObject
* obj0
= 0 ;
12559 PyObject
* obj1
= 0 ;
12560 char *kwnames
[] = {
12561 (char *) "self",(char *) "propagationLevel", NULL
12564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12567 arg2
= (int) SWIG_AsInt(obj1
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 (arg1
)->ResumePropagation(arg2
);
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 Py_INCREF(Py_None
); resultobj
= Py_None
;
12583 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxEvent
*arg1
= (wxEvent
*) 0 ;
12587 PyObject
* obj0
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 result
= (wxEvent
*)(arg1
)->Clone();
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12609 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12612 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12614 return Py_BuildValue((char *)"");
12616 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12617 PyObject
*resultobj
;
12618 wxEvent
*arg1
= 0 ;
12619 wxPropagationDisabler
*result
;
12620 PyObject
* obj0
= 0 ;
12621 char *kwnames
[] = {
12622 (char *) "event", NULL
12625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12629 if (arg1
== NULL
) {
12630 PyErr_SetString(PyExc_TypeError
,"null reference");
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12647 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12650 PyObject
* obj0
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 Py_INCREF(Py_None
); resultobj
= Py_None
;
12672 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12675 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12677 return Py_BuildValue((char *)"");
12679 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxEvent
*arg1
= 0 ;
12682 wxPropagateOnce
*result
;
12683 PyObject
* obj0
= 0 ;
12684 char *kwnames
[] = {
12685 (char *) "event", NULL
12688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12692 if (arg1
== NULL
) {
12693 PyErr_SetString(PyExc_TypeError
,"null reference");
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12710 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12713 PyObject
* obj0
= 0 ;
12714 char *kwnames
[] = {
12715 (char *) "self", NULL
12718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 Py_INCREF(Py_None
); resultobj
= Py_None
;
12735 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12738 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12740 return Py_BuildValue((char *)"");
12742 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
;
12744 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12745 int arg2
= (int) 0 ;
12746 wxCommandEvent
*result
;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 char *kwnames
[] = {
12750 (char *) "commandType",(char *) "winid", NULL
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12755 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12759 arg2
= (int) SWIG_AsInt(obj1
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12776 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
;
12778 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12780 PyObject
* obj0
= 0 ;
12781 char *kwnames
[] = {
12782 (char *) "self", NULL
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_FromInt((int)result
);
12802 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
;
12804 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12805 wxString
*arg2
= 0 ;
12806 bool temp2
= False
;
12807 PyObject
* obj0
= 0 ;
12808 PyObject
* obj1
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self",(char *) "s", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12817 arg2
= wxString_in_helper(obj1
);
12818 if (arg2
== NULL
) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 (arg1
)->SetString((wxString
const &)*arg2
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 Py_INCREF(Py_None
); resultobj
= Py_None
;
12843 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12847 PyObject
* obj0
= 0 ;
12848 char *kwnames
[] = {
12849 (char *) "self", NULL
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12875 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12876 PyObject
*resultobj
;
12877 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12879 PyObject
* obj0
= 0 ;
12880 char *kwnames
[] = {
12881 (char *) "self", NULL
12884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12903 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12907 PyObject
* obj0
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12931 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 char *kwnames
[] = {
12938 (char *) "self",(char *) "extraLong", NULL
12941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12944 arg2
= (long) SWIG_AsLong(obj1
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 (arg1
)->SetExtraLong(arg2
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 Py_INCREF(Py_None
); resultobj
= Py_None
;
12960 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12964 PyObject
* obj0
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "self", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= SWIG_FromLong((long)result
);
12986 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 PyObject
* obj1
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "self",(char *) "i", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12999 arg2
= (int) SWIG_AsInt(obj1
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 (arg1
)->SetInt(arg2
);
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13008 Py_INCREF(Py_None
); resultobj
= Py_None
;
13015 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= SWIG_FromLong((long)result
);
13041 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
;
13043 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13067 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13070 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13072 return Py_BuildValue((char *)"");
13074 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13077 int arg2
= (int) 0 ;
13078 wxNotifyEvent
*result
;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "commandType",(char *) "winid", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13087 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 arg2
= (int) SWIG_AsInt(obj1
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13108 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 Py_INCREF(Py_None
); resultobj
= Py_None
;
13133 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
;
13135 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13136 PyObject
* obj0
= 0 ;
13137 char *kwnames
[] = {
13138 (char *) "self", NULL
13141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 Py_INCREF(Py_None
); resultobj
= Py_None
;
13158 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (bool)(arg1
)->IsAllowed();
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13186 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13189 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13191 return Py_BuildValue((char *)"");
13193 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13196 int arg2
= (int) 0 ;
13197 int arg3
= (int) 0 ;
13198 int arg4
= (int) 0 ;
13199 wxScrollEvent
*result
;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 PyObject
* obj2
= 0 ;
13203 PyObject
* obj3
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13210 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13214 arg2
= (int) SWIG_AsInt(obj1
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13218 arg3
= (int) SWIG_AsInt(obj2
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13222 arg4
= (int) SWIG_AsInt(obj3
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13239 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13243 PyObject
* obj0
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "self", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_FromInt((int)result
);
13265 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13269 PyObject
* obj0
= 0 ;
13270 char *kwnames
[] = {
13271 (char *) "self", NULL
13274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= SWIG_FromInt((int)result
);
13291 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 PyObject
* obj1
= 0 ;
13297 char *kwnames
[] = {
13298 (char *) "self",(char *) "orient", NULL
13301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13304 arg2
= (int) SWIG_AsInt(obj1
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 (arg1
)->SetOrientation(arg2
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 Py_INCREF(Py_None
); resultobj
= Py_None
;
13320 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 PyObject
* obj1
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self",(char *) "pos", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13333 arg2
= (int) SWIG_AsInt(obj1
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 (arg1
)->SetPosition(arg2
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 Py_INCREF(Py_None
); resultobj
= Py_None
;
13349 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13352 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13354 return Py_BuildValue((char *)"");
13356 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13359 int arg2
= (int) 0 ;
13360 int arg3
= (int) 0 ;
13361 wxScrollWinEvent
*result
;
13362 PyObject
* obj0
= 0 ;
13363 PyObject
* obj1
= 0 ;
13364 PyObject
* obj2
= 0 ;
13365 char *kwnames
[] = {
13366 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13371 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13375 arg2
= (int) SWIG_AsInt(obj1
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13379 arg3
= (int) SWIG_AsInt(obj2
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13396 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
;
13398 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13400 PyObject
* obj0
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "self", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= SWIG_FromInt((int)result
);
13422 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13426 PyObject
* obj0
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 resultobj
= SWIG_FromInt((int)result
);
13448 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 char *kwnames
[] = {
13455 (char *) "self",(char *) "orient", NULL
13458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13461 arg2
= (int) SWIG_AsInt(obj1
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 (arg1
)->SetOrientation(arg2
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 Py_INCREF(Py_None
); resultobj
= Py_None
;
13477 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13481 PyObject
* obj0
= 0 ;
13482 PyObject
* obj1
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "self",(char *) "pos", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13490 arg2
= (int) SWIG_AsInt(obj1
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 (arg1
)->SetPosition(arg2
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 Py_INCREF(Py_None
); resultobj
= Py_None
;
13506 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13509 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13511 return Py_BuildValue((char *)"");
13513 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13516 wxMouseEvent
*result
;
13517 PyObject
* obj0
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "mouseType", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13524 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= wxPyMake_wxObject(result
);
13543 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
;
13545 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13547 PyObject
* obj0
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "self", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13571 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
;
13573 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13574 int arg2
= (int) wxMOUSE_BTN_ANY
;
13576 PyObject
* obj0
= 0 ;
13577 PyObject
* obj1
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "self",(char *) "but", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13586 arg2
= (int) SWIG_AsInt(obj1
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13605 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13608 int arg2
= (int) wxMOUSE_BTN_ANY
;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self",(char *) "but", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13620 arg2
= (int) SWIG_AsInt(obj1
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13639 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
;
13641 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13642 int arg2
= (int) wxMOUSE_BTN_ANY
;
13644 PyObject
* obj0
= 0 ;
13645 PyObject
* obj1
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self",(char *) "but", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13654 arg2
= (int) SWIG_AsInt(obj1
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13673 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
;
13675 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13678 PyObject
* obj0
= 0 ;
13679 PyObject
* obj1
= 0 ;
13680 char *kwnames
[] = {
13681 (char *) "self",(char *) "but", NULL
13684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13687 arg2
= (int) SWIG_AsInt(obj1
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13705 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
;
13707 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13710 PyObject
* obj0
= 0 ;
13711 PyObject
* obj1
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self",(char *) "but", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13719 arg2
= (int) SWIG_AsInt(obj1
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13737 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13741 PyObject
* obj0
= 0 ;
13742 char *kwnames
[] = {
13743 (char *) "self", NULL
13746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 resultobj
= SWIG_FromInt((int)result
);
13763 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13767 PyObject
* obj0
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13791 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13795 PyObject
* obj0
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13819 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13823 PyObject
* obj0
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13847 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13875 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
;
13877 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13879 PyObject
* obj0
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13903 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13907 PyObject
* obj0
= 0 ;
13908 char *kwnames
[] = {
13909 (char *) "self", NULL
13912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13931 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
;
13933 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13935 PyObject
* obj0
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13959 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
*resultobj
;
13961 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13963 PyObject
* obj0
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "self", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13987 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13988 PyObject
*resultobj
;
13989 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13991 PyObject
* obj0
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14015 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14019 PyObject
* obj0
= 0 ;
14020 char *kwnames
[] = {
14021 (char *) "self", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14043 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14047 PyObject
* obj0
= 0 ;
14048 char *kwnames
[] = {
14049 (char *) "self", NULL
14052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14071 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14075 PyObject
* obj0
= 0 ;
14076 char *kwnames
[] = {
14077 (char *) "self", NULL
14080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14099 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
;
14101 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14103 PyObject
* obj0
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "self", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14127 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14128 PyObject
*resultobj
;
14129 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14131 PyObject
* obj0
= 0 ;
14132 char *kwnames
[] = {
14133 (char *) "self", NULL
14136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 result
= (bool)(arg1
)->LeftIsDown();
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14155 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 result
= (bool)(arg1
)->MiddleIsDown();
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14183 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 result
= (bool)(arg1
)->RightIsDown();
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14211 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14215 PyObject
* obj0
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14239 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14240 PyObject
*resultobj
;
14241 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14243 PyObject
* obj0
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14267 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 char *kwnames
[] = {
14273 (char *) "self", NULL
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14295 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14299 PyObject
* obj0
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "self", NULL
14304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14323 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14327 PyObject
* obj0
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "self", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 result
= (arg1
)->GetPosition();
14339 wxPyEndAllowThreads(__tstate
);
14340 if (PyErr_Occurred()) SWIG_fail
;
14343 wxPoint
* resultptr
;
14344 resultptr
= new wxPoint((wxPoint
&) result
);
14345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14353 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14356 long *arg2
= (long *) 0 ;
14357 long *arg3
= (long *) 0 ;
14360 PyObject
* obj0
= 0 ;
14361 char *kwnames
[] = {
14362 (char *) "self", NULL
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 (arg1
)->GetPosition(arg2
,arg3
);
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14377 Py_INCREF(Py_None
); resultobj
= Py_None
;
14379 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14380 resultobj
= t_output_helper(resultobj
,o
);
14383 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14384 resultobj
= t_output_helper(resultobj
,o
);
14392 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 PyObject
* obj1
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self",(char *) "dc", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14409 if (arg2
== NULL
) {
14410 PyErr_SetString(PyExc_TypeError
,"null reference");
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14421 wxPoint
* resultptr
;
14422 resultptr
= new wxPoint((wxPoint
&) result
);
14423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14431 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= SWIG_FromInt((int)result
);
14457 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_FromInt((int)result
);
14483 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14487 PyObject
* obj0
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= SWIG_FromInt((int)result
);
14509 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
;
14511 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= SWIG_FromInt((int)result
);
14535 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_FromInt((int)result
);
14561 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14565 PyObject
* obj0
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14589 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
;
14591 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14593 PyObject
* obj0
= 0 ;
14594 PyObject
* obj1
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "self",(char *) "m_x", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14602 arg2
= (int) SWIG_AsInt(obj1
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14604 if (arg1
) (arg1
)->m_x
= arg2
;
14606 Py_INCREF(Py_None
); resultobj
= Py_None
;
14613 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14617 PyObject
* obj0
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "self", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14625 result
= (int) ((arg1
)->m_x
);
14627 resultobj
= SWIG_FromInt((int)result
);
14634 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14638 PyObject
* obj0
= 0 ;
14639 PyObject
* obj1
= 0 ;
14640 char *kwnames
[] = {
14641 (char *) "self",(char *) "m_y", NULL
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14647 arg2
= (int) SWIG_AsInt(obj1
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14649 if (arg1
) (arg1
)->m_y
= arg2
;
14651 Py_INCREF(Py_None
); resultobj
= Py_None
;
14658 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14662 PyObject
* obj0
= 0 ;
14663 char *kwnames
[] = {
14664 (char *) "self", NULL
14667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14670 result
= (int) ((arg1
)->m_y
);
14672 resultobj
= SWIG_FromInt((int)result
);
14679 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 PyObject
* obj1
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self",(char *) "m_leftDown", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 arg2
= (bool) SWIG_AsBool(obj1
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14694 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14696 Py_INCREF(Py_None
); resultobj
= Py_None
;
14703 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
;
14705 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14707 PyObject
* obj0
= 0 ;
14708 char *kwnames
[] = {
14709 (char *) "self", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14715 result
= (bool) ((arg1
)->m_leftDown
);
14718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14726 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14730 PyObject
* obj0
= 0 ;
14731 PyObject
* obj1
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self",(char *) "m_middleDown", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14739 arg2
= (bool) SWIG_AsBool(obj1
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14741 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14743 Py_INCREF(Py_None
); resultobj
= Py_None
;
14750 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14762 result
= (bool) ((arg1
)->m_middleDown
);
14765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14773 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
;
14775 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14777 PyObject
* obj0
= 0 ;
14778 PyObject
* obj1
= 0 ;
14779 char *kwnames
[] = {
14780 (char *) "self",(char *) "m_rightDown", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14786 arg2
= (bool) SWIG_AsBool(obj1
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14788 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14790 Py_INCREF(Py_None
); resultobj
= Py_None
;
14797 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14801 PyObject
* obj0
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14809 result
= (bool) ((arg1
)->m_rightDown
);
14812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14820 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
;
14822 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14824 PyObject
* obj0
= 0 ;
14825 PyObject
* obj1
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self",(char *) "m_controlDown", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14833 arg2
= (bool) SWIG_AsBool(obj1
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14835 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14837 Py_INCREF(Py_None
); resultobj
= Py_None
;
14844 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14856 result
= (bool) ((arg1
)->m_controlDown
);
14859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14867 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14871 PyObject
* obj0
= 0 ;
14872 PyObject
* obj1
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self",(char *) "m_shiftDown", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14880 arg2
= (bool) SWIG_AsBool(obj1
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14882 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14884 Py_INCREF(Py_None
); resultobj
= Py_None
;
14891 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14892 PyObject
*resultobj
;
14893 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14895 PyObject
* obj0
= 0 ;
14896 char *kwnames
[] = {
14897 (char *) "self", NULL
14900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14903 result
= (bool) ((arg1
)->m_shiftDown
);
14906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14914 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14918 PyObject
* obj0
= 0 ;
14919 PyObject
* obj1
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "self",(char *) "m_altDown", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14927 arg2
= (bool) SWIG_AsBool(obj1
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14929 if (arg1
) (arg1
)->m_altDown
= arg2
;
14931 Py_INCREF(Py_None
); resultobj
= Py_None
;
14938 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
;
14940 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14942 PyObject
* obj0
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "self", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14950 result
= (bool) ((arg1
)->m_altDown
);
14953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14961 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
;
14963 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self",(char *) "m_metaDown", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14974 arg2
= (bool) SWIG_AsBool(obj1
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14976 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14978 Py_INCREF(Py_None
); resultobj
= Py_None
;
14985 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 result
= (bool) ((arg1
)->m_metaDown
);
15000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15008 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
;
15010 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15012 PyObject
* obj0
= 0 ;
15013 PyObject
* obj1
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self",(char *) "m_wheelRotation", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15021 arg2
= (int) SWIG_AsInt(obj1
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15023 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15025 Py_INCREF(Py_None
); resultobj
= Py_None
;
15032 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15036 PyObject
* obj0
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 result
= (int) ((arg1
)->m_wheelRotation
);
15046 resultobj
= SWIG_FromInt((int)result
);
15053 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 PyObject
* obj1
= 0 ;
15059 char *kwnames
[] = {
15060 (char *) "self",(char *) "m_wheelDelta", NULL
15063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15066 arg2
= (int) SWIG_AsInt(obj1
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15068 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15070 Py_INCREF(Py_None
); resultobj
= Py_None
;
15077 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
;
15079 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "self", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15089 result
= (int) ((arg1
)->m_wheelDelta
);
15091 resultobj
= SWIG_FromInt((int)result
);
15098 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 PyObject
* obj1
= 0 ;
15104 char *kwnames
[] = {
15105 (char *) "self",(char *) "m_linesPerAction", NULL
15108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15111 arg2
= (int) SWIG_AsInt(obj1
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15113 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15115 Py_INCREF(Py_None
); resultobj
= Py_None
;
15122 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15126 PyObject
* obj0
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15134 result
= (int) ((arg1
)->m_linesPerAction
);
15136 resultobj
= SWIG_FromInt((int)result
);
15143 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15146 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15148 return Py_BuildValue((char *)"");
15150 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 int arg1
= (int) 0 ;
15153 int arg2
= (int) 0 ;
15154 wxSetCursorEvent
*result
;
15155 PyObject
* obj0
= 0 ;
15156 PyObject
* obj1
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "x",(char *) "y", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15163 arg1
= (int) SWIG_AsInt(obj0
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15167 arg2
= (int) SWIG_AsInt(obj1
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15184 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
;
15186 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15188 PyObject
* obj0
= 0 ;
15189 char *kwnames
[] = {
15190 (char *) "self", NULL
15193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= SWIG_FromInt((int)result
);
15210 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15224 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= SWIG_FromInt((int)result
);
15236 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15239 wxCursor
*arg2
= 0 ;
15240 PyObject
* obj0
= 0 ;
15241 PyObject
* obj1
= 0 ;
15242 char *kwnames
[] = {
15243 (char *) "self",(char *) "cursor", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15252 if (arg2
== NULL
) {
15253 PyErr_SetString(PyExc_TypeError
,"null reference");
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 Py_INCREF(Py_None
); resultobj
= Py_None
;
15270 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15274 PyObject
* obj0
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "self", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15286 result
= (wxCursor
*) &_result_ref
;
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15293 wxCursor
* resultptr
= new wxCursor(*result
);
15294 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15302 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15330 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15333 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15335 return Py_BuildValue((char *)"");
15337 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15340 wxKeyEvent
*result
;
15341 PyObject
* obj0
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "keyType", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15348 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15365 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
;
15367 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15369 PyObject
* obj0
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15379 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15393 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15397 PyObject
* obj0
= 0 ;
15398 char *kwnames
[] = {
15399 (char *) "self", NULL
15402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15421 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
;
15423 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "self", NULL
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15449 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
;
15451 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15453 PyObject
* obj0
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "self", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15477 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15481 PyObject
* obj0
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15505 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15509 PyObject
* obj0
= 0 ;
15510 char *kwnames
[] = {
15511 (char *) "self", NULL
15514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= SWIG_FromInt((int)result
);
15531 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15535 PyObject
* obj0
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_FromInt((int)result
);
15557 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15560 unsigned int result
;
15561 PyObject
* obj0
= 0 ;
15562 char *kwnames
[] = {
15563 (char *) "self", NULL
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15583 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
;
15585 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15586 unsigned int result
;
15587 PyObject
* obj0
= 0 ;
15588 char *kwnames
[] = {
15589 (char *) "self", NULL
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15597 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15609 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15611 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 char *kwnames
[] = {
15615 (char *) "self", NULL
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 result
= (arg1
)->GetPosition();
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15629 wxPoint
* resultptr
;
15630 resultptr
= new wxPoint((wxPoint
&) result
);
15631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15639 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15642 long *arg2
= (long *) 0 ;
15643 long *arg3
= (long *) 0 ;
15646 PyObject
* obj0
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self", NULL
15653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 (arg1
)->GetPosition(arg2
,arg3
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 Py_INCREF(Py_None
); resultobj
= Py_None
;
15665 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15666 resultobj
= t_output_helper(resultobj
,o
);
15669 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15670 resultobj
= t_output_helper(resultobj
,o
);
15678 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15682 PyObject
* obj0
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= SWIG_FromInt((int)result
);
15704 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
;
15706 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15723 resultobj
= SWIG_FromInt((int)result
);
15730 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
;
15732 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "self",(char *) "m_x", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15743 arg2
= (int) SWIG_AsInt(obj1
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15745 if (arg1
) (arg1
)->m_x
= arg2
;
15747 Py_INCREF(Py_None
); resultobj
= Py_None
;
15754 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15758 PyObject
* obj0
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "self", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15766 result
= (int) ((arg1
)->m_x
);
15768 resultobj
= SWIG_FromInt((int)result
);
15775 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15779 PyObject
* obj0
= 0 ;
15780 PyObject
* obj1
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "self",(char *) "m_y", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 arg2
= (int) SWIG_AsInt(obj1
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15790 if (arg1
) (arg1
)->m_y
= arg2
;
15792 Py_INCREF(Py_None
); resultobj
= Py_None
;
15799 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15803 PyObject
* obj0
= 0 ;
15804 char *kwnames
[] = {
15805 (char *) "self", NULL
15808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15811 result
= (int) ((arg1
)->m_y
);
15813 resultobj
= SWIG_FromInt((int)result
);
15820 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
;
15822 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15824 PyObject
* obj0
= 0 ;
15825 PyObject
* obj1
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self",(char *) "m_keyCode", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15833 arg2
= (long) SWIG_AsLong(obj1
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15835 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15837 Py_INCREF(Py_None
); resultobj
= Py_None
;
15844 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15848 PyObject
* obj0
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15856 result
= (long) ((arg1
)->m_keyCode
);
15858 resultobj
= SWIG_FromLong((long)result
);
15865 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 PyObject
* obj1
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self",(char *) "m_controlDown", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 arg2
= (bool) SWIG_AsBool(obj1
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15880 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15882 Py_INCREF(Py_None
); resultobj
= Py_None
;
15889 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15893 PyObject
* obj0
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "self", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15901 result
= (bool) ((arg1
)->m_controlDown
);
15904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15912 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
;
15914 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15916 PyObject
* obj0
= 0 ;
15917 PyObject
* obj1
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self",(char *) "m_shiftDown", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15925 arg2
= (bool) SWIG_AsBool(obj1
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15927 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15929 Py_INCREF(Py_None
); resultobj
= Py_None
;
15936 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15948 result
= (bool) ((arg1
)->m_shiftDown
);
15951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15959 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15963 PyObject
* obj0
= 0 ;
15964 PyObject
* obj1
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self",(char *) "m_altDown", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15972 arg2
= (bool) SWIG_AsBool(obj1
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15974 if (arg1
) (arg1
)->m_altDown
= arg2
;
15976 Py_INCREF(Py_None
); resultobj
= Py_None
;
15983 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15995 result
= (bool) ((arg1
)->m_altDown
);
15998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16006 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16010 PyObject
* obj0
= 0 ;
16011 PyObject
* obj1
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self",(char *) "m_metaDown", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16019 arg2
= (bool) SWIG_AsBool(obj1
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16021 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16023 Py_INCREF(Py_None
); resultobj
= Py_None
;
16030 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16042 result
= (bool) ((arg1
)->m_metaDown
);
16045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16053 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 char *kwnames
[] = {
16060 (char *) "self",(char *) "m_scanCode", NULL
16063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16066 arg2
= (bool) SWIG_AsBool(obj1
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16068 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16070 Py_INCREF(Py_None
); resultobj
= Py_None
;
16077 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16089 result
= (bool) ((arg1
)->m_scanCode
);
16092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16100 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16103 unsigned int arg2
;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self",(char *) "m_rawCode", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16113 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16115 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16117 Py_INCREF(Py_None
); resultobj
= Py_None
;
16124 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
;
16126 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16127 unsigned int result
;
16128 PyObject
* obj0
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "self", NULL
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16136 result
= (unsigned int) ((arg1
)->m_rawCode
);
16138 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16145 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16148 unsigned int arg2
;
16149 PyObject
* obj0
= 0 ;
16150 PyObject
* obj1
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self",(char *) "m_rawFlags", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16158 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16160 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16162 Py_INCREF(Py_None
); resultobj
= Py_None
;
16169 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16172 unsigned int result
;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16181 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16183 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16190 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16193 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16195 return Py_BuildValue((char *)"");
16197 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16200 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16201 int arg2
= (int) 0 ;
16202 wxSizeEvent
*result
;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "sz",(char *) "winid", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16214 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16218 arg2
= (int) SWIG_AsInt(obj1
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16235 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16239 PyObject
* obj0
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16255 wxSize
* resultptr
;
16256 resultptr
= new wxSize((wxSize
&) result
);
16257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16265 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16269 PyObject
* obj0
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16285 wxRect
* resultptr
;
16286 resultptr
= new wxRect((wxRect
&) result
);
16287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16295 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16300 PyObject
* obj0
= 0 ;
16301 PyObject
* obj1
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self",(char *) "rect", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16309 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16310 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 (arg1
)->SetRect(arg2
);
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 Py_INCREF(Py_None
); resultobj
= Py_None
;
16326 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
;
16328 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 PyObject
* obj1
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self",(char *) "size", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16341 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 wxSizeEvent_SetSize(arg1
,arg2
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 Py_INCREF(Py_None
); resultobj
= Py_None
;
16357 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16360 wxSize
*arg2
= (wxSize
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 PyObject
* obj1
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "self",(char *) "m_size", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16372 if (arg1
) (arg1
)->m_size
= *arg2
;
16374 Py_INCREF(Py_None
); resultobj
= Py_None
;
16381 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16393 result
= (wxSize
*)& ((arg1
)->m_size
);
16395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16402 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16405 wxRect
*arg2
= (wxRect
*) 0 ;
16406 PyObject
* obj0
= 0 ;
16407 PyObject
* obj1
= 0 ;
16408 char *kwnames
[] = {
16409 (char *) "self",(char *) "m_rect", NULL
16412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16417 if (arg1
) (arg1
)->m_rect
= *arg2
;
16419 Py_INCREF(Py_None
); resultobj
= Py_None
;
16426 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16438 result
= (wxRect
*)& ((arg1
)->m_rect
);
16440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16447 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16450 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16452 return Py_BuildValue((char *)"");
16454 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16457 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16458 int arg2
= (int) 0 ;
16459 wxMoveEvent
*result
;
16461 PyObject
* obj0
= 0 ;
16462 PyObject
* obj1
= 0 ;
16463 char *kwnames
[] = {
16464 (char *) "pos",(char *) "winid", NULL
16467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16471 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16475 arg2
= (int) SWIG_AsInt(obj1
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16492 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16496 PyObject
* obj0
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16506 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16508 wxPyEndAllowThreads(__tstate
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16512 wxPoint
* resultptr
;
16513 resultptr
= new wxPoint((wxPoint
&) result
);
16514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16522 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16542 wxRect
* resultptr
;
16543 resultptr
= new wxRect((wxRect
&) result
);
16544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16552 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16557 PyObject
* obj0
= 0 ;
16558 PyObject
* obj1
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "self",(char *) "rect", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16566 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16567 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 (arg1
)->SetRect(arg2
);
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16576 Py_INCREF(Py_None
); resultobj
= Py_None
;
16583 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 PyObject
* obj1
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "self",(char *) "pos", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16597 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16598 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 wxMoveEvent_SetPosition(arg1
,arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 Py_INCREF(Py_None
); resultobj
= Py_None
;
16614 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16617 wxPoint
*arg2
= (wxPoint
*) 0 ;
16618 PyObject
* obj0
= 0 ;
16619 PyObject
* obj1
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self",(char *) "m_pos", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16629 if (arg1
) (arg1
)->m_pos
= *arg2
;
16631 Py_INCREF(Py_None
); resultobj
= Py_None
;
16638 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16639 PyObject
*resultobj
;
16640 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16642 PyObject
* obj0
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "self", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16650 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16659 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
;
16661 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16662 wxRect
*arg2
= (wxRect
*) 0 ;
16663 PyObject
* obj0
= 0 ;
16664 PyObject
* obj1
= 0 ;
16665 char *kwnames
[] = {
16666 (char *) "self",(char *) "m_rect", NULL
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16674 if (arg1
) (arg1
)->m_rect
= *arg2
;
16676 Py_INCREF(Py_None
); resultobj
= Py_None
;
16683 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16685 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16687 PyObject
* obj0
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "self", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16695 result
= (wxRect
*)& ((arg1
)->m_rect
);
16697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16704 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16707 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16709 return Py_BuildValue((char *)"");
16711 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
;
16713 int arg1
= (int) 0 ;
16714 wxPaintEvent
*result
;
16715 PyObject
* obj0
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "Id", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16722 arg1
= (int) SWIG_AsInt(obj0
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16739 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16742 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16744 return Py_BuildValue((char *)"");
16746 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
;
16748 int arg1
= (int) 0 ;
16749 wxNcPaintEvent
*result
;
16750 PyObject
* obj0
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "winid", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16757 arg1
= (int) SWIG_AsInt(obj0
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16774 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16777 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16779 return Py_BuildValue((char *)"");
16781 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 int arg1
= (int) 0 ;
16784 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16785 wxEraseEvent
*result
;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "Id",(char *) "dc", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16794 arg1
= (int) SWIG_AsInt(obj0
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16815 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
;
16817 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "self", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16835 resultobj
= wxPyMake_wxObject(result
);
16843 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16846 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16848 return Py_BuildValue((char *)"");
16850 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
;
16852 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16853 int arg2
= (int) 0 ;
16854 wxFocusEvent
*result
;
16855 PyObject
* obj0
= 0 ;
16856 PyObject
* obj1
= 0 ;
16857 char *kwnames
[] = {
16858 (char *) "type",(char *) "winid", NULL
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16863 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16867 arg2
= (int) SWIG_AsInt(obj1
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16872 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16884 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
;
16886 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16888 PyObject
* obj0
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "self", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= wxPyMake_wxObject(result
);
16912 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
;
16914 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16915 wxWindow
*arg2
= (wxWindow
*) 0 ;
16916 PyObject
* obj0
= 0 ;
16917 PyObject
* obj1
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self",(char *) "win", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 (arg1
)->SetWindow(arg2
);
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 Py_INCREF(Py_None
); resultobj
= Py_None
;
16941 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16944 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16946 return Py_BuildValue((char *)"");
16948 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxWindow
*arg1
= (wxWindow
*) NULL
;
16951 wxChildFocusEvent
*result
;
16952 PyObject
* obj0
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "win", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16976 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= wxPyMake_wxObject(result
);
17004 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17007 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17009 return Py_BuildValue((char *)"");
17011 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17014 bool arg2
= (bool) True
;
17015 int arg3
= (int) 0 ;
17016 wxActivateEvent
*result
;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 PyObject
* obj2
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "type",(char *) "active",(char *) "Id", NULL
17024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17026 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17030 arg2
= (bool) SWIG_AsBool(obj1
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17034 arg3
= (int) SWIG_AsInt(obj2
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17051 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17055 PyObject
* obj0
= 0 ;
17056 char *kwnames
[] = {
17057 (char *) "self", NULL
17060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17079 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17082 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17084 return Py_BuildValue((char *)"");
17086 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 int arg1
= (int) 0 ;
17089 wxInitDialogEvent
*result
;
17090 PyObject
* obj0
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "Id", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17097 arg1
= (int) SWIG_AsInt(obj0
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17114 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17117 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17119 return Py_BuildValue((char *)"");
17121 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
;
17123 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17124 int arg2
= (int) 0 ;
17125 wxMenu
*arg3
= (wxMenu
*) NULL
;
17126 wxMenuEvent
*result
;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 PyObject
* obj2
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "type",(char *) "winid",(char *) "menu", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17136 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 arg2
= (int) SWIG_AsInt(obj1
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17144 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17161 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17165 PyObject
* obj0
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= SWIG_FromInt((int)result
);
17187 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17191 PyObject
* obj0
= 0 ;
17192 char *kwnames
[] = {
17193 (char *) "self", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17215 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17219 PyObject
* obj0
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= wxPyMake_wxObject(result
);
17243 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17246 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17248 return Py_BuildValue((char *)"");
17250 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17252 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17253 int arg2
= (int) 0 ;
17254 wxCloseEvent
*result
;
17255 PyObject
* obj0
= 0 ;
17256 PyObject
* obj1
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "type",(char *) "winid", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17263 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17267 arg2
= (int) SWIG_AsInt(obj1
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17284 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 PyObject
* obj1
= 0 ;
17290 char *kwnames
[] = {
17291 (char *) "self",(char *) "logOff", NULL
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 arg2
= (bool) SWIG_AsBool(obj1
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 (arg1
)->SetLoggingOff(arg2
);
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17306 Py_INCREF(Py_None
); resultobj
= Py_None
;
17313 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17317 PyObject
* obj0
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17341 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17344 bool arg2
= (bool) True
;
17345 PyObject
* obj0
= 0 ;
17346 PyObject
* obj1
= 0 ;
17347 char *kwnames
[] = {
17348 (char *) "self",(char *) "veto", NULL
17351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17355 arg2
= (bool) SWIG_AsBool(obj1
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 (arg1
)->Veto(arg2
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 Py_INCREF(Py_None
); resultobj
= Py_None
;
17372 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17376 PyObject
* obj0
= 0 ;
17377 PyObject
* obj1
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "self",(char *) "canVeto", NULL
17382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17385 arg2
= (bool) SWIG_AsBool(obj1
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 (arg1
)->SetCanVeto(arg2
);
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17394 Py_INCREF(Py_None
); resultobj
= Py_None
;
17401 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17403 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17405 PyObject
* obj0
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17429 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17457 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17460 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17462 return Py_BuildValue((char *)"");
17464 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
;
17466 int arg1
= (int) 0 ;
17467 bool arg2
= (bool) False
;
17468 wxShowEvent
*result
;
17469 PyObject
* obj0
= 0 ;
17470 PyObject
* obj1
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "winid",(char *) "show", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17477 arg1
= (int) SWIG_AsInt(obj0
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17481 arg2
= (bool) SWIG_AsBool(obj1
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17498 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
;
17500 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17502 PyObject
* obj0
= 0 ;
17503 PyObject
* obj1
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self",(char *) "show", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17511 arg2
= (bool) SWIG_AsBool(obj1
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 (arg1
)->SetShow(arg2
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 Py_INCREF(Py_None
); resultobj
= Py_None
;
17527 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17531 PyObject
* obj0
= 0 ;
17532 char *kwnames
[] = {
17533 (char *) "self", NULL
17536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17555 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17558 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17560 return Py_BuildValue((char *)"");
17562 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 int arg1
= (int) 0 ;
17565 bool arg2
= (bool) True
;
17566 wxIconizeEvent
*result
;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "id",(char *) "iconized", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17575 arg1
= (int) SWIG_AsInt(obj0
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17579 arg2
= (bool) SWIG_AsBool(obj1
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17596 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17600 PyObject
* obj0
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= (bool)(arg1
)->Iconized();
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17624 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17627 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17629 return Py_BuildValue((char *)"");
17631 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
;
17633 int arg1
= (int) 0 ;
17634 wxMaximizeEvent
*result
;
17635 PyObject
* obj0
= 0 ;
17636 char *kwnames
[] = {
17637 (char *) "id", NULL
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17642 arg1
= (int) SWIG_AsInt(obj0
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17659 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17662 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17664 return Py_BuildValue((char *)"");
17666 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17670 PyObject
* obj0
= 0 ;
17671 char *kwnames
[] = {
17672 (char *) "self", NULL
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 result
= (arg1
)->GetPosition();
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17686 wxPoint
* resultptr
;
17687 resultptr
= new wxPoint((wxPoint
&) result
);
17688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17696 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17700 PyObject
* obj0
= 0 ;
17701 char *kwnames
[] = {
17702 (char *) "self", NULL
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (int)(arg1
)->GetNumberOfFiles();
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_FromInt((int)result
);
17722 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17726 PyObject
* obj0
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 resultobj
= result
;
17748 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17751 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17753 return Py_BuildValue((char *)"");
17755 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 int arg1
= (int) 0 ;
17758 wxUpdateUIEvent
*result
;
17759 PyObject
* obj0
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "commandId", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17766 arg1
= (int) SWIG_AsInt(obj0
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17783 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17811 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
;
17813 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17815 PyObject
* obj0
= 0 ;
17816 char *kwnames
[] = {
17817 (char *) "self", NULL
17820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17839 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17843 PyObject
* obj0
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17871 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17875 PyObject
* obj0
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "self", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17899 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
;
17901 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17903 PyObject
* obj0
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "self", NULL
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17927 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
;
17929 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17931 PyObject
* obj0
= 0 ;
17932 char *kwnames
[] = {
17933 (char *) "self", NULL
17936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17941 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17943 wxPyEndAllowThreads(__tstate
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17955 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17959 PyObject
* obj0
= 0 ;
17960 PyObject
* obj1
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self",(char *) "check", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17968 arg2
= (bool) SWIG_AsBool(obj1
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 (arg1
)->Check(arg2
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 Py_INCREF(Py_None
); resultobj
= Py_None
;
17984 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 PyObject
* obj1
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "self",(char *) "enable", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17997 arg2
= (bool) SWIG_AsBool(obj1
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 (arg1
)->Enable(arg2
);
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 Py_INCREF(Py_None
); resultobj
= Py_None
;
18013 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18016 wxString
*arg2
= 0 ;
18017 bool temp2
= False
;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self",(char *) "text", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18028 arg2
= wxString_in_helper(obj1
);
18029 if (arg2
== NULL
) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 (arg1
)->SetText((wxString
const &)*arg2
);
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 Py_INCREF(Py_None
); resultobj
= Py_None
;
18054 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18057 PyObject
* obj0
= 0 ;
18058 char *kwnames
[] = {
18059 (char *) "updateInterval", NULL
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18063 arg1
= (long) SWIG_AsLong(obj0
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 Py_INCREF(Py_None
); resultobj
= Py_None
;
18079 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18082 char *kwnames
[] = {
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= SWIG_FromLong((long)result
);
18101 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
;
18103 wxWindow
*arg1
= (wxWindow
*) 0 ;
18105 PyObject
* obj0
= 0 ;
18106 char *kwnames
[] = {
18107 (char *) "win", NULL
18110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18129 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18130 PyObject
*resultobj
;
18131 char *kwnames
[] = {
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 wxUpdateUIEvent::ResetUpdateTime();
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 Py_INCREF(Py_None
); resultobj
= Py_None
;
18150 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18153 PyObject
* obj0
= 0 ;
18154 char *kwnames
[] = {
18155 (char *) "mode", NULL
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18159 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 Py_INCREF(Py_None
); resultobj
= Py_None
;
18175 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
;
18178 char *kwnames
[] = {
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (int)wxUpdateUIEvent::GetMode();
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_FromInt((int)result
);
18197 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18200 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18202 return Py_BuildValue((char *)"");
18204 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
;
18206 wxSysColourChangedEvent
*result
;
18207 char *kwnames
[] = {
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18226 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18229 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18231 return Py_BuildValue((char *)"");
18233 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 int arg1
= (int) 0 ;
18236 wxWindow
*arg2
= (wxWindow
*) NULL
;
18237 wxMouseCaptureChangedEvent
*result
;
18238 PyObject
* obj0
= 0 ;
18239 PyObject
* obj1
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "winid",(char *) "gainedCapture", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18246 arg1
= (int) SWIG_AsInt(obj0
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18267 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18269 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18271 PyObject
* obj0
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= wxPyMake_wxObject(result
);
18295 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18298 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18300 return Py_BuildValue((char *)"");
18302 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18303 PyObject
*resultobj
;
18304 wxDisplayChangedEvent
*result
;
18305 char *kwnames
[] = {
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18324 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18327 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18329 return Py_BuildValue((char *)"");
18331 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 int arg1
= (int) 0 ;
18334 wxPaletteChangedEvent
*result
;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "id", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18342 arg1
= (int) SWIG_AsInt(obj0
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18359 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18362 wxWindow
*arg2
= (wxWindow
*) 0 ;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self",(char *) "win", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 (arg1
)->SetChangedWindow(arg2
);
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 Py_INCREF(Py_None
); resultobj
= Py_None
;
18388 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
;
18390 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18392 PyObject
* obj0
= 0 ;
18393 char *kwnames
[] = {
18394 (char *) "self", NULL
18397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= wxPyMake_wxObject(result
);
18416 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18419 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18421 return Py_BuildValue((char *)"");
18423 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 int arg1
= (int) 0 ;
18426 wxQueryNewPaletteEvent
*result
;
18427 PyObject
* obj0
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "winid", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18434 arg1
= (int) SWIG_AsInt(obj0
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18451 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 PyObject
* obj1
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self",(char *) "realized", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18464 arg2
= (bool) SWIG_AsBool(obj1
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 (arg1
)->SetPaletteRealized(arg2
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 Py_INCREF(Py_None
); resultobj
= Py_None
;
18480 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18496 wxPyEndAllowThreads(__tstate
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18508 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18511 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18513 return Py_BuildValue((char *)"");
18515 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 wxNavigationKeyEvent
*result
;
18518 char *kwnames
[] = {
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18537 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18541 PyObject
* obj0
= 0 ;
18542 char *kwnames
[] = {
18543 (char *) "self", NULL
18546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18565 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18567 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18569 PyObject
* obj0
= 0 ;
18570 PyObject
* obj1
= 0 ;
18571 char *kwnames
[] = {
18572 (char *) "self",(char *) "bForward", NULL
18575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18578 arg2
= (bool) SWIG_AsBool(obj1
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 (arg1
)->SetDirection(arg2
);
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18587 Py_INCREF(Py_None
); resultobj
= Py_None
;
18594 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18622 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
;
18624 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18626 PyObject
* obj0
= 0 ;
18627 PyObject
* obj1
= 0 ;
18628 char *kwnames
[] = {
18629 (char *) "self",(char *) "bIs", NULL
18632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18635 arg2
= (bool) SWIG_AsBool(obj1
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 (arg1
)->SetWindowChange(arg2
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 Py_INCREF(Py_None
); resultobj
= Py_None
;
18651 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
;
18653 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18655 PyObject
* obj0
= 0 ;
18656 char *kwnames
[] = {
18657 (char *) "self", NULL
18660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18671 resultobj
= wxPyMake_wxObject(result
);
18679 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
;
18681 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18682 wxWindow
*arg2
= (wxWindow
*) 0 ;
18683 PyObject
* obj0
= 0 ;
18684 PyObject
* obj1
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self",(char *) "win", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 (arg1
)->SetCurrentFocus(arg2
);
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 Py_INCREF(Py_None
); resultobj
= Py_None
;
18708 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18711 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18713 return Py_BuildValue((char *)"");
18715 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
;
18717 wxWindow
*arg1
= (wxWindow
*) NULL
;
18718 wxWindowCreateEvent
*result
;
18719 PyObject
* obj0
= 0 ;
18720 char *kwnames
[] = {
18721 (char *) "win", NULL
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18743 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18747 PyObject
* obj0
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "self", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18757 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18759 wxPyEndAllowThreads(__tstate
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18763 resultobj
= wxPyMake_wxObject(result
);
18771 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18774 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18776 return Py_BuildValue((char *)"");
18778 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxWindow
*arg1
= (wxWindow
*) NULL
;
18781 wxWindowDestroyEvent
*result
;
18782 PyObject
* obj0
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "win", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18806 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18810 PyObject
* obj0
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= wxPyMake_wxObject(result
);
18834 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18837 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18839 return Py_BuildValue((char *)"");
18841 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18844 int arg2
= (int) 0 ;
18845 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18846 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18847 wxContextMenuEvent
*result
;
18849 PyObject
* obj0
= 0 ;
18850 PyObject
* obj1
= 0 ;
18851 PyObject
* obj2
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "type",(char *) "winid",(char *) "pt", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18858 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18862 arg2
= (int) SWIG_AsInt(obj1
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18885 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18901 result
= (wxPoint
*) &_result_ref
;
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18914 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18917 wxPoint
*arg2
= 0 ;
18919 PyObject
* obj0
= 0 ;
18920 PyObject
* obj1
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self",(char *) "pos", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18930 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 Py_INCREF(Py_None
); resultobj
= Py_None
;
18946 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18949 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18951 return Py_BuildValue((char *)"");
18953 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxIdleEvent
*result
;
18956 char *kwnames
[] = {
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 result
= (wxIdleEvent
*)new wxIdleEvent();
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18975 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18978 bool arg2
= (bool) True
;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self",(char *) "needMore", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18989 arg2
= (bool) SWIG_AsBool(obj1
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 (arg1
)->RequestMore(arg2
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 Py_INCREF(Py_None
); resultobj
= Py_None
;
19006 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19034 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
;
19037 PyObject
* obj0
= 0 ;
19038 char *kwnames
[] = {
19039 (char *) "mode", NULL
19042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19043 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 Py_INCREF(Py_None
); resultobj
= Py_None
;
19059 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19062 char *kwnames
[] = {
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 result
= (int)wxIdleEvent::GetMode();
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= SWIG_FromInt((int)result
);
19081 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
;
19083 wxWindow
*arg1
= (wxWindow
*) 0 ;
19085 PyObject
* obj0
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "win", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 result
= (bool)wxIdleEvent::CanSend(arg1
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19109 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19112 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19114 return Py_BuildValue((char *)"");
19116 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 int arg1
= (int) 0 ;
19119 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj1
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "winid",(char *) "commandType", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19129 arg1
= (int) SWIG_AsInt(obj0
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19133 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19150 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 Py_INCREF(Py_None
); resultobj
= Py_None
;
19175 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19178 PyObject
*arg2
= (PyObject
*) 0 ;
19179 PyObject
* obj0
= 0 ;
19180 PyObject
* obj1
= 0 ;
19181 char *kwnames
[] = {
19182 (char *) "self",(char *) "self", NULL
19185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 (arg1
)->SetSelf(arg2
);
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 Py_INCREF(Py_None
); resultobj
= Py_None
;
19203 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 result
= (PyObject
*)(arg1
)->GetSelf();
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19222 resultobj
= result
;
19229 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19232 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19234 return Py_BuildValue((char *)"");
19236 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19239 int arg2
= (int) 0 ;
19240 wxPyCommandEvent
*result
;
19241 PyObject
* obj0
= 0 ;
19242 PyObject
* obj1
= 0 ;
19243 char *kwnames
[] = {
19244 (char *) "commandType",(char *) "id", NULL
19247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19249 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19253 arg2
= (int) SWIG_AsInt(obj1
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19258 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19270 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
;
19272 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 Py_INCREF(Py_None
); resultobj
= Py_None
;
19295 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
;
19297 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19298 PyObject
*arg2
= (PyObject
*) 0 ;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 char *kwnames
[] = {
19302 (char *) "self",(char *) "self", NULL
19305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 (arg1
)->SetSelf(arg2
);
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 Py_INCREF(Py_None
); resultobj
= Py_None
;
19323 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19327 PyObject
* obj0
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19337 result
= (PyObject
*)(arg1
)->GetSelf();
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19342 resultobj
= result
;
19349 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19352 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19354 return Py_BuildValue((char *)"");
19356 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
;
19359 char *kwnames
[] = {
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (wxPyApp
*)new_wxPyApp();
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19372 resultobj
= wxPyMake_wxObject(result
);
19380 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
;
19382 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 Py_INCREF(Py_None
); resultobj
= Py_None
;
19405 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19408 PyObject
*arg2
= (PyObject
*) 0 ;
19409 PyObject
*arg3
= (PyObject
*) 0 ;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 PyObject
* obj2
= 0 ;
19413 char *kwnames
[] = {
19414 (char *) "self",(char *) "self",(char *) "_class", NULL
19417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 Py_INCREF(Py_None
); resultobj
= Py_None
;
19436 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19440 PyObject
* obj0
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19468 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19471 wxString
*arg2
= 0 ;
19472 bool temp2
= False
;
19473 PyObject
* obj0
= 0 ;
19474 PyObject
* obj1
= 0 ;
19475 char *kwnames
[] = {
19476 (char *) "self",(char *) "name", NULL
19479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19483 arg2
= wxString_in_helper(obj1
);
19484 if (arg2
== NULL
) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 (arg1
)->SetAppName((wxString
const &)*arg2
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 Py_INCREF(Py_None
); resultobj
= Py_None
;
19509 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19511 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19513 PyObject
* obj0
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "self", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19541 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19544 wxString
*arg2
= 0 ;
19545 bool temp2
= False
;
19546 PyObject
* obj0
= 0 ;
19547 PyObject
* obj1
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self",(char *) "name", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19556 arg2
= wxString_in_helper(obj1
);
19557 if (arg2
== NULL
) SWIG_fail
;
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 (arg1
)->SetClassName((wxString
const &)*arg2
);
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 Py_INCREF(Py_None
); resultobj
= Py_None
;
19582 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19586 PyObject
* obj0
= 0 ;
19587 char *kwnames
[] = {
19588 (char *) "self", NULL
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19598 result
= (wxString
*) &_result_ref
;
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19608 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19617 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
;
19619 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19620 wxString
*arg2
= 0 ;
19621 bool temp2
= False
;
19622 PyObject
* obj0
= 0 ;
19623 PyObject
* obj1
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self",(char *) "name", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19632 arg2
= wxString_in_helper(obj1
);
19633 if (arg2
== NULL
) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 Py_INCREF(Py_None
); resultobj
= Py_None
;
19658 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19661 wxAppTraits
*result
;
19662 PyObject
* obj0
= 0 ;
19663 char *kwnames
[] = {
19664 (char *) "self", NULL
19667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19684 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19687 PyObject
* obj0
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "self", NULL
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 (arg1
)->ProcessPendingEvents();
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 Py_INCREF(Py_None
); resultobj
= Py_None
;
19709 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19712 bool arg2
= (bool) False
;
19714 PyObject
* obj0
= 0 ;
19715 PyObject
* obj1
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self",(char *) "onlyIfNeeded", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19724 arg2
= (bool) SWIG_AsBool(obj1
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (bool)(arg1
)->Yield(arg2
);
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19743 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19746 PyObject
* obj0
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 (arg1
)->WakeUpIdle();
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 Py_INCREF(Py_None
); resultobj
= Py_None
;
19768 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
;
19770 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19772 PyObject
* obj0
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (int)(arg1
)->MainLoop();
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= SWIG_FromInt((int)result
);
19794 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19797 PyObject
* obj0
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 Py_INCREF(Py_None
); resultobj
= Py_None
;
19819 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
;
19821 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19822 PyObject
* obj0
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "self", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 (arg1
)->ExitMainLoop();
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 Py_INCREF(Py_None
); resultobj
= Py_None
;
19844 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
;
19846 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19848 PyObject
* obj0
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 result
= (bool)(arg1
)->Pending();
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19872 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19876 PyObject
* obj0
= 0 ;
19877 char *kwnames
[] = {
19878 (char *) "self", NULL
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 result
= (bool)(arg1
)->Dispatch();
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19900 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19904 PyObject
* obj0
= 0 ;
19905 char *kwnames
[] = {
19906 (char *) "self", NULL
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 result
= (bool)(arg1
)->ProcessIdle();
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19928 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
;
19930 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19931 wxWindow
*arg2
= (wxWindow
*) 0 ;
19932 wxIdleEvent
*arg3
= 0 ;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 PyObject
* obj2
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self",(char *) "win",(char *) "event", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19946 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19949 if (arg3
== NULL
) {
19950 PyErr_SetString(PyExc_TypeError
,"null reference");
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19969 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19970 PyObject
*resultobj
;
19971 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19973 PyObject
* obj0
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19985 wxPyEndAllowThreads(__tstate
);
19986 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19997 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20000 wxWindow
*arg2
= (wxWindow
*) 0 ;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self",(char *) "win", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 (arg1
)->SetTopWindow(arg2
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 Py_INCREF(Py_None
); resultobj
= Py_None
;
20026 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= wxPyMake_wxObject(result
);
20054 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
;
20056 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20058 PyObject
* obj0
= 0 ;
20059 PyObject
* obj1
= 0 ;
20060 char *kwnames
[] = {
20061 (char *) "self",(char *) "flag", NULL
20064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20067 arg2
= (bool) SWIG_AsBool(obj1
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 (arg1
)->SetExitOnFrameDelete(arg2
);
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20076 Py_INCREF(Py_None
); resultobj
= Py_None
;
20083 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
;
20085 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20087 PyObject
* obj0
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "self", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20111 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 PyObject
* obj1
= 0 ;
20117 char *kwnames
[] = {
20118 (char *) "self",(char *) "flag", NULL
20121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20124 arg2
= (bool) SWIG_AsBool(obj1
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 (arg1
)->SetUseBestVisual(arg2
);
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 Py_INCREF(Py_None
); resultobj
= Py_None
;
20140 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "self", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20168 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
;
20170 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20172 PyObject
* obj0
= 0 ;
20173 PyObject
* obj1
= 0 ;
20174 char *kwnames
[] = {
20175 (char *) "self",(char *) "mode", NULL
20178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20181 arg2
= (int) SWIG_AsInt(obj1
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 (arg1
)->SetPrintMode(arg2
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 Py_INCREF(Py_None
); resultobj
= Py_None
;
20197 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= SWIG_FromInt((int)result
);
20223 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 char *kwnames
[] = {
20230 (char *) "self",(char *) "mode", NULL
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20236 arg2
= (int) SWIG_AsInt(obj1
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 (arg1
)->SetAssertMode(arg2
);
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 Py_INCREF(Py_None
); resultobj
= Py_None
;
20252 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20256 PyObject
* obj0
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (int)(arg1
)->GetAssertMode();
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= SWIG_FromInt((int)result
);
20278 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
;
20281 char *kwnames
[] = {
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20302 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
;
20305 char *kwnames
[] = {
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= SWIG_FromLong((long)result
);
20324 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
;
20327 char *kwnames
[] = {
20331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20339 resultobj
= SWIG_FromLong((long)result
);
20346 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20349 char *kwnames
[] = {
20353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20356 result
= (long)wxPyApp::GetMacExitMenuItemId();
20358 wxPyEndAllowThreads(__tstate
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= SWIG_FromLong((long)result
);
20368 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
;
20371 char *kwnames
[] = {
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 result
= wxPyApp::GetMacHelpMenuTitleName();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20396 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20397 PyObject
*resultobj
;
20399 PyObject
* obj0
= 0 ;
20400 char *kwnames
[] = {
20401 (char *) "val", NULL
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20405 arg1
= (bool) SWIG_AsBool(obj0
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20414 Py_INCREF(Py_None
); resultobj
= Py_None
;
20421 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20422 PyObject
*resultobj
;
20424 PyObject
* obj0
= 0 ;
20425 char *kwnames
[] = {
20426 (char *) "val", NULL
20429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20430 arg1
= (long) SWIG_AsLong(obj0
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 wxPyApp::SetMacAboutMenuItemId(arg1
);
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 Py_INCREF(Py_None
); resultobj
= Py_None
;
20446 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
;
20449 PyObject
* obj0
= 0 ;
20450 char *kwnames
[] = {
20451 (char *) "val", NULL
20454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20455 arg1
= (long) SWIG_AsLong(obj0
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 Py_INCREF(Py_None
); resultobj
= Py_None
;
20471 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
;
20474 PyObject
* obj0
= 0 ;
20475 char *kwnames
[] = {
20476 (char *) "val", NULL
20479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20480 arg1
= (long) SWIG_AsLong(obj0
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 wxPyApp::SetMacExitMenuItemId(arg1
);
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 Py_INCREF(Py_None
); resultobj
= Py_None
;
20496 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
;
20498 wxString
*arg1
= 0 ;
20499 bool temp1
= False
;
20500 PyObject
* obj0
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "val", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20507 arg1
= wxString_in_helper(obj0
);
20508 if (arg1
== NULL
) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 Py_INCREF(Py_None
); resultobj
= Py_None
;
20533 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20536 PyObject
* obj0
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 (arg1
)->_BootstrapApp();
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 Py_INCREF(Py_None
); resultobj
= Py_None
;
20558 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
;
20561 char *kwnames
[] = {
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 result
= (int)PyApp_GetComCtl32Version();
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= SWIG_FromInt((int)result
);
20580 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20583 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20585 return Py_BuildValue((char *)"");
20587 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
;
20589 char *kwnames
[] = {
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 Py_INCREF(Py_None
); resultobj
= Py_None
;
20608 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20609 PyObject
*resultobj
;
20611 char *kwnames
[] = {
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 result
= (bool)wxYield();
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20632 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20635 char *kwnames
[] = {
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (bool)wxYieldIfNeeded();
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20656 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 wxWindow
*arg1
= (wxWindow
*) NULL
;
20659 bool arg2
= (bool) False
;
20661 PyObject
* obj0
= 0 ;
20662 PyObject
* obj1
= 0 ;
20663 char *kwnames
[] = {
20664 (char *) "win",(char *) "onlyIfNeeded", NULL
20667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20673 arg2
= (bool) SWIG_AsBool(obj1
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 result
= (bool)wxSafeYield(arg1
,arg2
);
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20692 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 char *kwnames
[] = {
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 Py_INCREF(Py_None
); resultobj
= Py_None
;
20713 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20716 wxEvent
*arg2
= 0 ;
20717 PyObject
* obj0
= 0 ;
20718 PyObject
* obj1
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "dest",(char *) "event", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20729 if (arg2
== NULL
) {
20730 PyErr_SetString(PyExc_TypeError
,"null reference");
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 wxPostEvent(arg1
,*arg2
);
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 Py_INCREF(Py_None
); resultobj
= Py_None
;
20747 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20748 PyObject
*resultobj
;
20749 char *kwnames
[] = {
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 Py_INCREF(Py_None
); resultobj
= Py_None
;
20768 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20771 char *kwnames
[] = {
20775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 result
= (wxPyApp
*)wxPyGetApp();
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= wxPyMake_wxObject(result
);
20792 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20793 PyObject
*resultobj
;
20794 int arg1
= (int) 0 ;
20795 int arg2
= (int) 0 ;
20796 int arg3
= (int) 0 ;
20797 wxAcceleratorEntry
*result
;
20798 PyObject
* obj0
= 0 ;
20799 PyObject
* obj1
= 0 ;
20800 PyObject
* obj2
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20807 arg1
= (int) SWIG_AsInt(obj0
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20811 arg2
= (int) SWIG_AsInt(obj1
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20815 arg3
= (int) SWIG_AsInt(obj2
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20832 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20835 PyObject
* obj0
= 0 ;
20836 char *kwnames
[] = {
20837 (char *) "self", NULL
20840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 Py_INCREF(Py_None
); resultobj
= Py_None
;
20857 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20859 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20863 PyObject
* obj0
= 0 ;
20864 PyObject
* obj1
= 0 ;
20865 PyObject
* obj2
= 0 ;
20866 PyObject
* obj3
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20874 arg2
= (int) SWIG_AsInt(obj1
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20876 arg3
= (int) SWIG_AsInt(obj2
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20878 arg4
= (int) SWIG_AsInt(obj3
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 (arg1
)->Set(arg2
,arg3
,arg4
);
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 Py_INCREF(Py_None
); resultobj
= Py_None
;
20894 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (int)(arg1
)->GetFlags();
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_FromInt((int)result
);
20920 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20924 PyObject
* obj0
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "self", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20934 result
= (int)(arg1
)->GetKeyCode();
20936 wxPyEndAllowThreads(__tstate
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20939 resultobj
= SWIG_FromInt((int)result
);
20946 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20947 PyObject
*resultobj
;
20948 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20950 PyObject
* obj0
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "self", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (int)(arg1
)->GetCommand();
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= SWIG_FromInt((int)result
);
20972 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20975 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20977 return Py_BuildValue((char *)"");
20979 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
;
20982 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20983 wxAcceleratorTable
*result
;
20984 PyObject
* obj0
= 0 ;
20985 char *kwnames
[] = {
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20991 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20992 if (arg2
) arg1
= PyList_Size(obj0
);
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21015 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21017 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 char *kwnames
[] = {
21020 (char *) "self", NULL
21023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 Py_INCREF(Py_None
); resultobj
= Py_None
;
21040 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21042 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21044 PyObject
* obj0
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21068 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21071 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21073 return Py_BuildValue((char *)"");
21075 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21076 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21081 static PyObject
*_wrap_NullAcceleratorTable_get() {
21084 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21089 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxString
*arg1
= 0 ;
21092 wxAcceleratorEntry
*result
;
21093 bool temp1
= False
;
21094 PyObject
* obj0
= 0 ;
21095 char *kwnames
[] = {
21096 (char *) "label", NULL
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21101 arg1
= wxString_in_helper(obj0
);
21102 if (arg1
== NULL
) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21127 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21128 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21133 static PyObject
*_wrap_PanelNameStr_get() {
21138 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21140 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21147 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
;
21149 wxVisualAttributes
*result
;
21150 char *kwnames
[] = {
21154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21157 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21159 wxPyEndAllowThreads(__tstate
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21169 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21170 PyObject
*resultobj
;
21171 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21172 PyObject
* obj0
= 0 ;
21173 char *kwnames
[] = {
21174 (char *) "self", NULL
21177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 delete_wxVisualAttributes(arg1
);
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 Py_INCREF(Py_None
); resultobj
= Py_None
;
21194 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
;
21196 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21197 wxFont
*arg2
= (wxFont
*) 0 ;
21198 PyObject
* obj0
= 0 ;
21199 PyObject
* obj1
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "self",(char *) "font", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21209 if (arg1
) (arg1
)->font
= *arg2
;
21211 Py_INCREF(Py_None
); resultobj
= Py_None
;
21218 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21220 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21222 PyObject
* obj0
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21230 result
= (wxFont
*)& ((arg1
)->font
);
21232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21239 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
;
21241 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21242 wxColour
*arg2
= (wxColour
*) 0 ;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "self",(char *) "colFg", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21254 if (arg1
) (arg1
)->colFg
= *arg2
;
21256 Py_INCREF(Py_None
); resultobj
= Py_None
;
21263 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
;
21265 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21267 PyObject
* obj0
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21275 result
= (wxColour
*)& ((arg1
)->colFg
);
21277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21284 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21285 PyObject
*resultobj
;
21286 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21287 wxColour
*arg2
= (wxColour
*) 0 ;
21288 PyObject
* obj0
= 0 ;
21289 PyObject
* obj1
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self",(char *) "colBg", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21299 if (arg1
) (arg1
)->colBg
= *arg2
;
21301 Py_INCREF(Py_None
); resultobj
= Py_None
;
21308 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21320 result
= (wxColour
*)& ((arg1
)->colBg
);
21322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21329 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21332 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21334 return Py_BuildValue((char *)"");
21336 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxWindow
*arg1
= (wxWindow
*) 0 ;
21339 int arg2
= (int) (int)-1 ;
21340 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21341 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21342 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21343 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21344 long arg5
= (long) 0 ;
21345 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21346 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21350 bool temp6
= False
;
21351 PyObject
* obj0
= 0 ;
21352 PyObject
* obj1
= 0 ;
21353 PyObject
* obj2
= 0 ;
21354 PyObject
* obj3
= 0 ;
21355 PyObject
* obj4
= 0 ;
21356 PyObject
* obj5
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21365 arg2
= (int const) SWIG_AsInt(obj1
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21371 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21377 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21381 arg5
= (long) SWIG_AsLong(obj4
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21386 arg6
= wxString_in_helper(obj5
);
21387 if (arg6
== NULL
) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= wxPyMake_wxObject(result
);
21415 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21418 char *kwnames
[] = {
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 result
= (wxWindow
*)new wxWindow();
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= wxPyMake_wxObject(result
);
21439 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
;
21441 wxWindow
*arg1
= (wxWindow
*) 0 ;
21442 wxWindow
*arg2
= (wxWindow
*) 0 ;
21443 int arg3
= (int) (int)-1 ;
21444 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21445 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21446 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21447 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21448 long arg6
= (long) 0 ;
21449 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21450 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21454 bool temp7
= False
;
21455 PyObject
* obj0
= 0 ;
21456 PyObject
* obj1
= 0 ;
21457 PyObject
* obj2
= 0 ;
21458 PyObject
* obj3
= 0 ;
21459 PyObject
* obj4
= 0 ;
21460 PyObject
* obj5
= 0 ;
21461 PyObject
* obj6
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21472 arg3
= (int const) SWIG_AsInt(obj2
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21478 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21484 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21488 arg6
= (long) SWIG_AsLong(obj5
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21493 arg7
= wxString_in_helper(obj6
);
21494 if (arg7
== NULL
) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21522 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxWindow
*arg1
= (wxWindow
*) 0 ;
21525 bool arg2
= (bool) False
;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 char *kwnames
[] = {
21530 (char *) "self",(char *) "force", NULL
21533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21537 arg2
= (bool) SWIG_AsBool(obj1
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= (bool)(arg1
)->Close(arg2
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21556 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21558 wxWindow
*arg1
= (wxWindow
*) 0 ;
21560 PyObject
* obj0
= 0 ;
21561 char *kwnames
[] = {
21562 (char *) "self", NULL
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 result
= (bool)(arg1
)->Destroy();
21572 wxPyEndAllowThreads(__tstate
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21584 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21586 wxWindow
*arg1
= (wxWindow
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 char *kwnames
[] = {
21590 (char *) "self", NULL
21593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 result
= (bool)(arg1
)->DestroyChildren();
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21612 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 wxWindow
*arg1
= (wxWindow
*) 0 ;
21616 PyObject
* obj0
= 0 ;
21617 char *kwnames
[] = {
21618 (char *) "self", NULL
21621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21640 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxWindow
*arg1
= (wxWindow
*) 0 ;
21643 wxString
*arg2
= 0 ;
21644 bool temp2
= False
;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self",(char *) "title", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21655 arg2
= wxString_in_helper(obj1
);
21656 if (arg2
== NULL
) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 (arg1
)->SetTitle((wxString
const &)*arg2
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 Py_INCREF(Py_None
); resultobj
= Py_None
;
21681 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
;
21683 wxWindow
*arg1
= (wxWindow
*) 0 ;
21685 PyObject
* obj0
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 result
= ((wxWindow
const *)arg1
)->GetTitle();
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21713 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxWindow
*arg1
= (wxWindow
*) 0 ;
21716 wxString
*arg2
= 0 ;
21717 bool temp2
= False
;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 char *kwnames
[] = {
21721 (char *) "self",(char *) "label", NULL
21724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21728 arg2
= wxString_in_helper(obj1
);
21729 if (arg2
== NULL
) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 (arg1
)->SetLabel((wxString
const &)*arg2
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 Py_INCREF(Py_None
); resultobj
= Py_None
;
21754 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21755 PyObject
*resultobj
;
21756 wxWindow
*arg1
= (wxWindow
*) 0 ;
21758 PyObject
* obj0
= 0 ;
21759 char *kwnames
[] = {
21760 (char *) "self", NULL
21763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= ((wxWindow
const *)arg1
)->GetLabel();
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21786 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxWindow
*arg1
= (wxWindow
*) 0 ;
21789 wxString
*arg2
= 0 ;
21790 bool temp2
= False
;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "name", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21801 arg2
= wxString_in_helper(obj1
);
21802 if (arg2
== NULL
) SWIG_fail
;
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 (arg1
)->SetName((wxString
const &)*arg2
);
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21812 Py_INCREF(Py_None
); resultobj
= Py_None
;
21827 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
;
21829 wxWindow
*arg1
= (wxWindow
*) 0 ;
21831 PyObject
* obj0
= 0 ;
21832 char *kwnames
[] = {
21833 (char *) "self", NULL
21836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 result
= ((wxWindow
const *)arg1
)->GetName();
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21859 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21861 wxWindow
*arg1
= (wxWindow
*) 0 ;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 char *kwnames
[] = {
21866 (char *) "self",(char *) "variant", NULL
21869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21872 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 Py_INCREF(Py_None
); resultobj
= Py_None
;
21888 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
;
21890 wxWindow
*arg1
= (wxWindow
*) 0 ;
21892 PyObject
* obj0
= 0 ;
21893 char *kwnames
[] = {
21894 (char *) "self", NULL
21897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21907 resultobj
= SWIG_FromInt((int)result
);
21914 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21916 wxWindow
*arg1
= (wxWindow
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "self",(char *) "winid", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21927 arg2
= (int) SWIG_AsInt(obj1
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 (arg1
)->SetId(arg2
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 Py_INCREF(Py_None
); resultobj
= Py_None
;
21943 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxWindow
*arg1
= (wxWindow
*) 0 ;
21947 PyObject
* obj0
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 result
= (int)((wxWindow
const *)arg1
)->GetId();
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21962 resultobj
= SWIG_FromInt((int)result
);
21969 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
;
21972 char *kwnames
[] = {
21976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 result
= (int)wxWindow::NewControlId();
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21984 resultobj
= SWIG_FromInt((int)result
);
21991 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
;
21995 PyObject
* obj0
= 0 ;
21996 char *kwnames
[] = {
21997 (char *) "winid", NULL
22000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22001 arg1
= (int) SWIG_AsInt(obj0
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 result
= (int)wxWindow::NextControlId(arg1
);
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 resultobj
= SWIG_FromInt((int)result
);
22017 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
;
22021 PyObject
* obj0
= 0 ;
22022 char *kwnames
[] = {
22023 (char *) "winid", NULL
22026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22027 arg1
= (int) SWIG_AsInt(obj0
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= (int)wxWindow::PrevControlId(arg1
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= SWIG_FromInt((int)result
);
22043 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxWindow
*arg1
= (wxWindow
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 PyObject
* obj1
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self",(char *) "size", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22059 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 (arg1
)->SetSize((wxSize
const &)*arg2
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 Py_INCREF(Py_None
); resultobj
= Py_None
;
22075 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxWindow
*arg1
= (wxWindow
*) 0 ;
22082 int arg6
= (int) wxSIZE_AUTO
;
22083 PyObject
* obj0
= 0 ;
22084 PyObject
* obj1
= 0 ;
22085 PyObject
* obj2
= 0 ;
22086 PyObject
* obj3
= 0 ;
22087 PyObject
* obj4
= 0 ;
22088 PyObject
* obj5
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22096 arg2
= (int) SWIG_AsInt(obj1
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22098 arg3
= (int) SWIG_AsInt(obj2
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22100 arg4
= (int) SWIG_AsInt(obj3
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22102 arg5
= (int) SWIG_AsInt(obj4
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22105 arg6
= (int) SWIG_AsInt(obj5
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22115 Py_INCREF(Py_None
); resultobj
= Py_None
;
22122 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22124 wxWindow
*arg1
= (wxWindow
*) 0 ;
22126 int arg3
= (int) wxSIZE_AUTO
;
22128 PyObject
* obj0
= 0 ;
22129 PyObject
* obj1
= 0 ;
22130 PyObject
* obj2
= 0 ;
22131 char *kwnames
[] = {
22132 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22140 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22143 arg3
= (int) SWIG_AsInt(obj2
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 Py_INCREF(Py_None
); resultobj
= Py_None
;
22160 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxWindow
*arg1
= (wxWindow
*) 0 ;
22165 PyObject
* obj0
= 0 ;
22166 PyObject
* obj1
= 0 ;
22167 PyObject
* obj2
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self",(char *) "width",(char *) "height", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22175 arg2
= (int) SWIG_AsInt(obj1
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22177 arg3
= (int) SWIG_AsInt(obj2
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 (arg1
)->SetSize(arg2
,arg3
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 Py_INCREF(Py_None
); resultobj
= Py_None
;
22193 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
;
22195 wxWindow
*arg1
= (wxWindow
*) 0 ;
22196 wxPoint
*arg2
= 0 ;
22197 int arg3
= (int) wxSIZE_USE_EXISTING
;
22199 PyObject
* obj0
= 0 ;
22200 PyObject
* obj1
= 0 ;
22201 PyObject
* obj2
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self",(char *) "pt",(char *) "flags", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22211 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22214 arg3
= (int) SWIG_AsInt(obj2
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 Py_INCREF(Py_None
); resultobj
= Py_None
;
22231 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
;
22233 wxWindow
*arg1
= (wxWindow
*) 0 ;
22236 int arg4
= (int) wxSIZE_USE_EXISTING
;
22237 PyObject
* obj0
= 0 ;
22238 PyObject
* obj1
= 0 ;
22239 PyObject
* obj2
= 0 ;
22240 PyObject
* obj3
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22248 arg2
= (int) SWIG_AsInt(obj1
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22250 arg3
= (int) SWIG_AsInt(obj2
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22253 arg4
= (int) SWIG_AsInt(obj3
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 (arg1
)->Move(arg2
,arg3
,arg4
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22263 Py_INCREF(Py_None
); resultobj
= Py_None
;
22270 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxWindow
*arg1
= (wxWindow
*) 0 ;
22273 PyObject
* obj0
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "self", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 Py_INCREF(Py_None
); resultobj
= Py_None
;
22295 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxWindow
*arg1
= (wxWindow
*) 0 ;
22298 PyObject
* obj0
= 0 ;
22299 char *kwnames
[] = {
22300 (char *) "self", NULL
22303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 Py_INCREF(Py_None
); resultobj
= Py_None
;
22320 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
;
22322 wxWindow
*arg1
= (wxWindow
*) 0 ;
22325 PyObject
* obj0
= 0 ;
22326 PyObject
* obj1
= 0 ;
22327 char *kwnames
[] = {
22328 (char *) "self",(char *) "size", NULL
22331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22336 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 Py_INCREF(Py_None
); resultobj
= Py_None
;
22352 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxWindow
*arg1
= (wxWindow
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 PyObject
* obj2
= 0 ;
22360 char *kwnames
[] = {
22361 (char *) "self",(char *) "width",(char *) "height", NULL
22364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 arg2
= (int) SWIG_AsInt(obj1
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22369 arg3
= (int) SWIG_AsInt(obj2
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 (arg1
)->SetClientSize(arg2
,arg3
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 Py_INCREF(Py_None
); resultobj
= Py_None
;
22385 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
;
22387 wxWindow
*arg1
= (wxWindow
*) 0 ;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 char *kwnames
[] = {
22393 (char *) "self",(char *) "rect", NULL
22396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22401 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 Py_INCREF(Py_None
); resultobj
= Py_None
;
22417 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
;
22419 wxWindow
*arg1
= (wxWindow
*) 0 ;
22421 PyObject
* obj0
= 0 ;
22422 char *kwnames
[] = {
22423 (char *) "self", NULL
22426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= (arg1
)->GetPosition();
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22437 wxPoint
* resultptr
;
22438 resultptr
= new wxPoint((wxPoint
&) result
);
22439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22447 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
;
22449 wxWindow
*arg1
= (wxWindow
*) 0 ;
22450 int *arg2
= (int *) 0 ;
22451 int *arg3
= (int *) 0 ;
22454 PyObject
* obj0
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self", NULL
22461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 (arg1
)->GetPosition(arg2
,arg3
);
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 Py_INCREF(Py_None
); resultobj
= Py_None
;
22473 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22474 resultobj
= t_output_helper(resultobj
,o
);
22477 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22478 resultobj
= t_output_helper(resultobj
,o
);
22486 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22488 wxWindow
*arg1
= (wxWindow
*) 0 ;
22490 PyObject
* obj0
= 0 ;
22491 char *kwnames
[] = {
22492 (char *) "self", NULL
22495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 result
= ((wxWindow
const *)arg1
)->GetSize();
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22506 wxSize
* resultptr
;
22507 resultptr
= new wxSize((wxSize
&) result
);
22508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22516 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxWindow
*arg1
= (wxWindow
*) 0 ;
22519 int *arg2
= (int *) 0 ;
22520 int *arg3
= (int *) 0 ;
22523 PyObject
* obj0
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22540 Py_INCREF(Py_None
); resultobj
= Py_None
;
22542 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22543 resultobj
= t_output_helper(resultobj
,o
);
22546 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22547 resultobj
= t_output_helper(resultobj
,o
);
22555 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
;
22557 wxWindow
*arg1
= (wxWindow
*) 0 ;
22559 PyObject
* obj0
= 0 ;
22560 char *kwnames
[] = {
22561 (char *) "self", NULL
22564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= ((wxWindow
const *)arg1
)->GetRect();
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22575 wxRect
* resultptr
;
22576 resultptr
= new wxRect((wxRect
&) result
);
22577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22585 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxWindow
*arg1
= (wxWindow
*) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22605 wxSize
* resultptr
;
22606 resultptr
= new wxSize((wxSize
&) result
);
22607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22615 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxWindow
*arg1
= (wxWindow
*) 0 ;
22618 int *arg2
= (int *) 0 ;
22619 int *arg3
= (int *) 0 ;
22622 PyObject
* obj0
= 0 ;
22623 char *kwnames
[] = {
22624 (char *) "self", NULL
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 Py_INCREF(Py_None
); resultobj
= Py_None
;
22641 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22642 resultobj
= t_output_helper(resultobj
,o
);
22645 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22646 resultobj
= t_output_helper(resultobj
,o
);
22654 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22656 wxWindow
*arg1
= (wxWindow
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 char *kwnames
[] = {
22660 (char *) "self", NULL
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22674 wxPoint
* resultptr
;
22675 resultptr
= new wxPoint((wxPoint
&) result
);
22676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22684 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxWindow
*arg1
= (wxWindow
*) 0 ;
22688 PyObject
* obj0
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22704 wxRect
* resultptr
;
22705 resultptr
= new wxRect((wxRect
&) result
);
22706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22714 static PyObject
*_wrap_Window_GetBestSize(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_GetBestSize",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
)->GetBestSize();
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22734 wxSize
* resultptr
;
22735 resultptr
= new wxSize((wxSize
&) result
);
22736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22744 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxWindow
*arg1
= (wxWindow
*) 0 ;
22747 int *arg2
= (int *) 0 ;
22748 int *arg3
= (int *) 0 ;
22751 PyObject
* obj0
= 0 ;
22752 char *kwnames
[] = {
22753 (char *) "self", NULL
22758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 Py_INCREF(Py_None
); resultobj
= Py_None
;
22770 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22771 resultobj
= t_output_helper(resultobj
,o
);
22774 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22775 resultobj
= t_output_helper(resultobj
,o
);
22783 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
;
22785 wxWindow
*arg1
= (wxWindow
*) 0 ;
22787 PyObject
* obj0
= 0 ;
22788 char *kwnames
[] = {
22789 (char *) "self", NULL
22792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22803 wxSize
* resultptr
;
22804 resultptr
= new wxSize((wxSize
&) result
);
22805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22813 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxWindow
*arg1
= (wxWindow
*) 0 ;
22816 int arg2
= (int) wxBOTH
;
22817 PyObject
* obj0
= 0 ;
22818 PyObject
* obj1
= 0 ;
22819 char *kwnames
[] = {
22820 (char *) "self",(char *) "direction", NULL
22823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22827 arg2
= (int) SWIG_AsInt(obj1
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 (arg1
)->Center(arg2
);
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 Py_INCREF(Py_None
); resultobj
= Py_None
;
22844 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxWindow
*arg1
= (wxWindow
*) 0 ;
22847 int arg2
= (int) wxBOTH
;
22848 PyObject
* obj0
= 0 ;
22849 PyObject
* obj1
= 0 ;
22850 char *kwnames
[] = {
22851 (char *) "self",(char *) "dir", NULL
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22858 arg2
= (int) SWIG_AsInt(obj1
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 (arg1
)->CenterOnScreen(arg2
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 Py_INCREF(Py_None
); resultobj
= Py_None
;
22875 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22877 wxWindow
*arg1
= (wxWindow
*) 0 ;
22878 int arg2
= (int) wxBOTH
;
22879 PyObject
* obj0
= 0 ;
22880 PyObject
* obj1
= 0 ;
22881 char *kwnames
[] = {
22882 (char *) "self",(char *) "dir", NULL
22885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22889 arg2
= (int) SWIG_AsInt(obj1
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 (arg1
)->CenterOnParent(arg2
);
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22899 Py_INCREF(Py_None
); resultobj
= Py_None
;
22906 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22907 PyObject
*resultobj
;
22908 wxWindow
*arg1
= (wxWindow
*) 0 ;
22909 PyObject
* obj0
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 Py_INCREF(Py_None
); resultobj
= Py_None
;
22931 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22933 wxWindow
*arg1
= (wxWindow
*) 0 ;
22934 PyObject
* obj0
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 (arg1
)->FitInside();
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22949 Py_INCREF(Py_None
); resultobj
= Py_None
;
22956 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22957 PyObject
*resultobj
;
22958 wxWindow
*arg1
= (wxWindow
*) 0 ;
22961 int arg4
= (int) -1 ;
22962 int arg5
= (int) -1 ;
22963 int arg6
= (int) -1 ;
22964 int arg7
= (int) -1 ;
22965 PyObject
* obj0
= 0 ;
22966 PyObject
* obj1
= 0 ;
22967 PyObject
* obj2
= 0 ;
22968 PyObject
* obj3
= 0 ;
22969 PyObject
* obj4
= 0 ;
22970 PyObject
* obj5
= 0 ;
22971 PyObject
* obj6
= 0 ;
22973 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22976 arg2
= (int) SWIG_AsInt(obj1
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22978 arg3
= (int) SWIG_AsInt(obj2
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 arg4
= (int) SWIG_AsInt(obj3
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22985 arg5
= (int) SWIG_AsInt(obj4
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22989 arg6
= (int) SWIG_AsInt(obj5
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22993 arg7
= (int) SWIG_AsInt(obj6
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 Py_INCREF(Py_None
); resultobj
= Py_None
;
23010 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23011 PyObject
*resultobj
;
23012 wxWindow
*arg1
= (wxWindow
*) 0 ;
23014 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23015 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23016 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23017 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23021 PyObject
* obj0
= 0 ;
23022 PyObject
* obj1
= 0 ;
23023 PyObject
* obj2
= 0 ;
23024 PyObject
* obj3
= 0 ;
23026 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23031 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23036 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23042 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 Py_INCREF(Py_None
); resultobj
= Py_None
;
23059 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23064 argc
= PyObject_Length(args
);
23065 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23066 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23068 if ((argc
>= 2) && (argc
<= 4)) {
23072 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23081 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23085 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23088 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23092 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23095 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23098 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23104 if ((argc
>= 3) && (argc
<= 7)) {
23108 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23116 _v
= SWIG_CheckInt(argv
[1]);
23118 _v
= SWIG_CheckInt(argv
[2]);
23121 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23123 _v
= SWIG_CheckInt(argv
[3]);
23126 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23128 _v
= SWIG_CheckInt(argv
[4]);
23131 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23133 _v
= SWIG_CheckInt(argv
[5]);
23136 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23138 _v
= SWIG_CheckInt(argv
[6]);
23140 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23150 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23155 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23156 PyObject
*resultobj
;
23157 wxWindow
*arg1
= (wxWindow
*) 0 ;
23160 int arg4
= (int) -1 ;
23161 int arg5
= (int) -1 ;
23162 PyObject
* obj0
= 0 ;
23163 PyObject
* obj1
= 0 ;
23164 PyObject
* obj2
= 0 ;
23165 PyObject
* obj3
= 0 ;
23166 PyObject
* obj4
= 0 ;
23168 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23171 arg2
= (int) SWIG_AsInt(obj1
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23173 arg3
= (int) SWIG_AsInt(obj2
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 arg4
= (int) SWIG_AsInt(obj3
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23180 arg5
= (int) SWIG_AsInt(obj4
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 Py_INCREF(Py_None
); resultobj
= Py_None
;
23197 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23198 PyObject
*resultobj
;
23199 wxWindow
*arg1
= (wxWindow
*) 0 ;
23201 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23202 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23205 PyObject
* obj0
= 0 ;
23206 PyObject
* obj1
= 0 ;
23207 PyObject
* obj2
= 0 ;
23209 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23214 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23219 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23229 Py_INCREF(Py_None
); resultobj
= Py_None
;
23236 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23241 argc
= PyObject_Length(args
);
23242 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23243 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23245 if ((argc
>= 2) && (argc
<= 3)) {
23249 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23258 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23262 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23265 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23268 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23273 if ((argc
>= 3) && (argc
<= 5)) {
23277 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23285 _v
= SWIG_CheckInt(argv
[1]);
23287 _v
= SWIG_CheckInt(argv
[2]);
23290 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23292 _v
= SWIG_CheckInt(argv
[3]);
23295 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23297 _v
= SWIG_CheckInt(argv
[4]);
23299 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23307 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23312 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
;
23314 wxWindow
*arg1
= (wxWindow
*) 0 ;
23316 PyObject
* obj0
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "self", NULL
23321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= SWIG_FromInt((int)result
);
23338 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxWindow
*arg1
= (wxWindow
*) 0 ;
23342 PyObject
* obj0
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= SWIG_FromInt((int)result
);
23364 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
;
23366 wxWindow
*arg1
= (wxWindow
*) 0 ;
23368 PyObject
* obj0
= 0 ;
23369 char *kwnames
[] = {
23370 (char *) "self", NULL
23373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= SWIG_FromInt((int)result
);
23390 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxWindow
*arg1
= (wxWindow
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= SWIG_FromInt((int)result
);
23416 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
;
23418 wxWindow
*arg1
= (wxWindow
*) 0 ;
23420 PyObject
* obj0
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23436 wxSize
* resultptr
;
23437 resultptr
= new wxSize((wxSize
&) result
);
23438 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23446 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
;
23448 wxWindow
*arg1
= (wxWindow
*) 0 ;
23450 PyObject
* obj0
= 0 ;
23451 char *kwnames
[] = {
23452 (char *) "self", NULL
23455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23466 wxSize
* resultptr
;
23467 resultptr
= new wxSize((wxSize
&) result
);
23468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23476 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
;
23478 wxWindow
*arg1
= (wxWindow
*) 0 ;
23481 PyObject
* obj0
= 0 ;
23482 PyObject
* obj1
= 0 ;
23483 char *kwnames
[] = {
23484 (char *) "self",(char *) "size", NULL
23487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23492 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 Py_INCREF(Py_None
); resultobj
= Py_None
;
23508 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxWindow
*arg1
= (wxWindow
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 PyObject
* obj2
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self",(char *) "w",(char *) "h", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23523 arg2
= (int) SWIG_AsInt(obj1
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23525 arg3
= (int) SWIG_AsInt(obj2
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 (arg1
)->SetVirtualSize(arg2
,arg3
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 Py_INCREF(Py_None
); resultobj
= Py_None
;
23541 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxWindow
*arg1
= (wxWindow
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23561 wxSize
* resultptr
;
23562 resultptr
= new wxSize((wxSize
&) result
);
23563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23571 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
;
23573 wxWindow
*arg1
= (wxWindow
*) 0 ;
23574 int *arg2
= (int *) 0 ;
23575 int *arg3
= (int *) 0 ;
23578 PyObject
* obj0
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 Py_INCREF(Py_None
); resultobj
= Py_None
;
23597 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23598 resultobj
= t_output_helper(resultobj
,o
);
23601 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23602 resultobj
= t_output_helper(resultobj
,o
);
23610 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23611 PyObject
*resultobj
;
23612 wxWindow
*arg1
= (wxWindow
*) 0 ;
23614 PyObject
* obj0
= 0 ;
23615 char *kwnames
[] = {
23616 (char *) "self", NULL
23619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23630 wxSize
* resultptr
;
23631 resultptr
= new wxSize((wxSize
&) result
);
23632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23640 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23642 wxWindow
*arg1
= (wxWindow
*) 0 ;
23643 bool arg2
= (bool) True
;
23645 PyObject
* obj0
= 0 ;
23646 PyObject
* obj1
= 0 ;
23647 char *kwnames
[] = {
23648 (char *) "self",(char *) "show", NULL
23651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23655 arg2
= (bool) SWIG_AsBool(obj1
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 result
= (bool)(arg1
)->Show(arg2
);
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23674 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23675 PyObject
*resultobj
;
23676 wxWindow
*arg1
= (wxWindow
*) 0 ;
23678 PyObject
* obj0
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 result
= (bool)(arg1
)->Hide();
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23702 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23704 wxWindow
*arg1
= (wxWindow
*) 0 ;
23705 bool arg2
= (bool) True
;
23707 PyObject
* obj0
= 0 ;
23708 PyObject
* obj1
= 0 ;
23709 char *kwnames
[] = {
23710 (char *) "self",(char *) "enable", NULL
23713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23717 arg2
= (bool) SWIG_AsBool(obj1
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (bool)(arg1
)->Enable(arg2
);
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23736 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
;
23738 wxWindow
*arg1
= (wxWindow
*) 0 ;
23740 PyObject
* obj0
= 0 ;
23741 char *kwnames
[] = {
23742 (char *) "self", NULL
23745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (bool)(arg1
)->Disable();
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23764 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
;
23766 wxWindow
*arg1
= (wxWindow
*) 0 ;
23768 PyObject
* obj0
= 0 ;
23769 char *kwnames
[] = {
23770 (char *) "self", NULL
23773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23792 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
;
23794 wxWindow
*arg1
= (wxWindow
*) 0 ;
23796 PyObject
* obj0
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "self", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23820 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxWindow
*arg1
= (wxWindow
*) 0 ;
23824 PyObject
* obj0
= 0 ;
23825 PyObject
* obj1
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self",(char *) "style", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23833 arg2
= (long) SWIG_AsLong(obj1
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 (arg1
)->SetWindowStyleFlag(arg2
);
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23842 Py_INCREF(Py_None
); resultobj
= Py_None
;
23849 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
;
23851 wxWindow
*arg1
= (wxWindow
*) 0 ;
23853 PyObject
* obj0
= 0 ;
23854 char *kwnames
[] = {
23855 (char *) "self", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= SWIG_FromLong((long)result
);
23875 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
;
23877 wxWindow
*arg1
= (wxWindow
*) 0 ;
23880 PyObject
* obj0
= 0 ;
23881 PyObject
* obj1
= 0 ;
23882 char *kwnames
[] = {
23883 (char *) "self",(char *) "flag", NULL
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23889 arg2
= (int) SWIG_AsInt(obj1
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23907 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxWindow
*arg1
= (wxWindow
*) 0 ;
23911 PyObject
* obj0
= 0 ;
23912 char *kwnames
[] = {
23913 (char *) "self", NULL
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23935 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
;
23937 wxWindow
*arg1
= (wxWindow
*) 0 ;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23941 char *kwnames
[] = {
23942 (char *) "self",(char *) "exStyle", NULL
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23948 arg2
= (long) SWIG_AsLong(obj1
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 (arg1
)->SetExtraStyle(arg2
);
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 Py_INCREF(Py_None
); resultobj
= Py_None
;
23964 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
;
23966 wxWindow
*arg1
= (wxWindow
*) 0 ;
23968 PyObject
* obj0
= 0 ;
23969 char *kwnames
[] = {
23970 (char *) "self", NULL
23973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= SWIG_FromLong((long)result
);
23990 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23992 wxWindow
*arg1
= (wxWindow
*) 0 ;
23993 bool arg2
= (bool) True
;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "self",(char *) "modal", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24004 arg2
= (bool) SWIG_AsBool(obj1
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 (arg1
)->MakeModal(arg2
);
24011 wxPyEndAllowThreads(__tstate
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 Py_INCREF(Py_None
); resultobj
= Py_None
;
24021 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 wxWindow
*arg1
= (wxWindow
*) 0 ;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24027 char *kwnames
[] = {
24028 (char *) "self",(char *) "enableTheme", NULL
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24034 arg2
= (bool) SWIG_AsBool(obj1
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 (arg1
)->SetThemeEnabled(arg2
);
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24043 Py_INCREF(Py_None
); resultobj
= Py_None
;
24050 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24051 PyObject
*resultobj
;
24052 wxWindow
*arg1
= (wxWindow
*) 0 ;
24054 PyObject
* obj0
= 0 ;
24055 char *kwnames
[] = {
24056 (char *) "self", NULL
24059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24078 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
;
24080 wxWindow
*arg1
= (wxWindow
*) 0 ;
24081 PyObject
* obj0
= 0 ;
24082 char *kwnames
[] = {
24083 (char *) "self", NULL
24086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 (arg1
)->SetFocus();
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 Py_INCREF(Py_None
); resultobj
= Py_None
;
24103 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
;
24105 wxWindow
*arg1
= (wxWindow
*) 0 ;
24106 PyObject
* obj0
= 0 ;
24107 char *kwnames
[] = {
24108 (char *) "self", NULL
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 (arg1
)->SetFocusFromKbd();
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 Py_INCREF(Py_None
); resultobj
= Py_None
;
24128 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24131 char *kwnames
[] = {
24135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 result
= (wxWindow
*)wxWindow::FindFocus();
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24144 resultobj
= wxPyMake_wxObject(result
);
24152 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
;
24154 wxWindow
*arg1
= (wxWindow
*) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 char *kwnames
[] = {
24158 (char *) "self", NULL
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24180 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
;
24182 wxWindow
*arg1
= (wxWindow
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24208 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxWindow
*arg1
= (wxWindow
*) 0 ;
24212 PyObject
* obj0
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= wxPyMake_wxObject(result
);
24236 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxWindow
*arg1
= (wxWindow
*) 0 ;
24239 wxWindow
*arg2
= (wxWindow
*) 0 ;
24241 PyObject
* obj0
= 0 ;
24242 PyObject
* obj1
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "self",(char *) "child", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24260 resultobj
= wxPyMake_wxObject(result
);
24268 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
;
24270 wxWindow
*arg1
= (wxWindow
*) 0 ;
24271 wxWindow
*arg2
= (wxWindow
*) 0 ;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 char *kwnames
[] = {
24275 (char *) "self",(char *) "win", NULL
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 (arg1
)->SetTmpDefaultItem(arg2
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 Py_INCREF(Py_None
); resultobj
= Py_None
;
24297 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
;
24299 wxWindow
*arg1
= (wxWindow
*) 0 ;
24301 PyObject
* obj0
= 0 ;
24302 char *kwnames
[] = {
24303 (char *) "self", NULL
24306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= result
;
24323 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
;
24325 wxWindow
*arg1
= (wxWindow
*) 0 ;
24327 PyObject
* obj0
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= wxPyMake_wxObject(result
);
24351 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
;
24353 wxWindow
*arg1
= (wxWindow
*) 0 ;
24355 PyObject
* obj0
= 0 ;
24356 char *kwnames
[] = {
24357 (char *) "self", NULL
24360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24371 resultobj
= wxPyMake_wxObject(result
);
24379 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24381 wxWindow
*arg1
= (wxWindow
*) 0 ;
24383 PyObject
* obj0
= 0 ;
24384 char *kwnames
[] = {
24385 (char *) "self", NULL
24388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24407 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxWindow
*arg1
= (wxWindow
*) 0 ;
24410 wxWindow
*arg2
= (wxWindow
*) 0 ;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 char *kwnames
[] = {
24415 (char *) "self",(char *) "newParent", NULL
24418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= (bool)(arg1
)->Reparent(arg2
);
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24439 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
;
24441 wxWindow
*arg1
= (wxWindow
*) 0 ;
24442 wxWindow
*arg2
= (wxWindow
*) 0 ;
24443 PyObject
* obj0
= 0 ;
24444 PyObject
* obj1
= 0 ;
24445 char *kwnames
[] = {
24446 (char *) "self",(char *) "child", NULL
24449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24456 (arg1
)->AddChild(arg2
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24461 Py_INCREF(Py_None
); resultobj
= Py_None
;
24468 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
;
24470 wxWindow
*arg1
= (wxWindow
*) 0 ;
24471 wxWindow
*arg2
= (wxWindow
*) 0 ;
24472 PyObject
* obj0
= 0 ;
24473 PyObject
* obj1
= 0 ;
24474 char *kwnames
[] = {
24475 (char *) "self",(char *) "child", NULL
24478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 (arg1
)->RemoveChild(arg2
);
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24490 Py_INCREF(Py_None
); resultobj
= Py_None
;
24497 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
;
24499 wxWindow
*arg1
= (wxWindow
*) 0 ;
24502 PyObject
* obj0
= 0 ;
24503 PyObject
* obj1
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self",(char *) "winid", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24511 arg2
= (long) SWIG_AsLong(obj1
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= wxPyMake_wxObject(result
);
24529 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
;
24531 wxWindow
*arg1
= (wxWindow
*) 0 ;
24532 wxString
*arg2
= 0 ;
24534 bool temp2
= False
;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self",(char *) "name", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24545 arg2
= wxString_in_helper(obj1
);
24546 if (arg2
== NULL
) SWIG_fail
;
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= wxPyMake_wxObject(result
);
24573 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxWindow
*arg1
= (wxWindow
*) 0 ;
24576 wxEvtHandler
*result
;
24577 PyObject
* obj0
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24593 resultobj
= wxPyMake_wxObject(result
);
24601 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24603 wxWindow
*arg1
= (wxWindow
*) 0 ;
24604 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24605 PyObject
* obj0
= 0 ;
24606 PyObject
* obj1
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self",(char *) "handler", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 (arg1
)->SetEventHandler(arg2
);
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 Py_INCREF(Py_None
); resultobj
= Py_None
;
24630 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
;
24632 wxWindow
*arg1
= (wxWindow
*) 0 ;
24633 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24634 PyObject
* obj0
= 0 ;
24635 PyObject
* obj1
= 0 ;
24636 char *kwnames
[] = {
24637 (char *) "self",(char *) "handler", NULL
24640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 (arg1
)->PushEventHandler(arg2
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24652 Py_INCREF(Py_None
); resultobj
= Py_None
;
24659 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
;
24661 wxWindow
*arg1
= (wxWindow
*) 0 ;
24662 bool arg2
= (bool) False
;
24663 wxEvtHandler
*result
;
24664 PyObject
* obj0
= 0 ;
24665 PyObject
* obj1
= 0 ;
24666 char *kwnames
[] = {
24667 (char *) "self",(char *) "deleteHandler", NULL
24670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24674 arg2
= (bool) SWIG_AsBool(obj1
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24679 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24685 resultobj
= wxPyMake_wxObject(result
);
24693 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24694 PyObject
*resultobj
;
24695 wxWindow
*arg1
= (wxWindow
*) 0 ;
24696 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24698 PyObject
* obj0
= 0 ;
24699 PyObject
* obj1
= 0 ;
24700 char *kwnames
[] = {
24701 (char *) "self",(char *) "handler", NULL
24704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24713 wxPyEndAllowThreads(__tstate
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24725 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
;
24727 wxWindow
*arg1
= (wxWindow
*) 0 ;
24728 wxValidator
*arg2
= 0 ;
24729 PyObject
* obj0
= 0 ;
24730 PyObject
* obj1
= 0 ;
24731 char *kwnames
[] = {
24732 (char *) "self",(char *) "validator", NULL
24735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24741 if (arg2
== NULL
) {
24742 PyErr_SetString(PyExc_TypeError
,"null reference");
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 Py_INCREF(Py_None
); resultobj
= Py_None
;
24759 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxWindow
*arg1
= (wxWindow
*) 0 ;
24762 wxValidator
*result
;
24763 PyObject
* obj0
= 0 ;
24764 char *kwnames
[] = {
24765 (char *) "self", NULL
24768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 result
= (wxValidator
*)(arg1
)->GetValidator();
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= wxPyMake_wxObject(result
);
24787 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxWindow
*arg1
= (wxWindow
*) 0 ;
24791 PyObject
* obj0
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (bool)(arg1
)->Validate();
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24815 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24816 PyObject
*resultobj
;
24817 wxWindow
*arg1
= (wxWindow
*) 0 ;
24819 PyObject
* obj0
= 0 ;
24820 char *kwnames
[] = {
24821 (char *) "self", NULL
24824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= (bool)(arg1
)->TransferDataToWindow();
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24843 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxWindow
*arg1
= (wxWindow
*) 0 ;
24847 PyObject
* obj0
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 result
= (bool)(arg1
)->TransferDataFromWindow();
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24871 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
;
24873 wxWindow
*arg1
= (wxWindow
*) 0 ;
24874 PyObject
* obj0
= 0 ;
24875 char *kwnames
[] = {
24876 (char *) "self", NULL
24879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24884 (arg1
)->InitDialog();
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24889 Py_INCREF(Py_None
); resultobj
= Py_None
;
24896 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
;
24898 wxWindow
*arg1
= (wxWindow
*) 0 ;
24899 wxAcceleratorTable
*arg2
= 0 ;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "self",(char *) "accel", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24912 if (arg2
== NULL
) {
24913 PyErr_SetString(PyExc_TypeError
,"null reference");
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 Py_INCREF(Py_None
); resultobj
= Py_None
;
24930 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
;
24932 wxWindow
*arg1
= (wxWindow
*) 0 ;
24933 wxAcceleratorTable
*result
;
24934 PyObject
* obj0
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24956 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxWindow
*arg1
= (wxWindow
*) 0 ;
24963 PyObject
* obj0
= 0 ;
24964 PyObject
* obj1
= 0 ;
24965 PyObject
* obj2
= 0 ;
24966 PyObject
* obj3
= 0 ;
24967 char *kwnames
[] = {
24968 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24974 arg2
= (int) SWIG_AsInt(obj1
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24976 arg3
= (int) SWIG_AsInt(obj2
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24978 arg4
= (int) SWIG_AsInt(obj3
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24996 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxWindow
*arg1
= (wxWindow
*) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 char *kwnames
[] = {
25004 (char *) "self",(char *) "hotkeyId", NULL
25007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25010 arg2
= (int) SWIG_AsInt(obj1
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25028 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
;
25030 wxWindow
*arg1
= (wxWindow
*) 0 ;
25031 wxPoint
*arg2
= 0 ;
25034 PyObject
* obj0
= 0 ;
25035 PyObject
* obj1
= 0 ;
25036 char *kwnames
[] = {
25037 (char *) "self",(char *) "pt", NULL
25040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25055 wxPoint
* resultptr
;
25056 resultptr
= new wxPoint((wxPoint
&) result
);
25057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25065 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxWindow
*arg1
= (wxWindow
*) 0 ;
25071 PyObject
* obj0
= 0 ;
25072 PyObject
* obj1
= 0 ;
25073 char *kwnames
[] = {
25074 (char *) "self",(char *) "sz", NULL
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25082 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25092 wxSize
* resultptr
;
25093 resultptr
= new wxSize((wxSize
&) result
);
25094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25102 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25103 PyObject
*resultobj
;
25104 wxWindow
*arg1
= (wxWindow
*) 0 ;
25105 wxPoint
*arg2
= 0 ;
25108 PyObject
* obj0
= 0 ;
25109 PyObject
* obj1
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self",(char *) "pt", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25129 wxPoint
* resultptr
;
25130 resultptr
= new wxPoint((wxPoint
&) result
);
25131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25139 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
;
25141 wxWindow
*arg1
= (wxWindow
*) 0 ;
25145 PyObject
* obj0
= 0 ;
25146 PyObject
* obj1
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "self",(char *) "sz", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25156 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25166 wxSize
* resultptr
;
25167 resultptr
= new wxSize((wxSize
&) result
);
25168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25176 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
;
25178 wxWindow
*arg1
= (wxWindow
*) 0 ;
25179 wxPoint
*arg2
= 0 ;
25182 PyObject
* obj0
= 0 ;
25183 PyObject
* obj1
= 0 ;
25184 char *kwnames
[] = {
25185 (char *) "self",(char *) "pt", NULL
25188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25197 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25203 wxPoint
* resultptr
;
25204 resultptr
= new wxPoint((wxPoint
&) result
);
25205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25213 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
;
25215 wxWindow
*arg1
= (wxWindow
*) 0 ;
25219 PyObject
* obj0
= 0 ;
25220 PyObject
* obj1
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "self",(char *) "sz", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25230 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25234 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25240 wxSize
* resultptr
;
25241 resultptr
= new wxSize((wxSize
&) result
);
25242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25250 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25251 PyObject
*resultobj
;
25252 wxWindow
*arg1
= (wxWindow
*) 0 ;
25255 PyObject
* obj0
= 0 ;
25256 PyObject
* obj1
= 0 ;
25257 PyObject
* obj2
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "self",(char *) "x",(char *) "y", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25265 arg2
= (int) SWIG_AsInt(obj1
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25267 arg3
= (int) SWIG_AsInt(obj2
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 (arg1
)->WarpPointer(arg2
,arg3
);
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25276 Py_INCREF(Py_None
); resultobj
= Py_None
;
25283 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25284 PyObject
*resultobj
;
25285 wxWindow
*arg1
= (wxWindow
*) 0 ;
25286 PyObject
* obj0
= 0 ;
25287 char *kwnames
[] = {
25288 (char *) "self", NULL
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 (arg1
)->CaptureMouse();
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 Py_INCREF(Py_None
); resultobj
= Py_None
;
25308 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxWindow
*arg1
= (wxWindow
*) 0 ;
25311 PyObject
* obj0
= 0 ;
25312 char *kwnames
[] = {
25313 (char *) "self", NULL
25316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 (arg1
)->ReleaseMouse();
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 Py_INCREF(Py_None
); resultobj
= Py_None
;
25333 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25336 char *kwnames
[] = {
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 result
= (wxWindow
*)wxWindow::GetCapture();
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= wxPyMake_wxObject(result
);
25357 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
;
25359 wxWindow
*arg1
= (wxWindow
*) 0 ;
25361 PyObject
* obj0
= 0 ;
25362 char *kwnames
[] = {
25363 (char *) "self", NULL
25366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25385 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25386 PyObject
*resultobj
;
25387 wxWindow
*arg1
= (wxWindow
*) 0 ;
25388 bool arg2
= (bool) True
;
25389 wxRect
*arg3
= (wxRect
*) NULL
;
25390 PyObject
* obj0
= 0 ;
25391 PyObject
* obj1
= 0 ;
25392 PyObject
* obj2
= 0 ;
25393 char *kwnames
[] = {
25394 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25401 arg2
= (bool) SWIG_AsBool(obj1
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25405 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 Py_INCREF(Py_None
); resultobj
= Py_None
;
25422 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxWindow
*arg1
= (wxWindow
*) 0 ;
25427 PyObject
* obj0
= 0 ;
25428 PyObject
* obj1
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self",(char *) "rect", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25438 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 Py_INCREF(Py_None
); resultobj
= Py_None
;
25454 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxWindow
*arg1
= (wxWindow
*) 0 ;
25457 PyObject
* obj0
= 0 ;
25458 char *kwnames
[] = {
25459 (char *) "self", NULL
25462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25469 wxPyEndAllowThreads(__tstate
);
25470 if (PyErr_Occurred()) SWIG_fail
;
25472 Py_INCREF(Py_None
); resultobj
= Py_None
;
25479 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25480 PyObject
*resultobj
;
25481 wxWindow
*arg1
= (wxWindow
*) 0 ;
25482 PyObject
* obj0
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 (arg1
)->ClearBackground();
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25497 Py_INCREF(Py_None
); resultobj
= Py_None
;
25504 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25505 PyObject
*resultobj
;
25506 wxWindow
*arg1
= (wxWindow
*) 0 ;
25507 PyObject
* obj0
= 0 ;
25508 char *kwnames
[] = {
25509 (char *) "self", NULL
25512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 Py_INCREF(Py_None
); resultobj
= Py_None
;
25529 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25531 wxWindow
*arg1
= (wxWindow
*) 0 ;
25532 PyObject
* obj0
= 0 ;
25533 char *kwnames
[] = {
25534 (char *) "self", NULL
25537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 Py_INCREF(Py_None
); resultobj
= Py_None
;
25554 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
;
25556 wxWindow
*arg1
= (wxWindow
*) 0 ;
25558 PyObject
* obj0
= 0 ;
25559 PyObject
* obj1
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self",(char *) "dc", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25570 if (arg2
== NULL
) {
25571 PyErr_SetString(PyExc_TypeError
,"null reference");
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 (arg1
)->PrepareDC(*arg2
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 Py_INCREF(Py_None
); resultobj
= Py_None
;
25588 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
;
25590 wxWindow
*arg1
= (wxWindow
*) 0 ;
25592 PyObject
* obj0
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25604 result
= (wxRegion
*) &_result_ref
;
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25617 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25618 PyObject
*resultobj
;
25619 wxWindow
*arg1
= (wxWindow
*) 0 ;
25621 PyObject
* obj0
= 0 ;
25622 char *kwnames
[] = {
25623 (char *) "self", NULL
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25637 wxRect
* resultptr
;
25638 resultptr
= new wxRect((wxRect
&) result
);
25639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25647 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25648 PyObject
*resultobj
;
25649 wxWindow
*arg1
= (wxWindow
*) 0 ;
25652 int arg4
= (int) 1 ;
25653 int arg5
= (int) 1 ;
25655 PyObject
* obj0
= 0 ;
25656 PyObject
* obj1
= 0 ;
25657 PyObject
* obj2
= 0 ;
25658 PyObject
* obj3
= 0 ;
25659 PyObject
* obj4
= 0 ;
25660 char *kwnames
[] = {
25661 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25667 arg2
= (int) SWIG_AsInt(obj1
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25669 arg3
= (int) SWIG_AsInt(obj2
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 arg4
= (int) SWIG_AsInt(obj3
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25676 arg5
= (int) SWIG_AsInt(obj4
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25695 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
;
25697 wxWindow
*arg1
= (wxWindow
*) 0 ;
25698 wxPoint
*arg2
= 0 ;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self",(char *) "pt", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25712 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25718 wxPyEndAllowThreads(__tstate
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25730 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25731 PyObject
*resultobj
;
25732 wxWindow
*arg1
= (wxWindow
*) 0 ;
25736 PyObject
* obj0
= 0 ;
25737 PyObject
* obj1
= 0 ;
25738 char *kwnames
[] = {
25739 (char *) "self",(char *) "rect", NULL
25742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25747 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25753 wxPyEndAllowThreads(__tstate
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25765 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxWindow
*arg1
= (wxWindow
*) 0 ;
25768 wxVisualAttributes result
;
25769 PyObject
* obj0
= 0 ;
25770 char *kwnames
[] = {
25771 (char *) "self", NULL
25774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25781 wxPyEndAllowThreads(__tstate
);
25782 if (PyErr_Occurred()) SWIG_fail
;
25785 wxVisualAttributes
* resultptr
;
25786 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25795 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
;
25797 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25798 wxVisualAttributes result
;
25799 PyObject
* obj0
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "variant", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25806 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25817 wxVisualAttributes
* resultptr
;
25818 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25827 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
;
25829 wxWindow
*arg1
= (wxWindow
*) 0 ;
25830 wxColour
*arg2
= 0 ;
25833 PyObject
* obj0
= 0 ;
25834 PyObject
* obj1
= 0 ;
25835 char *kwnames
[] = {
25836 (char *) "self",(char *) "colour", NULL
25839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25844 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25862 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25863 PyObject
*resultobj
;
25864 wxWindow
*arg1
= (wxWindow
*) 0 ;
25865 wxColour
*arg2
= 0 ;
25867 PyObject
* obj0
= 0 ;
25868 PyObject
* obj1
= 0 ;
25869 char *kwnames
[] = {
25870 (char *) "self",(char *) "colour", NULL
25873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25878 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25882 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 Py_INCREF(Py_None
); resultobj
= Py_None
;
25894 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
;
25896 wxWindow
*arg1
= (wxWindow
*) 0 ;
25897 wxColour
*arg2
= 0 ;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "colour", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25911 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25915 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25917 wxPyEndAllowThreads(__tstate
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25929 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25930 PyObject
*resultobj
;
25931 wxWindow
*arg1
= (wxWindow
*) 0 ;
25932 wxColour
*arg2
= 0 ;
25934 PyObject
* obj0
= 0 ;
25935 PyObject
* obj1
= 0 ;
25936 char *kwnames
[] = {
25937 (char *) "self",(char *) "colour", NULL
25940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 Py_INCREF(Py_None
); resultobj
= Py_None
;
25961 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxWindow
*arg1
= (wxWindow
*) 0 ;
25965 PyObject
* obj0
= 0 ;
25966 char *kwnames
[] = {
25967 (char *) "self", NULL
25970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25981 wxColour
* resultptr
;
25982 resultptr
= new wxColour((wxColour
&) result
);
25983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25991 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxWindow
*arg1
= (wxWindow
*) 0 ;
25995 PyObject
* obj0
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self", NULL
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26005 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26011 wxColour
* resultptr
;
26012 resultptr
= new wxColour((wxColour
&) result
);
26013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26021 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
;
26023 wxWindow
*arg1
= (wxWindow
*) 0 ;
26024 wxCursor
*arg2
= 0 ;
26026 PyObject
* obj0
= 0 ;
26027 PyObject
* obj1
= 0 ;
26028 char *kwnames
[] = {
26029 (char *) "self",(char *) "cursor", NULL
26032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26038 if (arg2
== NULL
) {
26039 PyErr_SetString(PyExc_TypeError
,"null reference");
26043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26044 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26058 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26059 PyObject
*resultobj
;
26060 wxWindow
*arg1
= (wxWindow
*) 0 ;
26062 PyObject
* obj0
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26074 result
= (wxCursor
*) &_result_ref
;
26077 wxPyEndAllowThreads(__tstate
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26081 wxCursor
* resultptr
= new wxCursor(*result
);
26082 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26090 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26091 PyObject
*resultobj
;
26092 wxWindow
*arg1
= (wxWindow
*) 0 ;
26095 PyObject
* obj0
= 0 ;
26096 PyObject
* obj1
= 0 ;
26097 char *kwnames
[] = {
26098 (char *) "self",(char *) "font", NULL
26101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26107 if (arg2
== NULL
) {
26108 PyErr_SetString(PyExc_TypeError
,"null reference");
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26127 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
;
26129 wxWindow
*arg1
= (wxWindow
*) 0 ;
26131 PyObject
* obj0
= 0 ;
26132 PyObject
* obj1
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self",(char *) "font", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26143 if (arg2
== NULL
) {
26144 PyErr_SetString(PyExc_TypeError
,"null reference");
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 Py_INCREF(Py_None
); resultobj
= Py_None
;
26161 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26162 PyObject
*resultobj
;
26163 wxWindow
*arg1
= (wxWindow
*) 0 ;
26165 PyObject
* obj0
= 0 ;
26166 char *kwnames
[] = {
26167 (char *) "self", NULL
26170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 wxFont
&_result_ref
= (arg1
)->GetFont();
26177 result
= (wxFont
*) &_result_ref
;
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26184 wxFont
* resultptr
= new wxFont(*result
);
26185 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26193 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
;
26195 wxWindow
*arg1
= (wxWindow
*) 0 ;
26196 wxCaret
*arg2
= (wxCaret
*) 0 ;
26197 PyObject
* obj0
= 0 ;
26198 PyObject
* obj1
= 0 ;
26199 char *kwnames
[] = {
26200 (char *) "self",(char *) "caret", NULL
26203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 (arg1
)->SetCaret(arg2
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 Py_INCREF(Py_None
); resultobj
= Py_None
;
26222 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxWindow
*arg1
= (wxWindow
*) 0 ;
26226 PyObject
* obj0
= 0 ;
26227 char *kwnames
[] = {
26228 (char *) "self", NULL
26231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26236 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26248 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
;
26250 wxWindow
*arg1
= (wxWindow
*) 0 ;
26252 PyObject
* obj0
= 0 ;
26253 char *kwnames
[] = {
26254 (char *) "self", NULL
26257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26267 resultobj
= SWIG_FromInt((int)result
);
26274 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
;
26276 wxWindow
*arg1
= (wxWindow
*) 0 ;
26278 PyObject
* obj0
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26293 resultobj
= SWIG_FromInt((int)result
);
26300 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26301 PyObject
*resultobj
;
26302 wxWindow
*arg1
= (wxWindow
*) 0 ;
26303 wxString
*arg2
= 0 ;
26304 int *arg3
= (int *) 0 ;
26305 int *arg4
= (int *) 0 ;
26306 bool temp2
= False
;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self",(char *) "string", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26321 arg2
= wxString_in_helper(obj1
);
26322 if (arg2
== NULL
) SWIG_fail
;
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26332 Py_INCREF(Py_None
); resultobj
= Py_None
;
26334 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26335 resultobj
= t_output_helper(resultobj
,o
);
26338 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26339 resultobj
= t_output_helper(resultobj
,o
);
26355 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26356 PyObject
*resultobj
;
26357 wxWindow
*arg1
= (wxWindow
*) 0 ;
26358 wxString
*arg2
= 0 ;
26359 int *arg3
= (int *) 0 ;
26360 int *arg4
= (int *) 0 ;
26361 int *arg5
= (int *) 0 ;
26362 int *arg6
= (int *) 0 ;
26363 wxFont
*arg7
= (wxFont
*) NULL
;
26364 bool temp2
= False
;
26369 PyObject
* obj0
= 0 ;
26370 PyObject
* obj1
= 0 ;
26371 PyObject
* obj2
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self",(char *) "string",(char *) "font", NULL
26380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26384 arg2
= wxString_in_helper(obj1
);
26385 if (arg2
== NULL
) SWIG_fail
;
26389 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26399 Py_INCREF(Py_None
); resultobj
= Py_None
;
26401 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26402 resultobj
= t_output_helper(resultobj
,o
);
26405 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26406 resultobj
= t_output_helper(resultobj
,o
);
26409 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26410 resultobj
= t_output_helper(resultobj
,o
);
26413 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26414 resultobj
= t_output_helper(resultobj
,o
);
26430 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
;
26432 wxWindow
*arg1
= (wxWindow
*) 0 ;
26433 int *arg2
= (int *) 0 ;
26434 int *arg3
= (int *) 0 ;
26437 PyObject
* obj0
= 0 ;
26438 PyObject
* obj1
= 0 ;
26439 PyObject
* obj2
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "self",(char *) "x",(char *) "y", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26448 temp2
= PyInt_AsLong(obj1
);
26449 if (PyErr_Occurred()) SWIG_fail
;
26453 temp3
= PyInt_AsLong(obj2
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26461 wxPyEndAllowThreads(__tstate
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26464 Py_INCREF(Py_None
); resultobj
= Py_None
;
26466 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26467 resultobj
= t_output_helper(resultobj
,o
);
26470 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26471 resultobj
= t_output_helper(resultobj
,o
);
26479 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
;
26481 wxWindow
*arg1
= (wxWindow
*) 0 ;
26482 int *arg2
= (int *) 0 ;
26483 int *arg3
= (int *) 0 ;
26486 PyObject
* obj0
= 0 ;
26487 PyObject
* obj1
= 0 ;
26488 PyObject
* obj2
= 0 ;
26489 char *kwnames
[] = {
26490 (char *) "self",(char *) "x",(char *) "y", NULL
26493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26497 temp2
= PyInt_AsLong(obj1
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26502 temp3
= PyInt_AsLong(obj2
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26513 Py_INCREF(Py_None
); resultobj
= Py_None
;
26515 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26516 resultobj
= t_output_helper(resultobj
,o
);
26519 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26520 resultobj
= t_output_helper(resultobj
,o
);
26528 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
;
26530 wxWindow
*arg1
= (wxWindow
*) 0 ;
26531 wxPoint
*arg2
= 0 ;
26534 PyObject
* obj0
= 0 ;
26535 PyObject
* obj1
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self",(char *) "pt", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26555 wxPoint
* resultptr
;
26556 resultptr
= new wxPoint((wxPoint
&) result
);
26557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26565 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxWindow
*arg1
= (wxWindow
*) 0 ;
26568 wxPoint
*arg2
= 0 ;
26571 PyObject
* obj0
= 0 ;
26572 PyObject
* obj1
= 0 ;
26573 char *kwnames
[] = {
26574 (char *) "self",(char *) "pt", NULL
26577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26582 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26592 wxPoint
* resultptr
;
26593 resultptr
= new wxPoint((wxPoint
&) result
);
26594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26602 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
;
26604 wxWindow
*arg1
= (wxWindow
*) 0 ;
26608 PyObject
* obj0
= 0 ;
26609 PyObject
* obj1
= 0 ;
26610 PyObject
* obj2
= 0 ;
26611 char *kwnames
[] = {
26612 (char *) "self",(char *) "x",(char *) "y", NULL
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26618 arg2
= (int) SWIG_AsInt(obj1
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26620 arg3
= (int) SWIG_AsInt(obj2
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_FromInt((int)result
);
26636 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
;
26638 wxWindow
*arg1
= (wxWindow
*) 0 ;
26639 wxPoint
*arg2
= 0 ;
26642 PyObject
* obj0
= 0 ;
26643 PyObject
* obj1
= 0 ;
26644 char *kwnames
[] = {
26645 (char *) "self",(char *) "pt", NULL
26648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= SWIG_FromInt((int)result
);
26669 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26670 PyObject
*resultobj
;
26671 wxWindow
*arg1
= (wxWindow
*) 0 ;
26674 PyObject
* obj0
= 0 ;
26675 PyObject
* obj1
= 0 ;
26677 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26680 arg2
= (long) SWIG_AsLong(obj1
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26684 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26689 resultobj
= SWIG_FromInt((int)result
);
26696 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26697 PyObject
*resultobj
;
26698 wxWindow
*arg1
= (wxWindow
*) 0 ;
26700 PyObject
* obj0
= 0 ;
26702 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= SWIG_FromInt((int)result
);
26719 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26724 argc
= PyObject_Length(args
);
26725 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26726 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26732 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26740 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26747 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26755 _v
= SWIG_CheckLong(argv
[1]);
26757 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26762 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26767 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26768 PyObject
*resultobj
;
26769 wxWindow
*arg1
= (wxWindow
*) 0 ;
26770 long arg2
= (long) wxUPDATE_UI_NONE
;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 char *kwnames
[] = {
26774 (char *) "self",(char *) "flags", NULL
26777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26781 arg2
= (long) SWIG_AsLong(obj1
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 (arg1
)->UpdateWindowUI(arg2
);
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26791 Py_INCREF(Py_None
); resultobj
= Py_None
;
26798 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26799 PyObject
*resultobj
;
26800 wxWindow
*arg1
= (wxWindow
*) 0 ;
26801 wxMenu
*arg2
= (wxMenu
*) 0 ;
26805 PyObject
* obj0
= 0 ;
26806 PyObject
* obj1
= 0 ;
26807 PyObject
* obj2
= 0 ;
26808 PyObject
* obj3
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26818 arg3
= (int) SWIG_AsInt(obj2
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26820 arg4
= (int) SWIG_AsInt(obj3
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26824 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26826 wxPyEndAllowThreads(__tstate
);
26827 if (PyErr_Occurred()) SWIG_fail
;
26830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26838 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26839 PyObject
*resultobj
;
26840 wxWindow
*arg1
= (wxWindow
*) 0 ;
26841 wxMenu
*arg2
= (wxMenu
*) 0 ;
26842 wxPoint
*arg3
= 0 ;
26845 PyObject
* obj0
= 0 ;
26846 PyObject
* obj1
= 0 ;
26847 PyObject
* obj2
= 0 ;
26848 char *kwnames
[] = {
26849 (char *) "self",(char *) "menu",(char *) "pos", NULL
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26859 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26877 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
;
26879 wxWindow
*arg1
= (wxWindow
*) 0 ;
26881 PyObject
* obj0
= 0 ;
26882 char *kwnames
[] = {
26883 (char *) "self", NULL
26886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 result
= (long)wxWindow_GetHandle(arg1
);
26893 wxPyEndAllowThreads(__tstate
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26896 resultobj
= SWIG_FromLong((long)result
);
26903 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxWindow
*arg1
= (wxWindow
*) 0 ;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 char *kwnames
[] = {
26911 (char *) "self",(char *) "orient", NULL
26914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26917 arg2
= (int) SWIG_AsInt(obj1
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26935 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
;
26937 wxWindow
*arg1
= (wxWindow
*) 0 ;
26942 bool arg6
= (bool) True
;
26943 PyObject
* obj0
= 0 ;
26944 PyObject
* obj1
= 0 ;
26945 PyObject
* obj2
= 0 ;
26946 PyObject
* obj3
= 0 ;
26947 PyObject
* obj4
= 0 ;
26948 PyObject
* obj5
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26956 arg2
= (int) SWIG_AsInt(obj1
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26958 arg3
= (int) SWIG_AsInt(obj2
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26960 arg4
= (int) SWIG_AsInt(obj3
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26962 arg5
= (int) SWIG_AsInt(obj4
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26965 arg6
= (bool) SWIG_AsBool(obj5
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26975 Py_INCREF(Py_None
); resultobj
= Py_None
;
26982 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
;
26984 wxWindow
*arg1
= (wxWindow
*) 0 ;
26987 bool arg4
= (bool) True
;
26988 PyObject
* obj0
= 0 ;
26989 PyObject
* obj1
= 0 ;
26990 PyObject
* obj2
= 0 ;
26991 PyObject
* obj3
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26999 arg2
= (int) SWIG_AsInt(obj1
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27001 arg3
= (int) SWIG_AsInt(obj2
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 arg4
= (bool) SWIG_AsBool(obj3
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 Py_INCREF(Py_None
); resultobj
= Py_None
;
27021 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
;
27023 wxWindow
*arg1
= (wxWindow
*) 0 ;
27026 PyObject
* obj0
= 0 ;
27027 PyObject
* obj1
= 0 ;
27028 char *kwnames
[] = {
27029 (char *) "self",(char *) "orientation", NULL
27032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27035 arg2
= (int) SWIG_AsInt(obj1
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= SWIG_FromInt((int)result
);
27051 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
;
27053 wxWindow
*arg1
= (wxWindow
*) 0 ;
27056 PyObject
* obj0
= 0 ;
27057 PyObject
* obj1
= 0 ;
27058 char *kwnames
[] = {
27059 (char *) "self",(char *) "orientation", NULL
27062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27065 arg2
= (int) SWIG_AsInt(obj1
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27074 resultobj
= SWIG_FromInt((int)result
);
27081 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27082 PyObject
*resultobj
;
27083 wxWindow
*arg1
= (wxWindow
*) 0 ;
27086 PyObject
* obj0
= 0 ;
27087 PyObject
* obj1
= 0 ;
27088 char *kwnames
[] = {
27089 (char *) "self",(char *) "orientation", NULL
27092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27095 arg2
= (int) SWIG_AsInt(obj1
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= SWIG_FromInt((int)result
);
27111 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
;
27113 wxWindow
*arg1
= (wxWindow
*) 0 ;
27116 wxRect
*arg4
= (wxRect
*) NULL
;
27117 PyObject
* obj0
= 0 ;
27118 PyObject
* obj1
= 0 ;
27119 PyObject
* obj2
= 0 ;
27120 PyObject
* obj3
= 0 ;
27121 char *kwnames
[] = {
27122 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27128 arg2
= (int) SWIG_AsInt(obj1
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27130 arg3
= (int) SWIG_AsInt(obj2
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27133 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27143 Py_INCREF(Py_None
); resultobj
= Py_None
;
27150 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
;
27152 wxWindow
*arg1
= (wxWindow
*) 0 ;
27155 PyObject
* obj0
= 0 ;
27156 PyObject
* obj1
= 0 ;
27157 char *kwnames
[] = {
27158 (char *) "self",(char *) "lines", NULL
27161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27164 arg2
= (int) SWIG_AsInt(obj1
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 result
= (bool)(arg1
)->ScrollLines(arg2
);
27170 wxPyEndAllowThreads(__tstate
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27182 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27183 PyObject
*resultobj
;
27184 wxWindow
*arg1
= (wxWindow
*) 0 ;
27187 PyObject
* obj0
= 0 ;
27188 PyObject
* obj1
= 0 ;
27189 char *kwnames
[] = {
27190 (char *) "self",(char *) "pages", NULL
27193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27196 arg2
= (int) SWIG_AsInt(obj1
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (bool)(arg1
)->ScrollPages(arg2
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27214 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27215 PyObject
*resultobj
;
27216 wxWindow
*arg1
= (wxWindow
*) 0 ;
27218 PyObject
* obj0
= 0 ;
27219 char *kwnames
[] = {
27220 (char *) "self", NULL
27223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 result
= (bool)(arg1
)->LineUp();
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27242 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27243 PyObject
*resultobj
;
27244 wxWindow
*arg1
= (wxWindow
*) 0 ;
27246 PyObject
* obj0
= 0 ;
27247 char *kwnames
[] = {
27248 (char *) "self", NULL
27251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27256 result
= (bool)(arg1
)->LineDown();
27258 wxPyEndAllowThreads(__tstate
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27270 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27271 PyObject
*resultobj
;
27272 wxWindow
*arg1
= (wxWindow
*) 0 ;
27274 PyObject
* obj0
= 0 ;
27275 char *kwnames
[] = {
27276 (char *) "self", NULL
27279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27284 result
= (bool)(arg1
)->PageUp();
27286 wxPyEndAllowThreads(__tstate
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27298 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
;
27300 wxWindow
*arg1
= (wxWindow
*) 0 ;
27302 PyObject
* obj0
= 0 ;
27303 char *kwnames
[] = {
27304 (char *) "self", NULL
27307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 result
= (bool)(arg1
)->PageDown();
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27326 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27327 PyObject
*resultobj
;
27328 wxWindow
*arg1
= (wxWindow
*) 0 ;
27329 wxString
*arg2
= 0 ;
27330 bool temp2
= False
;
27331 PyObject
* obj0
= 0 ;
27332 PyObject
* obj1
= 0 ;
27333 char *kwnames
[] = {
27334 (char *) "self",(char *) "text", NULL
27337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27341 arg2
= wxString_in_helper(obj1
);
27342 if (arg2
== NULL
) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 Py_INCREF(Py_None
); resultobj
= Py_None
;
27367 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27368 PyObject
*resultobj
;
27369 wxWindow
*arg1
= (wxWindow
*) 0 ;
27370 wxString
*arg2
= 0 ;
27371 bool temp2
= False
;
27372 PyObject
* obj0
= 0 ;
27373 PyObject
* obj1
= 0 ;
27374 char *kwnames
[] = {
27375 (char *) "self",(char *) "text", NULL
27378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27382 arg2
= wxString_in_helper(obj1
);
27383 if (arg2
== NULL
) SWIG_fail
;
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27393 Py_INCREF(Py_None
); resultobj
= Py_None
;
27408 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27409 PyObject
*resultobj
;
27410 wxWindow
*arg1
= (wxWindow
*) 0 ;
27412 PyObject
* obj0
= 0 ;
27413 char *kwnames
[] = {
27414 (char *) "self", NULL
27417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27440 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27441 PyObject
*resultobj
;
27442 wxWindow
*arg1
= (wxWindow
*) 0 ;
27443 wxString
*arg2
= 0 ;
27444 bool temp2
= False
;
27445 PyObject
* obj0
= 0 ;
27446 PyObject
* obj1
= 0 ;
27447 char *kwnames
[] = {
27448 (char *) "self",(char *) "tip", NULL
27451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27455 arg2
= wxString_in_helper(obj1
);
27456 if (arg2
== NULL
) SWIG_fail
;
27460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27461 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27463 wxPyEndAllowThreads(__tstate
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27466 Py_INCREF(Py_None
); resultobj
= Py_None
;
27481 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
;
27483 wxWindow
*arg1
= (wxWindow
*) 0 ;
27484 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27485 PyObject
* obj0
= 0 ;
27486 PyObject
* obj1
= 0 ;
27487 char *kwnames
[] = {
27488 (char *) "self",(char *) "tip", NULL
27491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27498 (arg1
)->SetToolTip(arg2
);
27500 wxPyEndAllowThreads(__tstate
);
27501 if (PyErr_Occurred()) SWIG_fail
;
27503 Py_INCREF(Py_None
); resultobj
= Py_None
;
27510 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27511 PyObject
*resultobj
;
27512 wxWindow
*arg1
= (wxWindow
*) 0 ;
27514 PyObject
* obj0
= 0 ;
27515 char *kwnames
[] = {
27516 (char *) "self", NULL
27519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27524 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= wxPyMake_wxObject(result
);
27538 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
;
27540 wxWindow
*arg1
= (wxWindow
*) 0 ;
27541 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27542 PyObject
* obj0
= 0 ;
27543 PyObject
* obj1
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self",(char *) "dropTarget", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27552 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 (arg1
)->SetDropTarget(arg2
);
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 Py_INCREF(Py_None
); resultobj
= Py_None
;
27567 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxWindow
*arg1
= (wxWindow
*) 0 ;
27570 wxPyDropTarget
*result
;
27571 PyObject
* obj0
= 0 ;
27572 char *kwnames
[] = {
27573 (char *) "self", NULL
27576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27593 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxWindow
*arg1
= (wxWindow
*) 0 ;
27596 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27597 PyObject
* obj0
= 0 ;
27598 PyObject
* obj1
= 0 ;
27599 char *kwnames
[] = {
27600 (char *) "self",(char *) "constraints", NULL
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 (arg1
)->SetConstraints(arg2
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 Py_INCREF(Py_None
); resultobj
= Py_None
;
27622 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27623 PyObject
*resultobj
;
27624 wxWindow
*arg1
= (wxWindow
*) 0 ;
27625 wxLayoutConstraints
*result
;
27626 PyObject
* obj0
= 0 ;
27627 char *kwnames
[] = {
27628 (char *) "self", NULL
27631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27636 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27648 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
;
27650 wxWindow
*arg1
= (wxWindow
*) 0 ;
27652 PyObject
* obj0
= 0 ;
27653 PyObject
* obj1
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "self",(char *) "autoLayout", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 arg2
= (bool) SWIG_AsBool(obj1
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 (arg1
)->SetAutoLayout(arg2
);
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27670 Py_INCREF(Py_None
); resultobj
= Py_None
;
27677 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
;
27679 wxWindow
*arg1
= (wxWindow
*) 0 ;
27681 PyObject
* obj0
= 0 ;
27682 char *kwnames
[] = {
27683 (char *) "self", NULL
27686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27705 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27706 PyObject
*resultobj
;
27707 wxWindow
*arg1
= (wxWindow
*) 0 ;
27709 PyObject
* obj0
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 result
= (bool)(arg1
)->Layout();
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27733 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27734 PyObject
*resultobj
;
27735 wxWindow
*arg1
= (wxWindow
*) 0 ;
27736 wxSizer
*arg2
= (wxSizer
*) 0 ;
27737 bool arg3
= (bool) True
;
27738 PyObject
* obj0
= 0 ;
27739 PyObject
* obj1
= 0 ;
27740 PyObject
* obj2
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27751 arg3
= (bool) SWIG_AsBool(obj2
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27756 (arg1
)->SetSizer(arg2
,arg3
);
27758 wxPyEndAllowThreads(__tstate
);
27759 if (PyErr_Occurred()) SWIG_fail
;
27761 Py_INCREF(Py_None
); resultobj
= Py_None
;
27768 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27769 PyObject
*resultobj
;
27770 wxWindow
*arg1
= (wxWindow
*) 0 ;
27771 wxSizer
*arg2
= (wxSizer
*) 0 ;
27772 bool arg3
= (bool) True
;
27773 PyObject
* obj0
= 0 ;
27774 PyObject
* obj1
= 0 ;
27775 PyObject
* obj2
= 0 ;
27776 char *kwnames
[] = {
27777 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27786 arg3
= (bool) SWIG_AsBool(obj2
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27791 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27793 wxPyEndAllowThreads(__tstate
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27796 Py_INCREF(Py_None
); resultobj
= Py_None
;
27803 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27804 PyObject
*resultobj
;
27805 wxWindow
*arg1
= (wxWindow
*) 0 ;
27807 PyObject
* obj0
= 0 ;
27808 char *kwnames
[] = {
27809 (char *) "self", NULL
27812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27819 wxPyEndAllowThreads(__tstate
);
27820 if (PyErr_Occurred()) SWIG_fail
;
27823 resultobj
= wxPyMake_wxSizer(result
);
27831 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27832 PyObject
*resultobj
;
27833 wxWindow
*arg1
= (wxWindow
*) 0 ;
27834 wxSizer
*arg2
= (wxSizer
*) 0 ;
27835 PyObject
* obj0
= 0 ;
27836 PyObject
* obj1
= 0 ;
27837 char *kwnames
[] = {
27838 (char *) "self",(char *) "sizer", NULL
27841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27848 (arg1
)->SetContainingSizer(arg2
);
27850 wxPyEndAllowThreads(__tstate
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27853 Py_INCREF(Py_None
); resultobj
= Py_None
;
27860 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27861 PyObject
*resultobj
;
27862 wxWindow
*arg1
= (wxWindow
*) 0 ;
27864 PyObject
* obj0
= 0 ;
27865 char *kwnames
[] = {
27866 (char *) "self", NULL
27869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27874 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27876 wxPyEndAllowThreads(__tstate
);
27877 if (PyErr_Occurred()) SWIG_fail
;
27880 resultobj
= wxPyMake_wxSizer(result
);
27888 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27889 PyObject
*resultobj
;
27890 wxWindow
*arg1
= (wxWindow
*) 0 ;
27891 PyObject
* obj0
= 0 ;
27892 char *kwnames
[] = {
27893 (char *) "self", NULL
27896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
27897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27901 (arg1
)->InheritAttributes();
27903 wxPyEndAllowThreads(__tstate
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27906 Py_INCREF(Py_None
); resultobj
= Py_None
;
27913 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27914 PyObject
*resultobj
;
27915 wxWindow
*arg1
= (wxWindow
*) 0 ;
27917 PyObject
* obj0
= 0 ;
27918 char *kwnames
[] = {
27919 (char *) "self", NULL
27922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
27923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27941 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
27943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27944 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27946 return Py_BuildValue((char *)"");
27948 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27949 PyObject
*resultobj
;
27951 wxWindow
*arg2
= (wxWindow
*) NULL
;
27953 PyObject
* obj0
= 0 ;
27954 PyObject
* obj1
= 0 ;
27955 char *kwnames
[] = {
27956 (char *) "id",(char *) "parent", NULL
27959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27960 arg1
= (long) SWIG_AsLong(obj0
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
27970 wxPyEndAllowThreads(__tstate
);
27971 if (PyErr_Occurred()) SWIG_fail
;
27974 resultobj
= wxPyMake_wxObject(result
);
27982 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27983 PyObject
*resultobj
;
27984 wxString
*arg1
= 0 ;
27985 wxWindow
*arg2
= (wxWindow
*) NULL
;
27987 bool temp1
= False
;
27988 PyObject
* obj0
= 0 ;
27989 PyObject
* obj1
= 0 ;
27990 char *kwnames
[] = {
27991 (char *) "name",(char *) "parent", NULL
27994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27996 arg1
= wxString_in_helper(obj0
);
27997 if (arg1
== NULL
) SWIG_fail
;
28001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28006 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28008 wxPyEndAllowThreads(__tstate
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28012 resultobj
= wxPyMake_wxObject(result
);
28028 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28029 PyObject
*resultobj
;
28030 wxString
*arg1
= 0 ;
28031 wxWindow
*arg2
= (wxWindow
*) NULL
;
28033 bool temp1
= False
;
28034 PyObject
* obj0
= 0 ;
28035 PyObject
* obj1
= 0 ;
28036 char *kwnames
[] = {
28037 (char *) "label",(char *) "parent", NULL
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28042 arg1
= wxString_in_helper(obj0
);
28043 if (arg1
== NULL
) SWIG_fail
;
28047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28052 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28058 resultobj
= wxPyMake_wxObject(result
);
28074 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28075 PyObject
*resultobj
;
28076 wxWindow
*arg1
= (wxWindow
*) 0 ;
28077 unsigned long arg2
;
28079 PyObject
* obj0
= 0 ;
28080 PyObject
* obj1
= 0 ;
28081 char *kwnames
[] = {
28082 (char *) "parent",(char *) "_hWnd", NULL
28085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28088 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28098 resultobj
= wxPyMake_wxObject(result
);
28106 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28107 PyObject
*resultobj
;
28108 wxValidator
*result
;
28109 char *kwnames
[] = {
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28116 result
= (wxValidator
*)new wxValidator();
28118 wxPyEndAllowThreads(__tstate
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28122 resultobj
= wxPyMake_wxObject(result
);
28130 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28131 PyObject
*resultobj
;
28132 wxValidator
*arg1
= (wxValidator
*) 0 ;
28133 wxValidator
*result
;
28134 PyObject
* obj0
= 0 ;
28135 char *kwnames
[] = {
28136 (char *) "self", NULL
28139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28144 result
= (wxValidator
*)(arg1
)->Clone();
28146 wxPyEndAllowThreads(__tstate
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28150 resultobj
= wxPyMake_wxObject(result
);
28158 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28159 PyObject
*resultobj
;
28160 wxValidator
*arg1
= (wxValidator
*) 0 ;
28161 wxWindow
*arg2
= (wxWindow
*) 0 ;
28163 PyObject
* obj0
= 0 ;
28164 PyObject
* obj1
= 0 ;
28165 char *kwnames
[] = {
28166 (char *) "self",(char *) "parent", NULL
28169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 result
= (bool)(arg1
)->Validate(arg2
);
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28190 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28191 PyObject
*resultobj
;
28192 wxValidator
*arg1
= (wxValidator
*) 0 ;
28194 PyObject
* obj0
= 0 ;
28195 char *kwnames
[] = {
28196 (char *) "self", NULL
28199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28204 result
= (bool)(arg1
)->TransferToWindow();
28206 wxPyEndAllowThreads(__tstate
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28218 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28219 PyObject
*resultobj
;
28220 wxValidator
*arg1
= (wxValidator
*) 0 ;
28222 PyObject
* obj0
= 0 ;
28223 char *kwnames
[] = {
28224 (char *) "self", NULL
28227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28232 result
= (bool)(arg1
)->TransferFromWindow();
28234 wxPyEndAllowThreads(__tstate
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28246 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28247 PyObject
*resultobj
;
28248 wxValidator
*arg1
= (wxValidator
*) 0 ;
28250 PyObject
* obj0
= 0 ;
28251 char *kwnames
[] = {
28252 (char *) "self", NULL
28255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28260 result
= (wxWindow
*)(arg1
)->GetWindow();
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28266 resultobj
= wxPyMake_wxObject(result
);
28274 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28275 PyObject
*resultobj
;
28276 wxValidator
*arg1
= (wxValidator
*) 0 ;
28277 wxWindow
*arg2
= (wxWindow
*) 0 ;
28278 PyObject
* obj0
= 0 ;
28279 PyObject
* obj1
= 0 ;
28280 char *kwnames
[] = {
28281 (char *) "self",(char *) "window", NULL
28284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28291 (arg1
)->SetWindow(arg2
);
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28296 Py_INCREF(Py_None
); resultobj
= Py_None
;
28303 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28304 PyObject
*resultobj
;
28306 char *kwnames
[] = {
28310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28313 result
= (bool)wxValidator::IsSilent();
28315 wxPyEndAllowThreads(__tstate
);
28316 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28327 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
;
28329 int arg1
= (int) True
;
28330 PyObject
* obj0
= 0 ;
28331 char *kwnames
[] = {
28332 (char *) "doIt", NULL
28335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28337 arg1
= (int) SWIG_AsInt(obj0
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 wxValidator::SetBellOnError(arg1
);
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28347 Py_INCREF(Py_None
); resultobj
= Py_None
;
28354 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28357 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28359 return Py_BuildValue((char *)"");
28361 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxPyValidator
*result
;
28364 char *kwnames
[] = {
28368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28371 result
= (wxPyValidator
*)new wxPyValidator();
28373 wxPyEndAllowThreads(__tstate
);
28374 if (PyErr_Occurred()) SWIG_fail
;
28376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28383 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28384 PyObject
*resultobj
;
28385 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28386 PyObject
*arg2
= (PyObject
*) 0 ;
28387 PyObject
*arg3
= (PyObject
*) 0 ;
28388 int arg4
= (int) True
;
28389 PyObject
* obj0
= 0 ;
28390 PyObject
* obj1
= 0 ;
28391 PyObject
* obj2
= 0 ;
28392 PyObject
* obj3
= 0 ;
28393 char *kwnames
[] = {
28394 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28403 arg4
= (int) SWIG_AsInt(obj3
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28408 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28410 wxPyEndAllowThreads(__tstate
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28413 Py_INCREF(Py_None
); resultobj
= Py_None
;
28420 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28423 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28425 return Py_BuildValue((char *)"");
28427 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28428 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28433 static PyObject
*_wrap_DefaultValidator_get() {
28436 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28441 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28442 PyObject
*resultobj
;
28443 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28444 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28445 long arg2
= (long) 0 ;
28447 bool temp1
= False
;
28448 PyObject
* obj0
= 0 ;
28449 PyObject
* obj1
= 0 ;
28450 char *kwnames
[] = {
28451 (char *) "title",(char *) "style", NULL
28454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28457 arg1
= wxString_in_helper(obj0
);
28458 if (arg1
== NULL
) SWIG_fail
;
28463 arg2
= (long) SWIG_AsLong(obj1
);
28464 if (PyErr_Occurred()) SWIG_fail
;
28467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28468 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28470 wxPyEndAllowThreads(__tstate
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28474 resultobj
= wxPyMake_wxObject(result
);
28490 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28491 PyObject
*resultobj
;
28492 wxMenu
*arg1
= (wxMenu
*) 0 ;
28494 wxString
*arg3
= 0 ;
28495 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28496 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28497 int arg5
= (int) wxITEM_NORMAL
;
28498 wxMenuItem
*result
;
28499 bool temp3
= False
;
28500 bool temp4
= False
;
28501 PyObject
* obj0
= 0 ;
28502 PyObject
* obj1
= 0 ;
28503 PyObject
* obj2
= 0 ;
28504 PyObject
* obj3
= 0 ;
28505 PyObject
* obj4
= 0 ;
28506 char *kwnames
[] = {
28507 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28513 arg2
= (int) SWIG_AsInt(obj1
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28516 arg3
= wxString_in_helper(obj2
);
28517 if (arg3
== NULL
) SWIG_fail
;
28522 arg4
= wxString_in_helper(obj3
);
28523 if (arg4
== NULL
) SWIG_fail
;
28528 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28529 if (PyErr_Occurred()) SWIG_fail
;
28532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28533 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28535 wxPyEndAllowThreads(__tstate
);
28536 if (PyErr_Occurred()) SWIG_fail
;
28539 resultobj
= wxPyMake_wxObject(result
);
28563 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
;
28565 wxMenu
*arg1
= (wxMenu
*) 0 ;
28566 wxMenuItem
*result
;
28567 PyObject
* obj0
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28583 resultobj
= wxPyMake_wxObject(result
);
28591 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxMenu
*arg1
= (wxMenu
*) 0 ;
28595 wxString
*arg3
= 0 ;
28596 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28597 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28598 wxMenuItem
*result
;
28599 bool temp3
= False
;
28600 bool temp4
= False
;
28601 PyObject
* obj0
= 0 ;
28602 PyObject
* obj1
= 0 ;
28603 PyObject
* obj2
= 0 ;
28604 PyObject
* obj3
= 0 ;
28605 char *kwnames
[] = {
28606 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28612 arg2
= (int) SWIG_AsInt(obj1
);
28613 if (PyErr_Occurred()) SWIG_fail
;
28615 arg3
= wxString_in_helper(obj2
);
28616 if (arg3
== NULL
) SWIG_fail
;
28621 arg4
= wxString_in_helper(obj3
);
28622 if (arg4
== NULL
) SWIG_fail
;
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28634 resultobj
= wxPyMake_wxObject(result
);
28658 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28659 PyObject
*resultobj
;
28660 wxMenu
*arg1
= (wxMenu
*) 0 ;
28662 wxString
*arg3
= 0 ;
28663 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28664 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28665 wxMenuItem
*result
;
28666 bool temp3
= False
;
28667 bool temp4
= False
;
28668 PyObject
* obj0
= 0 ;
28669 PyObject
* obj1
= 0 ;
28670 PyObject
* obj2
= 0 ;
28671 PyObject
* obj3
= 0 ;
28672 char *kwnames
[] = {
28673 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28679 arg2
= (int) SWIG_AsInt(obj1
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28682 arg3
= wxString_in_helper(obj2
);
28683 if (arg3
== NULL
) SWIG_fail
;
28688 arg4
= wxString_in_helper(obj3
);
28689 if (arg4
== NULL
) SWIG_fail
;
28694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28695 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28697 wxPyEndAllowThreads(__tstate
);
28698 if (PyErr_Occurred()) SWIG_fail
;
28701 resultobj
= wxPyMake_wxObject(result
);
28725 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28726 PyObject
*resultobj
;
28727 wxMenu
*arg1
= (wxMenu
*) 0 ;
28729 wxString
*arg3
= 0 ;
28730 wxMenu
*arg4
= (wxMenu
*) 0 ;
28731 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28732 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28733 wxMenuItem
*result
;
28734 bool temp3
= False
;
28735 bool temp5
= False
;
28736 PyObject
* obj0
= 0 ;
28737 PyObject
* obj1
= 0 ;
28738 PyObject
* obj2
= 0 ;
28739 PyObject
* obj3
= 0 ;
28740 PyObject
* obj4
= 0 ;
28741 char *kwnames
[] = {
28742 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28748 arg2
= (int) SWIG_AsInt(obj1
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28751 arg3
= wxString_in_helper(obj2
);
28752 if (arg3
== NULL
) SWIG_fail
;
28755 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28759 arg5
= wxString_in_helper(obj4
);
28760 if (arg5
== NULL
) SWIG_fail
;
28765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28766 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28768 wxPyEndAllowThreads(__tstate
);
28769 if (PyErr_Occurred()) SWIG_fail
;
28772 resultobj
= wxPyMake_wxObject(result
);
28796 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28797 PyObject
*resultobj
;
28798 wxMenu
*arg1
= (wxMenu
*) 0 ;
28799 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28800 wxMenuItem
*result
;
28801 PyObject
* obj0
= 0 ;
28802 PyObject
* obj1
= 0 ;
28803 char *kwnames
[] = {
28804 (char *) "self",(char *) "item", NULL
28807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28820 resultobj
= wxPyMake_wxObject(result
);
28828 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28829 PyObject
*resultobj
;
28830 wxMenu
*arg1
= (wxMenu
*) 0 ;
28831 PyObject
* obj0
= 0 ;
28832 char *kwnames
[] = {
28833 (char *) "self", NULL
28836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 Py_INCREF(Py_None
); resultobj
= Py_None
;
28853 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28854 PyObject
*resultobj
;
28855 wxMenu
*arg1
= (wxMenu
*) 0 ;
28857 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28858 wxMenuItem
*result
;
28859 PyObject
* obj0
= 0 ;
28860 PyObject
* obj1
= 0 ;
28861 PyObject
* obj2
= 0 ;
28862 char *kwnames
[] = {
28863 (char *) "self",(char *) "pos",(char *) "item", NULL
28866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28869 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28871 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= wxPyMake_wxObject(result
);
28889 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28890 PyObject
*resultobj
;
28891 wxMenu
*arg1
= (wxMenu
*) 0 ;
28894 wxString
*arg4
= 0 ;
28895 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28896 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28897 int arg6
= (int) wxITEM_NORMAL
;
28898 wxMenuItem
*result
;
28899 bool temp4
= False
;
28900 bool temp5
= False
;
28901 PyObject
* obj0
= 0 ;
28902 PyObject
* obj1
= 0 ;
28903 PyObject
* obj2
= 0 ;
28904 PyObject
* obj3
= 0 ;
28905 PyObject
* obj4
= 0 ;
28906 PyObject
* obj5
= 0 ;
28907 char *kwnames
[] = {
28908 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28914 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28916 arg3
= (int) SWIG_AsInt(obj2
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 arg4
= wxString_in_helper(obj3
);
28920 if (arg4
== NULL
) SWIG_fail
;
28925 arg5
= wxString_in_helper(obj4
);
28926 if (arg5
== NULL
) SWIG_fail
;
28931 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28932 if (PyErr_Occurred()) SWIG_fail
;
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28936 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28942 resultobj
= wxPyMake_wxObject(result
);
28966 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28967 PyObject
*resultobj
;
28968 wxMenu
*arg1
= (wxMenu
*) 0 ;
28970 wxMenuItem
*result
;
28971 PyObject
* obj0
= 0 ;
28972 PyObject
* obj1
= 0 ;
28973 char *kwnames
[] = {
28974 (char *) "self",(char *) "pos", NULL
28977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
28978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28980 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28981 if (PyErr_Occurred()) SWIG_fail
;
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28990 resultobj
= wxPyMake_wxObject(result
);
28998 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28999 PyObject
*resultobj
;
29000 wxMenu
*arg1
= (wxMenu
*) 0 ;
29003 wxString
*arg4
= 0 ;
29004 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29005 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29006 wxMenuItem
*result
;
29007 bool temp4
= False
;
29008 bool temp5
= False
;
29009 PyObject
* obj0
= 0 ;
29010 PyObject
* obj1
= 0 ;
29011 PyObject
* obj2
= 0 ;
29012 PyObject
* obj3
= 0 ;
29013 PyObject
* obj4
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29021 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29022 if (PyErr_Occurred()) SWIG_fail
;
29023 arg3
= (int) SWIG_AsInt(obj2
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 arg4
= wxString_in_helper(obj3
);
29027 if (arg4
== NULL
) SWIG_fail
;
29032 arg5
= wxString_in_helper(obj4
);
29033 if (arg5
== NULL
) SWIG_fail
;
29038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29039 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29045 resultobj
= wxPyMake_wxObject(result
);
29069 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxMenu
*arg1
= (wxMenu
*) 0 ;
29074 wxString
*arg4
= 0 ;
29075 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29076 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29077 wxMenuItem
*result
;
29078 bool temp4
= False
;
29079 bool temp5
= False
;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 PyObject
* obj2
= 0 ;
29083 PyObject
* obj3
= 0 ;
29084 PyObject
* obj4
= 0 ;
29085 char *kwnames
[] = {
29086 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29092 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29094 arg3
= (int) SWIG_AsInt(obj2
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29097 arg4
= wxString_in_helper(obj3
);
29098 if (arg4
== NULL
) SWIG_fail
;
29103 arg5
= wxString_in_helper(obj4
);
29104 if (arg5
== NULL
) SWIG_fail
;
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= wxPyMake_wxObject(result
);
29140 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29141 PyObject
*resultobj
;
29142 wxMenu
*arg1
= (wxMenu
*) 0 ;
29145 wxString
*arg4
= 0 ;
29146 wxMenu
*arg5
= (wxMenu
*) 0 ;
29147 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29148 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29149 wxMenuItem
*result
;
29150 bool temp4
= False
;
29151 bool temp6
= False
;
29152 PyObject
* obj0
= 0 ;
29153 PyObject
* obj1
= 0 ;
29154 PyObject
* obj2
= 0 ;
29155 PyObject
* obj3
= 0 ;
29156 PyObject
* obj4
= 0 ;
29157 PyObject
* obj5
= 0 ;
29158 char *kwnames
[] = {
29159 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29165 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29167 arg3
= (int) SWIG_AsInt(obj2
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29170 arg4
= wxString_in_helper(obj3
);
29171 if (arg4
== NULL
) SWIG_fail
;
29174 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29178 arg6
= wxString_in_helper(obj5
);
29179 if (arg6
== NULL
) SWIG_fail
;
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29191 resultobj
= wxPyMake_wxObject(result
);
29215 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
;
29217 wxMenu
*arg1
= (wxMenu
*) 0 ;
29218 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29219 wxMenuItem
*result
;
29220 PyObject
* obj0
= 0 ;
29221 PyObject
* obj1
= 0 ;
29222 char *kwnames
[] = {
29223 (char *) "self",(char *) "item", NULL
29226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29233 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29235 wxPyEndAllowThreads(__tstate
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29239 resultobj
= wxPyMake_wxObject(result
);
29247 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29248 PyObject
*resultobj
;
29249 wxMenu
*arg1
= (wxMenu
*) 0 ;
29251 wxString
*arg3
= 0 ;
29252 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29253 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29254 int arg5
= (int) wxITEM_NORMAL
;
29255 wxMenuItem
*result
;
29256 bool temp3
= False
;
29257 bool temp4
= False
;
29258 PyObject
* obj0
= 0 ;
29259 PyObject
* obj1
= 0 ;
29260 PyObject
* obj2
= 0 ;
29261 PyObject
* obj3
= 0 ;
29262 PyObject
* obj4
= 0 ;
29263 char *kwnames
[] = {
29264 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29270 arg2
= (int) SWIG_AsInt(obj1
);
29271 if (PyErr_Occurred()) SWIG_fail
;
29273 arg3
= wxString_in_helper(obj2
);
29274 if (arg3
== NULL
) SWIG_fail
;
29279 arg4
= wxString_in_helper(obj3
);
29280 if (arg4
== NULL
) SWIG_fail
;
29285 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29290 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29292 wxPyEndAllowThreads(__tstate
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29296 resultobj
= wxPyMake_wxObject(result
);
29320 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
;
29322 wxMenu
*arg1
= (wxMenu
*) 0 ;
29323 wxMenuItem
*result
;
29324 PyObject
* obj0
= 0 ;
29325 char *kwnames
[] = {
29326 (char *) "self", NULL
29329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29336 wxPyEndAllowThreads(__tstate
);
29337 if (PyErr_Occurred()) SWIG_fail
;
29340 resultobj
= wxPyMake_wxObject(result
);
29348 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29349 PyObject
*resultobj
;
29350 wxMenu
*arg1
= (wxMenu
*) 0 ;
29352 wxString
*arg3
= 0 ;
29353 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29354 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29355 wxMenuItem
*result
;
29356 bool temp3
= False
;
29357 bool temp4
= False
;
29358 PyObject
* obj0
= 0 ;
29359 PyObject
* obj1
= 0 ;
29360 PyObject
* obj2
= 0 ;
29361 PyObject
* obj3
= 0 ;
29362 char *kwnames
[] = {
29363 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29369 arg2
= (int) SWIG_AsInt(obj1
);
29370 if (PyErr_Occurred()) SWIG_fail
;
29372 arg3
= wxString_in_helper(obj2
);
29373 if (arg3
== NULL
) SWIG_fail
;
29378 arg4
= wxString_in_helper(obj3
);
29379 if (arg4
== NULL
) SWIG_fail
;
29384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29385 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29387 wxPyEndAllowThreads(__tstate
);
29388 if (PyErr_Occurred()) SWIG_fail
;
29391 resultobj
= wxPyMake_wxObject(result
);
29415 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29416 PyObject
*resultobj
;
29417 wxMenu
*arg1
= (wxMenu
*) 0 ;
29419 wxString
*arg3
= 0 ;
29420 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29421 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29422 wxMenuItem
*result
;
29423 bool temp3
= False
;
29424 bool temp4
= False
;
29425 PyObject
* obj0
= 0 ;
29426 PyObject
* obj1
= 0 ;
29427 PyObject
* obj2
= 0 ;
29428 PyObject
* obj3
= 0 ;
29429 char *kwnames
[] = {
29430 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29436 arg2
= (int) SWIG_AsInt(obj1
);
29437 if (PyErr_Occurred()) SWIG_fail
;
29439 arg3
= wxString_in_helper(obj2
);
29440 if (arg3
== NULL
) SWIG_fail
;
29445 arg4
= wxString_in_helper(obj3
);
29446 if (arg4
== NULL
) SWIG_fail
;
29451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29452 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29454 wxPyEndAllowThreads(__tstate
);
29455 if (PyErr_Occurred()) SWIG_fail
;
29458 resultobj
= wxPyMake_wxObject(result
);
29482 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
;
29484 wxMenu
*arg1
= (wxMenu
*) 0 ;
29486 wxString
*arg3
= 0 ;
29487 wxMenu
*arg4
= (wxMenu
*) 0 ;
29488 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29489 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29490 wxMenuItem
*result
;
29491 bool temp3
= False
;
29492 bool temp5
= False
;
29493 PyObject
* obj0
= 0 ;
29494 PyObject
* obj1
= 0 ;
29495 PyObject
* obj2
= 0 ;
29496 PyObject
* obj3
= 0 ;
29497 PyObject
* obj4
= 0 ;
29498 char *kwnames
[] = {
29499 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29505 arg2
= (int) SWIG_AsInt(obj1
);
29506 if (PyErr_Occurred()) SWIG_fail
;
29508 arg3
= wxString_in_helper(obj2
);
29509 if (arg3
== NULL
) SWIG_fail
;
29512 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29516 arg5
= wxString_in_helper(obj4
);
29517 if (arg5
== NULL
) SWIG_fail
;
29522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29523 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29525 wxPyEndAllowThreads(__tstate
);
29526 if (PyErr_Occurred()) SWIG_fail
;
29529 resultobj
= wxPyMake_wxObject(result
);
29553 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29554 PyObject
*resultobj
;
29555 wxMenu
*arg1
= (wxMenu
*) 0 ;
29557 wxMenuItem
*result
;
29558 PyObject
* obj0
= 0 ;
29559 PyObject
* obj1
= 0 ;
29560 char *kwnames
[] = {
29561 (char *) "self",(char *) "id", NULL
29564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29567 arg2
= (int) SWIG_AsInt(obj1
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29571 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29573 wxPyEndAllowThreads(__tstate
);
29574 if (PyErr_Occurred()) SWIG_fail
;
29577 resultobj
= wxPyMake_wxObject(result
);
29585 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29586 PyObject
*resultobj
;
29587 wxMenu
*arg1
= (wxMenu
*) 0 ;
29588 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29589 wxMenuItem
*result
;
29590 PyObject
* obj0
= 0 ;
29591 PyObject
* obj1
= 0 ;
29592 char *kwnames
[] = {
29593 (char *) "self",(char *) "item", NULL
29596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29603 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29605 wxPyEndAllowThreads(__tstate
);
29606 if (PyErr_Occurred()) SWIG_fail
;
29609 resultobj
= wxPyMake_wxObject(result
);
29617 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29618 PyObject
*resultobj
;
29619 wxMenu
*arg1
= (wxMenu
*) 0 ;
29622 PyObject
* obj0
= 0 ;
29623 PyObject
* obj1
= 0 ;
29624 char *kwnames
[] = {
29625 (char *) "self",(char *) "id", NULL
29628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29631 arg2
= (int) SWIG_AsInt(obj1
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29635 result
= (bool)(arg1
)->Delete(arg2
);
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29649 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29650 PyObject
*resultobj
;
29651 wxMenu
*arg1
= (wxMenu
*) 0 ;
29652 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29654 PyObject
* obj0
= 0 ;
29655 PyObject
* obj1
= 0 ;
29656 char *kwnames
[] = {
29657 (char *) "self",(char *) "item", NULL
29660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29667 result
= (bool)(arg1
)->Delete(arg2
);
29669 wxPyEndAllowThreads(__tstate
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29681 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29682 PyObject
*resultobj
;
29683 wxMenu
*arg1
= (wxMenu
*) 0 ;
29684 PyObject
* obj0
= 0 ;
29685 char *kwnames
[] = {
29686 (char *) "self", NULL
29689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29694 wxMenu_Destroy(arg1
);
29696 wxPyEndAllowThreads(__tstate
);
29697 if (PyErr_Occurred()) SWIG_fail
;
29699 Py_INCREF(Py_None
); resultobj
= Py_None
;
29706 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29707 PyObject
*resultobj
;
29708 wxMenu
*arg1
= (wxMenu
*) 0 ;
29711 PyObject
* obj0
= 0 ;
29712 PyObject
* obj1
= 0 ;
29713 char *kwnames
[] = {
29714 (char *) "self",(char *) "id", NULL
29717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29720 arg2
= (int) SWIG_AsInt(obj1
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 result
= (bool)(arg1
)->Destroy(arg2
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29738 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29739 PyObject
*resultobj
;
29740 wxMenu
*arg1
= (wxMenu
*) 0 ;
29741 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29743 PyObject
* obj0
= 0 ;
29744 PyObject
* obj1
= 0 ;
29745 char *kwnames
[] = {
29746 (char *) "self",(char *) "item", NULL
29749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29756 result
= (bool)(arg1
)->Destroy(arg2
);
29758 wxPyEndAllowThreads(__tstate
);
29759 if (PyErr_Occurred()) SWIG_fail
;
29762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29770 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29771 PyObject
*resultobj
;
29772 wxMenu
*arg1
= (wxMenu
*) 0 ;
29774 PyObject
* obj0
= 0 ;
29775 char *kwnames
[] = {
29776 (char *) "self", NULL
29779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29784 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29796 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29797 PyObject
*resultobj
;
29798 wxMenu
*arg1
= (wxMenu
*) 0 ;
29800 PyObject
* obj0
= 0 ;
29801 char *kwnames
[] = {
29802 (char *) "self", NULL
29805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29815 resultobj
= result
;
29822 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29823 PyObject
*resultobj
;
29824 wxMenu
*arg1
= (wxMenu
*) 0 ;
29825 wxString
*arg2
= 0 ;
29827 bool temp2
= False
;
29828 PyObject
* obj0
= 0 ;
29829 PyObject
* obj1
= 0 ;
29830 char *kwnames
[] = {
29831 (char *) "self",(char *) "item", NULL
29834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29838 arg2
= wxString_in_helper(obj1
);
29839 if (arg2
== NULL
) SWIG_fail
;
29843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29844 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29846 wxPyEndAllowThreads(__tstate
);
29847 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= SWIG_FromInt((int)result
);
29864 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29865 PyObject
*resultobj
;
29866 wxMenu
*arg1
= (wxMenu
*) 0 ;
29868 wxMenuItem
*result
;
29869 PyObject
* obj0
= 0 ;
29870 PyObject
* obj1
= 0 ;
29871 char *kwnames
[] = {
29872 (char *) "self",(char *) "id", NULL
29875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29878 arg2
= (int) SWIG_AsInt(obj1
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29882 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29884 wxPyEndAllowThreads(__tstate
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29888 resultobj
= wxPyMake_wxObject(result
);
29896 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29897 PyObject
*resultobj
;
29898 wxMenu
*arg1
= (wxMenu
*) 0 ;
29900 wxMenuItem
*result
;
29901 PyObject
* obj0
= 0 ;
29902 PyObject
* obj1
= 0 ;
29903 char *kwnames
[] = {
29904 (char *) "self",(char *) "position", NULL
29907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29910 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29914 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29920 resultobj
= wxPyMake_wxObject(result
);
29928 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29929 PyObject
*resultobj
;
29930 wxMenu
*arg1
= (wxMenu
*) 0 ;
29933 PyObject
* obj0
= 0 ;
29934 PyObject
* obj1
= 0 ;
29935 PyObject
* obj2
= 0 ;
29936 char *kwnames
[] = {
29937 (char *) "self",(char *) "id",(char *) "enable", NULL
29940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29943 arg2
= (int) SWIG_AsInt(obj1
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29945 arg3
= (bool) SWIG_AsBool(obj2
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 (arg1
)->Enable(arg2
,arg3
);
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29954 Py_INCREF(Py_None
); resultobj
= Py_None
;
29961 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29962 PyObject
*resultobj
;
29963 wxMenu
*arg1
= (wxMenu
*) 0 ;
29966 PyObject
* obj0
= 0 ;
29967 PyObject
* obj1
= 0 ;
29968 char *kwnames
[] = {
29969 (char *) "self",(char *) "id", NULL
29972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29975 arg2
= (int) SWIG_AsInt(obj1
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29979 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
29981 wxPyEndAllowThreads(__tstate
);
29982 if (PyErr_Occurred()) SWIG_fail
;
29985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29993 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29994 PyObject
*resultobj
;
29995 wxMenu
*arg1
= (wxMenu
*) 0 ;
29998 PyObject
* obj0
= 0 ;
29999 PyObject
* obj1
= 0 ;
30000 PyObject
* obj2
= 0 ;
30001 char *kwnames
[] = {
30002 (char *) "self",(char *) "id",(char *) "check", NULL
30005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30008 arg2
= (int) SWIG_AsInt(obj1
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30010 arg3
= (bool) SWIG_AsBool(obj2
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 (arg1
)->Check(arg2
,arg3
);
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30019 Py_INCREF(Py_None
); resultobj
= Py_None
;
30026 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
;
30028 wxMenu
*arg1
= (wxMenu
*) 0 ;
30031 PyObject
* obj0
= 0 ;
30032 PyObject
* obj1
= 0 ;
30033 char *kwnames
[] = {
30034 (char *) "self",(char *) "id", NULL
30037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30040 arg2
= (int) SWIG_AsInt(obj1
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30058 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30059 PyObject
*resultobj
;
30060 wxMenu
*arg1
= (wxMenu
*) 0 ;
30062 wxString
*arg3
= 0 ;
30063 bool temp3
= False
;
30064 PyObject
* obj0
= 0 ;
30065 PyObject
* obj1
= 0 ;
30066 PyObject
* obj2
= 0 ;
30067 char *kwnames
[] = {
30068 (char *) "self",(char *) "id",(char *) "label", NULL
30071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= wxString_in_helper(obj2
);
30078 if (arg3
== NULL
) SWIG_fail
;
30082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30083 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30085 wxPyEndAllowThreads(__tstate
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30088 Py_INCREF(Py_None
); resultobj
= Py_None
;
30103 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30104 PyObject
*resultobj
;
30105 wxMenu
*arg1
= (wxMenu
*) 0 ;
30108 PyObject
* obj0
= 0 ;
30109 PyObject
* obj1
= 0 ;
30110 char *kwnames
[] = {
30111 (char *) "self",(char *) "id", NULL
30114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30117 arg2
= (int) SWIG_AsInt(obj1
);
30118 if (PyErr_Occurred()) SWIG_fail
;
30120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30121 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30123 wxPyEndAllowThreads(__tstate
);
30124 if (PyErr_Occurred()) SWIG_fail
;
30128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30139 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
;
30141 wxMenu
*arg1
= (wxMenu
*) 0 ;
30143 wxString
*arg3
= 0 ;
30144 bool temp3
= False
;
30145 PyObject
* obj0
= 0 ;
30146 PyObject
* obj1
= 0 ;
30147 PyObject
* obj2
= 0 ;
30148 char *kwnames
[] = {
30149 (char *) "self",(char *) "id",(char *) "helpString", NULL
30152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30155 arg2
= (int) SWIG_AsInt(obj1
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30158 arg3
= wxString_in_helper(obj2
);
30159 if (arg3
== NULL
) SWIG_fail
;
30163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30164 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30166 wxPyEndAllowThreads(__tstate
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30169 Py_INCREF(Py_None
); resultobj
= Py_None
;
30184 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30185 PyObject
*resultobj
;
30186 wxMenu
*arg1
= (wxMenu
*) 0 ;
30189 PyObject
* obj0
= 0 ;
30190 PyObject
* obj1
= 0 ;
30191 char *kwnames
[] = {
30192 (char *) "self",(char *) "id", NULL
30195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30198 arg2
= (int) SWIG_AsInt(obj1
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30202 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30204 wxPyEndAllowThreads(__tstate
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30220 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
;
30222 wxMenu
*arg1
= (wxMenu
*) 0 ;
30223 wxString
*arg2
= 0 ;
30224 bool temp2
= False
;
30225 PyObject
* obj0
= 0 ;
30226 PyObject
* obj1
= 0 ;
30227 char *kwnames
[] = {
30228 (char *) "self",(char *) "title", NULL
30231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30235 arg2
= wxString_in_helper(obj1
);
30236 if (arg2
== NULL
) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 (arg1
)->SetTitle((wxString
const &)*arg2
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30246 Py_INCREF(Py_None
); resultobj
= Py_None
;
30261 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30262 PyObject
*resultobj
;
30263 wxMenu
*arg1
= (wxMenu
*) 0 ;
30265 PyObject
* obj0
= 0 ;
30266 char *kwnames
[] = {
30267 (char *) "self", NULL
30270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 result
= ((wxMenu
const *)arg1
)->GetTitle();
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30293 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30294 PyObject
*resultobj
;
30295 wxMenu
*arg1
= (wxMenu
*) 0 ;
30296 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30297 PyObject
* obj0
= 0 ;
30298 PyObject
* obj1
= 0 ;
30299 char *kwnames
[] = {
30300 (char *) "self",(char *) "handler", NULL
30303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30310 (arg1
)->SetEventHandler(arg2
);
30312 wxPyEndAllowThreads(__tstate
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30315 Py_INCREF(Py_None
); resultobj
= Py_None
;
30322 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30323 PyObject
*resultobj
;
30324 wxMenu
*arg1
= (wxMenu
*) 0 ;
30325 wxEvtHandler
*result
;
30326 PyObject
* obj0
= 0 ;
30327 char *kwnames
[] = {
30328 (char *) "self", NULL
30331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30336 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30338 wxPyEndAllowThreads(__tstate
);
30339 if (PyErr_Occurred()) SWIG_fail
;
30342 resultobj
= wxPyMake_wxObject(result
);
30350 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
;
30352 wxMenu
*arg1
= (wxMenu
*) 0 ;
30353 wxWindow
*arg2
= (wxWindow
*) 0 ;
30354 PyObject
* obj0
= 0 ;
30355 PyObject
* obj1
= 0 ;
30356 char *kwnames
[] = {
30357 (char *) "self",(char *) "win", NULL
30360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30367 (arg1
)->SetInvokingWindow(arg2
);
30369 wxPyEndAllowThreads(__tstate
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30372 Py_INCREF(Py_None
); resultobj
= Py_None
;
30379 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30380 PyObject
*resultobj
;
30381 wxMenu
*arg1
= (wxMenu
*) 0 ;
30383 PyObject
* obj0
= 0 ;
30384 char *kwnames
[] = {
30385 (char *) "self", NULL
30388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30393 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30395 wxPyEndAllowThreads(__tstate
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30399 resultobj
= wxPyMake_wxObject(result
);
30407 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30408 PyObject
*resultobj
;
30409 wxMenu
*arg1
= (wxMenu
*) 0 ;
30411 PyObject
* obj0
= 0 ;
30412 char *kwnames
[] = {
30413 (char *) "self", NULL
30416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30421 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= SWIG_FromLong((long)result
);
30433 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30434 PyObject
*resultobj
;
30435 wxMenu
*arg1
= (wxMenu
*) 0 ;
30436 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30437 PyObject
* obj0
= 0 ;
30438 PyObject
* obj1
= 0 ;
30439 char *kwnames
[] = {
30440 (char *) "self",(char *) "source", NULL
30443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30452 (arg1
)->UpdateUI(arg2
);
30454 wxPyEndAllowThreads(__tstate
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30457 Py_INCREF(Py_None
); resultobj
= Py_None
;
30464 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30465 PyObject
*resultobj
;
30466 wxMenu
*arg1
= (wxMenu
*) 0 ;
30468 PyObject
* obj0
= 0 ;
30469 char *kwnames
[] = {
30470 (char *) "self", NULL
30473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30478 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30480 wxPyEndAllowThreads(__tstate
);
30481 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= wxPyMake_wxObject(result
);
30492 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30493 PyObject
*resultobj
;
30494 wxMenu
*arg1
= (wxMenu
*) 0 ;
30495 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30496 PyObject
* obj0
= 0 ;
30497 PyObject
* obj1
= 0 ;
30498 char *kwnames
[] = {
30499 (char *) "self",(char *) "menubar", NULL
30502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30509 (arg1
)->Attach(arg2
);
30511 wxPyEndAllowThreads(__tstate
);
30512 if (PyErr_Occurred()) SWIG_fail
;
30514 Py_INCREF(Py_None
); resultobj
= Py_None
;
30521 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30522 PyObject
*resultobj
;
30523 wxMenu
*arg1
= (wxMenu
*) 0 ;
30524 PyObject
* obj0
= 0 ;
30525 char *kwnames
[] = {
30526 (char *) "self", NULL
30529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30539 Py_INCREF(Py_None
); resultobj
= Py_None
;
30546 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30547 PyObject
*resultobj
;
30548 wxMenu
*arg1
= (wxMenu
*) 0 ;
30550 PyObject
* obj0
= 0 ;
30551 char *kwnames
[] = {
30552 (char *) "self", NULL
30555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30560 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30574 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30575 PyObject
*resultobj
;
30576 wxMenu
*arg1
= (wxMenu
*) 0 ;
30577 wxMenu
*arg2
= (wxMenu
*) 0 ;
30578 PyObject
* obj0
= 0 ;
30579 PyObject
* obj1
= 0 ;
30580 char *kwnames
[] = {
30581 (char *) "self",(char *) "parent", NULL
30584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 (arg1
)->SetParent(arg2
);
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30596 Py_INCREF(Py_None
); resultobj
= Py_None
;
30603 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30604 PyObject
*resultobj
;
30605 wxMenu
*arg1
= (wxMenu
*) 0 ;
30607 PyObject
* obj0
= 0 ;
30608 char *kwnames
[] = {
30609 (char *) "self", NULL
30612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30617 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30619 wxPyEndAllowThreads(__tstate
);
30620 if (PyErr_Occurred()) SWIG_fail
;
30623 resultobj
= wxPyMake_wxObject(result
);
30631 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30634 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30636 return Py_BuildValue((char *)"");
30638 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30639 PyObject
*resultobj
;
30640 long arg1
= (long) 0 ;
30642 PyObject
* obj0
= 0 ;
30643 char *kwnames
[] = {
30644 (char *) "style", NULL
30647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30649 arg1
= (long) SWIG_AsLong(obj0
);
30650 if (PyErr_Occurred()) SWIG_fail
;
30653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30654 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30660 resultobj
= wxPyMake_wxObject(result
);
30668 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
;
30670 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30671 wxMenu
*arg2
= (wxMenu
*) 0 ;
30672 wxString
*arg3
= 0 ;
30674 bool temp3
= False
;
30675 PyObject
* obj0
= 0 ;
30676 PyObject
* obj1
= 0 ;
30677 PyObject
* obj2
= 0 ;
30678 char *kwnames
[] = {
30679 (char *) "self",(char *) "menu",(char *) "title", NULL
30682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30688 arg3
= wxString_in_helper(obj2
);
30689 if (arg3
== NULL
) SWIG_fail
;
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30716 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30717 PyObject
*resultobj
;
30718 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30720 wxMenu
*arg3
= (wxMenu
*) 0 ;
30721 wxString
*arg4
= 0 ;
30723 bool temp4
= False
;
30724 PyObject
* obj0
= 0 ;
30725 PyObject
* obj1
= 0 ;
30726 PyObject
* obj2
= 0 ;
30727 PyObject
* obj3
= 0 ;
30728 char *kwnames
[] = {
30729 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30735 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30737 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30740 arg4
= wxString_in_helper(obj3
);
30741 if (arg4
== NULL
) SWIG_fail
;
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30768 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30769 PyObject
*resultobj
;
30770 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30772 PyObject
* obj0
= 0 ;
30773 char *kwnames
[] = {
30774 (char *) "self", NULL
30777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30787 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30794 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30795 PyObject
*resultobj
;
30796 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30799 PyObject
* obj0
= 0 ;
30800 PyObject
* obj1
= 0 ;
30801 char *kwnames
[] = {
30802 (char *) "self",(char *) "pos", NULL
30805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30808 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30809 if (PyErr_Occurred()) SWIG_fail
;
30811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30812 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30814 wxPyEndAllowThreads(__tstate
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30818 resultobj
= wxPyMake_wxObject(result
);
30826 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30827 PyObject
*resultobj
;
30828 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30830 wxMenu
*arg3
= (wxMenu
*) 0 ;
30831 wxString
*arg4
= 0 ;
30833 bool temp4
= False
;
30834 PyObject
* obj0
= 0 ;
30835 PyObject
* obj1
= 0 ;
30836 PyObject
* obj2
= 0 ;
30837 PyObject
* obj3
= 0 ;
30838 char *kwnames
[] = {
30839 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30845 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30846 if (PyErr_Occurred()) SWIG_fail
;
30847 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30850 arg4
= wxString_in_helper(obj3
);
30851 if (arg4
== NULL
) SWIG_fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30862 resultobj
= wxPyMake_wxObject(result
);
30878 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30879 PyObject
*resultobj
;
30880 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30883 PyObject
* obj0
= 0 ;
30884 PyObject
* obj1
= 0 ;
30885 char *kwnames
[] = {
30886 (char *) "self",(char *) "pos", NULL
30889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30892 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30893 if (PyErr_Occurred()) SWIG_fail
;
30895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30896 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30898 wxPyEndAllowThreads(__tstate
);
30899 if (PyErr_Occurred()) SWIG_fail
;
30902 resultobj
= wxPyMake_wxObject(result
);
30910 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30911 PyObject
*resultobj
;
30912 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30915 PyObject
* obj0
= 0 ;
30916 PyObject
* obj1
= 0 ;
30917 PyObject
* obj2
= 0 ;
30918 char *kwnames
[] = {
30919 (char *) "self",(char *) "pos",(char *) "enable", NULL
30922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30925 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30927 arg3
= (bool) SWIG_AsBool(obj2
);
30928 if (PyErr_Occurred()) SWIG_fail
;
30930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30931 (arg1
)->EnableTop(arg2
,arg3
);
30933 wxPyEndAllowThreads(__tstate
);
30934 if (PyErr_Occurred()) SWIG_fail
;
30936 Py_INCREF(Py_None
); resultobj
= Py_None
;
30943 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30944 PyObject
*resultobj
;
30945 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30948 PyObject
* obj0
= 0 ;
30949 PyObject
* obj1
= 0 ;
30950 char *kwnames
[] = {
30951 (char *) "self",(char *) "pos", NULL
30954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30957 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30958 if (PyErr_Occurred()) SWIG_fail
;
30960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30961 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30975 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30976 PyObject
*resultobj
;
30977 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30979 wxString
*arg3
= 0 ;
30980 bool temp3
= False
;
30981 PyObject
* obj0
= 0 ;
30982 PyObject
* obj1
= 0 ;
30983 PyObject
* obj2
= 0 ;
30984 char *kwnames
[] = {
30985 (char *) "self",(char *) "pos",(char *) "label", NULL
30988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30991 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30992 if (PyErr_Occurred()) SWIG_fail
;
30994 arg3
= wxString_in_helper(obj2
);
30995 if (arg3
== NULL
) SWIG_fail
;
30999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31000 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31002 wxPyEndAllowThreads(__tstate
);
31003 if (PyErr_Occurred()) SWIG_fail
;
31005 Py_INCREF(Py_None
); resultobj
= Py_None
;
31020 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
;
31022 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31025 PyObject
* obj0
= 0 ;
31026 PyObject
* obj1
= 0 ;
31027 char *kwnames
[] = {
31028 (char *) "self",(char *) "pos", NULL
31031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31034 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31038 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31040 wxPyEndAllowThreads(__tstate
);
31041 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31056 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31057 PyObject
*resultobj
;
31058 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31059 wxString
*arg2
= 0 ;
31060 wxString
*arg3
= 0 ;
31062 bool temp2
= False
;
31063 bool temp3
= False
;
31064 PyObject
* obj0
= 0 ;
31065 PyObject
* obj1
= 0 ;
31066 PyObject
* obj2
= 0 ;
31067 char *kwnames
[] = {
31068 (char *) "self",(char *) "menu",(char *) "item", NULL
31071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31075 arg2
= wxString_in_helper(obj1
);
31076 if (arg2
== NULL
) SWIG_fail
;
31080 arg3
= wxString_in_helper(obj2
);
31081 if (arg3
== NULL
) SWIG_fail
;
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31088 wxPyEndAllowThreads(__tstate
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31091 resultobj
= SWIG_FromInt((int)result
);
31114 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31115 PyObject
*resultobj
;
31116 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31118 wxMenuItem
*result
;
31119 PyObject
* obj0
= 0 ;
31120 PyObject
* obj1
= 0 ;
31121 char *kwnames
[] = {
31122 (char *) "self",(char *) "id", NULL
31125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31128 arg2
= (int) SWIG_AsInt(obj1
);
31129 if (PyErr_Occurred()) SWIG_fail
;
31131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31132 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31134 wxPyEndAllowThreads(__tstate
);
31135 if (PyErr_Occurred()) SWIG_fail
;
31138 resultobj
= wxPyMake_wxObject(result
);
31146 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
;
31148 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31149 wxString
*arg2
= 0 ;
31151 bool temp2
= False
;
31152 PyObject
* obj0
= 0 ;
31153 PyObject
* obj1
= 0 ;
31154 char *kwnames
[] = {
31155 (char *) "self",(char *) "title", NULL
31158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31162 arg2
= wxString_in_helper(obj1
);
31163 if (arg2
== NULL
) SWIG_fail
;
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= SWIG_FromInt((int)result
);
31188 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31189 PyObject
*resultobj
;
31190 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31193 PyObject
* obj0
= 0 ;
31194 PyObject
* obj1
= 0 ;
31195 PyObject
* obj2
= 0 ;
31196 char *kwnames
[] = {
31197 (char *) "self",(char *) "id",(char *) "enable", NULL
31200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31203 arg2
= (int) SWIG_AsInt(obj1
);
31204 if (PyErr_Occurred()) SWIG_fail
;
31205 arg3
= (bool) SWIG_AsBool(obj2
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31209 (arg1
)->Enable(arg2
,arg3
);
31211 wxPyEndAllowThreads(__tstate
);
31212 if (PyErr_Occurred()) SWIG_fail
;
31214 Py_INCREF(Py_None
); resultobj
= Py_None
;
31221 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31222 PyObject
*resultobj
;
31223 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31226 PyObject
* obj0
= 0 ;
31227 PyObject
* obj1
= 0 ;
31228 PyObject
* obj2
= 0 ;
31229 char *kwnames
[] = {
31230 (char *) "self",(char *) "id",(char *) "check", NULL
31233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31236 arg2
= (int) SWIG_AsInt(obj1
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31238 arg3
= (bool) SWIG_AsBool(obj2
);
31239 if (PyErr_Occurred()) SWIG_fail
;
31241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31242 (arg1
)->Check(arg2
,arg3
);
31244 wxPyEndAllowThreads(__tstate
);
31245 if (PyErr_Occurred()) SWIG_fail
;
31247 Py_INCREF(Py_None
); resultobj
= Py_None
;
31254 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31255 PyObject
*resultobj
;
31256 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31259 PyObject
* obj0
= 0 ;
31260 PyObject
* obj1
= 0 ;
31261 char *kwnames
[] = {
31262 (char *) "self",(char *) "id", NULL
31265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31268 arg2
= (int) SWIG_AsInt(obj1
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31272 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31286 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31287 PyObject
*resultobj
;
31288 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31291 PyObject
* obj0
= 0 ;
31292 PyObject
* obj1
= 0 ;
31293 char *kwnames
[] = {
31294 (char *) "self",(char *) "id", NULL
31297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31300 arg2
= (int) SWIG_AsInt(obj1
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31304 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31318 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31319 PyObject
*resultobj
;
31320 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31322 wxString
*arg3
= 0 ;
31323 bool temp3
= False
;
31324 PyObject
* obj0
= 0 ;
31325 PyObject
* obj1
= 0 ;
31326 PyObject
* obj2
= 0 ;
31327 char *kwnames
[] = {
31328 (char *) "self",(char *) "id",(char *) "label", NULL
31331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31334 arg2
= (int) SWIG_AsInt(obj1
);
31335 if (PyErr_Occurred()) SWIG_fail
;
31337 arg3
= wxString_in_helper(obj2
);
31338 if (arg3
== NULL
) SWIG_fail
;
31342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31343 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31348 Py_INCREF(Py_None
); resultobj
= Py_None
;
31363 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31364 PyObject
*resultobj
;
31365 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31368 PyObject
* obj0
= 0 ;
31369 PyObject
* obj1
= 0 ;
31370 char *kwnames
[] = {
31371 (char *) "self",(char *) "id", NULL
31374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31377 arg2
= (int) SWIG_AsInt(obj1
);
31378 if (PyErr_Occurred()) SWIG_fail
;
31380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31381 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31383 wxPyEndAllowThreads(__tstate
);
31384 if (PyErr_Occurred()) SWIG_fail
;
31388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31399 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31400 PyObject
*resultobj
;
31401 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31403 wxString
*arg3
= 0 ;
31404 bool temp3
= False
;
31405 PyObject
* obj0
= 0 ;
31406 PyObject
* obj1
= 0 ;
31407 PyObject
* obj2
= 0 ;
31408 char *kwnames
[] = {
31409 (char *) "self",(char *) "id",(char *) "helpString", NULL
31412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31415 arg2
= (int) SWIG_AsInt(obj1
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31418 arg3
= wxString_in_helper(obj2
);
31419 if (arg3
== NULL
) SWIG_fail
;
31423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31424 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31426 wxPyEndAllowThreads(__tstate
);
31427 if (PyErr_Occurred()) SWIG_fail
;
31429 Py_INCREF(Py_None
); resultobj
= Py_None
;
31444 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31445 PyObject
*resultobj
;
31446 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31449 PyObject
* obj0
= 0 ;
31450 PyObject
* obj1
= 0 ;
31451 char *kwnames
[] = {
31452 (char *) "self",(char *) "id", NULL
31455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31458 arg2
= (int) SWIG_AsInt(obj1
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31462 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31480 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31481 PyObject
*resultobj
;
31482 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31484 PyObject
* obj0
= 0 ;
31485 char *kwnames
[] = {
31486 (char *) "self", NULL
31489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31494 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31496 wxPyEndAllowThreads(__tstate
);
31497 if (PyErr_Occurred()) SWIG_fail
;
31500 resultobj
= wxPyMake_wxObject(result
);
31508 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31509 PyObject
*resultobj
;
31510 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31512 PyObject
* obj0
= 0 ;
31513 char *kwnames
[] = {
31514 (char *) "self", NULL
31517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31522 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31524 wxPyEndAllowThreads(__tstate
);
31525 if (PyErr_Occurred()) SWIG_fail
;
31528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31536 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31537 PyObject
*resultobj
;
31538 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31539 wxFrame
*arg2
= (wxFrame
*) 0 ;
31540 PyObject
* obj0
= 0 ;
31541 PyObject
* obj1
= 0 ;
31542 char *kwnames
[] = {
31543 (char *) "self",(char *) "frame", NULL
31546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31553 (arg1
)->Attach(arg2
);
31555 wxPyEndAllowThreads(__tstate
);
31556 if (PyErr_Occurred()) SWIG_fail
;
31558 Py_INCREF(Py_None
); resultobj
= Py_None
;
31565 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31566 PyObject
*resultobj
;
31567 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31568 PyObject
* obj0
= 0 ;
31569 char *kwnames
[] = {
31570 (char *) "self", NULL
31573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31580 wxPyEndAllowThreads(__tstate
);
31581 if (PyErr_Occurred()) SWIG_fail
;
31583 Py_INCREF(Py_None
); resultobj
= Py_None
;
31590 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31593 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31595 return Py_BuildValue((char *)"");
31597 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31598 PyObject
*resultobj
;
31599 wxMenu
*arg1
= (wxMenu
*) NULL
;
31600 int arg2
= (int) wxID_ANY
;
31601 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31603 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31604 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31605 int arg5
= (int) wxITEM_NORMAL
;
31606 wxMenu
*arg6
= (wxMenu
*) NULL
;
31607 wxMenuItem
*result
;
31608 bool temp3
= False
;
31609 bool temp4
= False
;
31610 PyObject
* obj0
= 0 ;
31611 PyObject
* obj1
= 0 ;
31612 PyObject
* obj2
= 0 ;
31613 PyObject
* obj3
= 0 ;
31614 PyObject
* obj4
= 0 ;
31615 PyObject
* obj5
= 0 ;
31616 char *kwnames
[] = {
31617 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31626 arg2
= (int) SWIG_AsInt(obj1
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31631 arg3
= wxString_in_helper(obj2
);
31632 if (arg3
== NULL
) SWIG_fail
;
31638 arg4
= wxString_in_helper(obj3
);
31639 if (arg4
== NULL
) SWIG_fail
;
31644 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31645 if (PyErr_Occurred()) SWIG_fail
;
31648 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31653 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31655 wxPyEndAllowThreads(__tstate
);
31656 if (PyErr_Occurred()) SWIG_fail
;
31659 resultobj
= wxPyMake_wxObject(result
);
31683 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31684 PyObject
*resultobj
;
31685 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31687 PyObject
* obj0
= 0 ;
31688 char *kwnames
[] = {
31689 (char *) "self", NULL
31692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31697 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31699 wxPyEndAllowThreads(__tstate
);
31700 if (PyErr_Occurred()) SWIG_fail
;
31703 resultobj
= wxPyMake_wxObject(result
);
31711 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31712 PyObject
*resultobj
;
31713 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31714 wxMenu
*arg2
= (wxMenu
*) 0 ;
31715 PyObject
* obj0
= 0 ;
31716 PyObject
* obj1
= 0 ;
31717 char *kwnames
[] = {
31718 (char *) "self",(char *) "menu", NULL
31721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31728 (arg1
)->SetMenu(arg2
);
31730 wxPyEndAllowThreads(__tstate
);
31731 if (PyErr_Occurred()) SWIG_fail
;
31733 Py_INCREF(Py_None
); resultobj
= Py_None
;
31740 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31741 PyObject
*resultobj
;
31742 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31744 PyObject
* obj0
= 0 ;
31745 PyObject
* obj1
= 0 ;
31746 char *kwnames
[] = {
31747 (char *) "self",(char *) "id", NULL
31750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31753 arg2
= (int) SWIG_AsInt(obj1
);
31754 if (PyErr_Occurred()) SWIG_fail
;
31756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31757 (arg1
)->SetId(arg2
);
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31762 Py_INCREF(Py_None
); resultobj
= Py_None
;
31769 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31770 PyObject
*resultobj
;
31771 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31773 PyObject
* obj0
= 0 ;
31774 char *kwnames
[] = {
31775 (char *) "self", NULL
31778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31785 wxPyEndAllowThreads(__tstate
);
31786 if (PyErr_Occurred()) SWIG_fail
;
31788 resultobj
= SWIG_FromInt((int)result
);
31795 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31796 PyObject
*resultobj
;
31797 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31799 PyObject
* obj0
= 0 ;
31800 char *kwnames
[] = {
31801 (char *) "self", NULL
31804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31809 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31811 wxPyEndAllowThreads(__tstate
);
31812 if (PyErr_Occurred()) SWIG_fail
;
31815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31823 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31824 PyObject
*resultobj
;
31825 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31826 wxString
*arg2
= 0 ;
31827 bool temp2
= False
;
31828 PyObject
* obj0
= 0 ;
31829 PyObject
* obj1
= 0 ;
31830 char *kwnames
[] = {
31831 (char *) "self",(char *) "str", NULL
31834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31838 arg2
= wxString_in_helper(obj1
);
31839 if (arg2
== NULL
) SWIG_fail
;
31843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31844 (arg1
)->SetText((wxString
const &)*arg2
);
31846 wxPyEndAllowThreads(__tstate
);
31847 if (PyErr_Occurred()) SWIG_fail
;
31849 Py_INCREF(Py_None
); resultobj
= Py_None
;
31864 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31865 PyObject
*resultobj
;
31866 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31868 PyObject
* obj0
= 0 ;
31869 char *kwnames
[] = {
31870 (char *) "self", NULL
31873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31878 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31880 wxPyEndAllowThreads(__tstate
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31896 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31897 PyObject
*resultobj
;
31898 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31900 PyObject
* obj0
= 0 ;
31901 char *kwnames
[] = {
31902 (char *) "self", NULL
31905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31911 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31912 result
= (wxString
*) &_result_ref
;
31915 wxPyEndAllowThreads(__tstate
);
31916 if (PyErr_Occurred()) SWIG_fail
;
31920 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31922 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31931 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31932 PyObject
*resultobj
;
31933 wxString
*arg1
= 0 ;
31935 bool temp1
= False
;
31936 PyObject
* obj0
= 0 ;
31937 char *kwnames
[] = {
31938 (char *) "text", NULL
31941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31943 arg1
= wxString_in_helper(obj0
);
31944 if (arg1
== NULL
) SWIG_fail
;
31948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31949 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
31951 wxPyEndAllowThreads(__tstate
);
31952 if (PyErr_Occurred()) SWIG_fail
;
31956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31975 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31976 PyObject
*resultobj
;
31977 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31979 PyObject
* obj0
= 0 ;
31980 char *kwnames
[] = {
31981 (char *) "self", NULL
31984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
31985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31989 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
31991 wxPyEndAllowThreads(__tstate
);
31992 if (PyErr_Occurred()) SWIG_fail
;
31994 resultobj
= SWIG_FromInt((int)result
);
32001 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32002 PyObject
*resultobj
;
32003 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32005 PyObject
* obj0
= 0 ;
32006 PyObject
* obj1
= 0 ;
32007 char *kwnames
[] = {
32008 (char *) "self",(char *) "kind", NULL
32011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32014 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32015 if (PyErr_Occurred()) SWIG_fail
;
32017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32018 (arg1
)->SetKind((wxItemKind
)arg2
);
32020 wxPyEndAllowThreads(__tstate
);
32021 if (PyErr_Occurred()) SWIG_fail
;
32023 Py_INCREF(Py_None
); resultobj
= Py_None
;
32030 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32031 PyObject
*resultobj
;
32032 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32034 PyObject
* obj0
= 0 ;
32035 PyObject
* obj1
= 0 ;
32036 char *kwnames
[] = {
32037 (char *) "self",(char *) "checkable", NULL
32040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32043 arg2
= (bool) SWIG_AsBool(obj1
);
32044 if (PyErr_Occurred()) SWIG_fail
;
32046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32047 (arg1
)->SetCheckable(arg2
);
32049 wxPyEndAllowThreads(__tstate
);
32050 if (PyErr_Occurred()) SWIG_fail
;
32052 Py_INCREF(Py_None
); resultobj
= Py_None
;
32059 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32060 PyObject
*resultobj
;
32061 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32063 PyObject
* obj0
= 0 ;
32064 char *kwnames
[] = {
32065 (char *) "self", NULL
32068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32073 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32075 wxPyEndAllowThreads(__tstate
);
32076 if (PyErr_Occurred()) SWIG_fail
;
32079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32087 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32088 PyObject
*resultobj
;
32089 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32091 PyObject
* obj0
= 0 ;
32092 char *kwnames
[] = {
32093 (char *) "self", NULL
32096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32101 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32103 wxPyEndAllowThreads(__tstate
);
32104 if (PyErr_Occurred()) SWIG_fail
;
32107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32115 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32116 PyObject
*resultobj
;
32117 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32118 wxMenu
*arg2
= (wxMenu
*) 0 ;
32119 PyObject
* obj0
= 0 ;
32120 PyObject
* obj1
= 0 ;
32121 char *kwnames
[] = {
32122 (char *) "self",(char *) "menu", NULL
32125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32132 (arg1
)->SetSubMenu(arg2
);
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 Py_INCREF(Py_None
); resultobj
= Py_None
;
32144 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32145 PyObject
*resultobj
;
32146 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32148 PyObject
* obj0
= 0 ;
32149 char *kwnames
[] = {
32150 (char *) "self", NULL
32153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32158 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32160 wxPyEndAllowThreads(__tstate
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32164 resultobj
= wxPyMake_wxObject(result
);
32172 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32173 PyObject
*resultobj
;
32174 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32175 bool arg2
= (bool) True
;
32176 PyObject
* obj0
= 0 ;
32177 PyObject
* obj1
= 0 ;
32178 char *kwnames
[] = {
32179 (char *) "self",(char *) "enable", NULL
32182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32186 arg2
= (bool) SWIG_AsBool(obj1
);
32187 if (PyErr_Occurred()) SWIG_fail
;
32190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32191 (arg1
)->Enable(arg2
);
32193 wxPyEndAllowThreads(__tstate
);
32194 if (PyErr_Occurred()) SWIG_fail
;
32196 Py_INCREF(Py_None
); resultobj
= Py_None
;
32203 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32204 PyObject
*resultobj
;
32205 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32207 PyObject
* obj0
= 0 ;
32208 char *kwnames
[] = {
32209 (char *) "self", NULL
32212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32217 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32219 wxPyEndAllowThreads(__tstate
);
32220 if (PyErr_Occurred()) SWIG_fail
;
32223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32231 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32232 PyObject
*resultobj
;
32233 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32234 bool arg2
= (bool) True
;
32235 PyObject
* obj0
= 0 ;
32236 PyObject
* obj1
= 0 ;
32237 char *kwnames
[] = {
32238 (char *) "self",(char *) "check", NULL
32241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32245 arg2
= (bool) SWIG_AsBool(obj1
);
32246 if (PyErr_Occurred()) SWIG_fail
;
32249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32250 (arg1
)->Check(arg2
);
32252 wxPyEndAllowThreads(__tstate
);
32253 if (PyErr_Occurred()) SWIG_fail
;
32255 Py_INCREF(Py_None
); resultobj
= Py_None
;
32262 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32263 PyObject
*resultobj
;
32264 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32266 PyObject
* obj0
= 0 ;
32267 char *kwnames
[] = {
32268 (char *) "self", NULL
32271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32276 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32278 wxPyEndAllowThreads(__tstate
);
32279 if (PyErr_Occurred()) SWIG_fail
;
32282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32290 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32291 PyObject
*resultobj
;
32292 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32293 PyObject
* obj0
= 0 ;
32294 char *kwnames
[] = {
32295 (char *) "self", NULL
32298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32308 Py_INCREF(Py_None
); resultobj
= Py_None
;
32315 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32316 PyObject
*resultobj
;
32317 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32318 wxString
*arg2
= 0 ;
32319 bool temp2
= False
;
32320 PyObject
* obj0
= 0 ;
32321 PyObject
* obj1
= 0 ;
32322 char *kwnames
[] = {
32323 (char *) "self",(char *) "str", NULL
32326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32330 arg2
= wxString_in_helper(obj1
);
32331 if (arg2
== NULL
) SWIG_fail
;
32335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32336 (arg1
)->SetHelp((wxString
const &)*arg2
);
32338 wxPyEndAllowThreads(__tstate
);
32339 if (PyErr_Occurred()) SWIG_fail
;
32341 Py_INCREF(Py_None
); resultobj
= Py_None
;
32356 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32357 PyObject
*resultobj
;
32358 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32360 PyObject
* obj0
= 0 ;
32361 char *kwnames
[] = {
32362 (char *) "self", NULL
32365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32371 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32372 result
= (wxString
*) &_result_ref
;
32375 wxPyEndAllowThreads(__tstate
);
32376 if (PyErr_Occurred()) SWIG_fail
;
32380 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32382 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32391 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32392 PyObject
*resultobj
;
32393 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32394 wxAcceleratorEntry
*result
;
32395 PyObject
* obj0
= 0 ;
32396 char *kwnames
[] = {
32397 (char *) "self", NULL
32400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32405 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32407 wxPyEndAllowThreads(__tstate
);
32408 if (PyErr_Occurred()) SWIG_fail
;
32410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32417 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32418 PyObject
*resultobj
;
32419 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32420 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32421 PyObject
* obj0
= 0 ;
32422 PyObject
* obj1
= 0 ;
32423 char *kwnames
[] = {
32424 (char *) "self",(char *) "accel", NULL
32427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32434 (arg1
)->SetAccel(arg2
);
32436 wxPyEndAllowThreads(__tstate
);
32437 if (PyErr_Occurred()) SWIG_fail
;
32439 Py_INCREF(Py_None
); resultobj
= Py_None
;
32446 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32447 PyObject
*resultobj
;
32449 char *kwnames
[] = {
32453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32456 result
= (int)MenuItem_GetDefaultMarginWidth();
32458 wxPyEndAllowThreads(__tstate
);
32459 if (PyErr_Occurred()) SWIG_fail
;
32461 resultobj
= SWIG_FromInt((int)result
);
32468 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32469 PyObject
*resultobj
;
32470 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32471 wxBitmap
*arg2
= 0 ;
32472 PyObject
* obj0
= 0 ;
32473 PyObject
* obj1
= 0 ;
32474 char *kwnames
[] = {
32475 (char *) "self",(char *) "bitmap", NULL
32478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32484 if (arg2
== NULL
) {
32485 PyErr_SetString(PyExc_TypeError
,"null reference");
32489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32490 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32495 Py_INCREF(Py_None
); resultobj
= Py_None
;
32502 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32503 PyObject
*resultobj
;
32504 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32506 PyObject
* obj0
= 0 ;
32507 char *kwnames
[] = {
32508 (char *) "self", NULL
32511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32517 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32518 result
= (wxBitmap
*) &_result_ref
;
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32525 wxBitmap
* resultptr
= new wxBitmap(*result
);
32526 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32534 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32537 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32539 return Py_BuildValue((char *)"");
32541 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32542 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32547 static PyObject
*_wrap_ControlNameStr_get() {
32552 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32554 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32561 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32562 PyObject
*resultobj
;
32563 wxWindow
*arg1
= (wxWindow
*) 0 ;
32565 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32566 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32567 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32568 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32569 long arg5
= (long) 0 ;
32570 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32571 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32572 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32573 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32577 bool temp7
= False
;
32578 PyObject
* obj0
= 0 ;
32579 PyObject
* obj1
= 0 ;
32580 PyObject
* obj2
= 0 ;
32581 PyObject
* obj3
= 0 ;
32582 PyObject
* obj4
= 0 ;
32583 PyObject
* obj5
= 0 ;
32584 PyObject
* obj6
= 0 ;
32585 char *kwnames
[] = {
32586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32592 arg2
= (int) SWIG_AsInt(obj1
);
32593 if (PyErr_Occurred()) SWIG_fail
;
32597 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32603 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32607 arg5
= (long) SWIG_AsLong(obj4
);
32608 if (PyErr_Occurred()) SWIG_fail
;
32611 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32614 if (arg6
== NULL
) {
32615 PyErr_SetString(PyExc_TypeError
,"null reference");
32621 arg7
= wxString_in_helper(obj6
);
32622 if (arg7
== NULL
) SWIG_fail
;
32627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32628 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32630 wxPyEndAllowThreads(__tstate
);
32631 if (PyErr_Occurred()) SWIG_fail
;
32634 resultobj
= wxPyMake_wxObject(result
);
32650 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32651 PyObject
*resultobj
;
32653 char *kwnames
[] = {
32657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32660 result
= (wxControl
*)new wxControl();
32662 wxPyEndAllowThreads(__tstate
);
32663 if (PyErr_Occurred()) SWIG_fail
;
32666 resultobj
= wxPyMake_wxObject(result
);
32674 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32675 PyObject
*resultobj
;
32676 wxControl
*arg1
= (wxControl
*) 0 ;
32677 wxWindow
*arg2
= (wxWindow
*) 0 ;
32679 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32680 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32681 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32682 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32683 long arg6
= (long) 0 ;
32684 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32685 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32686 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
32687 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32691 bool temp8
= False
;
32692 PyObject
* obj0
= 0 ;
32693 PyObject
* obj1
= 0 ;
32694 PyObject
* obj2
= 0 ;
32695 PyObject
* obj3
= 0 ;
32696 PyObject
* obj4
= 0 ;
32697 PyObject
* obj5
= 0 ;
32698 PyObject
* obj6
= 0 ;
32699 PyObject
* obj7
= 0 ;
32700 char *kwnames
[] = {
32701 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
32705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32709 arg3
= (int) SWIG_AsInt(obj2
);
32710 if (PyErr_Occurred()) SWIG_fail
;
32714 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32720 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32724 arg6
= (long) SWIG_AsLong(obj5
);
32725 if (PyErr_Occurred()) SWIG_fail
;
32728 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
32729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32731 if (arg7
== NULL
) {
32732 PyErr_SetString(PyExc_TypeError
,"null reference");
32738 arg8
= wxString_in_helper(obj7
);
32739 if (arg8
== NULL
) SWIG_fail
;
32744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32747 wxPyEndAllowThreads(__tstate
);
32748 if (PyErr_Occurred()) SWIG_fail
;
32751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32767 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32768 PyObject
*resultobj
;
32769 wxControl
*arg1
= (wxControl
*) 0 ;
32770 wxCommandEvent
*arg2
= 0 ;
32771 PyObject
* obj0
= 0 ;
32772 PyObject
* obj1
= 0 ;
32773 char *kwnames
[] = {
32774 (char *) "self",(char *) "event", NULL
32777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
32778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
32781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32783 if (arg2
== NULL
) {
32784 PyErr_SetString(PyExc_TypeError
,"null reference");
32788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32789 (arg1
)->Command(*arg2
);
32791 wxPyEndAllowThreads(__tstate
);
32792 if (PyErr_Occurred()) SWIG_fail
;
32794 Py_INCREF(Py_None
); resultobj
= Py_None
;
32801 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32802 PyObject
*resultobj
;
32803 wxControl
*arg1
= (wxControl
*) 0 ;
32805 PyObject
* obj0
= 0 ;
32806 char *kwnames
[] = {
32807 (char *) "self", NULL
32810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
32811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32815 result
= (arg1
)->GetLabel();
32817 wxPyEndAllowThreads(__tstate
);
32818 if (PyErr_Occurred()) SWIG_fail
;
32822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32833 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32834 PyObject
*resultobj
;
32835 wxControl
*arg1
= (wxControl
*) 0 ;
32836 wxString
*arg2
= 0 ;
32837 bool temp2
= False
;
32838 PyObject
* obj0
= 0 ;
32839 PyObject
* obj1
= 0 ;
32840 char *kwnames
[] = {
32841 (char *) "self",(char *) "label", NULL
32844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32848 arg2
= wxString_in_helper(obj1
);
32849 if (arg2
== NULL
) SWIG_fail
;
32853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32854 (arg1
)->SetLabel((wxString
const &)*arg2
);
32856 wxPyEndAllowThreads(__tstate
);
32857 if (PyErr_Occurred()) SWIG_fail
;
32859 Py_INCREF(Py_None
); resultobj
= Py_None
;
32874 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32875 PyObject
*resultobj
;
32876 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
32877 wxVisualAttributes result
;
32878 PyObject
* obj0
= 0 ;
32879 char *kwnames
[] = {
32880 (char *) "variant", NULL
32883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32885 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32890 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
32892 wxPyEndAllowThreads(__tstate
);
32893 if (PyErr_Occurred()) SWIG_fail
;
32896 wxVisualAttributes
* resultptr
;
32897 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
32898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32906 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
32908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32909 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
32911 return Py_BuildValue((char *)"");
32913 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32914 PyObject
*resultobj
;
32915 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32916 wxString
*arg2
= 0 ;
32917 PyObject
*arg3
= (PyObject
*) NULL
;
32919 bool temp2
= False
;
32920 PyObject
* obj0
= 0 ;
32921 PyObject
* obj1
= 0 ;
32922 PyObject
* obj2
= 0 ;
32923 char *kwnames
[] = {
32924 (char *) "self",(char *) "item",(char *) "clientData", NULL
32927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32931 arg2
= wxString_in_helper(obj1
);
32932 if (arg2
== NULL
) SWIG_fail
;
32939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32940 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32942 wxPyEndAllowThreads(__tstate
);
32943 if (PyErr_Occurred()) SWIG_fail
;
32945 resultobj
= SWIG_FromInt((int)result
);
32960 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32961 PyObject
*resultobj
;
32962 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32963 wxArrayString
*arg2
= 0 ;
32964 bool temp2
= False
;
32965 PyObject
* obj0
= 0 ;
32966 PyObject
* obj1
= 0 ;
32967 char *kwnames
[] = {
32968 (char *) "self",(char *) "strings", NULL
32971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
32972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32975 if (! PySequence_Check(obj1
)) {
32976 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
32979 arg2
= new wxArrayString
;
32981 int i
, len
=PySequence_Length(obj1
);
32982 for (i
=0; i
<len
; i
++) {
32983 PyObject
* item
= PySequence_GetItem(obj1
, i
);
32985 PyObject
* str
= PyObject_Unicode(item
);
32987 PyObject
* str
= PyObject_Str(item
);
32989 if (PyErr_Occurred()) SWIG_fail
;
32990 arg2
->Add(Py2wxString(str
));
32996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32997 (arg1
)->Append((wxArrayString
const &)*arg2
);
32999 wxPyEndAllowThreads(__tstate
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33002 Py_INCREF(Py_None
); resultobj
= Py_None
;
33004 if (temp2
) delete arg2
;
33009 if (temp2
) delete arg2
;
33015 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33016 PyObject
*resultobj
;
33017 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33018 wxString
*arg2
= 0 ;
33020 PyObject
*arg4
= (PyObject
*) NULL
;
33022 bool temp2
= False
;
33023 PyObject
* obj0
= 0 ;
33024 PyObject
* obj1
= 0 ;
33025 PyObject
* obj2
= 0 ;
33026 PyObject
* obj3
= 0 ;
33027 char *kwnames
[] = {
33028 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33035 arg2
= wxString_in_helper(obj1
);
33036 if (arg2
== NULL
) SWIG_fail
;
33039 arg3
= (int) SWIG_AsInt(obj2
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33046 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33048 wxPyEndAllowThreads(__tstate
);
33049 if (PyErr_Occurred()) SWIG_fail
;
33051 resultobj
= SWIG_FromInt((int)result
);
33066 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33067 PyObject
*resultobj
;
33068 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33069 PyObject
* obj0
= 0 ;
33070 char *kwnames
[] = {
33071 (char *) "self", NULL
33074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33081 wxPyEndAllowThreads(__tstate
);
33082 if (PyErr_Occurred()) SWIG_fail
;
33084 Py_INCREF(Py_None
); resultobj
= Py_None
;
33091 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33092 PyObject
*resultobj
;
33093 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33095 PyObject
* obj0
= 0 ;
33096 PyObject
* obj1
= 0 ;
33097 char *kwnames
[] = {
33098 (char *) "self",(char *) "n", NULL
33101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33104 arg2
= (int) SWIG_AsInt(obj1
);
33105 if (PyErr_Occurred()) SWIG_fail
;
33107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 (arg1
)->Delete(arg2
);
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33113 Py_INCREF(Py_None
); resultobj
= Py_None
;
33120 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33121 PyObject
*resultobj
;
33122 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33124 PyObject
* obj0
= 0 ;
33125 char *kwnames
[] = {
33126 (char *) "self", NULL
33129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33134 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33136 wxPyEndAllowThreads(__tstate
);
33137 if (PyErr_Occurred()) SWIG_fail
;
33139 resultobj
= SWIG_FromInt((int)result
);
33146 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33147 PyObject
*resultobj
;
33148 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33150 PyObject
* obj0
= 0 ;
33151 char *kwnames
[] = {
33152 (char *) "self", NULL
33155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33160 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33162 wxPyEndAllowThreads(__tstate
);
33163 if (PyErr_Occurred()) SWIG_fail
;
33166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33174 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33175 PyObject
*resultobj
;
33176 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33179 PyObject
* obj0
= 0 ;
33180 PyObject
* obj1
= 0 ;
33181 char *kwnames
[] = {
33182 (char *) "self",(char *) "n", NULL
33185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33188 arg2
= (int) SWIG_AsInt(obj1
);
33189 if (PyErr_Occurred()) SWIG_fail
;
33191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33192 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33194 wxPyEndAllowThreads(__tstate
);
33195 if (PyErr_Occurred()) SWIG_fail
;
33199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33210 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33211 PyObject
*resultobj
;
33212 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33213 wxArrayString result
;
33214 PyObject
* obj0
= 0 ;
33215 char *kwnames
[] = {
33216 (char *) "self", NULL
33219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33224 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33226 wxPyEndAllowThreads(__tstate
);
33227 if (PyErr_Occurred()) SWIG_fail
;
33230 resultobj
= wxArrayString2PyList_helper(result
);
33238 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33239 PyObject
*resultobj
;
33240 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33242 wxString
*arg3
= 0 ;
33243 bool temp3
= False
;
33244 PyObject
* obj0
= 0 ;
33245 PyObject
* obj1
= 0 ;
33246 PyObject
* obj2
= 0 ;
33247 char *kwnames
[] = {
33248 (char *) "self",(char *) "n",(char *) "s", NULL
33251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33254 arg2
= (int) SWIG_AsInt(obj1
);
33255 if (PyErr_Occurred()) SWIG_fail
;
33257 arg3
= wxString_in_helper(obj2
);
33258 if (arg3
== NULL
) SWIG_fail
;
33262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33263 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33265 wxPyEndAllowThreads(__tstate
);
33266 if (PyErr_Occurred()) SWIG_fail
;
33268 Py_INCREF(Py_None
); resultobj
= Py_None
;
33283 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33284 PyObject
*resultobj
;
33285 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33286 wxString
*arg2
= 0 ;
33288 bool temp2
= False
;
33289 PyObject
* obj0
= 0 ;
33290 PyObject
* obj1
= 0 ;
33291 char *kwnames
[] = {
33292 (char *) "self",(char *) "s", NULL
33295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33299 arg2
= wxString_in_helper(obj1
);
33300 if (arg2
== NULL
) SWIG_fail
;
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33305 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33307 wxPyEndAllowThreads(__tstate
);
33308 if (PyErr_Occurred()) SWIG_fail
;
33310 resultobj
= SWIG_FromInt((int)result
);
33325 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33326 PyObject
*resultobj
;
33327 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33329 PyObject
* obj0
= 0 ;
33330 PyObject
* obj1
= 0 ;
33331 char *kwnames
[] = {
33332 (char *) "self",(char *) "n", NULL
33335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33338 arg2
= (int) SWIG_AsInt(obj1
);
33339 if (PyErr_Occurred()) SWIG_fail
;
33341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33342 (arg1
)->Select(arg2
);
33344 wxPyEndAllowThreads(__tstate
);
33345 if (PyErr_Occurred()) SWIG_fail
;
33347 Py_INCREF(Py_None
); resultobj
= Py_None
;
33354 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33355 PyObject
*resultobj
;
33356 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33358 PyObject
* obj0
= 0 ;
33359 char *kwnames
[] = {
33360 (char *) "self", NULL
33363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33368 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33370 wxPyEndAllowThreads(__tstate
);
33371 if (PyErr_Occurred()) SWIG_fail
;
33373 resultobj
= SWIG_FromInt((int)result
);
33380 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33381 PyObject
*resultobj
;
33382 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33384 PyObject
* obj0
= 0 ;
33385 char *kwnames
[] = {
33386 (char *) "self", NULL
33389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33394 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33396 wxPyEndAllowThreads(__tstate
);
33397 if (PyErr_Occurred()) SWIG_fail
;
33401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33412 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33413 PyObject
*resultobj
;
33414 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33417 PyObject
* obj0
= 0 ;
33418 PyObject
* obj1
= 0 ;
33419 char *kwnames
[] = {
33420 (char *) "self",(char *) "n", NULL
33423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33426 arg2
= (int) SWIG_AsInt(obj1
);
33427 if (PyErr_Occurred()) SWIG_fail
;
33429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33430 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33432 wxPyEndAllowThreads(__tstate
);
33433 if (PyErr_Occurred()) SWIG_fail
;
33435 resultobj
= result
;
33442 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33443 PyObject
*resultobj
;
33444 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33446 PyObject
*arg3
= (PyObject
*) 0 ;
33447 PyObject
* obj0
= 0 ;
33448 PyObject
* obj1
= 0 ;
33449 PyObject
* obj2
= 0 ;
33450 char *kwnames
[] = {
33451 (char *) "self",(char *) "n",(char *) "clientData", NULL
33454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33457 arg2
= (int) SWIG_AsInt(obj1
);
33458 if (PyErr_Occurred()) SWIG_fail
;
33461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33462 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33464 wxPyEndAllowThreads(__tstate
);
33465 if (PyErr_Occurred()) SWIG_fail
;
33467 Py_INCREF(Py_None
); resultobj
= Py_None
;
33474 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33477 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33479 return Py_BuildValue((char *)"");
33481 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33484 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33486 return Py_BuildValue((char *)"");
33488 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33489 PyObject
*resultobj
;
33490 wxSizerItem
*result
;
33491 char *kwnames
[] = {
33495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33498 result
= (wxSizerItem
*)new wxSizerItem();
33500 wxPyEndAllowThreads(__tstate
);
33501 if (PyErr_Occurred()) SWIG_fail
;
33503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33510 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33511 PyObject
*resultobj
;
33517 wxObject
*arg6
= (wxObject
*) 0 ;
33518 wxSizerItem
*result
;
33519 PyObject
* obj0
= 0 ;
33520 PyObject
* obj1
= 0 ;
33521 PyObject
* obj2
= 0 ;
33522 PyObject
* obj3
= 0 ;
33523 PyObject
* obj4
= 0 ;
33524 PyObject
* obj5
= 0 ;
33525 char *kwnames
[] = {
33526 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33530 arg1
= (int) SWIG_AsInt(obj0
);
33531 if (PyErr_Occurred()) SWIG_fail
;
33532 arg2
= (int) SWIG_AsInt(obj1
);
33533 if (PyErr_Occurred()) SWIG_fail
;
33534 arg3
= (int) SWIG_AsInt(obj2
);
33535 if (PyErr_Occurred()) SWIG_fail
;
33536 arg4
= (int) SWIG_AsInt(obj3
);
33537 if (PyErr_Occurred()) SWIG_fail
;
33538 arg5
= (int) SWIG_AsInt(obj4
);
33539 if (PyErr_Occurred()) SWIG_fail
;
33540 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
33541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33544 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33546 wxPyEndAllowThreads(__tstate
);
33547 if (PyErr_Occurred()) SWIG_fail
;
33549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33556 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33557 PyObject
*resultobj
;
33558 wxWindow
*arg1
= (wxWindow
*) 0 ;
33562 wxObject
*arg5
= (wxObject
*) 0 ;
33563 wxSizerItem
*result
;
33564 PyObject
* obj0
= 0 ;
33565 PyObject
* obj1
= 0 ;
33566 PyObject
* obj2
= 0 ;
33567 PyObject
* obj3
= 0 ;
33568 PyObject
* obj4
= 0 ;
33569 char *kwnames
[] = {
33570 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33576 arg2
= (int) SWIG_AsInt(obj1
);
33577 if (PyErr_Occurred()) SWIG_fail
;
33578 arg3
= (int) SWIG_AsInt(obj2
);
33579 if (PyErr_Occurred()) SWIG_fail
;
33580 arg4
= (int) SWIG_AsInt(obj3
);
33581 if (PyErr_Occurred()) SWIG_fail
;
33582 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33586 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33588 wxPyEndAllowThreads(__tstate
);
33589 if (PyErr_Occurred()) SWIG_fail
;
33591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33598 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33599 PyObject
*resultobj
;
33600 wxSizer
*arg1
= (wxSizer
*) 0 ;
33604 wxObject
*arg5
= (wxObject
*) 0 ;
33605 wxSizerItem
*result
;
33606 PyObject
* obj0
= 0 ;
33607 PyObject
* obj1
= 0 ;
33608 PyObject
* obj2
= 0 ;
33609 PyObject
* obj3
= 0 ;
33610 PyObject
* obj4
= 0 ;
33611 char *kwnames
[] = {
33612 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33618 arg2
= (int) SWIG_AsInt(obj1
);
33619 if (PyErr_Occurred()) SWIG_fail
;
33620 arg3
= (int) SWIG_AsInt(obj2
);
33621 if (PyErr_Occurred()) SWIG_fail
;
33622 arg4
= (int) SWIG_AsInt(obj3
);
33623 if (PyErr_Occurred()) SWIG_fail
;
33624 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33628 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33630 wxPyEndAllowThreads(__tstate
);
33631 if (PyErr_Occurred()) SWIG_fail
;
33633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33640 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33641 PyObject
*resultobj
;
33642 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33643 PyObject
* obj0
= 0 ;
33644 char *kwnames
[] = {
33645 (char *) "self", NULL
33648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 (arg1
)->DeleteWindows();
33655 wxPyEndAllowThreads(__tstate
);
33656 if (PyErr_Occurred()) SWIG_fail
;
33658 Py_INCREF(Py_None
); resultobj
= Py_None
;
33665 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33666 PyObject
*resultobj
;
33667 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33668 PyObject
* obj0
= 0 ;
33669 char *kwnames
[] = {
33670 (char *) "self", NULL
33673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
33674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33678 (arg1
)->DetachSizer();
33680 wxPyEndAllowThreads(__tstate
);
33681 if (PyErr_Occurred()) SWIG_fail
;
33683 Py_INCREF(Py_None
); resultobj
= Py_None
;
33690 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33691 PyObject
*resultobj
;
33692 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33694 PyObject
* obj0
= 0 ;
33695 char *kwnames
[] = {
33696 (char *) "self", NULL
33699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
33700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33704 result
= (arg1
)->GetSize();
33706 wxPyEndAllowThreads(__tstate
);
33707 if (PyErr_Occurred()) SWIG_fail
;
33710 wxSize
* resultptr
;
33711 resultptr
= new wxSize((wxSize
&) result
);
33712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33720 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33721 PyObject
*resultobj
;
33722 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33724 PyObject
* obj0
= 0 ;
33725 char *kwnames
[] = {
33726 (char *) "self", NULL
33729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
33730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33734 result
= (arg1
)->CalcMin();
33736 wxPyEndAllowThreads(__tstate
);
33737 if (PyErr_Occurred()) SWIG_fail
;
33740 wxSize
* resultptr
;
33741 resultptr
= new wxSize((wxSize
&) result
);
33742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33750 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33751 PyObject
*resultobj
;
33752 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33757 PyObject
* obj0
= 0 ;
33758 PyObject
* obj1
= 0 ;
33759 PyObject
* obj2
= 0 ;
33760 char *kwnames
[] = {
33761 (char *) "self",(char *) "pos",(char *) "size", NULL
33764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33767 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
33768 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33770 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
33771 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33775 (arg1
)->SetDimension(arg2
,arg3
);
33777 wxPyEndAllowThreads(__tstate
);
33778 if (PyErr_Occurred()) SWIG_fail
;
33780 Py_INCREF(Py_None
); resultobj
= Py_None
;
33787 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33788 PyObject
*resultobj
;
33789 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33791 PyObject
* obj0
= 0 ;
33792 char *kwnames
[] = {
33793 (char *) "self", NULL
33796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
33797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33801 result
= (arg1
)->GetMinSize();
33803 wxPyEndAllowThreads(__tstate
);
33804 if (PyErr_Occurred()) SWIG_fail
;
33807 wxSize
* resultptr
;
33808 resultptr
= new wxSize((wxSize
&) result
);
33809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33817 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33818 PyObject
*resultobj
;
33819 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33822 PyObject
* obj0
= 0 ;
33823 PyObject
* obj1
= 0 ;
33824 PyObject
* obj2
= 0 ;
33825 char *kwnames
[] = {
33826 (char *) "self",(char *) "x",(char *) "y", NULL
33829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33832 arg2
= (int) SWIG_AsInt(obj1
);
33833 if (PyErr_Occurred()) SWIG_fail
;
33834 arg3
= (int) SWIG_AsInt(obj2
);
33835 if (PyErr_Occurred()) SWIG_fail
;
33837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33838 (arg1
)->SetInitSize(arg2
,arg3
);
33840 wxPyEndAllowThreads(__tstate
);
33841 if (PyErr_Occurred()) SWIG_fail
;
33843 Py_INCREF(Py_None
); resultobj
= Py_None
;
33850 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33851 PyObject
*resultobj
;
33852 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33855 PyObject
* obj0
= 0 ;
33856 PyObject
* obj1
= 0 ;
33857 PyObject
* obj2
= 0 ;
33858 char *kwnames
[] = {
33859 (char *) "self",(char *) "width",(char *) "height", NULL
33862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33865 arg2
= (int) SWIG_AsInt(obj1
);
33866 if (PyErr_Occurred()) SWIG_fail
;
33867 arg3
= (int) SWIG_AsInt(obj2
);
33868 if (PyErr_Occurred()) SWIG_fail
;
33870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33871 (arg1
)->SetRatio(arg2
,arg3
);
33873 wxPyEndAllowThreads(__tstate
);
33874 if (PyErr_Occurred()) SWIG_fail
;
33876 Py_INCREF(Py_None
); resultobj
= Py_None
;
33883 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33884 PyObject
*resultobj
;
33885 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33888 PyObject
* obj0
= 0 ;
33889 PyObject
* obj1
= 0 ;
33890 char *kwnames
[] = {
33891 (char *) "self",(char *) "size", NULL
33894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33897 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
33898 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33902 (arg1
)->SetRatio(arg2
);
33904 wxPyEndAllowThreads(__tstate
);
33905 if (PyErr_Occurred()) SWIG_fail
;
33907 Py_INCREF(Py_None
); resultobj
= Py_None
;
33914 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33915 PyObject
*resultobj
;
33916 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33918 PyObject
* obj0
= 0 ;
33919 PyObject
* obj1
= 0 ;
33920 char *kwnames
[] = {
33921 (char *) "self",(char *) "ratio", NULL
33924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33927 arg2
= (float) SWIG_AsFloat(obj1
);
33928 if (PyErr_Occurred()) SWIG_fail
;
33930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33931 (arg1
)->SetRatio(arg2
);
33933 wxPyEndAllowThreads(__tstate
);
33934 if (PyErr_Occurred()) SWIG_fail
;
33936 Py_INCREF(Py_None
); resultobj
= Py_None
;
33943 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33944 PyObject
*resultobj
;
33945 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33947 PyObject
* obj0
= 0 ;
33948 char *kwnames
[] = {
33949 (char *) "self", NULL
33952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
33953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33957 result
= (float)(arg1
)->GetRatio();
33959 wxPyEndAllowThreads(__tstate
);
33960 if (PyErr_Occurred()) SWIG_fail
;
33962 resultobj
= SWIG_FromFloat((float)result
);
33969 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33970 PyObject
*resultobj
;
33971 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33973 PyObject
* obj0
= 0 ;
33974 char *kwnames
[] = {
33975 (char *) "self", NULL
33978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
33979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33983 result
= (bool)(arg1
)->IsWindow();
33985 wxPyEndAllowThreads(__tstate
);
33986 if (PyErr_Occurred()) SWIG_fail
;
33989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33997 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33998 PyObject
*resultobj
;
33999 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34001 PyObject
* obj0
= 0 ;
34002 char *kwnames
[] = {
34003 (char *) "self", NULL
34006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34011 result
= (bool)(arg1
)->IsSizer();
34013 wxPyEndAllowThreads(__tstate
);
34014 if (PyErr_Occurred()) SWIG_fail
;
34017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34025 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34026 PyObject
*resultobj
;
34027 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34029 PyObject
* obj0
= 0 ;
34030 char *kwnames
[] = {
34031 (char *) "self", NULL
34034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34039 result
= (bool)(arg1
)->IsSpacer();
34041 wxPyEndAllowThreads(__tstate
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34053 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34054 PyObject
*resultobj
;
34055 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34057 PyObject
* obj0
= 0 ;
34058 PyObject
* obj1
= 0 ;
34059 char *kwnames
[] = {
34060 (char *) "self",(char *) "proportion", NULL
34063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34066 arg2
= (int) SWIG_AsInt(obj1
);
34067 if (PyErr_Occurred()) SWIG_fail
;
34069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34070 (arg1
)->SetProportion(arg2
);
34072 wxPyEndAllowThreads(__tstate
);
34073 if (PyErr_Occurred()) SWIG_fail
;
34075 Py_INCREF(Py_None
); resultobj
= Py_None
;
34082 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34083 PyObject
*resultobj
;
34084 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34086 PyObject
* obj0
= 0 ;
34087 char *kwnames
[] = {
34088 (char *) "self", NULL
34091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34096 result
= (int)(arg1
)->GetProportion();
34098 wxPyEndAllowThreads(__tstate
);
34099 if (PyErr_Occurred()) SWIG_fail
;
34101 resultobj
= SWIG_FromInt((int)result
);
34108 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34109 PyObject
*resultobj
;
34110 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34112 PyObject
* obj0
= 0 ;
34113 PyObject
* obj1
= 0 ;
34114 char *kwnames
[] = {
34115 (char *) "self",(char *) "flag", NULL
34118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34121 arg2
= (int) SWIG_AsInt(obj1
);
34122 if (PyErr_Occurred()) SWIG_fail
;
34124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34125 (arg1
)->SetFlag(arg2
);
34127 wxPyEndAllowThreads(__tstate
);
34128 if (PyErr_Occurred()) SWIG_fail
;
34130 Py_INCREF(Py_None
); resultobj
= Py_None
;
34137 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34138 PyObject
*resultobj
;
34139 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34141 PyObject
* obj0
= 0 ;
34142 char *kwnames
[] = {
34143 (char *) "self", NULL
34146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34151 result
= (int)(arg1
)->GetFlag();
34153 wxPyEndAllowThreads(__tstate
);
34154 if (PyErr_Occurred()) SWIG_fail
;
34156 resultobj
= SWIG_FromInt((int)result
);
34163 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34164 PyObject
*resultobj
;
34165 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34167 PyObject
* obj0
= 0 ;
34168 PyObject
* obj1
= 0 ;
34169 char *kwnames
[] = {
34170 (char *) "self",(char *) "border", NULL
34173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34176 arg2
= (int) SWIG_AsInt(obj1
);
34177 if (PyErr_Occurred()) SWIG_fail
;
34179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34180 (arg1
)->SetBorder(arg2
);
34182 wxPyEndAllowThreads(__tstate
);
34183 if (PyErr_Occurred()) SWIG_fail
;
34185 Py_INCREF(Py_None
); resultobj
= Py_None
;
34192 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34193 PyObject
*resultobj
;
34194 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34196 PyObject
* obj0
= 0 ;
34197 char *kwnames
[] = {
34198 (char *) "self", NULL
34201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34206 result
= (int)(arg1
)->GetBorder();
34208 wxPyEndAllowThreads(__tstate
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34211 resultobj
= SWIG_FromInt((int)result
);
34218 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34219 PyObject
*resultobj
;
34220 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34222 PyObject
* obj0
= 0 ;
34223 char *kwnames
[] = {
34224 (char *) "self", NULL
34227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34232 result
= (wxWindow
*)(arg1
)->GetWindow();
34234 wxPyEndAllowThreads(__tstate
);
34235 if (PyErr_Occurred()) SWIG_fail
;
34238 resultobj
= wxPyMake_wxObject(result
);
34246 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34247 PyObject
*resultobj
;
34248 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34249 wxWindow
*arg2
= (wxWindow
*) 0 ;
34250 PyObject
* obj0
= 0 ;
34251 PyObject
* obj1
= 0 ;
34252 char *kwnames
[] = {
34253 (char *) "self",(char *) "window", NULL
34256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34263 (arg1
)->SetWindow(arg2
);
34265 wxPyEndAllowThreads(__tstate
);
34266 if (PyErr_Occurred()) SWIG_fail
;
34268 Py_INCREF(Py_None
); resultobj
= Py_None
;
34275 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34276 PyObject
*resultobj
;
34277 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34279 PyObject
* obj0
= 0 ;
34280 char *kwnames
[] = {
34281 (char *) "self", NULL
34284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34289 result
= (wxSizer
*)(arg1
)->GetSizer();
34291 wxPyEndAllowThreads(__tstate
);
34292 if (PyErr_Occurred()) SWIG_fail
;
34295 resultobj
= wxPyMake_wxSizer(result
);
34303 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34304 PyObject
*resultobj
;
34305 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34306 wxSizer
*arg2
= (wxSizer
*) 0 ;
34307 PyObject
* obj0
= 0 ;
34308 PyObject
* obj1
= 0 ;
34309 char *kwnames
[] = {
34310 (char *) "self",(char *) "sizer", NULL
34313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34320 (arg1
)->SetSizer(arg2
);
34322 wxPyEndAllowThreads(__tstate
);
34323 if (PyErr_Occurred()) SWIG_fail
;
34325 Py_INCREF(Py_None
); resultobj
= Py_None
;
34332 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34333 PyObject
*resultobj
;
34334 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34336 PyObject
* obj0
= 0 ;
34337 char *kwnames
[] = {
34338 (char *) "self", NULL
34341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34347 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34348 result
= (wxSize
*) &_result_ref
;
34351 wxPyEndAllowThreads(__tstate
);
34352 if (PyErr_Occurred()) SWIG_fail
;
34354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34361 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34362 PyObject
*resultobj
;
34363 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34366 PyObject
* obj0
= 0 ;
34367 PyObject
* obj1
= 0 ;
34368 char *kwnames
[] = {
34369 (char *) "self",(char *) "size", NULL
34372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34377 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34381 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34383 wxPyEndAllowThreads(__tstate
);
34384 if (PyErr_Occurred()) SWIG_fail
;
34386 Py_INCREF(Py_None
); resultobj
= Py_None
;
34393 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34394 PyObject
*resultobj
;
34395 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34397 PyObject
* obj0
= 0 ;
34398 PyObject
* obj1
= 0 ;
34399 char *kwnames
[] = {
34400 (char *) "self",(char *) "show", NULL
34403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34406 arg2
= (bool) SWIG_AsBool(obj1
);
34407 if (PyErr_Occurred()) SWIG_fail
;
34409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34410 (arg1
)->Show(arg2
);
34412 wxPyEndAllowThreads(__tstate
);
34413 if (PyErr_Occurred()) SWIG_fail
;
34415 Py_INCREF(Py_None
); resultobj
= Py_None
;
34422 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34423 PyObject
*resultobj
;
34424 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34426 PyObject
* obj0
= 0 ;
34427 char *kwnames
[] = {
34428 (char *) "self", NULL
34431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34436 result
= (bool)(arg1
)->IsShown();
34438 wxPyEndAllowThreads(__tstate
);
34439 if (PyErr_Occurred()) SWIG_fail
;
34442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34450 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34451 PyObject
*resultobj
;
34452 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34454 PyObject
* obj0
= 0 ;
34455 char *kwnames
[] = {
34456 (char *) "self", NULL
34459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34464 result
= (arg1
)->GetPosition();
34466 wxPyEndAllowThreads(__tstate
);
34467 if (PyErr_Occurred()) SWIG_fail
;
34470 wxPoint
* resultptr
;
34471 resultptr
= new wxPoint((wxPoint
&) result
);
34472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34480 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34481 PyObject
*resultobj
;
34482 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34484 PyObject
* obj0
= 0 ;
34485 char *kwnames
[] = {
34486 (char *) "self", NULL
34489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34494 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34496 wxPyEndAllowThreads(__tstate
);
34497 if (PyErr_Occurred()) SWIG_fail
;
34499 resultobj
= result
;
34506 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34509 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34511 return Py_BuildValue((char *)"");
34513 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34514 PyObject
*resultobj
;
34515 wxSizer
*arg1
= (wxSizer
*) 0 ;
34516 PyObject
*arg2
= (PyObject
*) 0 ;
34517 PyObject
* obj0
= 0 ;
34518 PyObject
* obj1
= 0 ;
34519 char *kwnames
[] = {
34520 (char *) "self",(char *) "_self", NULL
34523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34529 wxSizer__setOORInfo(arg1
,arg2
);
34531 wxPyEndAllowThreads(__tstate
);
34532 if (PyErr_Occurred()) SWIG_fail
;
34534 Py_INCREF(Py_None
); resultobj
= Py_None
;
34541 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34542 PyObject
*resultobj
;
34543 wxSizer
*arg1
= (wxSizer
*) 0 ;
34544 PyObject
*arg2
= (PyObject
*) 0 ;
34545 int arg3
= (int) 0 ;
34546 int arg4
= (int) 0 ;
34547 int arg5
= (int) 0 ;
34548 PyObject
*arg6
= (PyObject
*) NULL
;
34549 PyObject
* obj0
= 0 ;
34550 PyObject
* obj1
= 0 ;
34551 PyObject
* obj2
= 0 ;
34552 PyObject
* obj3
= 0 ;
34553 PyObject
* obj4
= 0 ;
34554 PyObject
* obj5
= 0 ;
34555 char *kwnames
[] = {
34556 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34564 arg3
= (int) SWIG_AsInt(obj2
);
34565 if (PyErr_Occurred()) SWIG_fail
;
34568 arg4
= (int) SWIG_AsInt(obj3
);
34569 if (PyErr_Occurred()) SWIG_fail
;
34572 arg5
= (int) SWIG_AsInt(obj4
);
34573 if (PyErr_Occurred()) SWIG_fail
;
34579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34580 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34582 wxPyEndAllowThreads(__tstate
);
34583 if (PyErr_Occurred()) SWIG_fail
;
34585 Py_INCREF(Py_None
); resultobj
= Py_None
;
34592 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34593 PyObject
*resultobj
;
34594 wxSizer
*arg1
= (wxSizer
*) 0 ;
34596 PyObject
*arg3
= (PyObject
*) 0 ;
34597 int arg4
= (int) 0 ;
34598 int arg5
= (int) 0 ;
34599 int arg6
= (int) 0 ;
34600 PyObject
*arg7
= (PyObject
*) NULL
;
34601 PyObject
* obj0
= 0 ;
34602 PyObject
* obj1
= 0 ;
34603 PyObject
* obj2
= 0 ;
34604 PyObject
* obj3
= 0 ;
34605 PyObject
* obj4
= 0 ;
34606 PyObject
* obj5
= 0 ;
34607 PyObject
* obj6
= 0 ;
34608 char *kwnames
[] = {
34609 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34615 arg2
= (int) SWIG_AsInt(obj1
);
34616 if (PyErr_Occurred()) SWIG_fail
;
34619 arg4
= (int) SWIG_AsInt(obj3
);
34620 if (PyErr_Occurred()) SWIG_fail
;
34623 arg5
= (int) SWIG_AsInt(obj4
);
34624 if (PyErr_Occurred()) SWIG_fail
;
34627 arg6
= (int) SWIG_AsInt(obj5
);
34628 if (PyErr_Occurred()) SWIG_fail
;
34634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34635 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34637 wxPyEndAllowThreads(__tstate
);
34638 if (PyErr_Occurred()) SWIG_fail
;
34640 Py_INCREF(Py_None
); resultobj
= Py_None
;
34647 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34648 PyObject
*resultobj
;
34649 wxSizer
*arg1
= (wxSizer
*) 0 ;
34650 PyObject
*arg2
= (PyObject
*) 0 ;
34651 int arg3
= (int) 0 ;
34652 int arg4
= (int) 0 ;
34653 int arg5
= (int) 0 ;
34654 PyObject
*arg6
= (PyObject
*) NULL
;
34655 PyObject
* obj0
= 0 ;
34656 PyObject
* obj1
= 0 ;
34657 PyObject
* obj2
= 0 ;
34658 PyObject
* obj3
= 0 ;
34659 PyObject
* obj4
= 0 ;
34660 PyObject
* obj5
= 0 ;
34661 char *kwnames
[] = {
34662 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34670 arg3
= (int) SWIG_AsInt(obj2
);
34671 if (PyErr_Occurred()) SWIG_fail
;
34674 arg4
= (int) SWIG_AsInt(obj3
);
34675 if (PyErr_Occurred()) SWIG_fail
;
34678 arg5
= (int) SWIG_AsInt(obj4
);
34679 if (PyErr_Occurred()) SWIG_fail
;
34685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34686 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34688 wxPyEndAllowThreads(__tstate
);
34689 if (PyErr_Occurred()) SWIG_fail
;
34691 Py_INCREF(Py_None
); resultobj
= Py_None
;
34698 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34699 PyObject
*resultobj
;
34700 wxSizer
*arg1
= (wxSizer
*) 0 ;
34701 PyObject
*arg2
= (PyObject
*) 0 ;
34703 PyObject
* obj0
= 0 ;
34704 PyObject
* obj1
= 0 ;
34705 char *kwnames
[] = {
34706 (char *) "self",(char *) "item", NULL
34709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34715 result
= (bool)wxSizer_Remove(arg1
,arg2
);
34717 wxPyEndAllowThreads(__tstate
);
34718 if (PyErr_Occurred()) SWIG_fail
;
34721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34729 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34730 PyObject
*resultobj
;
34731 wxSizer
*arg1
= (wxSizer
*) 0 ;
34732 PyObject
*arg2
= (PyObject
*) 0 ;
34734 PyObject
* obj0
= 0 ;
34735 PyObject
* obj1
= 0 ;
34736 char *kwnames
[] = {
34737 (char *) "self",(char *) "item", NULL
34740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
34741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34746 result
= (bool)wxSizer_Detach(arg1
,arg2
);
34748 wxPyEndAllowThreads(__tstate
);
34749 if (PyErr_Occurred()) SWIG_fail
;
34752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34760 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34761 PyObject
*resultobj
;
34762 wxSizer
*arg1
= (wxSizer
*) 0 ;
34763 PyObject
*arg2
= (PyObject
*) 0 ;
34766 PyObject
* obj0
= 0 ;
34767 PyObject
* obj1
= 0 ;
34768 PyObject
* obj2
= 0 ;
34769 char *kwnames
[] = {
34770 (char *) "self",(char *) "item",(char *) "size", NULL
34773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34779 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34783 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
34785 wxPyEndAllowThreads(__tstate
);
34786 if (PyErr_Occurred()) SWIG_fail
;
34788 Py_INCREF(Py_None
); resultobj
= Py_None
;
34795 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34796 PyObject
*resultobj
;
34797 wxSizer
*arg1
= (wxSizer
*) 0 ;
34798 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34799 PyObject
* obj0
= 0 ;
34800 PyObject
* obj1
= 0 ;
34801 char *kwnames
[] = {
34802 (char *) "self",(char *) "item", NULL
34805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34814 wxPyEndAllowThreads(__tstate
);
34815 if (PyErr_Occurred()) SWIG_fail
;
34817 Py_INCREF(Py_None
); resultobj
= Py_None
;
34824 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34825 PyObject
*resultobj
;
34826 wxSizer
*arg1
= (wxSizer
*) 0 ;
34828 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
34829 PyObject
* obj0
= 0 ;
34830 PyObject
* obj1
= 0 ;
34831 PyObject
* obj2
= 0 ;
34832 char *kwnames
[] = {
34833 (char *) "self",(char *) "index",(char *) "item", NULL
34836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34839 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34840 if (PyErr_Occurred()) SWIG_fail
;
34841 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
34842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34845 (arg1
)->Insert(arg2
,arg3
);
34847 wxPyEndAllowThreads(__tstate
);
34848 if (PyErr_Occurred()) SWIG_fail
;
34850 Py_INCREF(Py_None
); resultobj
= Py_None
;
34857 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34858 PyObject
*resultobj
;
34859 wxSizer
*arg1
= (wxSizer
*) 0 ;
34860 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34861 PyObject
* obj0
= 0 ;
34862 PyObject
* obj1
= 0 ;
34863 char *kwnames
[] = {
34864 (char *) "self",(char *) "item", NULL
34867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34874 (arg1
)->Prepend(arg2
);
34876 wxPyEndAllowThreads(__tstate
);
34877 if (PyErr_Occurred()) SWIG_fail
;
34879 Py_INCREF(Py_None
); resultobj
= Py_None
;
34886 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34887 PyObject
*resultobj
;
34888 wxSizer
*arg1
= (wxSizer
*) 0 ;
34893 PyObject
* obj0
= 0 ;
34894 PyObject
* obj1
= 0 ;
34895 PyObject
* obj2
= 0 ;
34896 PyObject
* obj3
= 0 ;
34897 PyObject
* obj4
= 0 ;
34898 char *kwnames
[] = {
34899 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34905 arg2
= (int) SWIG_AsInt(obj1
);
34906 if (PyErr_Occurred()) SWIG_fail
;
34907 arg3
= (int) SWIG_AsInt(obj2
);
34908 if (PyErr_Occurred()) SWIG_fail
;
34909 arg4
= (int) SWIG_AsInt(obj3
);
34910 if (PyErr_Occurred()) SWIG_fail
;
34911 arg5
= (int) SWIG_AsInt(obj4
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34915 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
34917 wxPyEndAllowThreads(__tstate
);
34918 if (PyErr_Occurred()) SWIG_fail
;
34920 Py_INCREF(Py_None
); resultobj
= Py_None
;
34927 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34928 PyObject
*resultobj
;
34929 wxSizer
*arg1
= (wxSizer
*) 0 ;
34932 PyObject
* obj0
= 0 ;
34933 PyObject
* obj1
= 0 ;
34934 char *kwnames
[] = {
34935 (char *) "self",(char *) "size", NULL
34938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34943 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34947 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34949 wxPyEndAllowThreads(__tstate
);
34950 if (PyErr_Occurred()) SWIG_fail
;
34952 Py_INCREF(Py_None
); resultobj
= Py_None
;
34959 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34960 PyObject
*resultobj
;
34961 wxSizer
*arg1
= (wxSizer
*) 0 ;
34963 PyObject
* obj0
= 0 ;
34964 char *kwnames
[] = {
34965 (char *) "self", NULL
34968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34973 result
= (arg1
)->GetSize();
34975 wxPyEndAllowThreads(__tstate
);
34976 if (PyErr_Occurred()) SWIG_fail
;
34979 wxSize
* resultptr
;
34980 resultptr
= new wxSize((wxSize
&) result
);
34981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34989 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34990 PyObject
*resultobj
;
34991 wxSizer
*arg1
= (wxSizer
*) 0 ;
34993 PyObject
* obj0
= 0 ;
34994 char *kwnames
[] = {
34995 (char *) "self", NULL
34998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
34999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35003 result
= (arg1
)->GetPosition();
35005 wxPyEndAllowThreads(__tstate
);
35006 if (PyErr_Occurred()) SWIG_fail
;
35009 wxPoint
* resultptr
;
35010 resultptr
= new wxPoint((wxPoint
&) result
);
35011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35019 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35020 PyObject
*resultobj
;
35021 wxSizer
*arg1
= (wxSizer
*) 0 ;
35023 PyObject
* obj0
= 0 ;
35024 char *kwnames
[] = {
35025 (char *) "self", NULL
35028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35033 result
= (arg1
)->GetMinSize();
35035 wxPyEndAllowThreads(__tstate
);
35036 if (PyErr_Occurred()) SWIG_fail
;
35039 wxSize
* resultptr
;
35040 resultptr
= new wxSize((wxSize
&) result
);
35041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35049 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35050 PyObject
*resultobj
;
35051 wxSizer
*arg1
= (wxSizer
*) 0 ;
35052 PyObject
* obj0
= 0 ;
35053 char *kwnames
[] = {
35054 (char *) "self", NULL
35057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35062 (arg1
)->RecalcSizes();
35064 wxPyEndAllowThreads(__tstate
);
35065 if (PyErr_Occurred()) SWIG_fail
;
35067 Py_INCREF(Py_None
); resultobj
= Py_None
;
35074 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35075 PyObject
*resultobj
;
35076 wxSizer
*arg1
= (wxSizer
*) 0 ;
35078 PyObject
* obj0
= 0 ;
35079 char *kwnames
[] = {
35080 (char *) "self", NULL
35083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35088 result
= (arg1
)->CalcMin();
35090 wxPyEndAllowThreads(__tstate
);
35091 if (PyErr_Occurred()) SWIG_fail
;
35094 wxSize
* resultptr
;
35095 resultptr
= new wxSize((wxSize
&) result
);
35096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35104 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35105 PyObject
*resultobj
;
35106 wxSizer
*arg1
= (wxSizer
*) 0 ;
35107 PyObject
* obj0
= 0 ;
35108 char *kwnames
[] = {
35109 (char *) "self", NULL
35112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35119 wxPyEndAllowThreads(__tstate
);
35120 if (PyErr_Occurred()) SWIG_fail
;
35122 Py_INCREF(Py_None
); resultobj
= Py_None
;
35129 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35130 PyObject
*resultobj
;
35131 wxSizer
*arg1
= (wxSizer
*) 0 ;
35132 wxWindow
*arg2
= (wxWindow
*) 0 ;
35134 PyObject
* obj0
= 0 ;
35135 PyObject
* obj1
= 0 ;
35136 char *kwnames
[] = {
35137 (char *) "self",(char *) "window", NULL
35140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35147 result
= (arg1
)->Fit(arg2
);
35149 wxPyEndAllowThreads(__tstate
);
35150 if (PyErr_Occurred()) SWIG_fail
;
35153 wxSize
* resultptr
;
35154 resultptr
= new wxSize((wxSize
&) result
);
35155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35163 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35164 PyObject
*resultobj
;
35165 wxSizer
*arg1
= (wxSizer
*) 0 ;
35166 wxWindow
*arg2
= (wxWindow
*) 0 ;
35167 PyObject
* obj0
= 0 ;
35168 PyObject
* obj1
= 0 ;
35169 char *kwnames
[] = {
35170 (char *) "self",(char *) "window", NULL
35173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35180 (arg1
)->FitInside(arg2
);
35182 wxPyEndAllowThreads(__tstate
);
35183 if (PyErr_Occurred()) SWIG_fail
;
35185 Py_INCREF(Py_None
); resultobj
= Py_None
;
35192 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35193 PyObject
*resultobj
;
35194 wxSizer
*arg1
= (wxSizer
*) 0 ;
35195 wxWindow
*arg2
= (wxWindow
*) 0 ;
35196 PyObject
* obj0
= 0 ;
35197 PyObject
* obj1
= 0 ;
35198 char *kwnames
[] = {
35199 (char *) "self",(char *) "window", NULL
35202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35209 (arg1
)->SetSizeHints(arg2
);
35211 wxPyEndAllowThreads(__tstate
);
35212 if (PyErr_Occurred()) SWIG_fail
;
35214 Py_INCREF(Py_None
); resultobj
= Py_None
;
35221 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35222 PyObject
*resultobj
;
35223 wxSizer
*arg1
= (wxSizer
*) 0 ;
35224 wxWindow
*arg2
= (wxWindow
*) 0 ;
35225 PyObject
* obj0
= 0 ;
35226 PyObject
* obj1
= 0 ;
35227 char *kwnames
[] = {
35228 (char *) "self",(char *) "window", NULL
35231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35238 (arg1
)->SetVirtualSizeHints(arg2
);
35240 wxPyEndAllowThreads(__tstate
);
35241 if (PyErr_Occurred()) SWIG_fail
;
35243 Py_INCREF(Py_None
); resultobj
= Py_None
;
35250 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35251 PyObject
*resultobj
;
35252 wxSizer
*arg1
= (wxSizer
*) 0 ;
35253 bool arg2
= (bool) False
;
35254 PyObject
* obj0
= 0 ;
35255 PyObject
* obj1
= 0 ;
35256 char *kwnames
[] = {
35257 (char *) "self",(char *) "delete_windows", NULL
35260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35264 arg2
= (bool) SWIG_AsBool(obj1
);
35265 if (PyErr_Occurred()) SWIG_fail
;
35268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35269 (arg1
)->Clear(arg2
);
35271 wxPyEndAllowThreads(__tstate
);
35272 if (PyErr_Occurred()) SWIG_fail
;
35274 Py_INCREF(Py_None
); resultobj
= Py_None
;
35281 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35282 PyObject
*resultobj
;
35283 wxSizer
*arg1
= (wxSizer
*) 0 ;
35284 PyObject
* obj0
= 0 ;
35285 char *kwnames
[] = {
35286 (char *) "self", NULL
35289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35294 (arg1
)->DeleteWindows();
35296 wxPyEndAllowThreads(__tstate
);
35297 if (PyErr_Occurred()) SWIG_fail
;
35299 Py_INCREF(Py_None
); resultobj
= Py_None
;
35306 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35307 PyObject
*resultobj
;
35308 wxSizer
*arg1
= (wxSizer
*) 0 ;
35310 PyObject
* obj0
= 0 ;
35311 char *kwnames
[] = {
35312 (char *) "self", NULL
35315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35320 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35322 wxPyEndAllowThreads(__tstate
);
35323 if (PyErr_Occurred()) SWIG_fail
;
35325 resultobj
= result
;
35332 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35333 PyObject
*resultobj
;
35334 wxSizer
*arg1
= (wxSizer
*) 0 ;
35335 PyObject
*arg2
= (PyObject
*) 0 ;
35336 bool arg3
= (bool) True
;
35337 PyObject
* obj0
= 0 ;
35338 PyObject
* obj1
= 0 ;
35339 PyObject
* obj2
= 0 ;
35340 char *kwnames
[] = {
35341 (char *) "self",(char *) "item",(char *) "show", NULL
35344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35349 arg3
= (bool) SWIG_AsBool(obj2
);
35350 if (PyErr_Occurred()) SWIG_fail
;
35353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35354 wxSizer_Show(arg1
,arg2
,arg3
);
35356 wxPyEndAllowThreads(__tstate
);
35357 if (PyErr_Occurred()) SWIG_fail
;
35359 Py_INCREF(Py_None
); resultobj
= Py_None
;
35366 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35367 PyObject
*resultobj
;
35368 wxSizer
*arg1
= (wxSizer
*) 0 ;
35369 PyObject
*arg2
= (PyObject
*) 0 ;
35370 PyObject
* obj0
= 0 ;
35371 PyObject
* obj1
= 0 ;
35372 char *kwnames
[] = {
35373 (char *) "self",(char *) "item", NULL
35376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35382 wxSizer_Hide(arg1
,arg2
);
35384 wxPyEndAllowThreads(__tstate
);
35385 if (PyErr_Occurred()) SWIG_fail
;
35387 Py_INCREF(Py_None
); resultobj
= Py_None
;
35394 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35395 PyObject
*resultobj
;
35396 wxSizer
*arg1
= (wxSizer
*) 0 ;
35397 PyObject
*arg2
= (PyObject
*) 0 ;
35399 PyObject
* obj0
= 0 ;
35400 PyObject
* obj1
= 0 ;
35401 char *kwnames
[] = {
35402 (char *) "self",(char *) "item", NULL
35405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35411 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35413 wxPyEndAllowThreads(__tstate
);
35414 if (PyErr_Occurred()) SWIG_fail
;
35417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35425 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35426 PyObject
*resultobj
;
35427 wxSizer
*arg1
= (wxSizer
*) 0 ;
35429 PyObject
* obj0
= 0 ;
35430 PyObject
* obj1
= 0 ;
35431 char *kwnames
[] = {
35432 (char *) "self",(char *) "show", NULL
35435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35438 arg2
= (bool) SWIG_AsBool(obj1
);
35439 if (PyErr_Occurred()) SWIG_fail
;
35441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35442 (arg1
)->ShowItems(arg2
);
35444 wxPyEndAllowThreads(__tstate
);
35445 if (PyErr_Occurred()) SWIG_fail
;
35447 Py_INCREF(Py_None
); resultobj
= Py_None
;
35454 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35457 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35459 return Py_BuildValue((char *)"");
35461 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35462 PyObject
*resultobj
;
35464 char *kwnames
[] = {
35468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35471 result
= (wxPySizer
*)new wxPySizer();
35473 wxPyEndAllowThreads(__tstate
);
35474 if (PyErr_Occurred()) SWIG_fail
;
35476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35483 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35484 PyObject
*resultobj
;
35485 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35486 PyObject
*arg2
= (PyObject
*) 0 ;
35487 PyObject
*arg3
= (PyObject
*) 0 ;
35488 PyObject
* obj0
= 0 ;
35489 PyObject
* obj1
= 0 ;
35490 PyObject
* obj2
= 0 ;
35491 char *kwnames
[] = {
35492 (char *) "self",(char *) "self",(char *) "_class", NULL
35495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35502 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35504 wxPyEndAllowThreads(__tstate
);
35505 if (PyErr_Occurred()) SWIG_fail
;
35507 Py_INCREF(Py_None
); resultobj
= Py_None
;
35514 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35517 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35519 return Py_BuildValue((char *)"");
35521 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35522 PyObject
*resultobj
;
35523 int arg1
= (int) wxHORIZONTAL
;
35524 wxBoxSizer
*result
;
35525 PyObject
* obj0
= 0 ;
35526 char *kwnames
[] = {
35527 (char *) "orient", NULL
35530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35532 arg1
= (int) SWIG_AsInt(obj0
);
35533 if (PyErr_Occurred()) SWIG_fail
;
35536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35537 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35539 wxPyEndAllowThreads(__tstate
);
35540 if (PyErr_Occurred()) SWIG_fail
;
35542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35549 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35550 PyObject
*resultobj
;
35551 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35553 PyObject
* obj0
= 0 ;
35554 char *kwnames
[] = {
35555 (char *) "self", NULL
35558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35563 result
= (int)(arg1
)->GetOrientation();
35565 wxPyEndAllowThreads(__tstate
);
35566 if (PyErr_Occurred()) SWIG_fail
;
35568 resultobj
= SWIG_FromInt((int)result
);
35575 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35576 PyObject
*resultobj
;
35577 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35579 PyObject
* obj0
= 0 ;
35580 PyObject
* obj1
= 0 ;
35581 char *kwnames
[] = {
35582 (char *) "self",(char *) "orient", NULL
35585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35588 arg2
= (int) SWIG_AsInt(obj1
);
35589 if (PyErr_Occurred()) SWIG_fail
;
35591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35592 (arg1
)->SetOrientation(arg2
);
35594 wxPyEndAllowThreads(__tstate
);
35595 if (PyErr_Occurred()) SWIG_fail
;
35597 Py_INCREF(Py_None
); resultobj
= Py_None
;
35604 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35605 PyObject
*resultobj
;
35606 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35607 PyObject
* obj0
= 0 ;
35608 char *kwnames
[] = {
35609 (char *) "self", NULL
35612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35617 (arg1
)->RecalcSizes();
35619 wxPyEndAllowThreads(__tstate
);
35620 if (PyErr_Occurred()) SWIG_fail
;
35622 Py_INCREF(Py_None
); resultobj
= Py_None
;
35629 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35630 PyObject
*resultobj
;
35631 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35633 PyObject
* obj0
= 0 ;
35634 char *kwnames
[] = {
35635 (char *) "self", NULL
35638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35643 result
= (arg1
)->CalcMin();
35645 wxPyEndAllowThreads(__tstate
);
35646 if (PyErr_Occurred()) SWIG_fail
;
35649 wxSize
* resultptr
;
35650 resultptr
= new wxSize((wxSize
&) result
);
35651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35659 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35662 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35664 return Py_BuildValue((char *)"");
35666 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35667 PyObject
*resultobj
;
35668 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35669 int arg2
= (int) wxHORIZONTAL
;
35670 wxStaticBoxSizer
*result
;
35671 PyObject
* obj0
= 0 ;
35672 PyObject
* obj1
= 0 ;
35673 char *kwnames
[] = {
35674 (char *) "box",(char *) "orient", NULL
35677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35681 arg2
= (int) SWIG_AsInt(obj1
);
35682 if (PyErr_Occurred()) SWIG_fail
;
35685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35686 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35688 wxPyEndAllowThreads(__tstate
);
35689 if (PyErr_Occurred()) SWIG_fail
;
35691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
35698 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35699 PyObject
*resultobj
;
35700 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35701 wxStaticBox
*result
;
35702 PyObject
* obj0
= 0 ;
35703 char *kwnames
[] = {
35704 (char *) "self", NULL
35707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
35708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35712 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
35714 wxPyEndAllowThreads(__tstate
);
35715 if (PyErr_Occurred()) SWIG_fail
;
35718 resultobj
= wxPyMake_wxObject(result
);
35726 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35727 PyObject
*resultobj
;
35728 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35729 PyObject
* obj0
= 0 ;
35730 char *kwnames
[] = {
35731 (char *) "self", NULL
35734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35739 (arg1
)->RecalcSizes();
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35744 Py_INCREF(Py_None
); resultobj
= Py_None
;
35751 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35752 PyObject
*resultobj
;
35753 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35755 PyObject
* obj0
= 0 ;
35756 char *kwnames
[] = {
35757 (char *) "self", NULL
35760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35765 result
= (arg1
)->CalcMin();
35767 wxPyEndAllowThreads(__tstate
);
35768 if (PyErr_Occurred()) SWIG_fail
;
35771 wxSize
* resultptr
;
35772 resultptr
= new wxSize((wxSize
&) result
);
35773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35781 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35784 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
35786 return Py_BuildValue((char *)"");
35788 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35789 PyObject
*resultobj
;
35790 int arg1
= (int) 1 ;
35791 int arg2
= (int) 0 ;
35792 int arg3
= (int) 0 ;
35793 int arg4
= (int) 0 ;
35794 wxGridSizer
*result
;
35795 PyObject
* obj0
= 0 ;
35796 PyObject
* obj1
= 0 ;
35797 PyObject
* obj2
= 0 ;
35798 PyObject
* obj3
= 0 ;
35799 char *kwnames
[] = {
35800 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35805 arg1
= (int) SWIG_AsInt(obj0
);
35806 if (PyErr_Occurred()) SWIG_fail
;
35809 arg2
= (int) SWIG_AsInt(obj1
);
35810 if (PyErr_Occurred()) SWIG_fail
;
35813 arg3
= (int) SWIG_AsInt(obj2
);
35814 if (PyErr_Occurred()) SWIG_fail
;
35817 arg4
= (int) SWIG_AsInt(obj3
);
35818 if (PyErr_Occurred()) SWIG_fail
;
35821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35822 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
35824 wxPyEndAllowThreads(__tstate
);
35825 if (PyErr_Occurred()) SWIG_fail
;
35827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
35834 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35835 PyObject
*resultobj
;
35836 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35837 PyObject
* obj0
= 0 ;
35838 char *kwnames
[] = {
35839 (char *) "self", NULL
35842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35847 (arg1
)->RecalcSizes();
35849 wxPyEndAllowThreads(__tstate
);
35850 if (PyErr_Occurred()) SWIG_fail
;
35852 Py_INCREF(Py_None
); resultobj
= Py_None
;
35859 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35860 PyObject
*resultobj
;
35861 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35863 PyObject
* obj0
= 0 ;
35864 char *kwnames
[] = {
35865 (char *) "self", NULL
35868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35873 result
= (arg1
)->CalcMin();
35875 wxPyEndAllowThreads(__tstate
);
35876 if (PyErr_Occurred()) SWIG_fail
;
35879 wxSize
* resultptr
;
35880 resultptr
= new wxSize((wxSize
&) result
);
35881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35889 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35890 PyObject
*resultobj
;
35891 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35893 PyObject
* obj0
= 0 ;
35894 PyObject
* obj1
= 0 ;
35895 char *kwnames
[] = {
35896 (char *) "self",(char *) "cols", NULL
35899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
35900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35902 arg2
= (int) SWIG_AsInt(obj1
);
35903 if (PyErr_Occurred()) SWIG_fail
;
35905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35906 (arg1
)->SetCols(arg2
);
35908 wxPyEndAllowThreads(__tstate
);
35909 if (PyErr_Occurred()) SWIG_fail
;
35911 Py_INCREF(Py_None
); resultobj
= Py_None
;
35918 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35919 PyObject
*resultobj
;
35920 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35922 PyObject
* obj0
= 0 ;
35923 PyObject
* obj1
= 0 ;
35924 char *kwnames
[] = {
35925 (char *) "self",(char *) "rows", NULL
35928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
35929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35931 arg2
= (int) SWIG_AsInt(obj1
);
35932 if (PyErr_Occurred()) SWIG_fail
;
35934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35935 (arg1
)->SetRows(arg2
);
35937 wxPyEndAllowThreads(__tstate
);
35938 if (PyErr_Occurred()) SWIG_fail
;
35940 Py_INCREF(Py_None
); resultobj
= Py_None
;
35947 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35948 PyObject
*resultobj
;
35949 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35951 PyObject
* obj0
= 0 ;
35952 PyObject
* obj1
= 0 ;
35953 char *kwnames
[] = {
35954 (char *) "self",(char *) "gap", NULL
35957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35960 arg2
= (int) SWIG_AsInt(obj1
);
35961 if (PyErr_Occurred()) SWIG_fail
;
35963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35964 (arg1
)->SetVGap(arg2
);
35966 wxPyEndAllowThreads(__tstate
);
35967 if (PyErr_Occurred()) SWIG_fail
;
35969 Py_INCREF(Py_None
); resultobj
= Py_None
;
35976 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35977 PyObject
*resultobj
;
35978 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35980 PyObject
* obj0
= 0 ;
35981 PyObject
* obj1
= 0 ;
35982 char *kwnames
[] = {
35983 (char *) "self",(char *) "gap", NULL
35986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35989 arg2
= (int) SWIG_AsInt(obj1
);
35990 if (PyErr_Occurred()) SWIG_fail
;
35992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35993 (arg1
)->SetHGap(arg2
);
35995 wxPyEndAllowThreads(__tstate
);
35996 if (PyErr_Occurred()) SWIG_fail
;
35998 Py_INCREF(Py_None
); resultobj
= Py_None
;
36005 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36006 PyObject
*resultobj
;
36007 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36009 PyObject
* obj0
= 0 ;
36010 char *kwnames
[] = {
36011 (char *) "self", NULL
36014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36019 result
= (int)(arg1
)->GetCols();
36021 wxPyEndAllowThreads(__tstate
);
36022 if (PyErr_Occurred()) SWIG_fail
;
36024 resultobj
= SWIG_FromInt((int)result
);
36031 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36032 PyObject
*resultobj
;
36033 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36035 PyObject
* obj0
= 0 ;
36036 char *kwnames
[] = {
36037 (char *) "self", NULL
36040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36045 result
= (int)(arg1
)->GetRows();
36047 wxPyEndAllowThreads(__tstate
);
36048 if (PyErr_Occurred()) SWIG_fail
;
36050 resultobj
= SWIG_FromInt((int)result
);
36057 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36058 PyObject
*resultobj
;
36059 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36061 PyObject
* obj0
= 0 ;
36062 char *kwnames
[] = {
36063 (char *) "self", NULL
36066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36071 result
= (int)(arg1
)->GetVGap();
36073 wxPyEndAllowThreads(__tstate
);
36074 if (PyErr_Occurred()) SWIG_fail
;
36076 resultobj
= SWIG_FromInt((int)result
);
36083 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36084 PyObject
*resultobj
;
36085 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36087 PyObject
* obj0
= 0 ;
36088 char *kwnames
[] = {
36089 (char *) "self", NULL
36092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36097 result
= (int)(arg1
)->GetHGap();
36099 wxPyEndAllowThreads(__tstate
);
36100 if (PyErr_Occurred()) SWIG_fail
;
36102 resultobj
= SWIG_FromInt((int)result
);
36109 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36112 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36114 return Py_BuildValue((char *)"");
36116 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36117 PyObject
*resultobj
;
36118 int arg1
= (int) 1 ;
36119 int arg2
= (int) 0 ;
36120 int arg3
= (int) 0 ;
36121 int arg4
= (int) 0 ;
36122 wxFlexGridSizer
*result
;
36123 PyObject
* obj0
= 0 ;
36124 PyObject
* obj1
= 0 ;
36125 PyObject
* obj2
= 0 ;
36126 PyObject
* obj3
= 0 ;
36127 char *kwnames
[] = {
36128 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36133 arg1
= (int) SWIG_AsInt(obj0
);
36134 if (PyErr_Occurred()) SWIG_fail
;
36137 arg2
= (int) SWIG_AsInt(obj1
);
36138 if (PyErr_Occurred()) SWIG_fail
;
36141 arg3
= (int) SWIG_AsInt(obj2
);
36142 if (PyErr_Occurred()) SWIG_fail
;
36145 arg4
= (int) SWIG_AsInt(obj3
);
36146 if (PyErr_Occurred()) SWIG_fail
;
36149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36150 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36152 wxPyEndAllowThreads(__tstate
);
36153 if (PyErr_Occurred()) SWIG_fail
;
36155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36162 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36163 PyObject
*resultobj
;
36164 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36165 PyObject
* obj0
= 0 ;
36166 char *kwnames
[] = {
36167 (char *) "self", NULL
36170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36175 (arg1
)->RecalcSizes();
36177 wxPyEndAllowThreads(__tstate
);
36178 if (PyErr_Occurred()) SWIG_fail
;
36180 Py_INCREF(Py_None
); resultobj
= Py_None
;
36187 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36188 PyObject
*resultobj
;
36189 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36191 PyObject
* obj0
= 0 ;
36192 char *kwnames
[] = {
36193 (char *) "self", NULL
36196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36201 result
= (arg1
)->CalcMin();
36203 wxPyEndAllowThreads(__tstate
);
36204 if (PyErr_Occurred()) SWIG_fail
;
36207 wxSize
* resultptr
;
36208 resultptr
= new wxSize((wxSize
&) result
);
36209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36217 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36218 PyObject
*resultobj
;
36219 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36221 int arg3
= (int) 0 ;
36222 PyObject
* obj0
= 0 ;
36223 PyObject
* obj1
= 0 ;
36224 PyObject
* obj2
= 0 ;
36225 char *kwnames
[] = {
36226 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36232 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36233 if (PyErr_Occurred()) SWIG_fail
;
36235 arg3
= (int) SWIG_AsInt(obj2
);
36236 if (PyErr_Occurred()) SWIG_fail
;
36239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36240 (arg1
)->AddGrowableRow(arg2
,arg3
);
36242 wxPyEndAllowThreads(__tstate
);
36243 if (PyErr_Occurred()) SWIG_fail
;
36245 Py_INCREF(Py_None
); resultobj
= Py_None
;
36252 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36253 PyObject
*resultobj
;
36254 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36256 PyObject
* obj0
= 0 ;
36257 PyObject
* obj1
= 0 ;
36258 char *kwnames
[] = {
36259 (char *) "self",(char *) "idx", NULL
36262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36265 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36266 if (PyErr_Occurred()) SWIG_fail
;
36268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36269 (arg1
)->RemoveGrowableRow(arg2
);
36271 wxPyEndAllowThreads(__tstate
);
36272 if (PyErr_Occurred()) SWIG_fail
;
36274 Py_INCREF(Py_None
); resultobj
= Py_None
;
36281 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36282 PyObject
*resultobj
;
36283 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36285 int arg3
= (int) 0 ;
36286 PyObject
* obj0
= 0 ;
36287 PyObject
* obj1
= 0 ;
36288 PyObject
* obj2
= 0 ;
36289 char *kwnames
[] = {
36290 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36296 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36297 if (PyErr_Occurred()) SWIG_fail
;
36299 arg3
= (int) SWIG_AsInt(obj2
);
36300 if (PyErr_Occurred()) SWIG_fail
;
36303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36304 (arg1
)->AddGrowableCol(arg2
,arg3
);
36306 wxPyEndAllowThreads(__tstate
);
36307 if (PyErr_Occurred()) SWIG_fail
;
36309 Py_INCREF(Py_None
); resultobj
= Py_None
;
36316 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36317 PyObject
*resultobj
;
36318 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36320 PyObject
* obj0
= 0 ;
36321 PyObject
* obj1
= 0 ;
36322 char *kwnames
[] = {
36323 (char *) "self",(char *) "idx", NULL
36326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36329 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36330 if (PyErr_Occurred()) SWIG_fail
;
36332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36333 (arg1
)->RemoveGrowableCol(arg2
);
36335 wxPyEndAllowThreads(__tstate
);
36336 if (PyErr_Occurred()) SWIG_fail
;
36338 Py_INCREF(Py_None
); resultobj
= Py_None
;
36345 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36346 PyObject
*resultobj
;
36347 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36349 PyObject
* obj0
= 0 ;
36350 PyObject
* obj1
= 0 ;
36351 char *kwnames
[] = {
36352 (char *) "self",(char *) "direction", NULL
36355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36358 arg2
= (int) SWIG_AsInt(obj1
);
36359 if (PyErr_Occurred()) SWIG_fail
;
36361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36362 (arg1
)->SetFlexibleDirection(arg2
);
36364 wxPyEndAllowThreads(__tstate
);
36365 if (PyErr_Occurred()) SWIG_fail
;
36367 Py_INCREF(Py_None
); resultobj
= Py_None
;
36374 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36375 PyObject
*resultobj
;
36376 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36378 PyObject
* obj0
= 0 ;
36379 char *kwnames
[] = {
36380 (char *) "self", NULL
36383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36388 result
= (int)(arg1
)->GetFlexibleDirection();
36390 wxPyEndAllowThreads(__tstate
);
36391 if (PyErr_Occurred()) SWIG_fail
;
36393 resultobj
= SWIG_FromInt((int)result
);
36400 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36401 PyObject
*resultobj
;
36402 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36404 PyObject
* obj0
= 0 ;
36405 PyObject
* obj1
= 0 ;
36406 char *kwnames
[] = {
36407 (char *) "self",(char *) "mode", NULL
36410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36413 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36414 if (PyErr_Occurred()) SWIG_fail
;
36416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36417 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36419 wxPyEndAllowThreads(__tstate
);
36420 if (PyErr_Occurred()) SWIG_fail
;
36422 Py_INCREF(Py_None
); resultobj
= Py_None
;
36429 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36430 PyObject
*resultobj
;
36431 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36433 PyObject
* obj0
= 0 ;
36434 char *kwnames
[] = {
36435 (char *) "self", NULL
36438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36443 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36445 wxPyEndAllowThreads(__tstate
);
36446 if (PyErr_Occurred()) SWIG_fail
;
36448 resultobj
= SWIG_FromInt((int)result
);
36455 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36456 PyObject
*resultobj
;
36457 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36458 wxArrayInt
*result
;
36459 PyObject
* obj0
= 0 ;
36460 char *kwnames
[] = {
36461 (char *) "self", NULL
36464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36470 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36471 result
= (wxArrayInt
*) &_result_ref
;
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36478 resultobj
= PyList_New(0);
36480 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36481 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36482 PyList_Append(resultobj
, val
);
36492 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36493 PyObject
*resultobj
;
36494 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36495 wxArrayInt
*result
;
36496 PyObject
* obj0
= 0 ;
36497 char *kwnames
[] = {
36498 (char *) "self", NULL
36501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36507 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36508 result
= (wxArrayInt
*) &_result_ref
;
36511 wxPyEndAllowThreads(__tstate
);
36512 if (PyErr_Occurred()) SWIG_fail
;
36515 resultobj
= PyList_New(0);
36517 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36518 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36519 PyList_Append(resultobj
, val
);
36529 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36532 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36534 return Py_BuildValue((char *)"");
36536 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36537 PyObject
*resultobj
;
36538 int arg1
= (int) 0 ;
36539 int arg2
= (int) 0 ;
36540 wxGBPosition
*result
;
36541 PyObject
* obj0
= 0 ;
36542 PyObject
* obj1
= 0 ;
36543 char *kwnames
[] = {
36544 (char *) "row",(char *) "col", NULL
36547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36549 arg1
= (int) SWIG_AsInt(obj0
);
36550 if (PyErr_Occurred()) SWIG_fail
;
36553 arg2
= (int) SWIG_AsInt(obj1
);
36554 if (PyErr_Occurred()) SWIG_fail
;
36557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36558 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36560 wxPyEndAllowThreads(__tstate
);
36561 if (PyErr_Occurred()) SWIG_fail
;
36563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36570 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36571 PyObject
*resultobj
;
36572 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36574 PyObject
* obj0
= 0 ;
36575 char *kwnames
[] = {
36576 (char *) "self", NULL
36579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36584 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36586 wxPyEndAllowThreads(__tstate
);
36587 if (PyErr_Occurred()) SWIG_fail
;
36589 resultobj
= SWIG_FromInt((int)result
);
36596 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36597 PyObject
*resultobj
;
36598 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36600 PyObject
* obj0
= 0 ;
36601 char *kwnames
[] = {
36602 (char *) "self", NULL
36605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36610 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36612 wxPyEndAllowThreads(__tstate
);
36613 if (PyErr_Occurred()) SWIG_fail
;
36615 resultobj
= SWIG_FromInt((int)result
);
36622 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36623 PyObject
*resultobj
;
36624 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36626 PyObject
* obj0
= 0 ;
36627 PyObject
* obj1
= 0 ;
36628 char *kwnames
[] = {
36629 (char *) "self",(char *) "row", NULL
36632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36635 arg2
= (int) SWIG_AsInt(obj1
);
36636 if (PyErr_Occurred()) SWIG_fail
;
36638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36639 (arg1
)->SetRow(arg2
);
36641 wxPyEndAllowThreads(__tstate
);
36642 if (PyErr_Occurred()) SWIG_fail
;
36644 Py_INCREF(Py_None
); resultobj
= Py_None
;
36651 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36652 PyObject
*resultobj
;
36653 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36655 PyObject
* obj0
= 0 ;
36656 PyObject
* obj1
= 0 ;
36657 char *kwnames
[] = {
36658 (char *) "self",(char *) "col", NULL
36661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36664 arg2
= (int) SWIG_AsInt(obj1
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36668 (arg1
)->SetCol(arg2
);
36670 wxPyEndAllowThreads(__tstate
);
36671 if (PyErr_Occurred()) SWIG_fail
;
36673 Py_INCREF(Py_None
); resultobj
= Py_None
;
36680 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36681 PyObject
*resultobj
;
36682 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36683 wxGBPosition
*arg2
= 0 ;
36685 wxGBPosition temp2
;
36686 PyObject
* obj0
= 0 ;
36687 PyObject
* obj1
= 0 ;
36688 char *kwnames
[] = {
36689 (char *) "self",(char *) "other", NULL
36692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36697 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36701 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36703 wxPyEndAllowThreads(__tstate
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36715 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36716 PyObject
*resultobj
;
36717 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36718 wxGBPosition
*arg2
= 0 ;
36720 wxGBPosition temp2
;
36721 PyObject
* obj0
= 0 ;
36722 PyObject
* obj1
= 0 ;
36723 char *kwnames
[] = {
36724 (char *) "self",(char *) "other", NULL
36727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36732 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36736 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36738 wxPyEndAllowThreads(__tstate
);
36739 if (PyErr_Occurred()) SWIG_fail
;
36742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36750 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36751 PyObject
*resultobj
;
36752 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36753 int arg2
= (int) 0 ;
36754 int arg3
= (int) 0 ;
36755 PyObject
* obj0
= 0 ;
36756 PyObject
* obj1
= 0 ;
36757 PyObject
* obj2
= 0 ;
36758 char *kwnames
[] = {
36759 (char *) "self",(char *) "row",(char *) "col", NULL
36762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36766 arg2
= (int) SWIG_AsInt(obj1
);
36767 if (PyErr_Occurred()) SWIG_fail
;
36770 arg3
= (int) SWIG_AsInt(obj2
);
36771 if (PyErr_Occurred()) SWIG_fail
;
36774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36775 wxGBPosition_Set(arg1
,arg2
,arg3
);
36777 wxPyEndAllowThreads(__tstate
);
36778 if (PyErr_Occurred()) SWIG_fail
;
36780 Py_INCREF(Py_None
); resultobj
= Py_None
;
36787 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36788 PyObject
*resultobj
;
36789 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36791 PyObject
* obj0
= 0 ;
36792 char *kwnames
[] = {
36793 (char *) "self", NULL
36796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36801 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36803 wxPyEndAllowThreads(__tstate
);
36804 if (PyErr_Occurred()) SWIG_fail
;
36806 resultobj
= result
;
36813 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36816 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36818 return Py_BuildValue((char *)"");
36820 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36821 PyObject
*resultobj
;
36822 int arg1
= (int) 1 ;
36823 int arg2
= (int) 1 ;
36825 PyObject
* obj0
= 0 ;
36826 PyObject
* obj1
= 0 ;
36827 char *kwnames
[] = {
36828 (char *) "rowspan",(char *) "colspan", NULL
36831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36833 arg1
= (int) SWIG_AsInt(obj0
);
36834 if (PyErr_Occurred()) SWIG_fail
;
36837 arg2
= (int) SWIG_AsInt(obj1
);
36838 if (PyErr_Occurred()) SWIG_fail
;
36841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36842 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
36844 wxPyEndAllowThreads(__tstate
);
36845 if (PyErr_Occurred()) SWIG_fail
;
36847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36854 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36855 PyObject
*resultobj
;
36856 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36858 PyObject
* obj0
= 0 ;
36859 char *kwnames
[] = {
36860 (char *) "self", NULL
36863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36868 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36870 wxPyEndAllowThreads(__tstate
);
36871 if (PyErr_Occurred()) SWIG_fail
;
36873 resultobj
= SWIG_FromInt((int)result
);
36880 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36881 PyObject
*resultobj
;
36882 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36884 PyObject
* obj0
= 0 ;
36885 char *kwnames
[] = {
36886 (char *) "self", NULL
36889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36894 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
36896 wxPyEndAllowThreads(__tstate
);
36897 if (PyErr_Occurred()) SWIG_fail
;
36899 resultobj
= SWIG_FromInt((int)result
);
36906 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36907 PyObject
*resultobj
;
36908 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36910 PyObject
* obj0
= 0 ;
36911 PyObject
* obj1
= 0 ;
36912 char *kwnames
[] = {
36913 (char *) "self",(char *) "rowspan", NULL
36916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36919 arg2
= (int) SWIG_AsInt(obj1
);
36920 if (PyErr_Occurred()) SWIG_fail
;
36922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36923 (arg1
)->SetRowspan(arg2
);
36925 wxPyEndAllowThreads(__tstate
);
36926 if (PyErr_Occurred()) SWIG_fail
;
36928 Py_INCREF(Py_None
); resultobj
= Py_None
;
36935 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36936 PyObject
*resultobj
;
36937 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36939 PyObject
* obj0
= 0 ;
36940 PyObject
* obj1
= 0 ;
36941 char *kwnames
[] = {
36942 (char *) "self",(char *) "colspan", NULL
36945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36948 arg2
= (int) SWIG_AsInt(obj1
);
36949 if (PyErr_Occurred()) SWIG_fail
;
36951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36952 (arg1
)->SetColspan(arg2
);
36954 wxPyEndAllowThreads(__tstate
);
36955 if (PyErr_Occurred()) SWIG_fail
;
36957 Py_INCREF(Py_None
); resultobj
= Py_None
;
36964 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36965 PyObject
*resultobj
;
36966 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36967 wxGBSpan
*arg2
= 0 ;
36970 PyObject
* obj0
= 0 ;
36971 PyObject
* obj1
= 0 ;
36972 char *kwnames
[] = {
36973 (char *) "self",(char *) "other", NULL
36976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36981 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36985 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
36987 wxPyEndAllowThreads(__tstate
);
36988 if (PyErr_Occurred()) SWIG_fail
;
36991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36999 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37000 PyObject
*resultobj
;
37001 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37002 wxGBSpan
*arg2
= 0 ;
37005 PyObject
* obj0
= 0 ;
37006 PyObject
* obj1
= 0 ;
37007 char *kwnames
[] = {
37008 (char *) "self",(char *) "other", NULL
37011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37016 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37020 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37022 wxPyEndAllowThreads(__tstate
);
37023 if (PyErr_Occurred()) SWIG_fail
;
37026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37034 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37035 PyObject
*resultobj
;
37036 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37037 int arg2
= (int) 1 ;
37038 int arg3
= (int) 1 ;
37039 PyObject
* obj0
= 0 ;
37040 PyObject
* obj1
= 0 ;
37041 PyObject
* obj2
= 0 ;
37042 char *kwnames
[] = {
37043 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37050 arg2
= (int) SWIG_AsInt(obj1
);
37051 if (PyErr_Occurred()) SWIG_fail
;
37054 arg3
= (int) SWIG_AsInt(obj2
);
37055 if (PyErr_Occurred()) SWIG_fail
;
37058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37059 wxGBSpan_Set(arg1
,arg2
,arg3
);
37061 wxPyEndAllowThreads(__tstate
);
37062 if (PyErr_Occurred()) SWIG_fail
;
37064 Py_INCREF(Py_None
); resultobj
= Py_None
;
37071 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37072 PyObject
*resultobj
;
37073 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37075 PyObject
* obj0
= 0 ;
37076 char *kwnames
[] = {
37077 (char *) "self", NULL
37080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37085 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37087 wxPyEndAllowThreads(__tstate
);
37088 if (PyErr_Occurred()) SWIG_fail
;
37090 resultobj
= result
;
37097 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37100 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37102 return Py_BuildValue((char *)"");
37104 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37105 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37110 static PyObject
*_wrap_DefaultSpan_get() {
37113 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37118 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37119 PyObject
*resultobj
;
37120 wxGBSizerItem
*result
;
37121 char *kwnames
[] = {
37125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37128 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37130 wxPyEndAllowThreads(__tstate
);
37131 if (PyErr_Occurred()) SWIG_fail
;
37133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37140 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37141 PyObject
*resultobj
;
37142 wxWindow
*arg1
= (wxWindow
*) 0 ;
37143 wxGBPosition
*arg2
= 0 ;
37144 wxGBSpan
*arg3
= 0 ;
37147 wxObject
*arg6
= (wxObject
*) 0 ;
37148 wxGBSizerItem
*result
;
37149 wxGBPosition temp2
;
37151 PyObject
* obj0
= 0 ;
37152 PyObject
* obj1
= 0 ;
37153 PyObject
* obj2
= 0 ;
37154 PyObject
* obj3
= 0 ;
37155 PyObject
* obj4
= 0 ;
37156 PyObject
* obj5
= 0 ;
37157 char *kwnames
[] = {
37158 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37166 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37170 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37172 arg4
= (int) SWIG_AsInt(obj3
);
37173 if (PyErr_Occurred()) SWIG_fail
;
37174 arg5
= (int) SWIG_AsInt(obj4
);
37175 if (PyErr_Occurred()) SWIG_fail
;
37176 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37182 wxPyEndAllowThreads(__tstate
);
37183 if (PyErr_Occurred()) SWIG_fail
;
37185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37192 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37193 PyObject
*resultobj
;
37194 wxSizer
*arg1
= (wxSizer
*) 0 ;
37195 wxGBPosition
*arg2
= 0 ;
37196 wxGBSpan
*arg3
= 0 ;
37199 wxObject
*arg6
= (wxObject
*) 0 ;
37200 wxGBSizerItem
*result
;
37201 wxGBPosition temp2
;
37203 PyObject
* obj0
= 0 ;
37204 PyObject
* obj1
= 0 ;
37205 PyObject
* obj2
= 0 ;
37206 PyObject
* obj3
= 0 ;
37207 PyObject
* obj4
= 0 ;
37208 PyObject
* obj5
= 0 ;
37209 char *kwnames
[] = {
37210 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37218 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37222 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37224 arg4
= (int) SWIG_AsInt(obj3
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37226 arg5
= (int) SWIG_AsInt(obj4
);
37227 if (PyErr_Occurred()) SWIG_fail
;
37228 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37232 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37234 wxPyEndAllowThreads(__tstate
);
37235 if (PyErr_Occurred()) SWIG_fail
;
37237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37244 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37245 PyObject
*resultobj
;
37248 wxGBPosition
*arg3
= 0 ;
37249 wxGBSpan
*arg4
= 0 ;
37252 wxObject
*arg7
= (wxObject
*) 0 ;
37253 wxGBSizerItem
*result
;
37254 wxGBPosition temp3
;
37256 PyObject
* obj0
= 0 ;
37257 PyObject
* obj1
= 0 ;
37258 PyObject
* obj2
= 0 ;
37259 PyObject
* obj3
= 0 ;
37260 PyObject
* obj4
= 0 ;
37261 PyObject
* obj5
= 0 ;
37262 PyObject
* obj6
= 0 ;
37263 char *kwnames
[] = {
37264 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37268 arg1
= (int) SWIG_AsInt(obj0
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37270 arg2
= (int) SWIG_AsInt(obj1
);
37271 if (PyErr_Occurred()) SWIG_fail
;
37274 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37278 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37280 arg5
= (int) SWIG_AsInt(obj4
);
37281 if (PyErr_Occurred()) SWIG_fail
;
37282 arg6
= (int) SWIG_AsInt(obj5
);
37283 if (PyErr_Occurred()) SWIG_fail
;
37284 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37288 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37290 wxPyEndAllowThreads(__tstate
);
37291 if (PyErr_Occurred()) SWIG_fail
;
37293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37300 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37301 PyObject
*resultobj
;
37302 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37303 wxGBPosition result
;
37304 PyObject
* obj0
= 0 ;
37305 char *kwnames
[] = {
37306 (char *) "self", NULL
37309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37314 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37316 wxPyEndAllowThreads(__tstate
);
37317 if (PyErr_Occurred()) SWIG_fail
;
37320 wxGBPosition
* resultptr
;
37321 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37330 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37331 PyObject
*resultobj
;
37332 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37334 PyObject
* obj0
= 0 ;
37335 char *kwnames
[] = {
37336 (char *) "self", NULL
37339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37344 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37346 wxPyEndAllowThreads(__tstate
);
37347 if (PyErr_Occurred()) SWIG_fail
;
37350 wxGBSpan
* resultptr
;
37351 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37360 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37361 PyObject
*resultobj
;
37362 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37363 wxGBPosition
*arg2
= 0 ;
37365 wxGBPosition temp2
;
37366 PyObject
* obj0
= 0 ;
37367 PyObject
* obj1
= 0 ;
37368 char *kwnames
[] = {
37369 (char *) "self",(char *) "pos", NULL
37372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37377 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37381 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37383 wxPyEndAllowThreads(__tstate
);
37384 if (PyErr_Occurred()) SWIG_fail
;
37387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37395 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37396 PyObject
*resultobj
;
37397 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37398 wxGBSpan
*arg2
= 0 ;
37401 PyObject
* obj0
= 0 ;
37402 PyObject
* obj1
= 0 ;
37403 char *kwnames
[] = {
37404 (char *) "self",(char *) "span", NULL
37407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37412 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37416 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37418 wxPyEndAllowThreads(__tstate
);
37419 if (PyErr_Occurred()) SWIG_fail
;
37422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37430 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37431 PyObject
*resultobj
;
37432 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37433 wxGBSizerItem
*arg2
= 0 ;
37435 PyObject
* obj0
= 0 ;
37436 PyObject
* obj1
= 0 ;
37438 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37444 if (arg2
== NULL
) {
37445 PyErr_SetString(PyExc_TypeError
,"null reference");
37449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37450 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37452 wxPyEndAllowThreads(__tstate
);
37453 if (PyErr_Occurred()) SWIG_fail
;
37456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37464 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37465 PyObject
*resultobj
;
37466 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37467 wxGBPosition
*arg2
= 0 ;
37468 wxGBSpan
*arg3
= 0 ;
37470 wxGBPosition temp2
;
37472 PyObject
* obj0
= 0 ;
37473 PyObject
* obj1
= 0 ;
37474 PyObject
* obj2
= 0 ;
37476 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37481 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37485 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37489 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37491 wxPyEndAllowThreads(__tstate
);
37492 if (PyErr_Occurred()) SWIG_fail
;
37495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37503 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37508 argc
= PyObject_Length(args
);
37509 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37510 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37516 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37526 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37534 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
37542 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37551 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37555 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37558 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
37564 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
37569 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37570 PyObject
*resultobj
;
37571 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37574 PyObject
* obj0
= 0 ;
37575 PyObject
* obj1
= 0 ;
37576 PyObject
* obj2
= 0 ;
37577 char *kwnames
[] = {
37578 (char *) "self",(char *) "row",(char *) "col", NULL
37581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
37585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37587 if (arg2
== NULL
) {
37588 PyErr_SetString(PyExc_TypeError
,"null reference");
37591 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
37592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37594 if (arg3
== NULL
) {
37595 PyErr_SetString(PyExc_TypeError
,"null reference");
37599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37600 (arg1
)->GetEndPos(*arg2
,*arg3
);
37602 wxPyEndAllowThreads(__tstate
);
37603 if (PyErr_Occurred()) SWIG_fail
;
37605 Py_INCREF(Py_None
); resultobj
= Py_None
;
37612 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37613 PyObject
*resultobj
;
37614 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37615 wxGridBagSizer
*result
;
37616 PyObject
* obj0
= 0 ;
37617 char *kwnames
[] = {
37618 (char *) "self", NULL
37621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37626 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37628 wxPyEndAllowThreads(__tstate
);
37629 if (PyErr_Occurred()) SWIG_fail
;
37631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37638 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37639 PyObject
*resultobj
;
37640 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37641 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37642 PyObject
* obj0
= 0 ;
37643 PyObject
* obj1
= 0 ;
37644 char *kwnames
[] = {
37645 (char *) "self",(char *) "sizer", NULL
37648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37655 (arg1
)->SetGBSizer(arg2
);
37657 wxPyEndAllowThreads(__tstate
);
37658 if (PyErr_Occurred()) SWIG_fail
;
37660 Py_INCREF(Py_None
); resultobj
= Py_None
;
37667 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37670 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37672 return Py_BuildValue((char *)"");
37674 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37675 PyObject
*resultobj
;
37676 int arg1
= (int) 0 ;
37677 int arg2
= (int) 0 ;
37678 wxGridBagSizer
*result
;
37679 PyObject
* obj0
= 0 ;
37680 PyObject
* obj1
= 0 ;
37681 char *kwnames
[] = {
37682 (char *) "vgap",(char *) "hgap", NULL
37685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37687 arg1
= (int) SWIG_AsInt(obj0
);
37688 if (PyErr_Occurred()) SWIG_fail
;
37691 arg2
= (int) SWIG_AsInt(obj1
);
37692 if (PyErr_Occurred()) SWIG_fail
;
37695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37696 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37698 wxPyEndAllowThreads(__tstate
);
37699 if (PyErr_Occurred()) SWIG_fail
;
37701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37708 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37709 PyObject
*resultobj
;
37710 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37711 PyObject
*arg2
= (PyObject
*) 0 ;
37712 wxGBPosition
*arg3
= 0 ;
37713 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37714 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37715 int arg5
= (int) 0 ;
37716 int arg6
= (int) 0 ;
37717 PyObject
*arg7
= (PyObject
*) NULL
;
37719 wxGBPosition temp3
;
37721 PyObject
* obj0
= 0 ;
37722 PyObject
* obj1
= 0 ;
37723 PyObject
* obj2
= 0 ;
37724 PyObject
* obj3
= 0 ;
37725 PyObject
* obj4
= 0 ;
37726 PyObject
* obj5
= 0 ;
37727 PyObject
* obj6
= 0 ;
37728 char *kwnames
[] = {
37729 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37738 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37743 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37747 arg5
= (int) SWIG_AsInt(obj4
);
37748 if (PyErr_Occurred()) SWIG_fail
;
37751 arg6
= (int) SWIG_AsInt(obj5
);
37752 if (PyErr_Occurred()) SWIG_fail
;
37758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37759 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37761 wxPyEndAllowThreads(__tstate
);
37762 if (PyErr_Occurred()) SWIG_fail
;
37765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37773 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37774 PyObject
*resultobj
;
37775 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37776 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37778 PyObject
* obj0
= 0 ;
37779 PyObject
* obj1
= 0 ;
37780 char *kwnames
[] = {
37781 (char *) "self",(char *) "item", NULL
37784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37791 result
= (bool)(arg1
)->Add(arg2
);
37793 wxPyEndAllowThreads(__tstate
);
37794 if (PyErr_Occurred()) SWIG_fail
;
37797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37805 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37806 PyObject
*resultobj
;
37807 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37809 PyObject
* obj0
= 0 ;
37810 char *kwnames
[] = {
37811 (char *) "self", NULL
37814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37819 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37821 wxPyEndAllowThreads(__tstate
);
37822 if (PyErr_Occurred()) SWIG_fail
;
37825 wxSize
* resultptr
;
37826 resultptr
= new wxSize((wxSize
&) result
);
37827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37835 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37836 PyObject
*resultobj
;
37837 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37840 PyObject
* obj0
= 0 ;
37841 PyObject
* obj1
= 0 ;
37842 char *kwnames
[] = {
37843 (char *) "self",(char *) "sz", NULL
37846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37851 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37855 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37857 wxPyEndAllowThreads(__tstate
);
37858 if (PyErr_Occurred()) SWIG_fail
;
37860 Py_INCREF(Py_None
); resultobj
= Py_None
;
37867 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37868 PyObject
*resultobj
;
37869 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37870 wxWindow
*arg2
= (wxWindow
*) 0 ;
37871 wxGBPosition result
;
37872 PyObject
* obj0
= 0 ;
37873 PyObject
* obj1
= 0 ;
37875 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37882 result
= (arg1
)->GetItemPosition(arg2
);
37884 wxPyEndAllowThreads(__tstate
);
37885 if (PyErr_Occurred()) SWIG_fail
;
37888 wxGBPosition
* resultptr
;
37889 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37898 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37899 PyObject
*resultobj
;
37900 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37901 wxSizer
*arg2
= (wxSizer
*) 0 ;
37902 wxGBPosition result
;
37903 PyObject
* obj0
= 0 ;
37904 PyObject
* obj1
= 0 ;
37906 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37913 result
= (arg1
)->GetItemPosition(arg2
);
37915 wxPyEndAllowThreads(__tstate
);
37916 if (PyErr_Occurred()) SWIG_fail
;
37919 wxGBPosition
* resultptr
;
37920 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37929 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37930 PyObject
*resultobj
;
37931 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37933 wxGBPosition result
;
37934 PyObject
* obj0
= 0 ;
37935 PyObject
* obj1
= 0 ;
37937 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37940 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37941 if (PyErr_Occurred()) SWIG_fail
;
37943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37944 result
= (arg1
)->GetItemPosition(arg2
);
37946 wxPyEndAllowThreads(__tstate
);
37947 if (PyErr_Occurred()) SWIG_fail
;
37950 wxGBPosition
* resultptr
;
37951 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37960 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37965 argc
= PyObject_Length(args
);
37966 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37967 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37973 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37983 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37991 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37999 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38009 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38017 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38025 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38033 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38035 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38040 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38045 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38046 PyObject
*resultobj
;
38047 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38048 wxWindow
*arg2
= (wxWindow
*) 0 ;
38049 wxGBPosition
*arg3
= 0 ;
38051 wxGBPosition temp3
;
38052 PyObject
* obj0
= 0 ;
38053 PyObject
* obj1
= 0 ;
38054 PyObject
* obj2
= 0 ;
38056 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38063 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38067 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38069 wxPyEndAllowThreads(__tstate
);
38070 if (PyErr_Occurred()) SWIG_fail
;
38073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38081 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38082 PyObject
*resultobj
;
38083 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38084 wxSizer
*arg2
= (wxSizer
*) 0 ;
38085 wxGBPosition
*arg3
= 0 ;
38087 wxGBPosition temp3
;
38088 PyObject
* obj0
= 0 ;
38089 PyObject
* obj1
= 0 ;
38090 PyObject
* obj2
= 0 ;
38092 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38099 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38103 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38105 wxPyEndAllowThreads(__tstate
);
38106 if (PyErr_Occurred()) SWIG_fail
;
38109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38117 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38118 PyObject
*resultobj
;
38119 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38121 wxGBPosition
*arg3
= 0 ;
38123 wxGBPosition temp3
;
38124 PyObject
* obj0
= 0 ;
38125 PyObject
* obj1
= 0 ;
38126 PyObject
* obj2
= 0 ;
38128 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38131 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38132 if (PyErr_Occurred()) SWIG_fail
;
38135 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38139 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38141 wxPyEndAllowThreads(__tstate
);
38142 if (PyErr_Occurred()) SWIG_fail
;
38145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38153 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38158 argc
= PyObject_Length(args
);
38159 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38160 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38166 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38176 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38185 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38188 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38197 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38207 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38216 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38219 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38228 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38236 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38239 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38242 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38248 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38253 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38254 PyObject
*resultobj
;
38255 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38256 wxWindow
*arg2
= (wxWindow
*) 0 ;
38258 PyObject
* obj0
= 0 ;
38259 PyObject
* obj1
= 0 ;
38261 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38268 result
= (arg1
)->GetItemSpan(arg2
);
38270 wxPyEndAllowThreads(__tstate
);
38271 if (PyErr_Occurred()) SWIG_fail
;
38274 wxGBSpan
* resultptr
;
38275 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38284 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38285 PyObject
*resultobj
;
38286 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38287 wxSizer
*arg2
= (wxSizer
*) 0 ;
38289 PyObject
* obj0
= 0 ;
38290 PyObject
* obj1
= 0 ;
38292 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38299 result
= (arg1
)->GetItemSpan(arg2
);
38301 wxPyEndAllowThreads(__tstate
);
38302 if (PyErr_Occurred()) SWIG_fail
;
38305 wxGBSpan
* resultptr
;
38306 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38315 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38316 PyObject
*resultobj
;
38317 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38320 PyObject
* obj0
= 0 ;
38321 PyObject
* obj1
= 0 ;
38323 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38326 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38327 if (PyErr_Occurred()) SWIG_fail
;
38329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38330 result
= (arg1
)->GetItemSpan(arg2
);
38332 wxPyEndAllowThreads(__tstate
);
38333 if (PyErr_Occurred()) SWIG_fail
;
38336 wxGBSpan
* resultptr
;
38337 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38346 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38351 argc
= PyObject_Length(args
);
38352 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38353 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38359 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38369 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38377 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38385 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38395 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38403 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38411 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38419 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38421 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38426 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38431 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38432 PyObject
*resultobj
;
38433 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38434 wxWindow
*arg2
= (wxWindow
*) 0 ;
38435 wxGBSpan
*arg3
= 0 ;
38438 PyObject
* obj0
= 0 ;
38439 PyObject
* obj1
= 0 ;
38440 PyObject
* obj2
= 0 ;
38442 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38449 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38453 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38455 wxPyEndAllowThreads(__tstate
);
38456 if (PyErr_Occurred()) SWIG_fail
;
38459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38467 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38468 PyObject
*resultobj
;
38469 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38470 wxSizer
*arg2
= (wxSizer
*) 0 ;
38471 wxGBSpan
*arg3
= 0 ;
38474 PyObject
* obj0
= 0 ;
38475 PyObject
* obj1
= 0 ;
38476 PyObject
* obj2
= 0 ;
38478 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38485 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38489 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38491 wxPyEndAllowThreads(__tstate
);
38492 if (PyErr_Occurred()) SWIG_fail
;
38495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38503 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38504 PyObject
*resultobj
;
38505 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38507 wxGBSpan
*arg3
= 0 ;
38510 PyObject
* obj0
= 0 ;
38511 PyObject
* obj1
= 0 ;
38512 PyObject
* obj2
= 0 ;
38514 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38517 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38518 if (PyErr_Occurred()) SWIG_fail
;
38521 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38525 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38527 wxPyEndAllowThreads(__tstate
);
38528 if (PyErr_Occurred()) SWIG_fail
;
38531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38539 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38544 argc
= PyObject_Length(args
);
38545 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38546 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38552 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38562 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38571 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38574 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38583 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38593 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38602 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38605 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38614 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38622 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38625 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38628 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38634 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38639 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38640 PyObject
*resultobj
;
38641 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38642 wxWindow
*arg2
= (wxWindow
*) 0 ;
38643 wxGBSizerItem
*result
;
38644 PyObject
* obj0
= 0 ;
38645 PyObject
* obj1
= 0 ;
38647 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38654 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38656 wxPyEndAllowThreads(__tstate
);
38657 if (PyErr_Occurred()) SWIG_fail
;
38659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38666 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38667 PyObject
*resultobj
;
38668 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38669 wxSizer
*arg2
= (wxSizer
*) 0 ;
38670 wxGBSizerItem
*result
;
38671 PyObject
* obj0
= 0 ;
38672 PyObject
* obj1
= 0 ;
38674 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38681 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38683 wxPyEndAllowThreads(__tstate
);
38684 if (PyErr_Occurred()) SWIG_fail
;
38686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38693 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38698 argc
= PyObject_Length(args
);
38699 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38700 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38706 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38716 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38724 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38732 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38742 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38750 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38755 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38760 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38761 PyObject
*resultobj
;
38762 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38763 wxGBPosition
*arg2
= 0 ;
38764 wxGBSizerItem
*result
;
38765 wxGBPosition temp2
;
38766 PyObject
* obj0
= 0 ;
38767 PyObject
* obj1
= 0 ;
38768 char *kwnames
[] = {
38769 (char *) "self",(char *) "pos", NULL
38772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38777 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38781 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38783 wxPyEndAllowThreads(__tstate
);
38784 if (PyErr_Occurred()) SWIG_fail
;
38786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38793 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38794 PyObject
*resultobj
;
38795 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38796 wxPoint
*arg2
= 0 ;
38797 wxGBSizerItem
*result
;
38799 PyObject
* obj0
= 0 ;
38800 PyObject
* obj1
= 0 ;
38801 char *kwnames
[] = {
38802 (char *) "self",(char *) "pt", NULL
38805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38814 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38816 wxPyEndAllowThreads(__tstate
);
38817 if (PyErr_Occurred()) SWIG_fail
;
38819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38826 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38827 PyObject
*resultobj
;
38828 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38829 wxObject
*arg2
= (wxObject
*) 0 ;
38830 wxGBSizerItem
*result
;
38831 PyObject
* obj0
= 0 ;
38832 PyObject
* obj1
= 0 ;
38833 char *kwnames
[] = {
38834 (char *) "self",(char *) "userData", NULL
38837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
38838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
38841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38844 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
38846 wxPyEndAllowThreads(__tstate
);
38847 if (PyErr_Occurred()) SWIG_fail
;
38849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38856 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38857 PyObject
*resultobj
;
38858 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38859 PyObject
* obj0
= 0 ;
38860 char *kwnames
[] = {
38861 (char *) "self", NULL
38864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38869 (arg1
)->RecalcSizes();
38871 wxPyEndAllowThreads(__tstate
);
38872 if (PyErr_Occurred()) SWIG_fail
;
38874 Py_INCREF(Py_None
); resultobj
= Py_None
;
38881 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38882 PyObject
*resultobj
;
38883 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38885 PyObject
* obj0
= 0 ;
38886 char *kwnames
[] = {
38887 (char *) "self", NULL
38890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38895 result
= (arg1
)->CalcMin();
38897 wxPyEndAllowThreads(__tstate
);
38898 if (PyErr_Occurred()) SWIG_fail
;
38901 wxSize
* resultptr
;
38902 resultptr
= new wxSize((wxSize
&) result
);
38903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38911 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
38912 PyObject
*resultobj
;
38913 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38914 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38915 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38917 PyObject
* obj0
= 0 ;
38918 PyObject
* obj1
= 0 ;
38919 PyObject
* obj2
= 0 ;
38921 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
38922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38927 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38932 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38934 wxPyEndAllowThreads(__tstate
);
38935 if (PyErr_Occurred()) SWIG_fail
;
38938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38946 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
38947 PyObject
*resultobj
;
38948 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38949 wxGBPosition
*arg2
= 0 ;
38950 wxGBSpan
*arg3
= 0 ;
38951 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38953 wxGBPosition temp2
;
38955 PyObject
* obj0
= 0 ;
38956 PyObject
* obj1
= 0 ;
38957 PyObject
* obj2
= 0 ;
38958 PyObject
* obj3
= 0 ;
38960 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38965 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38969 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38972 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38977 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38979 wxPyEndAllowThreads(__tstate
);
38980 if (PyErr_Occurred()) SWIG_fail
;
38983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38991 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
38996 argc
= PyObject_Length(args
);
38997 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
38998 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39000 if ((argc
>= 2) && (argc
<= 3)) {
39004 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39014 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39023 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39027 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39035 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39040 if ((argc
>= 3) && (argc
<= 4)) {
39044 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39053 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39057 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39061 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39065 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39073 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39080 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39085 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39088 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39090 return Py_BuildValue((char *)"");
39092 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39093 PyObject
*resultobj
;
39094 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39096 wxWindow
*arg3
= (wxWindow
*) 0 ;
39098 int arg5
= (int) 0 ;
39099 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39100 PyObject
* obj0
= 0 ;
39101 PyObject
* obj1
= 0 ;
39102 PyObject
* obj2
= 0 ;
39103 PyObject
* obj3
= 0 ;
39104 PyObject
* obj4
= 0 ;
39105 PyObject
* obj5
= 0 ;
39106 char *kwnames
[] = {
39107 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39113 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39114 if (PyErr_Occurred()) SWIG_fail
;
39115 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39117 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39118 if (PyErr_Occurred()) SWIG_fail
;
39120 arg5
= (int) SWIG_AsInt(obj4
);
39121 if (PyErr_Occurred()) SWIG_fail
;
39124 arg6
= (int) SWIG_AsInt(obj5
);
39125 if (PyErr_Occurred()) SWIG_fail
;
39128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39129 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39131 wxPyEndAllowThreads(__tstate
);
39132 if (PyErr_Occurred()) SWIG_fail
;
39134 Py_INCREF(Py_None
); resultobj
= Py_None
;
39141 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39142 PyObject
*resultobj
;
39143 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39144 wxWindow
*arg2
= (wxWindow
*) 0 ;
39145 int arg3
= (int) 0 ;
39146 PyObject
* obj0
= 0 ;
39147 PyObject
* obj1
= 0 ;
39148 PyObject
* obj2
= 0 ;
39149 char *kwnames
[] = {
39150 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39159 arg3
= (int) SWIG_AsInt(obj2
);
39160 if (PyErr_Occurred()) SWIG_fail
;
39163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39164 (arg1
)->LeftOf(arg2
,arg3
);
39166 wxPyEndAllowThreads(__tstate
);
39167 if (PyErr_Occurred()) SWIG_fail
;
39169 Py_INCREF(Py_None
); resultobj
= Py_None
;
39176 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39177 PyObject
*resultobj
;
39178 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39179 wxWindow
*arg2
= (wxWindow
*) 0 ;
39180 int arg3
= (int) 0 ;
39181 PyObject
* obj0
= 0 ;
39182 PyObject
* obj1
= 0 ;
39183 PyObject
* obj2
= 0 ;
39184 char *kwnames
[] = {
39185 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39194 arg3
= (int) SWIG_AsInt(obj2
);
39195 if (PyErr_Occurred()) SWIG_fail
;
39198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39199 (arg1
)->RightOf(arg2
,arg3
);
39201 wxPyEndAllowThreads(__tstate
);
39202 if (PyErr_Occurred()) SWIG_fail
;
39204 Py_INCREF(Py_None
); resultobj
= Py_None
;
39211 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39212 PyObject
*resultobj
;
39213 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39214 wxWindow
*arg2
= (wxWindow
*) 0 ;
39215 int arg3
= (int) 0 ;
39216 PyObject
* obj0
= 0 ;
39217 PyObject
* obj1
= 0 ;
39218 PyObject
* obj2
= 0 ;
39219 char *kwnames
[] = {
39220 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39229 arg3
= (int) SWIG_AsInt(obj2
);
39230 if (PyErr_Occurred()) SWIG_fail
;
39233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39234 (arg1
)->Above(arg2
,arg3
);
39236 wxPyEndAllowThreads(__tstate
);
39237 if (PyErr_Occurred()) SWIG_fail
;
39239 Py_INCREF(Py_None
); resultobj
= Py_None
;
39246 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39247 PyObject
*resultobj
;
39248 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39249 wxWindow
*arg2
= (wxWindow
*) 0 ;
39250 int arg3
= (int) 0 ;
39251 PyObject
* obj0
= 0 ;
39252 PyObject
* obj1
= 0 ;
39253 PyObject
* obj2
= 0 ;
39254 char *kwnames
[] = {
39255 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39264 arg3
= (int) SWIG_AsInt(obj2
);
39265 if (PyErr_Occurred()) SWIG_fail
;
39268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39269 (arg1
)->Below(arg2
,arg3
);
39271 wxPyEndAllowThreads(__tstate
);
39272 if (PyErr_Occurred()) SWIG_fail
;
39274 Py_INCREF(Py_None
); resultobj
= Py_None
;
39281 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39282 PyObject
*resultobj
;
39283 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39284 wxWindow
*arg2
= (wxWindow
*) 0 ;
39286 int arg4
= (int) 0 ;
39287 PyObject
* obj0
= 0 ;
39288 PyObject
* obj1
= 0 ;
39289 PyObject
* obj2
= 0 ;
39290 PyObject
* obj3
= 0 ;
39291 char *kwnames
[] = {
39292 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39300 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39301 if (PyErr_Occurred()) SWIG_fail
;
39303 arg4
= (int) SWIG_AsInt(obj3
);
39304 if (PyErr_Occurred()) SWIG_fail
;
39307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39308 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39310 wxPyEndAllowThreads(__tstate
);
39311 if (PyErr_Occurred()) SWIG_fail
;
39313 Py_INCREF(Py_None
); resultobj
= Py_None
;
39320 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39321 PyObject
*resultobj
;
39322 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39323 wxWindow
*arg2
= (wxWindow
*) 0 ;
39326 PyObject
* obj0
= 0 ;
39327 PyObject
* obj1
= 0 ;
39328 PyObject
* obj2
= 0 ;
39329 PyObject
* obj3
= 0 ;
39330 char *kwnames
[] = {
39331 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39339 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39340 if (PyErr_Occurred()) SWIG_fail
;
39341 arg4
= (int) SWIG_AsInt(obj3
);
39342 if (PyErr_Occurred()) SWIG_fail
;
39344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39345 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39347 wxPyEndAllowThreads(__tstate
);
39348 if (PyErr_Occurred()) SWIG_fail
;
39350 Py_INCREF(Py_None
); resultobj
= Py_None
;
39357 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39358 PyObject
*resultobj
;
39359 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39361 PyObject
* obj0
= 0 ;
39362 PyObject
* obj1
= 0 ;
39363 char *kwnames
[] = {
39364 (char *) "self",(char *) "val", NULL
39367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39370 arg2
= (int) SWIG_AsInt(obj1
);
39371 if (PyErr_Occurred()) SWIG_fail
;
39373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39374 (arg1
)->Absolute(arg2
);
39376 wxPyEndAllowThreads(__tstate
);
39377 if (PyErr_Occurred()) SWIG_fail
;
39379 Py_INCREF(Py_None
); resultobj
= Py_None
;
39386 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39387 PyObject
*resultobj
;
39388 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39389 PyObject
* obj0
= 0 ;
39390 char *kwnames
[] = {
39391 (char *) "self", NULL
39394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39399 (arg1
)->Unconstrained();
39401 wxPyEndAllowThreads(__tstate
);
39402 if (PyErr_Occurred()) SWIG_fail
;
39404 Py_INCREF(Py_None
); resultobj
= Py_None
;
39411 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39412 PyObject
*resultobj
;
39413 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39414 PyObject
* obj0
= 0 ;
39415 char *kwnames
[] = {
39416 (char *) "self", NULL
39419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39426 wxPyEndAllowThreads(__tstate
);
39427 if (PyErr_Occurred()) SWIG_fail
;
39429 Py_INCREF(Py_None
); resultobj
= Py_None
;
39436 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39437 PyObject
*resultobj
;
39438 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39440 PyObject
* obj0
= 0 ;
39441 char *kwnames
[] = {
39442 (char *) "self", NULL
39445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39450 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39452 wxPyEndAllowThreads(__tstate
);
39453 if (PyErr_Occurred()) SWIG_fail
;
39456 resultobj
= wxPyMake_wxObject(result
);
39464 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39465 PyObject
*resultobj
;
39466 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39468 PyObject
* obj0
= 0 ;
39469 char *kwnames
[] = {
39470 (char *) "self", NULL
39473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39478 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39480 wxPyEndAllowThreads(__tstate
);
39481 if (PyErr_Occurred()) SWIG_fail
;
39483 resultobj
= SWIG_FromInt((int)result
);
39490 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39491 PyObject
*resultobj
;
39492 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39494 PyObject
* obj0
= 0 ;
39495 PyObject
* obj1
= 0 ;
39496 char *kwnames
[] = {
39497 (char *) "self",(char *) "which", NULL
39500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39503 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39504 if (PyErr_Occurred()) SWIG_fail
;
39506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39507 (arg1
)->SetEdge((wxEdge
)arg2
);
39509 wxPyEndAllowThreads(__tstate
);
39510 if (PyErr_Occurred()) SWIG_fail
;
39512 Py_INCREF(Py_None
); resultobj
= Py_None
;
39519 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39520 PyObject
*resultobj
;
39521 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39523 PyObject
* obj0
= 0 ;
39524 PyObject
* obj1
= 0 ;
39525 char *kwnames
[] = {
39526 (char *) "self",(char *) "v", NULL
39529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39532 arg2
= (int) SWIG_AsInt(obj1
);
39533 if (PyErr_Occurred()) SWIG_fail
;
39535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39536 (arg1
)->SetValue(arg2
);
39538 wxPyEndAllowThreads(__tstate
);
39539 if (PyErr_Occurred()) SWIG_fail
;
39541 Py_INCREF(Py_None
); resultobj
= Py_None
;
39548 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39549 PyObject
*resultobj
;
39550 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39552 PyObject
* obj0
= 0 ;
39553 char *kwnames
[] = {
39554 (char *) "self", NULL
39557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39562 result
= (int)(arg1
)->GetMargin();
39564 wxPyEndAllowThreads(__tstate
);
39565 if (PyErr_Occurred()) SWIG_fail
;
39567 resultobj
= SWIG_FromInt((int)result
);
39574 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39575 PyObject
*resultobj
;
39576 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39578 PyObject
* obj0
= 0 ;
39579 PyObject
* obj1
= 0 ;
39580 char *kwnames
[] = {
39581 (char *) "self",(char *) "m", NULL
39584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39587 arg2
= (int) SWIG_AsInt(obj1
);
39588 if (PyErr_Occurred()) SWIG_fail
;
39590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39591 (arg1
)->SetMargin(arg2
);
39593 wxPyEndAllowThreads(__tstate
);
39594 if (PyErr_Occurred()) SWIG_fail
;
39596 Py_INCREF(Py_None
); resultobj
= Py_None
;
39603 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39604 PyObject
*resultobj
;
39605 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39607 PyObject
* obj0
= 0 ;
39608 char *kwnames
[] = {
39609 (char *) "self", NULL
39612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39617 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39619 wxPyEndAllowThreads(__tstate
);
39620 if (PyErr_Occurred()) SWIG_fail
;
39622 resultobj
= SWIG_FromInt((int)result
);
39629 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39630 PyObject
*resultobj
;
39631 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39633 PyObject
* obj0
= 0 ;
39634 char *kwnames
[] = {
39635 (char *) "self", NULL
39638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39643 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39645 wxPyEndAllowThreads(__tstate
);
39646 if (PyErr_Occurred()) SWIG_fail
;
39648 resultobj
= SWIG_FromInt((int)result
);
39655 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39656 PyObject
*resultobj
;
39657 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39659 PyObject
* obj0
= 0 ;
39660 char *kwnames
[] = {
39661 (char *) "self", NULL
39664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39669 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39671 wxPyEndAllowThreads(__tstate
);
39672 if (PyErr_Occurred()) SWIG_fail
;
39674 resultobj
= SWIG_FromInt((int)result
);
39681 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39682 PyObject
*resultobj
;
39683 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39685 PyObject
* obj0
= 0 ;
39686 char *kwnames
[] = {
39687 (char *) "self", NULL
39690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39695 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39697 wxPyEndAllowThreads(__tstate
);
39698 if (PyErr_Occurred()) SWIG_fail
;
39701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39709 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39710 PyObject
*resultobj
;
39711 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39713 PyObject
* obj0
= 0 ;
39714 PyObject
* obj1
= 0 ;
39715 char *kwnames
[] = {
39716 (char *) "self",(char *) "d", NULL
39719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39722 arg2
= (bool) SWIG_AsBool(obj1
);
39723 if (PyErr_Occurred()) SWIG_fail
;
39725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39726 (arg1
)->SetDone(arg2
);
39728 wxPyEndAllowThreads(__tstate
);
39729 if (PyErr_Occurred()) SWIG_fail
;
39731 Py_INCREF(Py_None
); resultobj
= Py_None
;
39738 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39739 PyObject
*resultobj
;
39740 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39742 PyObject
* obj0
= 0 ;
39743 char *kwnames
[] = {
39744 (char *) "self", NULL
39747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39752 result
= (int)(arg1
)->GetRelationship();
39754 wxPyEndAllowThreads(__tstate
);
39755 if (PyErr_Occurred()) SWIG_fail
;
39757 resultobj
= SWIG_FromInt((int)result
);
39764 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39765 PyObject
*resultobj
;
39766 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39768 PyObject
* obj0
= 0 ;
39769 PyObject
* obj1
= 0 ;
39770 char *kwnames
[] = {
39771 (char *) "self",(char *) "r", NULL
39774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39777 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39778 if (PyErr_Occurred()) SWIG_fail
;
39780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39781 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39783 wxPyEndAllowThreads(__tstate
);
39784 if (PyErr_Occurred()) SWIG_fail
;
39786 Py_INCREF(Py_None
); resultobj
= Py_None
;
39793 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39794 PyObject
*resultobj
;
39795 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39796 wxWindow
*arg2
= (wxWindow
*) 0 ;
39798 PyObject
* obj0
= 0 ;
39799 PyObject
* obj1
= 0 ;
39800 char *kwnames
[] = {
39801 (char *) "self",(char *) "otherW", NULL
39804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39811 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39813 wxPyEndAllowThreads(__tstate
);
39814 if (PyErr_Occurred()) SWIG_fail
;
39817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39825 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39826 PyObject
*resultobj
;
39827 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39828 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39829 wxWindow
*arg3
= (wxWindow
*) 0 ;
39831 PyObject
* obj0
= 0 ;
39832 PyObject
* obj1
= 0 ;
39833 PyObject
* obj2
= 0 ;
39834 char *kwnames
[] = {
39835 (char *) "self",(char *) "constraints",(char *) "win", NULL
39838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39843 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39847 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39849 wxPyEndAllowThreads(__tstate
);
39850 if (PyErr_Occurred()) SWIG_fail
;
39853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39861 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39862 PyObject
*resultobj
;
39863 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39865 wxWindow
*arg3
= (wxWindow
*) 0 ;
39866 wxWindow
*arg4
= (wxWindow
*) 0 ;
39868 PyObject
* obj0
= 0 ;
39869 PyObject
* obj1
= 0 ;
39870 PyObject
* obj2
= 0 ;
39871 PyObject
* obj3
= 0 ;
39872 char *kwnames
[] = {
39873 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39879 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39880 if (PyErr_Occurred()) SWIG_fail
;
39881 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39883 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39887 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39889 wxPyEndAllowThreads(__tstate
);
39890 if (PyErr_Occurred()) SWIG_fail
;
39892 resultobj
= SWIG_FromInt((int)result
);
39899 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39902 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39904 return Py_BuildValue((char *)"");
39906 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39907 PyObject
*resultobj
;
39908 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39909 wxIndividualLayoutConstraint
*result
;
39910 PyObject
* obj0
= 0 ;
39911 char *kwnames
[] = {
39912 (char *) "self", NULL
39915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39918 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39927 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39928 PyObject
*resultobj
;
39929 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39930 wxIndividualLayoutConstraint
*result
;
39931 PyObject
* obj0
= 0 ;
39932 char *kwnames
[] = {
39933 (char *) "self", NULL
39936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39939 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39948 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39949 PyObject
*resultobj
;
39950 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39951 wxIndividualLayoutConstraint
*result
;
39952 PyObject
* obj0
= 0 ;
39953 char *kwnames
[] = {
39954 (char *) "self", NULL
39957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39960 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39969 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39970 PyObject
*resultobj
;
39971 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39972 wxIndividualLayoutConstraint
*result
;
39973 PyObject
* obj0
= 0 ;
39974 char *kwnames
[] = {
39975 (char *) "self", NULL
39978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39981 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39990 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39991 PyObject
*resultobj
;
39992 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39993 wxIndividualLayoutConstraint
*result
;
39994 PyObject
* obj0
= 0 ;
39995 char *kwnames
[] = {
39996 (char *) "self", NULL
39999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40002 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40011 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40012 PyObject
*resultobj
;
40013 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40014 wxIndividualLayoutConstraint
*result
;
40015 PyObject
* obj0
= 0 ;
40016 char *kwnames
[] = {
40017 (char *) "self", NULL
40020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40023 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40032 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40033 PyObject
*resultobj
;
40034 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40035 wxIndividualLayoutConstraint
*result
;
40036 PyObject
* obj0
= 0 ;
40037 char *kwnames
[] = {
40038 (char *) "self", NULL
40041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40044 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40053 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40054 PyObject
*resultobj
;
40055 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40056 wxIndividualLayoutConstraint
*result
;
40057 PyObject
* obj0
= 0 ;
40058 char *kwnames
[] = {
40059 (char *) "self", NULL
40062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40065 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40074 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40075 PyObject
*resultobj
;
40076 wxLayoutConstraints
*result
;
40077 char *kwnames
[] = {
40081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40084 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40086 wxPyEndAllowThreads(__tstate
);
40087 if (PyErr_Occurred()) SWIG_fail
;
40089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40096 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40097 PyObject
*resultobj
;
40098 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40099 wxWindow
*arg2
= (wxWindow
*) 0 ;
40100 int *arg3
= (int *) 0 ;
40103 PyObject
* obj0
= 0 ;
40104 PyObject
* obj1
= 0 ;
40105 char *kwnames
[] = {
40106 (char *) "self",(char *) "win", NULL
40110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40117 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40119 wxPyEndAllowThreads(__tstate
);
40120 if (PyErr_Occurred()) SWIG_fail
;
40123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40126 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40127 resultobj
= t_output_helper(resultobj
,o
);
40135 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40136 PyObject
*resultobj
;
40137 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40139 PyObject
* obj0
= 0 ;
40140 char *kwnames
[] = {
40141 (char *) "self", NULL
40144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40149 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40151 wxPyEndAllowThreads(__tstate
);
40152 if (PyErr_Occurred()) SWIG_fail
;
40155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40163 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40166 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40168 return Py_BuildValue((char *)"");
40170 static PyMethodDef SwigMethods
[] = {
40171 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40172 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40173 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40174 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40176 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40183 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40197 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40210 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40219 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40225 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40237 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40239 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40274 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40276 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40302 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40304 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40322 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40324 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40332 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40333 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40345 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40356 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40361 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40367 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40377 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40387 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40391 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40431 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40462 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40465 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40466 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40467 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40469 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40471 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40473 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40475 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40477 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40479 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40481 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40483 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40485 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40499 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40517 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40520 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40523 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40535 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40540 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40546 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40552 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40614 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40621 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40656 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40666 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40676 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40678 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40680 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40683 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40687 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40690 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40693 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40695 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40700 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40708 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40712 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40715 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40717 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40721 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40738 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40740 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40743 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40745 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40749 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40753 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40761 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40764 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40767 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40771 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40778 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40783 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40788 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40832 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40847 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40851 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40861 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
40910 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
40911 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41018 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41056 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41070 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41073 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41128 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41155 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41185 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41193 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41210 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41211 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41246 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41276 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41279 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41285 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41290 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41302 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41316 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41326 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41336 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41345 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41349 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41355 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41356 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41357 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41358 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41359 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41365 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41366 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41393 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41409 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41411 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41412 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41414 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41415 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41417 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41418 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41420 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41421 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41423 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41424 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41426 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41427 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41429 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41430 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41432 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41433 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41435 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41436 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41438 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41439 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41441 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41442 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41444 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41445 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41447 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41448 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41450 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41451 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41453 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41454 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41456 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41457 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41459 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41460 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41462 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41463 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41465 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41466 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41468 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41469 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41471 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41472 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41474 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41475 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41477 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41478 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41480 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41481 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41483 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41484 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41486 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41487 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41489 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41490 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41492 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41493 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41495 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41496 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41498 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41499 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41501 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41502 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41504 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41505 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41507 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41508 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41510 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41511 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41513 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41514 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41516 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41517 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41519 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41520 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41522 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41523 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41525 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41526 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41528 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41529 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41531 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41532 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41534 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41535 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41537 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41538 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41540 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41541 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41543 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41544 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41546 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41547 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41549 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41550 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41552 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41553 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41555 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41556 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41558 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41559 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41561 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41564 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41565 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41567 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41568 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41570 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41571 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41573 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41574 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41576 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41577 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41579 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41580 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41582 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41583 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41585 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41586 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41588 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41589 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41591 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41592 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41594 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41595 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41597 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41598 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41600 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41601 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41603 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41604 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41606 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41607 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41609 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41610 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41612 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41613 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41615 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41616 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41618 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41619 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41621 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41622 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41624 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41625 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41627 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41628 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41630 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41631 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41633 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41634 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41636 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41637 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41639 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41640 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41642 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41643 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41645 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41646 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41648 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41649 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41651 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41652 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41654 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41655 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41657 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41658 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41660 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41661 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41663 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41666 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41669 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41670 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41672 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41673 return (void *)((wxObject
*) ((wxSizer
*) x
));
41675 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41676 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41678 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41679 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41681 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41682 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41684 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41685 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41687 static void *_p_wxImageTo_p_wxObject(void *x
) {
41688 return (void *)((wxObject
*) ((wxImage
*) x
));
41690 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41693 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41694 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41696 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41697 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41699 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41700 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41702 static void *_p_wxControlTo_p_wxObject(void *x
) {
41703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41705 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41706 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41708 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41709 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41711 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41712 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41714 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41715 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41717 static void *_p_wxEventTo_p_wxObject(void *x
) {
41718 return (void *)((wxObject
*) ((wxEvent
*) x
));
41720 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41721 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41723 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41724 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41726 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41727 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41729 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41730 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41732 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41733 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41735 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41736 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41738 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41739 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41741 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41742 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41744 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41747 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41748 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41750 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41751 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41753 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41754 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41756 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41757 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41759 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41760 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41762 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41763 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41765 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41766 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41768 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41769 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41771 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41772 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41774 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41775 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41777 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41778 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41780 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41781 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41783 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41784 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41786 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41787 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41789 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41790 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41792 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41795 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41796 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41798 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41799 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41801 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41802 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41804 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41805 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41807 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41808 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41810 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41811 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41813 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41814 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41816 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41817 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41819 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41820 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41822 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41823 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41825 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41826 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41828 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41829 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41831 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41832 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41834 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41835 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41837 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41840 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41841 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41843 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41844 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41846 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41847 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41849 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41850 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41852 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41853 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41855 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41856 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41858 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41859 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41861 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41862 return (void *)((wxWindow
*) ((wxControl
*) x
));
41864 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41865 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41867 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41868 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41870 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41871 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41873 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41874 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41876 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41877 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41879 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41880 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41882 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41883 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41885 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41886 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41888 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41889 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41891 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41892 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41894 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41895 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41897 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}};
41898 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}};
41899 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}};
41900 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}};
41901 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}};
41902 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}};
41903 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}};
41904 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}};
41905 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}};
41906 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}};
41907 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}};
41908 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}};
41909 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}};
41910 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}};
41911 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}};
41912 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}};
41913 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}};
41914 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}};
41915 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}};
41916 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}};
41917 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}};
41918 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}};
41919 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}};
41920 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}};
41921 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}};
41922 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}};
41923 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}};
41924 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}};
41925 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}};
41926 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}};
41927 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}};
41928 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}};
41929 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}};
41930 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}};
41931 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}};
41932 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}};
41933 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}};
41934 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}};
41935 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}};
41936 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}};
41937 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}};
41938 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}};
41939 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}};
41940 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}};
41941 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}};
41942 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}};
41943 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}};
41944 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}};
41945 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}};
41946 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}};
41947 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}};
41948 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}};
41949 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}};
41950 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}};
41951 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}};
41952 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}};
41953 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}};
41954 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}};
41955 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}};
41956 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}};
41957 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}};
41958 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}};
41959 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}};
41960 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}};
41961 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}};
41962 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}};
41963 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}};
41964 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}};
41965 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}};
41966 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}};
41967 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}};
41968 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}};
41969 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}};
41970 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}};
41971 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}};
41972 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}};
41973 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}};
41974 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}};
41975 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}};
41976 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}};
41977 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}};
41978 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}};
41979 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}};
41980 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}};
41981 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}};
41982 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}};
41983 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}};
41984 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}};
41985 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}};
41986 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}};
41987 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}};
41988 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}};
41989 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}};
41990 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}};
41991 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}};
41992 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}};
41993 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}};
41994 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}};
41995 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}};
41996 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}};
41997 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}};
41998 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}};
41999 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}};
42000 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}};
42001 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}};
42002 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}};
42003 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}};
42004 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}};
42005 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}};
42006 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}};
42007 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}};
42008 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}};
42009 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}};
42010 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}};
42011 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}};
42013 static swig_type_info
*swig_types_initial
[] = {
42014 _swigt__p_wxLayoutConstraints
,
42015 _swigt__p_wxRealPoint
,
42016 _swigt__p_wxSizerItem
,
42017 _swigt__p_wxGBSizerItem
,
42018 _swigt__p_wxScrollEvent
,
42019 _swigt__p_wxIndividualLayoutConstraint
,
42021 _swigt__p_wxBoxSizer
,
42022 _swigt__p_wxStaticBoxSizer
,
42023 _swigt__p_wxGridBagSizer
,
42024 _swigt__p_wxAcceleratorEntry
,
42025 _swigt__p_wxUpdateUIEvent
,
42028 _swigt__p_wxGridSizer
,
42029 _swigt__p_wxFlexGridSizer
,
42030 _swigt__p_wxInitDialogEvent
,
42031 _swigt__p_wxItemContainer
,
42032 _swigt__p_wxNcPaintEvent
,
42033 _swigt__p_wxPaintEvent
,
42034 _swigt__p_wxSysColourChangedEvent
,
42035 _swigt__p_wxMouseCaptureChangedEvent
,
42036 _swigt__p_wxDisplayChangedEvent
,
42037 _swigt__p_wxPaletteChangedEvent
,
42038 _swigt__p_wxControl
,
42040 _swigt__p_wxMenuBarBase
,
42041 _swigt__p_wxSetCursorEvent
,
42042 _swigt__p_wxFSFile
,
42044 _swigt__p_wxRegion
,
42045 _swigt__p_wxPoint2D
,
42049 _swigt__p_wxPySizer
,
42050 _swigt__p_wxVisualAttributes
,
42051 _swigt__p_wxNotifyEvent
,
42052 _swigt__p_wxPyEvent
,
42053 _swigt__p_wxPropagationDisabler
,
42054 _swigt__p_wxAppTraits
,
42055 _swigt__p_wxArrayString
,
42056 _swigt__p_wxShowEvent
,
42057 _swigt__p_wxToolTip
,
42058 _swigt__p_wxMaximizeEvent
,
42059 _swigt__p_wxIconizeEvent
,
42060 _swigt__p_wxActivateEvent
,
42061 _swigt__p_wxMoveEvent
,
42062 _swigt__p_wxSizeEvent
,
42063 _swigt__p_wxQueryNewPaletteEvent
,
42064 _swigt__p_wxWindowCreateEvent
,
42065 _swigt__p_wxIdleEvent
,
42066 _swigt__p_wxMenuItem
,
42067 _swigt__p_wxStaticBox
,
42069 _swigt__p_wxTIFFHandler
,
42070 _swigt__p_wxXPMHandler
,
42071 _swigt__p_wxPNMHandler
,
42072 _swigt__p_wxJPEGHandler
,
42073 _swigt__p_wxPCXHandler
,
42074 _swigt__p_wxGIFHandler
,
42075 _swigt__p_wxPNGHandler
,
42076 _swigt__p_wxANIHandler
,
42077 _swigt__p_wxMemoryFSHandler
,
42078 _swigt__p_wxEvtHandler
,
42079 _swigt__p_wxCURHandler
,
42080 _swigt__p_wxICOHandler
,
42081 _swigt__p_wxBMPHandler
,
42082 _swigt__p_wxImageHandler
,
42083 _swigt__p_wxFileSystemHandler
,
42084 _swigt__p_wxPyFileSystemHandler
,
42085 _swigt__p_wxInternetFSHandler
,
42086 _swigt__p_wxZipFSHandler
,
42088 _swigt__p_wxGBSpan
,
42089 _swigt__p_wxPropagateOnce
,
42090 _swigt__p_wxAcceleratorTable
,
42092 _swigt__p_wxGBPosition
,
42095 _swigt__p_wxScrollWinEvent
,
42096 _swigt__p_wxImageHistogram
,
42099 _swigt__p_wxCursor
,
42100 _swigt__p_wxObject
,
42101 _swigt__p_wxPyInputStream
,
42102 _swigt__p_wxOutputStream
,
42103 _swigt__p_wxInputStream
,
42104 _swigt__p_wxDateTime
,
42105 _swigt__p_wxKeyEvent
,
42106 _swigt__p_wxNavigationKeyEvent
,
42107 _swigt__p_wxWindowDestroyEvent
,
42108 _swigt__p_wxWindow
,
42109 _swigt__p_wxMenuBar
,
42110 _swigt__p_wxFileSystem
,
42111 _swigt__p_wxBitmap
,
42112 _swigt__p_wxMenuEvent
,
42113 _swigt__p_wxContextMenuEvent
,
42114 _swigt__p_unsigned_char
,
42115 _swigt__p_wxCloseEvent
,
42116 _swigt__p_wxEraseEvent
,
42117 _swigt__p_wxMouseEvent
,
42119 _swigt__p_wxCommandEvent
,
42120 _swigt__p_wxPyCommandEvent
,
42121 _swigt__p_wxPyDropTarget
,
42122 _swigt__p_wxChildFocusEvent
,
42123 _swigt__p_wxFocusEvent
,
42124 _swigt__p_wxDropFilesEvent
,
42125 _swigt__p_wxControlWithItems
,
42126 _swigt__p_wxColour
,
42127 _swigt__p_wxValidator
,
42128 _swigt__p_wxPyValidator
,
42133 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42135 static swig_const_info swig_const_table
[] = {
42145 SWIGEXPORT(void) SWIG_init(void) {
42146 static PyObject
*SWIG_globals
= 0;
42147 static int typeinit
= 0;
42150 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42151 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42152 d
= PyModule_GetDict(m
);
42155 for (i
= 0; swig_types_initial
[i
]; i
++) {
42156 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42160 SWIG_InstallConstants(d
,swig_const_table
);
42163 #ifndef wxPyUSE_EXPORT
42164 // Make our API structure a CObject so other modules can import it
42165 // from this module.
42166 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42167 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42171 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42172 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42173 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42174 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42175 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42176 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42177 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42178 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42179 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42180 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42181 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42182 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42183 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42184 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42185 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42186 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42187 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42188 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42189 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42190 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42191 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42192 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42193 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42194 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42195 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42196 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42197 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42198 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42199 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42200 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42201 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42202 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42203 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42204 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42205 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42206 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42207 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42208 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42209 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42210 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42211 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42212 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42213 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42214 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42215 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42216 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42217 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42218 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42219 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42220 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42221 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42222 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42223 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42224 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42225 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42226 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42227 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42228 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42229 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42230 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42231 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42232 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42233 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42234 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42235 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42236 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42237 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42238 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42239 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42240 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42241 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42242 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42243 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42244 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42245 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42246 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42247 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42248 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42249 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42250 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42251 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42252 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42253 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42254 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42255 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42256 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42257 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42258 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42259 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42260 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42261 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42262 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42263 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42264 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42265 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42266 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42267 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42268 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42269 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42270 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42271 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42272 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42273 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42274 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42275 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42276 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42277 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42278 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42279 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42280 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42281 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42282 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42283 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42284 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42285 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42286 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42287 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42288 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42289 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42290 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42291 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42292 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42293 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42294 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42295 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42296 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42297 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42298 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42299 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42300 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42301 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42302 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42303 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42304 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42305 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42306 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42307 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42308 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42309 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42310 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42311 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42312 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42313 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42314 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42315 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42316 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42317 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42318 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42319 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42320 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42321 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42322 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42323 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42324 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42325 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42326 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42327 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42328 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42329 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42330 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42331 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42332 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42333 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42334 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42335 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42336 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42337 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42338 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42339 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42340 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42341 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42342 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42343 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42344 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42345 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42346 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42347 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42348 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42349 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42350 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42351 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42352 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42353 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42354 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42355 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42356 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42357 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42358 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42359 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42360 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42361 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42362 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42363 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42364 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42365 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42366 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42367 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42368 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42369 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42370 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42371 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42372 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42373 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42374 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42375 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42376 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42377 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42378 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42379 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42380 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42381 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42382 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42383 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42384 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42385 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42386 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42387 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42388 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42389 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42390 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42391 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42392 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42393 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42394 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42395 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42396 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42397 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42398 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42399 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42400 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42401 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42402 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42403 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42404 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42405 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42406 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42407 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42408 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42409 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42410 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42411 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42412 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42413 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42414 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42415 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42416 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42417 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42418 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42419 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42420 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42421 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42422 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42423 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42424 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42425 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42426 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42427 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42428 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42429 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42430 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42431 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42432 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42433 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42434 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42435 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42436 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42437 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42438 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42439 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42440 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42441 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42442 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42443 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42444 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42445 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42446 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42447 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42448 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42449 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42450 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42451 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42452 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42453 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42454 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42455 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42456 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42457 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42458 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42459 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42460 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42461 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42462 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42463 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42464 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42465 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42466 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42467 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42468 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42469 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42470 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42471 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42472 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42473 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42474 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42475 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42476 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42477 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42478 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42479 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42480 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42481 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42482 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42483 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42484 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42485 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42486 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42487 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42488 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42489 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42490 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42491 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42492 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42493 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42494 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42495 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42496 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42497 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42498 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42499 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42500 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42501 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42502 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42503 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42504 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42505 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42506 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42507 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42508 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42509 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42510 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42511 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42512 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42513 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42514 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42515 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42516 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42517 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42518 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42519 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42520 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42521 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42522 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42523 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42524 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42525 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42526 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42527 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42528 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42529 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42530 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42531 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42532 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42533 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42534 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42535 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42536 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42537 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42538 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42539 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42540 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42541 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42542 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42543 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42544 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42545 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42546 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42547 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42548 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42549 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42550 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42551 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42552 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42553 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42554 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42555 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42556 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42557 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42558 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42559 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42560 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42561 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42562 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42563 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42564 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42565 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42566 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42567 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42568 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42569 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42570 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42571 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42572 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42573 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42574 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42575 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42576 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42577 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42578 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42579 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42580 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42581 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42582 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42583 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42584 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42585 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42586 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42587 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42588 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42589 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42590 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42591 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42592 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42593 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42594 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42595 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42596 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42597 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42598 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42599 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42600 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42601 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42602 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42603 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42604 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42605 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42606 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42607 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42608 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42609 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42610 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42611 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42612 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42613 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42614 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42615 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42616 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42617 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42618 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42619 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42620 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42621 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42622 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42623 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42624 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42625 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42626 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42627 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42628 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42629 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42630 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42631 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42632 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42633 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42634 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42635 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42636 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42637 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42638 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42639 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42640 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42641 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42642 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42643 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42644 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42645 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42646 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42647 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42648 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42649 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42650 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42651 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42652 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42653 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42654 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42655 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42656 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42657 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42658 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42659 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42660 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42661 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42662 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42663 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42664 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42665 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42666 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42667 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42668 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42669 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42670 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42671 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42672 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42673 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42674 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42675 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42676 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42677 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42678 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42679 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42680 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42681 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42682 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42683 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42684 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42685 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42686 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42687 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42688 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42689 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42690 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42691 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42692 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42693 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42694 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42695 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42696 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42697 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42698 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42699 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42700 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42701 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42702 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42703 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42704 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42705 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42706 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42707 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42708 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42709 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42710 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42711 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42712 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42713 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42714 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42715 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42716 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42717 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42718 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42719 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42720 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42721 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42722 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42723 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42724 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42725 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42726 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42727 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42728 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42729 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42730 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42731 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42732 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42733 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42734 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42735 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42736 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42737 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42738 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42739 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42740 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42741 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42742 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42743 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42745 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42748 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42750 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42751 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42752 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42753 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42754 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42755 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42756 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42757 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42758 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42759 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42760 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42761 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42762 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42763 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42764 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42765 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42766 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42767 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42768 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42769 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42770 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42771 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42772 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42773 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42774 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42775 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42776 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42777 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42778 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42779 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42780 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42781 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42782 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42783 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42784 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42785 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42786 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42787 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42788 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42789 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42790 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42791 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42792 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42793 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42794 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42795 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42796 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42797 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42798 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42799 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42800 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42801 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42802 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42803 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42804 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42805 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42806 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42807 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42808 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42809 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42810 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42811 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42812 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42813 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42814 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42815 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42816 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42817 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42818 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42819 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42820 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42821 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42822 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42823 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42824 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42825 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42826 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42827 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42828 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42829 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42830 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42831 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42832 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42833 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42834 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42835 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42836 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42837 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42838 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42839 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42840 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42841 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42842 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42843 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42844 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42845 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42846 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42847 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42848 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42849 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42850 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42851 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42852 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42853 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42854 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42855 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42856 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42857 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42858 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42859 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42860 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42861 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42862 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42863 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42864 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42865 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42866 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42867 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42868 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42869 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42870 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42871 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42872 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42873 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42874 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42875 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42876 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42877 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42878 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42879 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42880 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42881 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42882 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42883 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42884 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42885 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42886 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42887 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42888 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42889 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42890 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42891 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42892 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42893 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42894 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42895 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42896 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42897 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42898 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42899 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42900 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42901 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42902 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42903 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42904 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
42905 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42906 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42907 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42908 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42909 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42910 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42911 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42912 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42913 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42914 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42915 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42916 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42917 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42918 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42919 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42920 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42921 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42922 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42923 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42924 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42925 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42926 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42927 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42928 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42929 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42931 // Initialize threading, some globals and such
42935 // Although these are defined in __version__ they need to be here too so
42936 // that an assert can be done to ensure that the wxPython and the wxWindows
42938 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42939 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42940 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));