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
* wxGetApp() {
1346 return (wxPyApp
*)wxTheApp
;
1351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1352 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1353 void delete_wxVisualAttributes(wxVisualAttributes
*self
){}
1354 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1355 wxWindowList
& list
= self
->GetChildren();
1356 return wxPy_ConvertList(&list
);
1358 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1360 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1365 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1372 long wxWindow_GetHandle(wxWindow
*self
){
1373 return wxPyGetWinHandle(self
);
1376 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1377 return wxWindow::FindWindowById(id
, parent
);
1380 wxWindow
* wxFindWindowByName( const wxString
& name
,
1381 const wxWindow
*parent
= NULL
) {
1382 return wxWindow::FindWindowByName(name
, parent
);
1385 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1386 const wxWindow
*parent
= NULL
) {
1387 return wxWindow::FindWindowByLabel(label
, parent
);
1392 #include <wx/msw/private.h> // to get wxGetWindowId
1396 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1398 WXHWND hWnd
= (WXHWND
)_hWnd
;
1399 long id
= wxGetWindowId(hWnd
);
1400 wxWindow
* win
= new wxWindow
;
1401 parent
->AddChild(win
);
1402 win
->SetEventHandler(win
);
1405 win
->SubclassWin(hWnd
);
1406 win
->AdoptAttributesFromHWND();
1407 win
->SetupColours();
1410 wxPyRaiseNotImplemented();
1416 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1418 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1420 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1422 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1423 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1424 wxMenuItemList
& list
= self
->GetMenuItems();
1425 return wxPy_ConvertList(&list
);
1427 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1428 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1429 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1431 wxPyClientData
* data
= new wxPyClientData(clientData
);
1432 return self
->Append(item
, data
);
1434 return self
->Append(item
);
1436 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1438 wxPyClientData
* data
= new wxPyClientData(clientData
);
1439 return self
->Insert(item
, pos
, data
);
1441 return self
->Insert(item
, pos
);
1443 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1444 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1446 Py_INCREF(data
->m_obj
);
1453 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1454 wxPyClientData
* data
= new wxPyClientData(clientData
);
1455 self
->SetClientObject(n
, data
);
1463 SWIG_FloatCast(double value
)
1466 if (!PyErr_Occurred()) {
1467 if (value
< FLT_MIN
) {
1469 PyString_FromFormat("value %g is less than float minimum %g",
1471 PyErr_SetObject(PyExc_OverflowError
, err
);
1473 } else if (value
> FLT_MAX
) {
1475 PyString_FromFormat("value %g is greater than float maximum %g",
1477 PyErr_SetObject(PyExc_OverflowError
, err
);
1480 f
= swig_numeric_cast(float, value
);
1487 SWIGSTATICINLINE(float)
1488 SWIG_AsFloat(PyObject
*obj
)
1490 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1494 SWIGSTATICINLINE(int)
1495 SWIG_CheckFloat(PyObject
* obj
)
1498 if (PyErr_Occurred()) {
1506 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1507 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1509 Py_INCREF(data
->m_obj
);
1517 // Figure out the type of the sizer item
1519 struct wxPySizerItemInfo
{
1521 : window(NULL
), sizer(NULL
), gotSize(False
),
1522 size(wxDefaultSize
), gotPos(False
), pos(-1)
1533 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1535 wxPySizerItemInfo info
;
1537 wxSize
* sizePtr
= &size
;
1539 // Find out what the type of the item is
1541 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1546 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1550 // try wxSize or (w,h)
1551 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1552 info
.size
= *sizePtr
;
1553 info
.gotSize
= True
;
1557 if (checkIdx
&& PyInt_Check(item
)) {
1558 info
.pos
= PyInt_AsLong(item
);
1564 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1565 // no expected type, figure out what kind of error message to generate
1566 if ( !checkSize
&& !checkIdx
)
1567 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1568 else if ( checkSize
&& !checkIdx
)
1569 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1570 else if ( !checkSize
&& checkIdx
)
1571 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1573 // can this one happen?
1574 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1580 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1581 self
->SetClientObject(new wxPyOORClientData(_self
));
1583 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1585 wxPyUserData
* data
= NULL
;
1586 bool blocked
= wxPyBeginBlockThreads();
1587 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1588 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1589 data
= new wxPyUserData(userData
);
1590 wxPyEndBlockThreads(blocked
);
1592 // Now call the real Add method if a valid item type was found
1594 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1595 else if ( info
.sizer
)
1596 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1597 else if (info
.gotSize
)
1598 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1599 proportion
, flag
, border
, data
);
1601 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1603 wxPyUserData
* data
= NULL
;
1604 bool blocked
= wxPyBeginBlockThreads();
1605 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1606 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1607 data
= new wxPyUserData(userData
);
1608 wxPyEndBlockThreads(blocked
);
1610 // Now call the real Insert method if a valid item type was found
1612 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1613 else if ( info
.sizer
)
1614 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1615 else if (info
.gotSize
)
1616 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1617 proportion
, flag
, border
, data
);
1619 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1621 wxPyUserData
* data
= NULL
;
1622 bool blocked
= wxPyBeginBlockThreads();
1623 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1624 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1625 data
= new wxPyUserData(userData
);
1626 wxPyEndBlockThreads(blocked
);
1628 // Now call the real Prepend method if a valid item type was found
1630 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1631 else if ( info
.sizer
)
1632 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1633 else if (info
.gotSize
)
1634 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1635 proportion
, flag
, border
, data
);
1637 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1638 bool blocked
= wxPyBeginBlockThreads();
1639 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1640 wxPyEndBlockThreads(blocked
);
1642 return self
->Remove(info
.window
);
1643 else if ( info
.sizer
)
1644 return self
->Remove(info
.sizer
);
1645 else if ( info
.gotPos
)
1646 return self
->Remove(info
.pos
);
1650 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1651 bool blocked
= wxPyBeginBlockThreads();
1652 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1653 wxPyEndBlockThreads(blocked
);
1655 self
->SetItemMinSize(info
.window
, size
);
1656 else if ( info
.sizer
)
1657 self
->SetItemMinSize(info
.sizer
, size
);
1658 else if ( info
.gotPos
)
1659 self
->SetItemMinSize(info
.pos
, size
);
1661 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1662 wxSizerItemList
& list
= self
->GetChildren();
1663 return wxPy_ConvertList(&list
);
1665 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1666 bool blocked
= wxPyBeginBlockThreads();
1667 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1668 wxPyEndBlockThreads(blocked
);
1670 self
->Show(info
.window
, show
);
1671 else if ( info
.sizer
)
1672 self
->Show(info
.sizer
, show
);
1674 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1675 bool blocked
= wxPyBeginBlockThreads();
1676 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1677 wxPyEndBlockThreads(blocked
);
1679 self
->Hide(info
.window
);
1680 else if ( info
.sizer
)
1681 self
->Hide(info
.sizer
);
1683 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1684 bool blocked
= wxPyBeginBlockThreads();
1685 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1686 wxPyEndBlockThreads(blocked
);
1688 return self
->IsShown(info
.window
);
1689 else if ( info
.sizer
)
1690 return self
->IsShown(info
.sizer
);
1696 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1697 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1698 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1703 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1705 if (source
== Py_None
) {
1706 **obj
= wxGBPosition(-1,-1);
1709 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1712 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1714 if (source
== Py_None
) {
1715 **obj
= wxGBSpan(-1,-1);
1718 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1722 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1726 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1727 bool blocked
= wxPyBeginBlockThreads();
1728 PyObject
* tup
= PyTuple_New(2);
1729 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1730 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1731 wxPyEndBlockThreads(blocked
);
1734 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1735 self
->SetRowspan(rowspan
);
1736 self
->SetColspan(colspan
);
1738 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1739 bool blocked
= wxPyBeginBlockThreads();
1740 PyObject
* tup
= PyTuple_New(2);
1741 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1742 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1743 wxPyEndBlockThreads(blocked
);
1746 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1748 wxPyUserData
* data
= NULL
;
1749 bool blocked
= wxPyBeginBlockThreads();
1750 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1751 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1752 data
= new wxPyUserData(userData
);
1753 wxPyEndBlockThreads(blocked
);
1755 // Now call the real Add method if a valid item type was found
1757 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1758 else if ( info
.sizer
)
1759 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1760 else if (info
.gotSize
)
1761 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1762 pos
, span
, flag
, border
, data
);
1770 static int _wrap_EmptyString_set(PyObject
*_val
) {
1771 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1776 static PyObject
*_wrap_EmptyString_get() {
1781 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1783 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1790 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
*resultobj
;
1792 wxObject
*arg1
= (wxObject
*) 0 ;
1794 PyObject
* obj0
= 0 ;
1796 (char *) "self", NULL
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 result
= wxObject_GetClassName(arg1
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1822 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
*resultobj
;
1824 wxObject
*arg1
= (wxObject
*) 0 ;
1825 PyObject
* obj0
= 0 ;
1827 (char *) "self", NULL
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 wxObject_Destroy(arg1
);
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) SWIG_fail
;
1840 Py_INCREF(Py_None
); resultobj
= Py_None
;
1847 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1850 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1852 return Py_BuildValue((char *)"");
1854 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
*resultobj
;
1856 wxSize
*arg1
= (wxSize
*) 0 ;
1858 PyObject
* obj0
= 0 ;
1859 PyObject
* obj1
= 0 ;
1861 (char *) "self",(char *) "x", NULL
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1867 arg2
= (int) SWIG_AsInt(obj1
);
1868 if (PyErr_Occurred()) SWIG_fail
;
1869 if (arg1
) (arg1
)->x
= arg2
;
1871 Py_INCREF(Py_None
); resultobj
= Py_None
;
1878 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
*resultobj
;
1880 wxSize
*arg1
= (wxSize
*) 0 ;
1882 PyObject
* obj0
= 0 ;
1884 (char *) "self", NULL
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1890 result
= (int) ((arg1
)->x
);
1892 resultobj
= SWIG_FromInt((int)result
);
1899 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
*resultobj
;
1901 wxSize
*arg1
= (wxSize
*) 0 ;
1903 PyObject
* obj0
= 0 ;
1904 PyObject
* obj1
= 0 ;
1906 (char *) "self",(char *) "y", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1912 arg2
= (int) SWIG_AsInt(obj1
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1914 if (arg1
) (arg1
)->y
= arg2
;
1916 Py_INCREF(Py_None
); resultobj
= Py_None
;
1923 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
*resultobj
;
1925 wxSize
*arg1
= (wxSize
*) 0 ;
1927 PyObject
* obj0
= 0 ;
1929 (char *) "self", NULL
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1935 result
= (int) ((arg1
)->y
);
1937 resultobj
= SWIG_FromInt((int)result
);
1944 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
*resultobj
;
1946 int arg1
= (int) 0 ;
1947 int arg2
= (int) 0 ;
1949 PyObject
* obj0
= 0 ;
1950 PyObject
* obj1
= 0 ;
1952 (char *) "w",(char *) "h", NULL
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1957 arg1
= (int) SWIG_AsInt(obj0
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1961 arg2
= (int) SWIG_AsInt(obj1
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1978 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
*resultobj
;
1980 wxSize
*arg1
= (wxSize
*) 0 ;
1981 PyObject
* obj0
= 0 ;
1983 (char *) "self", NULL
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 Py_INCREF(Py_None
); resultobj
= Py_None
;
2003 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxSize
*arg1
= (wxSize
*) 0 ;
2009 PyObject
* obj0
= 0 ;
2010 PyObject
* obj1
= 0 ;
2012 (char *) "self",(char *) "sz", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2020 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2038 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
*resultobj
;
2040 wxSize
*arg1
= (wxSize
*) 0 ;
2044 PyObject
* obj0
= 0 ;
2045 PyObject
* obj1
= 0 ;
2047 (char *) "self",(char *) "sz", NULL
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2055 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) SWIG_fail
;
2065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2073 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
*resultobj
;
2075 wxSize
*arg1
= (wxSize
*) 0 ;
2079 PyObject
* obj0
= 0 ;
2080 PyObject
* obj1
= 0 ;
2082 (char *) "self",(char *) "sz", NULL
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2090 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2094 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2096 wxPyEndAllowThreads(__tstate
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2101 resultptr
= new wxSize((wxSize
&) result
);
2102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2110 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
*resultobj
;
2112 wxSize
*arg1
= (wxSize
*) 0 ;
2116 PyObject
* obj0
= 0 ;
2117 PyObject
* obj1
= 0 ;
2119 (char *) "self",(char *) "sz", NULL
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2127 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2131 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2133 wxPyEndAllowThreads(__tstate
);
2134 if (PyErr_Occurred()) SWIG_fail
;
2138 resultptr
= new wxSize((wxSize
&) result
);
2139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2147 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
*resultobj
;
2149 wxSize
*arg1
= (wxSize
*) 0 ;
2152 PyObject
* obj0
= 0 ;
2153 PyObject
* obj1
= 0 ;
2155 (char *) "self",(char *) "sz", NULL
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2163 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 (arg1
)->IncTo((wxSize
const &)*arg2
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2172 Py_INCREF(Py_None
); resultobj
= Py_None
;
2179 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
*resultobj
;
2181 wxSize
*arg1
= (wxSize
*) 0 ;
2184 PyObject
* obj0
= 0 ;
2185 PyObject
* obj1
= 0 ;
2187 (char *) "self",(char *) "sz", NULL
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2195 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 (arg1
)->DecTo((wxSize
const &)*arg2
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 Py_INCREF(Py_None
); resultobj
= Py_None
;
2211 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 wxSize
*arg1
= (wxSize
*) 0 ;
2216 PyObject
* obj0
= 0 ;
2217 PyObject
* obj1
= 0 ;
2218 PyObject
* obj2
= 0 ;
2220 (char *) "self",(char *) "w",(char *) "h", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2226 arg2
= (int) SWIG_AsInt(obj1
);
2227 if (PyErr_Occurred()) SWIG_fail
;
2228 arg3
= (int) SWIG_AsInt(obj2
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 (arg1
)->Set(arg2
,arg3
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxSize
*arg1
= (wxSize
*) 0 ;
2248 PyObject
* obj0
= 0 ;
2249 PyObject
* obj1
= 0 ;
2251 (char *) "self",(char *) "w", NULL
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2257 arg2
= (int) SWIG_AsInt(obj1
);
2258 if (PyErr_Occurred()) SWIG_fail
;
2260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2261 (arg1
)->SetWidth(arg2
);
2263 wxPyEndAllowThreads(__tstate
);
2264 if (PyErr_Occurred()) SWIG_fail
;
2266 Py_INCREF(Py_None
); resultobj
= Py_None
;
2273 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2275 wxSize
*arg1
= (wxSize
*) 0 ;
2277 PyObject
* obj0
= 0 ;
2278 PyObject
* obj1
= 0 ;
2280 (char *) "self",(char *) "h", NULL
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2286 arg2
= (int) SWIG_AsInt(obj1
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 (arg1
)->SetHeight(arg2
);
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2295 Py_INCREF(Py_None
); resultobj
= Py_None
;
2302 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
*resultobj
;
2304 wxSize
*arg1
= (wxSize
*) 0 ;
2306 PyObject
* obj0
= 0 ;
2308 (char *) "self", NULL
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2316 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2321 resultobj
= SWIG_FromInt((int)result
);
2328 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
*resultobj
;
2330 wxSize
*arg1
= (wxSize
*) 0 ;
2332 PyObject
* obj0
= 0 ;
2334 (char *) "self", NULL
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2342 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2344 wxPyEndAllowThreads(__tstate
);
2345 if (PyErr_Occurred()) SWIG_fail
;
2347 resultobj
= SWIG_FromInt((int)result
);
2354 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2355 PyObject
*resultobj
;
2356 wxSize
*arg1
= (wxSize
*) 0 ;
2358 PyObject
* obj0
= 0 ;
2360 (char *) "self", NULL
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) SWIG_fail
;
2374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2382 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
*resultobj
;
2384 wxSize
*arg1
= (wxSize
*) 0 ;
2387 PyObject
* obj0
= 0 ;
2388 PyObject
* obj1
= 0 ;
2390 (char *) "self",(char *) "size", NULL
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2398 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2407 Py_INCREF(Py_None
); resultobj
= Py_None
;
2414 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
*resultobj
;
2416 wxSize
*arg1
= (wxSize
*) 0 ;
2418 PyObject
* obj0
= 0 ;
2420 (char *) "self", NULL
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2428 result
= (PyObject
*)wxSize_Get(arg1
);
2430 wxPyEndAllowThreads(__tstate
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2440 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2443 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2445 return Py_BuildValue((char *)"");
2447 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
*resultobj
;
2449 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2451 PyObject
* obj0
= 0 ;
2452 PyObject
* obj1
= 0 ;
2454 (char *) "self",(char *) "x", NULL
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2460 arg2
= (double) SWIG_AsDouble(obj1
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2462 if (arg1
) (arg1
)->x
= arg2
;
2464 Py_INCREF(Py_None
); resultobj
= Py_None
;
2471 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
*resultobj
;
2473 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2475 PyObject
* obj0
= 0 ;
2477 (char *) "self", NULL
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2483 result
= (double) ((arg1
)->x
);
2485 resultobj
= SWIG_FromDouble((double)result
);
2492 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
*resultobj
;
2494 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2496 PyObject
* obj0
= 0 ;
2497 PyObject
* obj1
= 0 ;
2499 (char *) "self",(char *) "y", NULL
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2505 arg2
= (double) SWIG_AsDouble(obj1
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2507 if (arg1
) (arg1
)->y
= arg2
;
2509 Py_INCREF(Py_None
); resultobj
= Py_None
;
2516 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
*resultobj
;
2518 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2520 PyObject
* obj0
= 0 ;
2522 (char *) "self", NULL
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2528 result
= (double) ((arg1
)->y
);
2530 resultobj
= SWIG_FromDouble((double)result
);
2537 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 double arg1
= (double) 0.0 ;
2540 double arg2
= (double) 0.0 ;
2541 wxRealPoint
*result
;
2542 PyObject
* obj0
= 0 ;
2543 PyObject
* obj1
= 0 ;
2545 (char *) "x",(char *) "y", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2550 arg1
= (double) SWIG_AsDouble(obj0
);
2551 if (PyErr_Occurred()) SWIG_fail
;
2554 arg2
= (double) SWIG_AsDouble(obj1
);
2555 if (PyErr_Occurred()) SWIG_fail
;
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2571 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
;
2573 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2574 PyObject
* obj0
= 0 ;
2576 (char *) "self", NULL
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 Py_INCREF(Py_None
); resultobj
= Py_None
;
2596 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
*resultobj
;
2598 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2599 wxRealPoint
*arg2
= 0 ;
2602 PyObject
* obj0
= 0 ;
2603 PyObject
* obj1
= 0 ;
2605 (char *) "self",(char *) "pt", NULL
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2613 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2631 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2633 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2634 wxRealPoint
*arg2
= 0 ;
2637 PyObject
* obj0
= 0 ;
2638 PyObject
* obj1
= 0 ;
2640 (char *) "self",(char *) "pt", NULL
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2648 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2666 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2669 wxRealPoint
*arg2
= 0 ;
2672 PyObject
* obj0
= 0 ;
2673 PyObject
* obj1
= 0 ;
2675 (char *) "self",(char *) "pt", NULL
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2683 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2693 wxRealPoint
* resultptr
;
2694 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2703 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
*resultobj
;
2705 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2706 wxRealPoint
*arg2
= 0 ;
2709 PyObject
* obj0
= 0 ;
2710 PyObject
* obj1
= 0 ;
2712 (char *) "self",(char *) "pt", NULL
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2720 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) SWIG_fail
;
2730 wxRealPoint
* resultptr
;
2731 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2740 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
*resultobj
;
2742 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2745 PyObject
* obj0
= 0 ;
2746 PyObject
* obj1
= 0 ;
2747 PyObject
* obj2
= 0 ;
2749 (char *) "self",(char *) "x",(char *) "y", NULL
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2755 arg2
= (double) SWIG_AsDouble(obj1
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2757 arg3
= (double) SWIG_AsDouble(obj2
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2761 wxRealPoint_Set(arg1
,arg2
,arg3
);
2763 wxPyEndAllowThreads(__tstate
);
2764 if (PyErr_Occurred()) SWIG_fail
;
2766 Py_INCREF(Py_None
); resultobj
= Py_None
;
2773 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
*resultobj
;
2775 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2777 PyObject
* obj0
= 0 ;
2779 (char *) "self", NULL
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) SWIG_fail
;
2799 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2802 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2804 return Py_BuildValue((char *)"");
2806 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 wxPoint
*arg1
= (wxPoint
*) 0 ;
2810 PyObject
* obj0
= 0 ;
2811 PyObject
* obj1
= 0 ;
2813 (char *) "self",(char *) "x", NULL
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2819 arg2
= (int) SWIG_AsInt(obj1
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2821 if (arg1
) (arg1
)->x
= arg2
;
2823 Py_INCREF(Py_None
); resultobj
= Py_None
;
2830 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
*resultobj
;
2832 wxPoint
*arg1
= (wxPoint
*) 0 ;
2834 PyObject
* obj0
= 0 ;
2836 (char *) "self", NULL
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2842 result
= (int) ((arg1
)->x
);
2844 resultobj
= SWIG_FromInt((int)result
);
2851 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
*resultobj
;
2853 wxPoint
*arg1
= (wxPoint
*) 0 ;
2855 PyObject
* obj0
= 0 ;
2856 PyObject
* obj1
= 0 ;
2858 (char *) "self",(char *) "y", NULL
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2864 arg2
= (int) SWIG_AsInt(obj1
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2866 if (arg1
) (arg1
)->y
= arg2
;
2868 Py_INCREF(Py_None
); resultobj
= Py_None
;
2875 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
*resultobj
;
2877 wxPoint
*arg1
= (wxPoint
*) 0 ;
2879 PyObject
* obj0
= 0 ;
2881 (char *) "self", NULL
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2887 result
= (int) ((arg1
)->y
);
2889 resultobj
= SWIG_FromInt((int)result
);
2896 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 int arg1
= (int) 0 ;
2899 int arg2
= (int) 0 ;
2901 PyObject
* obj0
= 0 ;
2902 PyObject
* obj1
= 0 ;
2904 (char *) "x",(char *) "y", NULL
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2909 arg1
= (int) SWIG_AsInt(obj0
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2913 arg2
= (int) SWIG_AsInt(obj1
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2930 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
*resultobj
;
2932 wxPoint
*arg1
= (wxPoint
*) 0 ;
2933 PyObject
* obj0
= 0 ;
2935 (char *) "self", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2948 Py_INCREF(Py_None
); resultobj
= Py_None
;
2955 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
*resultobj
;
2957 wxPoint
*arg1
= (wxPoint
*) 0 ;
2961 PyObject
* obj0
= 0 ;
2962 PyObject
* obj1
= 0 ;
2964 (char *) "self",(char *) "pt", NULL
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2976 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2978 wxPyEndAllowThreads(__tstate
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2990 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
*resultobj
;
2992 wxPoint
*arg1
= (wxPoint
*) 0 ;
2996 PyObject
* obj0
= 0 ;
2997 PyObject
* obj1
= 0 ;
2999 (char *) "self",(char *) "pt", NULL
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3007 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3025 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3027 wxPoint
*arg1
= (wxPoint
*) 0 ;
3031 PyObject
* obj0
= 0 ;
3032 PyObject
* obj1
= 0 ;
3034 (char *) "self",(char *) "pt", NULL
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3052 wxPoint
* resultptr
;
3053 resultptr
= new wxPoint((wxPoint
&) result
);
3054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3062 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxPoint
*arg1
= (wxPoint
*) 0 ;
3068 PyObject
* obj0
= 0 ;
3069 PyObject
* obj1
= 0 ;
3071 (char *) "self",(char *) "pt", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3079 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) SWIG_fail
;
3089 wxPoint
* resultptr
;
3090 resultptr
= new wxPoint((wxPoint
&) result
);
3091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3099 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
*resultobj
;
3101 wxPoint
*arg1
= (wxPoint
*) 0 ;
3105 PyObject
* obj0
= 0 ;
3106 PyObject
* obj1
= 0 ;
3108 (char *) "self",(char *) "pt", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3122 result
= (wxPoint
*) &_result_ref
;
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3135 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxPoint
*arg1
= (wxPoint
*) 0 ;
3141 PyObject
* obj0
= 0 ;
3142 PyObject
* obj1
= 0 ;
3144 (char *) "self",(char *) "pt", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3152 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3158 result
= (wxPoint
*) &_result_ref
;
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3171 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxPoint
*arg1
= (wxPoint
*) 0 ;
3176 PyObject
* obj0
= 0 ;
3177 PyObject
* obj1
= 0 ;
3178 PyObject
* obj2
= 0 ;
3180 (char *) "self",(char *) "x",(char *) "y", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3186 arg2
= (long) SWIG_AsLong(obj1
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3188 arg3
= (long) SWIG_AsLong(obj2
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 wxPoint_Set(arg1
,arg2
,arg3
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3197 Py_INCREF(Py_None
); resultobj
= Py_None
;
3204 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxPoint
*arg1
= (wxPoint
*) 0 ;
3208 PyObject
* obj0
= 0 ;
3210 (char *) "self", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 result
= (PyObject
*)wxPoint_Get(arg1
);
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3230 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3233 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3235 return Py_BuildValue((char *)"");
3237 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 int arg1
= (int) 0 ;
3240 int arg2
= (int) 0 ;
3241 int arg3
= (int) 0 ;
3242 int arg4
= (int) 0 ;
3244 PyObject
* obj0
= 0 ;
3245 PyObject
* obj1
= 0 ;
3246 PyObject
* obj2
= 0 ;
3247 PyObject
* obj3
= 0 ;
3249 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3254 arg1
= (int) SWIG_AsInt(obj0
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3258 arg2
= (int) SWIG_AsInt(obj1
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3262 arg3
= (int) SWIG_AsInt(obj2
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3266 arg4
= (int) SWIG_AsInt(obj3
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3283 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3290 PyObject
* obj0
= 0 ;
3291 PyObject
* obj1
= 0 ;
3293 (char *) "topLeft",(char *) "bottomRight", NULL
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3299 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3319 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3326 PyObject
* obj0
= 0 ;
3327 PyObject
* obj1
= 0 ;
3329 (char *) "pos",(char *) "size", NULL
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3335 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3339 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3355 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
*resultobj
;
3357 wxRect
*arg1
= (wxRect
*) 0 ;
3358 PyObject
* obj0
= 0 ;
3360 (char *) "self", NULL
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 Py_INCREF(Py_None
); resultobj
= Py_None
;
3380 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
*resultobj
;
3382 wxRect
*arg1
= (wxRect
*) 0 ;
3384 PyObject
* obj0
= 0 ;
3386 (char *) "self", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 result
= (int)((wxRect
const *)arg1
)->GetX();
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3399 resultobj
= SWIG_FromInt((int)result
);
3406 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
*resultobj
;
3408 wxRect
*arg1
= (wxRect
*) 0 ;
3410 PyObject
* obj0
= 0 ;
3411 PyObject
* obj1
= 0 ;
3413 (char *) "self",(char *) "x", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3419 arg2
= (int) SWIG_AsInt(obj1
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3428 Py_INCREF(Py_None
); resultobj
= Py_None
;
3435 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
*resultobj
;
3437 wxRect
*arg1
= (wxRect
*) 0 ;
3439 PyObject
* obj0
= 0 ;
3441 (char *) "self", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 result
= (int)(arg1
)->GetY();
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 resultobj
= SWIG_FromInt((int)result
);
3461 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxRect
*arg1
= (wxRect
*) 0 ;
3465 PyObject
* obj0
= 0 ;
3466 PyObject
* obj1
= 0 ;
3468 (char *) "self",(char *) "y", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3474 arg2
= (int) SWIG_AsInt(obj1
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3483 Py_INCREF(Py_None
); resultobj
= Py_None
;
3490 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxRect
*arg1
= (wxRect
*) 0 ;
3494 PyObject
* obj0
= 0 ;
3496 (char *) "self", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3509 resultobj
= SWIG_FromInt((int)result
);
3516 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
;
3518 wxRect
*arg1
= (wxRect
*) 0 ;
3520 PyObject
* obj0
= 0 ;
3521 PyObject
* obj1
= 0 ;
3523 (char *) "self",(char *) "w", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3529 arg2
= (int) SWIG_AsInt(obj1
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 (arg1
)->SetWidth(arg2
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3538 Py_INCREF(Py_None
); resultobj
= Py_None
;
3545 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3547 wxRect
*arg1
= (wxRect
*) 0 ;
3549 PyObject
* obj0
= 0 ;
3551 (char *) "self", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 resultobj
= SWIG_FromInt((int)result
);
3571 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
;
3573 wxRect
*arg1
= (wxRect
*) 0 ;
3575 PyObject
* obj0
= 0 ;
3576 PyObject
* obj1
= 0 ;
3578 (char *) "self",(char *) "h", NULL
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3584 arg2
= (int) SWIG_AsInt(obj1
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 (arg1
)->SetHeight(arg2
);
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3593 Py_INCREF(Py_None
); resultobj
= Py_None
;
3600 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
*resultobj
;
3602 wxRect
*arg1
= (wxRect
*) 0 ;
3604 PyObject
* obj0
= 0 ;
3606 (char *) "self", NULL
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 result
= ((wxRect
const *)arg1
)->GetPosition();
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3620 wxPoint
* resultptr
;
3621 resultptr
= new wxPoint((wxPoint
&) result
);
3622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3630 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3632 wxRect
*arg1
= (wxRect
*) 0 ;
3635 PyObject
* obj0
= 0 ;
3636 PyObject
* obj1
= 0 ;
3638 (char *) "self",(char *) "p", NULL
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3646 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3655 Py_INCREF(Py_None
); resultobj
= Py_None
;
3662 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3664 wxRect
*arg1
= (wxRect
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3668 (char *) "self", NULL
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 result
= ((wxRect
const *)arg1
)->GetSize();
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3683 resultptr
= new wxSize((wxSize
&) result
);
3684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3692 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
*resultobj
;
3694 wxRect
*arg1
= (wxRect
*) 0 ;
3697 PyObject
* obj0
= 0 ;
3698 PyObject
* obj1
= 0 ;
3700 (char *) "self",(char *) "s", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3708 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->SetSize((wxSize
const &)*arg2
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxRect
*arg1
= (wxRect
*) 0 ;
3728 PyObject
* obj0
= 0 ;
3730 (char *) "self", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3744 wxPoint
* resultptr
;
3745 resultptr
= new wxPoint((wxPoint
&) result
);
3746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3754 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
*resultobj
;
3756 wxRect
*arg1
= (wxRect
*) 0 ;
3759 PyObject
* obj0
= 0 ;
3760 PyObject
* obj1
= 0 ;
3762 (char *) "self",(char *) "p", NULL
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3770 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3779 Py_INCREF(Py_None
); resultobj
= Py_None
;
3786 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxRect
*arg1
= (wxRect
*) 0 ;
3790 PyObject
* obj0
= 0 ;
3792 (char *) "self", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3806 wxPoint
* resultptr
;
3807 resultptr
= new wxPoint((wxPoint
&) result
);
3808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3816 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxRect
*arg1
= (wxRect
*) 0 ;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3824 (char *) "self",(char *) "p", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3841 Py_INCREF(Py_None
); resultobj
= Py_None
;
3848 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
*resultobj
;
3850 wxRect
*arg1
= (wxRect
*) 0 ;
3852 PyObject
* obj0
= 0 ;
3854 (char *) "self", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= SWIG_FromInt((int)result
);
3874 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3876 wxRect
*arg1
= (wxRect
*) 0 ;
3878 PyObject
* obj0
= 0 ;
3880 (char *) "self", NULL
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 result
= (int)((wxRect
const *)arg1
)->GetTop();
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3893 resultobj
= SWIG_FromInt((int)result
);
3900 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 wxRect
*arg1
= (wxRect
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3906 (char *) "self", NULL
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 resultobj
= SWIG_FromInt((int)result
);
3926 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
*resultobj
;
3928 wxRect
*arg1
= (wxRect
*) 0 ;
3930 PyObject
* obj0
= 0 ;
3932 (char *) "self", NULL
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 result
= (int)((wxRect
const *)arg1
)->GetRight();
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3945 resultobj
= SWIG_FromInt((int)result
);
3952 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
;
3954 wxRect
*arg1
= (wxRect
*) 0 ;
3956 PyObject
* obj0
= 0 ;
3957 PyObject
* obj1
= 0 ;
3959 (char *) "self",(char *) "left", NULL
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3965 arg2
= (int) SWIG_AsInt(obj1
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 (arg1
)->SetLeft(arg2
);
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3974 Py_INCREF(Py_None
); resultobj
= Py_None
;
3981 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
;
3983 wxRect
*arg1
= (wxRect
*) 0 ;
3985 PyObject
* obj0
= 0 ;
3986 PyObject
* obj1
= 0 ;
3988 (char *) "self",(char *) "right", NULL
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3994 arg2
= (int) SWIG_AsInt(obj1
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 (arg1
)->SetRight(arg2
);
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4003 Py_INCREF(Py_None
); resultobj
= Py_None
;
4010 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
;
4012 wxRect
*arg1
= (wxRect
*) 0 ;
4014 PyObject
* obj0
= 0 ;
4015 PyObject
* obj1
= 0 ;
4017 (char *) "self",(char *) "top", NULL
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4023 arg2
= (int) SWIG_AsInt(obj1
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 (arg1
)->SetTop(arg2
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 Py_INCREF(Py_None
); resultobj
= Py_None
;
4039 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
*resultobj
;
4041 wxRect
*arg1
= (wxRect
*) 0 ;
4043 PyObject
* obj0
= 0 ;
4044 PyObject
* obj1
= 0 ;
4046 (char *) "self",(char *) "bottom", NULL
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4052 arg2
= (int) SWIG_AsInt(obj1
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 (arg1
)->SetBottom(arg2
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 Py_INCREF(Py_None
); resultobj
= Py_None
;
4068 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
;
4070 wxRect
*arg1
= (wxRect
*) 0 ;
4074 PyObject
* obj0
= 0 ;
4075 PyObject
* obj1
= 0 ;
4076 PyObject
* obj2
= 0 ;
4078 (char *) "self",(char *) "dx",(char *) "dy", NULL
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4084 arg2
= (int) SWIG_AsInt(obj1
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4086 arg3
= (int) SWIG_AsInt(obj2
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4092 result
= (wxRect
*) &_result_ref
;
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4105 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxRect
*arg1
= (wxRect
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4112 PyObject
* obj1
= 0 ;
4113 PyObject
* obj2
= 0 ;
4115 (char *) "self",(char *) "dx",(char *) "dy", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4121 arg2
= (int) SWIG_AsInt(obj1
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4123 arg3
= (int) SWIG_AsInt(obj2
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4129 result
= (wxRect
*) &_result_ref
;
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4142 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
;
4144 wxRect
*arg1
= (wxRect
*) 0 ;
4147 PyObject
* obj0
= 0 ;
4148 PyObject
* obj1
= 0 ;
4149 PyObject
* obj2
= 0 ;
4151 (char *) "self",(char *) "dx",(char *) "dy", NULL
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4157 arg2
= (int) SWIG_AsInt(obj1
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4159 arg3
= (int) SWIG_AsInt(obj2
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 (arg1
)->Offset(arg2
,arg3
);
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4168 Py_INCREF(Py_None
); resultobj
= Py_None
;
4175 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
*resultobj
;
4177 wxRect
*arg1
= (wxRect
*) 0 ;
4180 PyObject
* obj0
= 0 ;
4181 PyObject
* obj1
= 0 ;
4183 (char *) "self",(char *) "pt", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4191 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 (arg1
)->Offset((wxPoint
const &)*arg2
);
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 Py_INCREF(Py_None
); resultobj
= Py_None
;
4207 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
*resultobj
;
4209 wxRect
*arg1
= (wxRect
*) 0 ;
4213 PyObject
* obj0
= 0 ;
4214 PyObject
* obj1
= 0 ;
4216 (char *) "self",(char *) "rect", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4224 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4230 result
= (wxRect
*) &_result_ref
;
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4243 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxRect
*arg1
= (wxRect
*) 0 ;
4249 PyObject
* obj0
= 0 ;
4250 PyObject
* obj1
= 0 ;
4252 (char *) "self",(char *) "rect", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4260 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4271 resultptr
= new wxRect((wxRect
&) result
);
4272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4280 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
;
4282 wxRect
*arg1
= (wxRect
*) 0 ;
4286 PyObject
* obj0
= 0 ;
4287 PyObject
* obj1
= 0 ;
4289 (char *) "self",(char *) "rect", NULL
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4297 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4303 result
= (wxRect
*) &_result_ref
;
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4316 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4318 wxRect
*arg1
= (wxRect
*) 0 ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4325 (char *) "self",(char *) "rect", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4333 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4351 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
*resultobj
;
4353 wxRect
*arg1
= (wxRect
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4360 (char *) "self",(char *) "rect", NULL
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4368 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4386 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 wxRect
*arg1
= (wxRect
*) 0 ;
4392 PyObject
* obj0
= 0 ;
4393 PyObject
* obj1
= 0 ;
4394 PyObject
* obj2
= 0 ;
4396 (char *) "self",(char *) "x",(char *) "y", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4402 arg2
= (int) SWIG_AsInt(obj1
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4404 arg3
= (int) SWIG_AsInt(obj2
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4422 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4424 wxRect
*arg1
= (wxRect
*) 0 ;
4428 PyObject
* obj0
= 0 ;
4429 PyObject
* obj1
= 0 ;
4431 (char *) "self",(char *) "pt", NULL
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4439 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4457 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
;
4459 wxRect
*arg1
= (wxRect
*) 0 ;
4463 PyObject
* obj0
= 0 ;
4464 PyObject
* obj1
= 0 ;
4466 (char *) "self",(char *) "rect", NULL
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4474 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4492 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
;
4494 wxRect
*arg1
= (wxRect
*) 0 ;
4496 PyObject
* obj0
= 0 ;
4497 PyObject
* obj1
= 0 ;
4499 (char *) "self",(char *) "x", NULL
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4505 arg2
= (int) SWIG_AsInt(obj1
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4507 if (arg1
) (arg1
)->x
= arg2
;
4509 Py_INCREF(Py_None
); resultobj
= Py_None
;
4516 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4518 wxRect
*arg1
= (wxRect
*) 0 ;
4520 PyObject
* obj0
= 0 ;
4522 (char *) "self", NULL
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4528 result
= (int) ((arg1
)->x
);
4530 resultobj
= SWIG_FromInt((int)result
);
4537 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
;
4539 wxRect
*arg1
= (wxRect
*) 0 ;
4541 PyObject
* obj0
= 0 ;
4542 PyObject
* obj1
= 0 ;
4544 (char *) "self",(char *) "y", NULL
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4550 arg2
= (int) SWIG_AsInt(obj1
);
4551 if (PyErr_Occurred()) SWIG_fail
;
4552 if (arg1
) (arg1
)->y
= arg2
;
4554 Py_INCREF(Py_None
); resultobj
= Py_None
;
4561 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxRect
*arg1
= (wxRect
*) 0 ;
4565 PyObject
* obj0
= 0 ;
4567 (char *) "self", NULL
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4573 result
= (int) ((arg1
)->y
);
4575 resultobj
= SWIG_FromInt((int)result
);
4582 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
*resultobj
;
4584 wxRect
*arg1
= (wxRect
*) 0 ;
4586 PyObject
* obj0
= 0 ;
4587 PyObject
* obj1
= 0 ;
4589 (char *) "self",(char *) "width", NULL
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4595 arg2
= (int) SWIG_AsInt(obj1
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4597 if (arg1
) (arg1
)->width
= arg2
;
4599 Py_INCREF(Py_None
); resultobj
= Py_None
;
4606 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxRect
*arg1
= (wxRect
*) 0 ;
4610 PyObject
* obj0
= 0 ;
4612 (char *) "self", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4618 result
= (int) ((arg1
)->width
);
4620 resultobj
= SWIG_FromInt((int)result
);
4627 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
;
4629 wxRect
*arg1
= (wxRect
*) 0 ;
4631 PyObject
* obj0
= 0 ;
4632 PyObject
* obj1
= 0 ;
4634 (char *) "self",(char *) "height", NULL
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4640 arg2
= (int) SWIG_AsInt(obj1
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4642 if (arg1
) (arg1
)->height
= arg2
;
4644 Py_INCREF(Py_None
); resultobj
= Py_None
;
4651 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxRect
*arg1
= (wxRect
*) 0 ;
4655 PyObject
* obj0
= 0 ;
4657 (char *) "self", NULL
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4663 result
= (int) ((arg1
)->height
);
4665 resultobj
= SWIG_FromInt((int)result
);
4672 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxRect
*arg1
= (wxRect
*) 0 ;
4675 int arg2
= (int) 0 ;
4676 int arg3
= (int) 0 ;
4677 int arg4
= (int) 0 ;
4678 int arg5
= (int) 0 ;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4681 PyObject
* obj2
= 0 ;
4682 PyObject
* obj3
= 0 ;
4683 PyObject
* obj4
= 0 ;
4685 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4692 arg2
= (int) SWIG_AsInt(obj1
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4696 arg3
= (int) SWIG_AsInt(obj2
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4700 arg4
= (int) SWIG_AsInt(obj3
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4704 arg5
= (int) SWIG_AsInt(obj4
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 Py_INCREF(Py_None
); resultobj
= Py_None
;
4721 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
*resultobj
;
4723 wxRect
*arg1
= (wxRect
*) 0 ;
4725 PyObject
* obj0
= 0 ;
4727 (char *) "self", NULL
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 result
= (PyObject
*)wxRect_Get(arg1
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4747 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4750 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4752 return Py_BuildValue((char *)"");
4754 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
;
4756 wxRect
*arg1
= (wxRect
*) 0 ;
4757 wxRect
*arg2
= (wxRect
*) 0 ;
4759 PyObject
* obj0
= 0 ;
4760 PyObject
* obj1
= 0 ;
4762 (char *) "r1",(char *) "r2", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4784 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 double arg1
= (double) 0.0 ;
4787 double arg2
= (double) 0.0 ;
4789 PyObject
* obj0
= 0 ;
4790 PyObject
* obj1
= 0 ;
4792 (char *) "x",(char *) "y", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4797 arg1
= (double) SWIG_AsDouble(obj0
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4801 arg2
= (double) SWIG_AsDouble(obj1
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4818 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
;
4820 wxPoint2D
*arg1
= 0 ;
4823 PyObject
* obj0
= 0 ;
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4831 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4847 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
*resultobj
;
4852 PyObject
* obj0
= 0 ;
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4860 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4876 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4878 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4879 int *arg2
= (int *) 0 ;
4880 int *arg3
= (int *) 0 ;
4883 PyObject
* obj0
= 0 ;
4885 (char *) "self", NULL
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 Py_INCREF(Py_None
); resultobj
= Py_None
;
4902 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4903 resultobj
= t_output_helper(resultobj
,o
);
4906 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4907 resultobj
= t_output_helper(resultobj
,o
);
4915 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
;
4917 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4918 int *arg2
= (int *) 0 ;
4919 int *arg3
= (int *) 0 ;
4922 PyObject
* obj0
= 0 ;
4924 (char *) "self", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 Py_INCREF(Py_None
); resultobj
= Py_None
;
4941 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4942 resultobj
= t_output_helper(resultobj
,o
);
4945 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4946 resultobj
= t_output_helper(resultobj
,o
);
4954 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "self", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 resultobj
= SWIG_FromDouble((double)result
);
4980 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4982 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4984 PyObject
* obj0
= 0 ;
4986 (char *) "self", NULL
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4999 resultobj
= SWIG_FromDouble((double)result
);
5006 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5008 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj1
= 0 ;
5013 (char *) "self",(char *) "length", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5019 arg2
= (double) SWIG_AsDouble(obj1
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 (arg1
)->SetVectorLength(arg2
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5028 Py_INCREF(Py_None
); resultobj
= Py_None
;
5035 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
;
5037 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5039 PyObject
* obj0
= 0 ;
5040 PyObject
* obj1
= 0 ;
5042 (char *) "self",(char *) "degrees", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5048 arg2
= (double) SWIG_AsDouble(obj1
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 (arg1
)->SetVectorAngle(arg2
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 Py_INCREF(Py_None
); resultobj
= Py_None
;
5064 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
;
5066 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5067 wxPoint2D
*arg2
= 0 ;
5070 PyObject
* obj0
= 0 ;
5071 PyObject
* obj1
= 0 ;
5073 (char *) "self",(char *) "pt", NULL
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5081 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 resultobj
= SWIG_FromDouble((double)result
);
5097 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
;
5099 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5100 wxPoint2D
*arg2
= 0 ;
5103 PyObject
* obj0
= 0 ;
5104 PyObject
* obj1
= 0 ;
5106 (char *) "self",(char *) "pt", NULL
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5114 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= SWIG_FromDouble((double)result
);
5130 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5133 wxPoint2D
*arg2
= 0 ;
5136 PyObject
* obj0
= 0 ;
5137 PyObject
* obj1
= 0 ;
5139 (char *) "self",(char *) "vec", NULL
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5147 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= SWIG_FromDouble((double)result
);
5163 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
*resultobj
;
5165 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5166 wxPoint2D
*arg2
= 0 ;
5169 PyObject
* obj0
= 0 ;
5170 PyObject
* obj1
= 0 ;
5172 (char *) "self",(char *) "vec", NULL
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5180 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= SWIG_FromDouble((double)result
);
5196 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5200 PyObject
* obj0
= 0 ;
5202 (char *) "self", NULL
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (arg1
)->operator -();
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5216 wxPoint2D
* resultptr
;
5217 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5226 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5229 wxPoint2D
*arg2
= 0 ;
5232 PyObject
* obj0
= 0 ;
5233 PyObject
* obj1
= 0 ;
5235 (char *) "self",(char *) "pt", NULL
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5243 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5249 result
= (wxPoint2D
*) &_result_ref
;
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5262 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5265 wxPoint2D
*arg2
= 0 ;
5268 PyObject
* obj0
= 0 ;
5269 PyObject
* obj1
= 0 ;
5271 (char *) "self",(char *) "pt", NULL
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5279 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5285 result
= (wxPoint2D
*) &_result_ref
;
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5298 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5301 wxPoint2D
*arg2
= 0 ;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5307 (char *) "self",(char *) "pt", NULL
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5315 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5321 result
= (wxPoint2D
*) &_result_ref
;
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5334 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
;
5336 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5337 wxPoint2D
*arg2
= 0 ;
5340 PyObject
* obj0
= 0 ;
5341 PyObject
* obj1
= 0 ;
5343 (char *) "self",(char *) "pt", NULL
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5351 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5357 result
= (wxPoint2D
*) &_result_ref
;
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5370 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
;
5372 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5373 wxPoint2D
*arg2
= 0 ;
5376 PyObject
* obj0
= 0 ;
5377 PyObject
* obj1
= 0 ;
5379 (char *) "self",(char *) "pt", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5387 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5405 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5408 wxPoint2D
*arg2
= 0 ;
5411 PyObject
* obj0
= 0 ;
5412 PyObject
* obj1
= 0 ;
5414 (char *) "self",(char *) "pt", NULL
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5422 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5440 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
;
5442 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5447 (char *) "self",(char *) "m_x", NULL
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5453 arg2
= (double) SWIG_AsDouble(obj1
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5455 if (arg1
) (arg1
)->m_x
= arg2
;
5457 Py_INCREF(Py_None
); resultobj
= Py_None
;
5464 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5468 PyObject
* obj0
= 0 ;
5470 (char *) "self", NULL
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5476 result
= (double) ((arg1
)->m_x
);
5478 resultobj
= SWIG_FromDouble((double)result
);
5485 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5489 PyObject
* obj0
= 0 ;
5490 PyObject
* obj1
= 0 ;
5492 (char *) "self",(char *) "m_y", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5498 arg2
= (double) SWIG_AsDouble(obj1
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5500 if (arg1
) (arg1
)->m_y
= arg2
;
5502 Py_INCREF(Py_None
); resultobj
= Py_None
;
5509 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
*resultobj
;
5511 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5513 PyObject
* obj0
= 0 ;
5515 (char *) "self", NULL
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5521 result
= (double) ((arg1
)->m_y
);
5523 resultobj
= SWIG_FromDouble((double)result
);
5530 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5533 double arg2
= (double) 0 ;
5534 double arg3
= (double) 0 ;
5535 PyObject
* obj0
= 0 ;
5536 PyObject
* obj1
= 0 ;
5537 PyObject
* obj2
= 0 ;
5539 (char *) "self",(char *) "x",(char *) "y", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5546 arg2
= (double) SWIG_AsDouble(obj1
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5550 arg3
= (double) SWIG_AsDouble(obj2
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 wxPoint2D_Set(arg1
,arg2
,arg3
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 Py_INCREF(Py_None
); resultobj
= Py_None
;
5567 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
;
5569 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5571 PyObject
* obj0
= 0 ;
5573 (char *) "self", NULL
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5593 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5596 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5598 return Py_BuildValue((char *)"");
5600 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5601 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5606 static PyObject
*_wrap_DefaultPosition_get() {
5609 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5614 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5615 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5620 static PyObject
*_wrap_DefaultSize_get() {
5623 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5628 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 PyObject
*arg1
= (PyObject
*) 0 ;
5631 wxPyInputStream
*result
;
5632 PyObject
* obj0
= 0 ;
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5653 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5656 PyObject
* obj0
= 0 ;
5658 (char *) "self", NULL
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 Py_INCREF(Py_None
); resultobj
= Py_None
;
5678 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
;
5680 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5681 PyObject
* obj0
= 0 ;
5683 (char *) "self", NULL
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5696 Py_INCREF(Py_None
); resultobj
= Py_None
;
5703 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
*resultobj
;
5705 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5707 PyObject
* obj0
= 0 ;
5709 (char *) "self", NULL
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 result
= (bool)(arg1
)->eof();
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5731 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
*resultobj
;
5733 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5734 int arg2
= (int) -1 ;
5736 PyObject
* obj0
= 0 ;
5737 PyObject
* obj1
= 0 ;
5739 (char *) "self",(char *) "size", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5746 arg2
= (int) SWIG_AsInt(obj1
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (PyObject
*)(arg1
)->read(arg2
);
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5763 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
;
5765 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5766 int arg2
= (int) -1 ;
5768 PyObject
* obj0
= 0 ;
5769 PyObject
* obj1
= 0 ;
5771 (char *) "self",(char *) "size", NULL
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5778 arg2
= (int) SWIG_AsInt(obj1
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (PyObject
*)(arg1
)->readline(arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5795 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5798 int arg2
= (int) -1 ;
5800 PyObject
* obj0
= 0 ;
5801 PyObject
* obj1
= 0 ;
5803 (char *) "self",(char *) "sizehint", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5810 arg2
= (int) SWIG_AsInt(obj1
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5827 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5829 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5831 int arg3
= (int) 0 ;
5832 PyObject
* obj0
= 0 ;
5833 PyObject
* obj1
= 0 ;
5834 PyObject
* obj2
= 0 ;
5836 (char *) "self",(char *) "offset",(char *) "whence", NULL
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5842 arg2
= (int) SWIG_AsInt(obj1
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5845 arg3
= (int) SWIG_AsInt(obj2
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 (arg1
)->seek(arg2
,arg3
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5855 Py_INCREF(Py_None
); resultobj
= Py_None
;
5862 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
;
5864 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5866 PyObject
* obj0
= 0 ;
5868 (char *) "self", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 result
= (int)(arg1
)->tell();
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= SWIG_FromInt((int)result
);
5888 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5892 PyObject
* obj0
= 0 ;
5894 (char *) "self", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 result
= (char)(arg1
)->Peek();
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 resultobj
= SWIG_FromChar((char)result
);
5914 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
;
5916 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5918 PyObject
* obj0
= 0 ;
5920 (char *) "self", NULL
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (char)(arg1
)->GetC();
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= SWIG_FromChar((char)result
);
5940 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5944 PyObject
* obj0
= 0 ;
5946 (char *) "self", NULL
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 result
= (size_t)(arg1
)->LastRead();
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5966 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5970 PyObject
* obj0
= 0 ;
5972 (char *) "self", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= (bool)(arg1
)->CanRead();
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5994 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5996 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5998 PyObject
* obj0
= 0 ;
6000 (char *) "self", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= (bool)(arg1
)->Eof();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6022 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6027 PyObject
* obj0
= 0 ;
6028 PyObject
* obj1
= 0 ;
6030 (char *) "self",(char *) "c", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 arg2
= (char) SWIG_AsChar(obj1
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (bool)(arg1
)->Ungetch(arg2
);
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6054 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
*resultobj
;
6056 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6058 int arg3
= (int) wxFromStart
;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6062 PyObject
* obj2
= 0 ;
6064 (char *) "self",(char *) "pos",(char *) "mode", NULL
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6070 arg2
= (long) SWIG_AsLong(obj1
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6073 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= SWIG_FromLong((long)result
);
6090 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6094 PyObject
* obj0
= 0 ;
6096 (char *) "self", NULL
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 result
= (long)(arg1
)->TellI();
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6109 resultobj
= SWIG_FromLong((long)result
);
6116 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6119 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6121 return Py_BuildValue((char *)"");
6123 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6126 PyObject
*arg2
= (PyObject
*) 0 ;
6127 PyObject
* obj0
= 0 ;
6128 PyObject
* obj1
= 0 ;
6130 (char *) "self",(char *) "obj", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 wxOutputStream_write(arg1
,arg2
);
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6144 Py_INCREF(Py_None
); resultobj
= Py_None
;
6151 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6154 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6156 return Py_BuildValue((char *)"");
6158 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6161 wxString
*arg2
= 0 ;
6162 wxString
*arg3
= 0 ;
6163 wxString
*arg4
= 0 ;
6166 wxPyInputStream
*temp1
;
6168 bool temp2
= False
;
6169 bool temp3
= False
;
6170 bool temp4
= False
;
6172 PyObject
* obj0
= 0 ;
6173 PyObject
* obj1
= 0 ;
6174 PyObject
* obj2
= 0 ;
6175 PyObject
* obj3
= 0 ;
6176 PyObject
* obj4
= 0 ;
6178 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6183 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6184 arg1
= temp1
->m_wxis
;
6187 PyErr_Clear(); // clear the failure of the wxPyConvert above
6188 arg1
= wxPyCBInputStream_create(obj0
, False
);
6190 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6197 arg2
= wxString_in_helper(obj1
);
6198 if (arg2
== NULL
) SWIG_fail
;
6202 arg3
= wxString_in_helper(obj2
);
6203 if (arg3
== NULL
) SWIG_fail
;
6207 arg4
= wxString_in_helper(obj3
);
6208 if (arg4
== NULL
) SWIG_fail
;
6211 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6212 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= wxPyMake_wxObject(result
);
6262 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6265 PyObject
* obj0
= 0 ;
6267 (char *) "self", NULL
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 Py_INCREF(Py_None
); resultobj
= Py_None
;
6287 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6290 wxInputStream
*result
;
6291 PyObject
* obj0
= 0 ;
6293 (char *) "self", NULL
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 result
= (wxInputStream
*)(arg1
)->GetStream();
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6307 wxPyInputStream
* _ptr
= NULL
;
6310 _ptr
= new wxPyInputStream(result
);
6312 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6320 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6324 PyObject
* obj0
= 0 ;
6326 (char *) "self", NULL
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6336 result
= (wxString
*) &_result_ref
;
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6344 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6346 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6355 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
;
6357 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6359 PyObject
* obj0
= 0 ;
6361 (char *) "self", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 wxString
const &_result_ref
= (arg1
)->GetLocation();
6371 result
= (wxString
*) &_result_ref
;
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6379 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6381 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6390 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6396 (char *) "self", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6406 result
= (wxString
*) &_result_ref
;
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6416 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6425 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6429 PyObject
* obj0
= 0 ;
6431 (char *) "self", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 result
= (arg1
)->GetModificationTime();
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 wxDateTime
* resultptr
;
6446 resultptr
= new wxDateTime((wxDateTime
&) result
);
6447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6455 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6458 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6460 return Py_BuildValue((char *)"");
6462 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6465 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6467 return Py_BuildValue((char *)"");
6469 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxPyFileSystemHandler
*result
;
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6491 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
;
6493 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6494 PyObject
*arg2
= (PyObject
*) 0 ;
6495 PyObject
*arg3
= (PyObject
*) 0 ;
6496 PyObject
* obj0
= 0 ;
6497 PyObject
* obj1
= 0 ;
6498 PyObject
* obj2
= 0 ;
6500 (char *) "self",(char *) "self",(char *) "_class", NULL
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 Py_INCREF(Py_None
); resultobj
= Py_None
;
6522 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6525 wxString
*arg2
= 0 ;
6527 bool temp2
= False
;
6528 PyObject
* obj0
= 0 ;
6529 PyObject
* obj1
= 0 ;
6531 (char *) "self",(char *) "location", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6538 arg2
= wxString_in_helper(obj1
);
6539 if (arg2
== NULL
) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6566 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6569 wxFileSystem
*arg2
= 0 ;
6570 wxString
*arg3
= 0 ;
6572 bool temp3
= False
;
6573 PyObject
* obj0
= 0 ;
6574 PyObject
* obj1
= 0 ;
6575 PyObject
* obj2
= 0 ;
6577 (char *) "self",(char *) "fs",(char *) "location", NULL
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6587 PyErr_SetString(PyExc_TypeError
,"null reference");
6591 arg3
= wxString_in_helper(obj2
);
6592 if (arg3
== NULL
) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= wxPyMake_wxObject(result
);
6619 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6622 wxString
*arg2
= 0 ;
6623 int arg3
= (int) 0 ;
6625 bool temp2
= False
;
6626 PyObject
* obj0
= 0 ;
6627 PyObject
* obj1
= 0 ;
6628 PyObject
* obj2
= 0 ;
6630 (char *) "self",(char *) "spec",(char *) "flags", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6637 arg2
= wxString_in_helper(obj1
);
6638 if (arg2
== NULL
) SWIG_fail
;
6642 arg3
= (int) SWIG_AsInt(obj2
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6673 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
;
6675 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6677 PyObject
* obj0
= 0 ;
6679 (char *) "self", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (arg1
)->FindNext();
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6705 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6708 wxString
*arg2
= 0 ;
6710 bool temp2
= False
;
6711 PyObject
* obj0
= 0 ;
6712 PyObject
* obj1
= 0 ;
6714 (char *) "self",(char *) "location", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6721 arg2
= wxString_in_helper(obj1
);
6722 if (arg2
== NULL
) SWIG_fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6753 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
;
6755 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6756 wxString
*arg2
= 0 ;
6758 bool temp2
= False
;
6759 PyObject
* obj0
= 0 ;
6760 PyObject
* obj1
= 0 ;
6762 (char *) "self",(char *) "location", NULL
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6769 arg2
= wxString_in_helper(obj1
);
6770 if (arg2
== NULL
) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6801 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
*resultobj
;
6803 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6804 wxString
*arg2
= 0 ;
6806 bool temp2
= False
;
6807 PyObject
* obj0
= 0 ;
6808 PyObject
* obj1
= 0 ;
6810 (char *) "self",(char *) "location", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6817 arg2
= wxString_in_helper(obj1
);
6818 if (arg2
== NULL
) SWIG_fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6849 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6852 wxString
*arg2
= 0 ;
6854 bool temp2
= False
;
6855 PyObject
* obj0
= 0 ;
6856 PyObject
* obj1
= 0 ;
6858 (char *) "self",(char *) "location", NULL
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6865 arg2
= wxString_in_helper(obj1
);
6866 if (arg2
== NULL
) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6897 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
;
6899 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6900 wxString
*arg2
= 0 ;
6902 bool temp2
= False
;
6903 PyObject
* obj0
= 0 ;
6904 PyObject
* obj1
= 0 ;
6906 (char *) "self",(char *) "location", NULL
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6913 arg2
= wxString_in_helper(obj1
);
6914 if (arg2
== NULL
) SWIG_fail
;
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6945 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6948 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6950 return Py_BuildValue((char *)"");
6952 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
;
6954 wxFileSystem
*result
;
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= (wxFileSystem
*)new wxFileSystem();
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= wxPyMake_wxObject(result
);
6976 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
;
6978 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6979 PyObject
* obj0
= 0 ;
6981 (char *) "self", NULL
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 Py_INCREF(Py_None
); resultobj
= Py_None
;
7001 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7004 wxString
*arg2
= 0 ;
7005 bool arg3
= (bool) False
;
7006 bool temp2
= False
;
7007 PyObject
* obj0
= 0 ;
7008 PyObject
* obj1
= 0 ;
7009 PyObject
* obj2
= 0 ;
7011 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7018 arg2
= wxString_in_helper(obj1
);
7019 if (arg2
== NULL
) SWIG_fail
;
7023 arg3
= (bool) SWIG_AsBool(obj2
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 Py_INCREF(Py_None
); resultobj
= Py_None
;
7048 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7052 PyObject
* obj0
= 0 ;
7054 (char *) "self", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 result
= (arg1
)->GetPath();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7080 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
;
7082 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7083 wxString
*arg2
= 0 ;
7085 bool temp2
= False
;
7086 PyObject
* obj0
= 0 ;
7087 PyObject
* obj1
= 0 ;
7089 (char *) "self",(char *) "location", NULL
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7096 arg2
= wxString_in_helper(obj1
);
7097 if (arg2
== NULL
) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7108 resultobj
= wxPyMake_wxObject(result
);
7124 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7127 wxString
*arg2
= 0 ;
7128 int arg3
= (int) 0 ;
7130 bool temp2
= False
;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7133 PyObject
* obj2
= 0 ;
7135 (char *) "self",(char *) "spec",(char *) "flags", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7142 arg2
= wxString_in_helper(obj1
);
7143 if (arg2
== NULL
) SWIG_fail
;
7147 arg3
= (int) SWIG_AsInt(obj2
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7178 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
;
7180 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7182 PyObject
* obj0
= 0 ;
7184 (char *) "self", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (arg1
)->FindNext();
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7210 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7213 PyObject
* obj0
= 0 ;
7215 (char *) "handler", NULL
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 wxFileSystem::AddHandler(arg1
);
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7228 Py_INCREF(Py_None
); resultobj
= Py_None
;
7235 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
;
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 wxFileSystem::CleanUpHandlers();
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 Py_INCREF(Py_None
); resultobj
= Py_None
;
7256 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxString
*arg1
= 0 ;
7260 bool temp1
= False
;
7261 PyObject
* obj0
= 0 ;
7263 (char *) "filename", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7268 arg1
= wxString_in_helper(obj0
);
7269 if (arg1
== NULL
) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7300 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7303 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7305 return Py_BuildValue((char *)"");
7307 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 wxString
*arg1
= 0 ;
7311 bool temp1
= False
;
7312 PyObject
* obj0
= 0 ;
7314 (char *) "url", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7319 arg1
= wxString_in_helper(obj0
);
7320 if (arg1
== NULL
) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7351 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
*resultobj
;
7353 wxInternetFSHandler
*result
;
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7373 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7376 wxString
*arg2
= 0 ;
7378 bool temp2
= False
;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7382 (char *) "self",(char *) "location", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7389 arg2
= wxString_in_helper(obj1
);
7390 if (arg2
== NULL
) SWIG_fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7417 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7420 wxFileSystem
*arg2
= 0 ;
7421 wxString
*arg3
= 0 ;
7423 bool temp3
= False
;
7424 PyObject
* obj0
= 0 ;
7425 PyObject
* obj1
= 0 ;
7426 PyObject
* obj2
= 0 ;
7428 (char *) "self",(char *) "fs",(char *) "location", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7438 PyErr_SetString(PyExc_TypeError
,"null reference");
7442 arg3
= wxString_in_helper(obj2
);
7443 if (arg3
== NULL
) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7454 resultobj
= wxPyMake_wxObject(result
);
7470 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7473 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7475 return Py_BuildValue((char *)"");
7477 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxZipFSHandler
*result
;
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7499 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
;
7501 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7502 wxString
*arg2
= 0 ;
7504 bool temp2
= False
;
7505 PyObject
* obj0
= 0 ;
7506 PyObject
* obj1
= 0 ;
7508 (char *) "self",(char *) "location", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7515 arg2
= wxString_in_helper(obj1
);
7516 if (arg2
== NULL
) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7543 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
;
7545 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7546 wxFileSystem
*arg2
= 0 ;
7547 wxString
*arg3
= 0 ;
7549 bool temp3
= False
;
7550 PyObject
* obj0
= 0 ;
7551 PyObject
* obj1
= 0 ;
7552 PyObject
* obj2
= 0 ;
7554 (char *) "self",(char *) "fs",(char *) "location", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7561 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7564 PyErr_SetString(PyExc_TypeError
,"null reference");
7568 arg3
= wxString_in_helper(obj2
);
7569 if (arg3
== NULL
) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= wxPyMake_wxObject(result
);
7596 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
;
7598 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7599 wxString
*arg2
= 0 ;
7600 int arg3
= (int) 0 ;
7602 bool temp2
= False
;
7603 PyObject
* obj0
= 0 ;
7604 PyObject
* obj1
= 0 ;
7605 PyObject
* obj2
= 0 ;
7607 (char *) "self",(char *) "spec",(char *) "flags", NULL
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7614 arg2
= wxString_in_helper(obj1
);
7615 if (arg2
== NULL
) SWIG_fail
;
7619 arg3
= (int) SWIG_AsInt(obj2
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7650 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "self", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (arg1
)->FindNext();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7682 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7685 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7687 return Py_BuildValue((char *)"");
7689 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxString
*arg1
= 0 ;
7694 bool temp1
= False
;
7695 PyObject
* obj0
= 0 ;
7696 PyObject
* obj1
= 0 ;
7697 PyObject
* obj2
= 0 ;
7699 (char *) "filename",(char *) "image",(char *) "type", NULL
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7704 arg1
= wxString_in_helper(obj0
);
7705 if (arg1
== NULL
) SWIG_fail
;
7708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7712 PyErr_SetString(PyExc_TypeError
,"null reference");
7715 arg3
= (long) SWIG_AsLong(obj2
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7724 Py_INCREF(Py_None
); resultobj
= Py_None
;
7739 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7741 wxString
*arg1
= 0 ;
7742 wxBitmap
*arg2
= 0 ;
7744 bool temp1
= False
;
7745 PyObject
* obj0
= 0 ;
7746 PyObject
* obj1
= 0 ;
7747 PyObject
* obj2
= 0 ;
7749 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7754 arg1
= wxString_in_helper(obj0
);
7755 if (arg1
== NULL
) SWIG_fail
;
7758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7762 PyErr_SetString(PyExc_TypeError
,"null reference");
7765 arg3
= (long) SWIG_AsLong(obj2
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 Py_INCREF(Py_None
); resultobj
= Py_None
;
7789 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
;
7791 wxString
*arg1
= 0 ;
7792 PyObject
*arg2
= (PyObject
*) 0 ;
7793 bool temp1
= False
;
7794 PyObject
* obj0
= 0 ;
7795 PyObject
* obj1
= 0 ;
7797 (char *) "filename",(char *) "data", NULL
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7802 arg1
= wxString_in_helper(obj0
);
7803 if (arg1
== NULL
) SWIG_fail
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 Py_INCREF(Py_None
); resultobj
= Py_None
;
7829 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
;
7831 wxMemoryFSHandler
*result
;
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7851 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 wxString
*arg1
= 0 ;
7854 bool temp1
= False
;
7855 PyObject
* obj0
= 0 ;
7857 (char *) "filename", NULL
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7862 arg1
= wxString_in_helper(obj0
);
7863 if (arg1
== NULL
) SWIG_fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 Py_INCREF(Py_None
); resultobj
= Py_None
;
7888 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7891 wxString
*arg2
= 0 ;
7893 bool temp2
= False
;
7894 PyObject
* obj0
= 0 ;
7895 PyObject
* obj1
= 0 ;
7897 (char *) "self",(char *) "location", NULL
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7904 arg2
= wxString_in_helper(obj1
);
7905 if (arg2
== NULL
) SWIG_fail
;
7909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7910 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7912 wxPyEndAllowThreads(__tstate
);
7913 if (PyErr_Occurred()) SWIG_fail
;
7916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7932 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
*resultobj
;
7934 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7935 wxFileSystem
*arg2
= 0 ;
7936 wxString
*arg3
= 0 ;
7938 bool temp3
= False
;
7939 PyObject
* obj0
= 0 ;
7940 PyObject
* obj1
= 0 ;
7941 PyObject
* obj2
= 0 ;
7943 (char *) "self",(char *) "fs",(char *) "location", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7953 PyErr_SetString(PyExc_TypeError
,"null reference");
7957 arg3
= wxString_in_helper(obj2
);
7958 if (arg3
== NULL
) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= wxPyMake_wxObject(result
);
7985 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
;
7987 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7988 wxString
*arg2
= 0 ;
7989 int arg3
= (int) 0 ;
7991 bool temp2
= False
;
7992 PyObject
* obj0
= 0 ;
7993 PyObject
* obj1
= 0 ;
7994 PyObject
* obj2
= 0 ;
7996 (char *) "self",(char *) "spec",(char *) "flags", NULL
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8003 arg2
= wxString_in_helper(obj1
);
8004 if (arg2
== NULL
) SWIG_fail
;
8008 arg3
= (int) SWIG_AsInt(obj2
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8039 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
;
8041 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8045 (char *) "self", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 result
= (arg1
)->FindNext();
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8071 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8074 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8076 return Py_BuildValue((char *)"");
8078 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8082 PyObject
* obj0
= 0 ;
8084 (char *) "self", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= (arg1
)->GetName();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8110 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8114 PyObject
* obj0
= 0 ;
8116 (char *) "self", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 result
= (arg1
)->GetExtension();
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8142 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
;
8144 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8146 PyObject
* obj0
= 0 ;
8148 (char *) "self", NULL
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 result
= (long)(arg1
)->GetType();
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 resultobj
= SWIG_FromLong((long)result
);
8168 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
;
8170 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8172 PyObject
* obj0
= 0 ;
8174 (char *) "self", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= (arg1
)->GetMimeType();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8200 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8203 wxString
*arg2
= 0 ;
8205 bool temp2
= False
;
8206 PyObject
* obj0
= 0 ;
8207 PyObject
* obj1
= 0 ;
8209 (char *) "self",(char *) "name", NULL
8212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8216 arg2
= wxString_in_helper(obj1
);
8217 if (arg2
== NULL
) SWIG_fail
;
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8224 wxPyEndAllowThreads(__tstate
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8244 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
;
8246 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8247 wxString
*arg2
= 0 ;
8248 bool temp2
= False
;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8252 (char *) "self",(char *) "name", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8259 arg2
= wxString_in_helper(obj1
);
8260 if (arg2
== NULL
) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 (arg1
)->SetName((wxString
const &)*arg2
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 Py_INCREF(Py_None
); resultobj
= Py_None
;
8285 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8288 wxString
*arg2
= 0 ;
8289 bool temp2
= False
;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8293 (char *) "self",(char *) "extension", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8300 arg2
= wxString_in_helper(obj1
);
8301 if (arg2
== NULL
) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 (arg1
)->SetExtension((wxString
const &)*arg2
);
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 Py_INCREF(Py_None
); resultobj
= Py_None
;
8326 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
*resultobj
;
8328 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8330 PyObject
* obj0
= 0 ;
8331 PyObject
* obj1
= 0 ;
8333 (char *) "self",(char *) "type", NULL
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8339 arg2
= (long) SWIG_AsLong(obj1
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 (arg1
)->SetType(arg2
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 Py_INCREF(Py_None
); resultobj
= Py_None
;
8355 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
;
8357 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8358 wxString
*arg2
= 0 ;
8359 bool temp2
= False
;
8360 PyObject
* obj0
= 0 ;
8361 PyObject
* obj1
= 0 ;
8363 (char *) "self",(char *) "mimetype", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8370 arg2
= wxString_in_helper(obj1
);
8371 if (arg2
== NULL
) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8381 Py_INCREF(Py_None
); resultobj
= Py_None
;
8396 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8399 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8401 return Py_BuildValue((char *)"");
8403 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
;
8405 wxImageHistogram
*result
;
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (wxImageHistogram
*)new wxImageHistogram();
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8425 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 unsigned char arg1
;
8428 unsigned char arg2
;
8429 unsigned char arg3
;
8430 unsigned long result
;
8431 PyObject
* obj0
= 0 ;
8432 PyObject
* obj1
= 0 ;
8433 PyObject
* obj2
= 0 ;
8435 (char *) "r",(char *) "g",(char *) "b", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8439 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8441 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8443 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8459 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8462 unsigned char *arg2
= (unsigned char *) 0 ;
8463 unsigned char *arg3
= (unsigned char *) 0 ;
8464 unsigned char *arg4
= (unsigned char *) 0 ;
8465 unsigned char arg5
= (unsigned char) 1 ;
8466 unsigned char arg6
= (unsigned char) 0 ;
8467 unsigned char arg7
= (unsigned char) 0 ;
8469 unsigned char temp2
;
8470 unsigned char temp3
;
8471 unsigned char temp4
;
8472 PyObject
* obj0
= 0 ;
8473 PyObject
* obj1
= 0 ;
8474 PyObject
* obj2
= 0 ;
8475 PyObject
* obj3
= 0 ;
8477 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8487 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8491 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8495 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8509 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8510 resultobj
= t_output_helper(resultobj
,o
);
8513 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8514 resultobj
= t_output_helper(resultobj
,o
);
8517 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8518 resultobj
= t_output_helper(resultobj
,o
);
8526 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8529 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8531 return Py_BuildValue((char *)"");
8533 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxString
*arg1
= 0 ;
8536 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8537 int arg3
= (int) -1 ;
8539 bool temp1
= False
;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8542 PyObject
* obj2
= 0 ;
8544 (char *) "name",(char *) "type",(char *) "index", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8549 arg1
= wxString_in_helper(obj0
);
8550 if (arg1
== NULL
) SWIG_fail
;
8554 arg2
= (long) SWIG_AsLong(obj1
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8558 arg3
= (int) SWIG_AsInt(obj2
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8583 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxImage
*arg1
= (wxImage
*) 0 ;
8586 PyObject
* obj0
= 0 ;
8588 (char *) "self", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 Py_INCREF(Py_None
); resultobj
= Py_None
;
8608 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
;
8610 wxString
*arg1
= 0 ;
8611 wxString
*arg2
= 0 ;
8612 int arg3
= (int) -1 ;
8614 bool temp1
= False
;
8615 bool temp2
= False
;
8616 PyObject
* obj0
= 0 ;
8617 PyObject
* obj1
= 0 ;
8618 PyObject
* obj2
= 0 ;
8620 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8625 arg1
= wxString_in_helper(obj0
);
8626 if (arg1
== NULL
) SWIG_fail
;
8630 arg2
= wxString_in_helper(obj1
);
8631 if (arg2
== NULL
) SWIG_fail
;
8635 arg3
= (int) SWIG_AsInt(obj2
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8668 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxInputStream
*arg1
= 0 ;
8671 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8672 int arg3
= (int) -1 ;
8674 wxPyInputStream
*temp1
;
8676 PyObject
* obj0
= 0 ;
8677 PyObject
* obj1
= 0 ;
8678 PyObject
* obj2
= 0 ;
8680 (char *) "stream",(char *) "type",(char *) "index", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8685 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8686 arg1
= temp1
->m_wxis
;
8689 PyErr_Clear(); // clear the failure of the wxPyConvert above
8690 arg1
= wxPyCBInputStream_create(obj0
, False
);
8692 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8699 arg2
= (long) SWIG_AsLong(obj1
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8703 arg3
= (int) SWIG_AsInt(obj2
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8728 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxInputStream
*arg1
= 0 ;
8731 wxString
*arg2
= 0 ;
8732 int arg3
= (int) -1 ;
8734 wxPyInputStream
*temp1
;
8736 bool temp2
= False
;
8737 PyObject
* obj0
= 0 ;
8738 PyObject
* obj1
= 0 ;
8739 PyObject
* obj2
= 0 ;
8741 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8746 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8747 arg1
= temp1
->m_wxis
;
8750 PyErr_Clear(); // clear the failure of the wxPyConvert above
8751 arg1
= wxPyCBInputStream_create(obj0
, False
);
8753 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8760 arg2
= wxString_in_helper(obj1
);
8761 if (arg2
== NULL
) SWIG_fail
;
8765 arg3
= (int) SWIG_AsInt(obj2
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8798 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 int arg1
= (int) 0 ;
8801 int arg2
= (int) 0 ;
8802 bool arg3
= (bool) True
;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8806 PyObject
* obj2
= 0 ;
8808 (char *) "width",(char *) "height",(char *) "clear", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8813 arg1
= (int) SWIG_AsInt(obj0
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8817 arg2
= (int) SWIG_AsInt(obj1
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8821 arg3
= (bool) SWIG_AsBool(obj2
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8838 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
;
8840 wxBitmap
*arg1
= 0 ;
8842 PyObject
* obj0
= 0 ;
8844 (char *) "bitmap", NULL
8847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8852 PyErr_SetString(PyExc_TypeError
,"null reference");
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8857 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8869 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
;
8873 unsigned char *arg3
= (unsigned char *) 0 ;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8877 PyObject
* obj2
= 0 ;
8879 (char *) "width",(char *) "height",(char *) "data", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8883 arg1
= (int) SWIG_AsInt(obj0
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8885 arg2
= (int) SWIG_AsInt(obj1
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8887 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8903 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxImage
*arg1
= (wxImage
*) 0 ;
8908 PyObject
* obj0
= 0 ;
8909 PyObject
* obj1
= 0 ;
8910 PyObject
* obj2
= 0 ;
8912 (char *) "self",(char *) "width",(char *) "height", NULL
8915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8918 arg2
= (int) SWIG_AsInt(obj1
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8920 arg3
= (int) SWIG_AsInt(obj2
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 (arg1
)->Create(arg2
,arg3
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 Py_INCREF(Py_None
); resultobj
= Py_None
;
8936 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
;
8938 wxImage
*arg1
= (wxImage
*) 0 ;
8939 PyObject
* obj0
= 0 ;
8941 (char *) "self", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8954 Py_INCREF(Py_None
); resultobj
= Py_None
;
8961 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
;
8963 wxImage
*arg1
= (wxImage
*) 0 ;
8966 SwigValueWrapper
< wxImage
> result
;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8969 PyObject
* obj2
= 0 ;
8971 (char *) "self",(char *) "width",(char *) "height", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8977 arg2
= (int) SWIG_AsInt(obj1
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8979 arg3
= (int) SWIG_AsInt(obj2
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= (arg1
)->Scale(arg2
,arg3
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8989 wxImage
* resultptr
;
8990 resultptr
= new wxImage((wxImage
&) result
);
8991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8999 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxImage
*arg1
= (wxImage
*) 0 ;
9004 SwigValueWrapper
< wxImage
> result
;
9005 PyObject
* obj0
= 0 ;
9006 PyObject
* obj1
= 0 ;
9007 PyObject
* obj2
= 0 ;
9009 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9015 arg2
= (int) SWIG_AsInt(obj1
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9017 arg3
= (int) SWIG_AsInt(obj2
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9027 wxImage
* resultptr
;
9028 resultptr
= new wxImage((wxImage
&) result
);
9029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9037 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 wxImage
*arg1
= (wxImage
*) 0 ;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9045 PyObject
* obj2
= 0 ;
9047 (char *) "self",(char *) "width",(char *) "height", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9053 arg2
= (int) SWIG_AsInt(obj1
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9055 arg3
= (int) SWIG_AsInt(obj2
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9061 result
= (wxImage
*) &_result_ref
;
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9074 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxImage
*arg1
= (wxImage
*) 0 ;
9079 unsigned char arg4
;
9080 unsigned char arg5
;
9081 unsigned char arg6
;
9082 PyObject
* obj0
= 0 ;
9083 PyObject
* obj1
= 0 ;
9084 PyObject
* obj2
= 0 ;
9085 PyObject
* obj3
= 0 ;
9086 PyObject
* obj4
= 0 ;
9087 PyObject
* obj5
= 0 ;
9089 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9095 arg2
= (int) SWIG_AsInt(obj1
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9097 arg3
= (int) SWIG_AsInt(obj2
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9099 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9101 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9103 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 Py_INCREF(Py_None
); resultobj
= Py_None
;
9119 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxImage
*arg1
= (wxImage
*) 0 ;
9124 unsigned char result
;
9125 PyObject
* obj0
= 0 ;
9126 PyObject
* obj1
= 0 ;
9127 PyObject
* obj2
= 0 ;
9129 (char *) "self",(char *) "x",(char *) "y", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9135 arg2
= (int) SWIG_AsInt(obj1
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9137 arg3
= (int) SWIG_AsInt(obj2
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9153 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxImage
*arg1
= (wxImage
*) 0 ;
9158 unsigned char result
;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 PyObject
* obj2
= 0 ;
9163 (char *) "self",(char *) "x",(char *) "y", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9169 arg2
= (int) SWIG_AsInt(obj1
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9171 arg3
= (int) SWIG_AsInt(obj2
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9187 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9189 wxImage
*arg1
= (wxImage
*) 0 ;
9192 unsigned char result
;
9193 PyObject
* obj0
= 0 ;
9194 PyObject
* obj1
= 0 ;
9195 PyObject
* obj2
= 0 ;
9197 (char *) "self",(char *) "x",(char *) "y", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9203 arg2
= (int) SWIG_AsInt(obj1
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9205 arg3
= (int) SWIG_AsInt(obj2
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9221 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxImage
*arg1
= (wxImage
*) 0 ;
9226 unsigned char arg4
;
9227 PyObject
* obj0
= 0 ;
9228 PyObject
* obj1
= 0 ;
9229 PyObject
* obj2
= 0 ;
9230 PyObject
* obj3
= 0 ;
9232 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9238 arg2
= (int) SWIG_AsInt(obj1
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9240 arg3
= (int) SWIG_AsInt(obj2
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9242 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 Py_INCREF(Py_None
); resultobj
= Py_None
;
9258 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxImage
*arg1
= (wxImage
*) 0 ;
9263 unsigned char result
;
9264 PyObject
* obj0
= 0 ;
9265 PyObject
* obj1
= 0 ;
9266 PyObject
* obj2
= 0 ;
9268 (char *) "self",(char *) "x",(char *) "y", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9274 arg2
= (int) SWIG_AsInt(obj1
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9276 arg3
= (int) SWIG_AsInt(obj2
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9292 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
;
9294 wxImage
*arg1
= (wxImage
*) 0 ;
9296 PyObject
* obj0
= 0 ;
9298 (char *) "self", NULL
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 result
= (bool)(arg1
)->HasAlpha();
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9320 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
;
9322 wxImage
*arg1
= (wxImage
*) 0 ;
9323 byte
*arg2
= (byte
*) 0 ;
9324 byte
*arg3
= (byte
*) 0 ;
9325 byte
*arg4
= (byte
*) 0 ;
9326 byte arg5
= (byte
) 0 ;
9327 byte arg6
= (byte
) 0 ;
9328 byte arg7
= (byte
) 0 ;
9333 PyObject
* obj0
= 0 ;
9334 PyObject
* obj1
= 0 ;
9335 PyObject
* obj2
= 0 ;
9336 PyObject
* obj3
= 0 ;
9338 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9348 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9352 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9356 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9370 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9371 resultobj
= t_output_helper(resultobj
,o
);
9374 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9375 resultobj
= t_output_helper(resultobj
,o
);
9378 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9379 resultobj
= t_output_helper(resultobj
,o
);
9387 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxImage
*arg1
= (wxImage
*) 0 ;
9395 PyObject
* obj0
= 0 ;
9396 PyObject
* obj1
= 0 ;
9397 PyObject
* obj2
= 0 ;
9398 PyObject
* obj3
= 0 ;
9399 PyObject
* obj4
= 0 ;
9401 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9411 PyErr_SetString(PyExc_TypeError
,"null reference");
9414 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9416 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9418 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9436 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
;
9438 wxString
*arg1
= 0 ;
9440 bool temp1
= False
;
9441 PyObject
* obj0
= 0 ;
9443 (char *) "name", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9448 arg1
= wxString_in_helper(obj0
);
9449 if (arg1
== NULL
) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9476 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
;
9478 wxString
*arg1
= 0 ;
9479 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9481 bool temp1
= False
;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9485 (char *) "name",(char *) "type", NULL
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9490 arg1
= wxString_in_helper(obj0
);
9491 if (arg1
== NULL
) SWIG_fail
;
9495 arg2
= (long) SWIG_AsLong(obj1
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 resultobj
= SWIG_FromInt((int)result
);
9520 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxImage
*arg1
= (wxImage
*) 0 ;
9523 wxString
*arg2
= 0 ;
9524 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9525 int arg4
= (int) -1 ;
9527 bool temp2
= False
;
9528 PyObject
* obj0
= 0 ;
9529 PyObject
* obj1
= 0 ;
9530 PyObject
* obj2
= 0 ;
9531 PyObject
* obj3
= 0 ;
9533 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9540 arg2
= wxString_in_helper(obj1
);
9541 if (arg2
== NULL
) SWIG_fail
;
9545 arg3
= (long) SWIG_AsLong(obj2
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9549 arg4
= (int) SWIG_AsInt(obj3
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9576 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxImage
*arg1
= (wxImage
*) 0 ;
9579 wxString
*arg2
= 0 ;
9580 wxString
*arg3
= 0 ;
9581 int arg4
= (int) -1 ;
9583 bool temp2
= False
;
9584 bool temp3
= False
;
9585 PyObject
* obj0
= 0 ;
9586 PyObject
* obj1
= 0 ;
9587 PyObject
* obj2
= 0 ;
9588 PyObject
* obj3
= 0 ;
9590 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9597 arg2
= wxString_in_helper(obj1
);
9598 if (arg2
== NULL
) SWIG_fail
;
9602 arg3
= wxString_in_helper(obj2
);
9603 if (arg3
== NULL
) SWIG_fail
;
9607 arg4
= (int) SWIG_AsInt(obj3
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9642 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
;
9644 wxImage
*arg1
= (wxImage
*) 0 ;
9645 wxString
*arg2
= 0 ;
9648 bool temp2
= False
;
9649 PyObject
* obj0
= 0 ;
9650 PyObject
* obj1
= 0 ;
9651 PyObject
* obj2
= 0 ;
9653 (char *) "self",(char *) "name",(char *) "type", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9660 arg2
= wxString_in_helper(obj1
);
9661 if (arg2
== NULL
) SWIG_fail
;
9664 arg3
= (int) SWIG_AsInt(obj2
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9690 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
*resultobj
;
9692 wxImage
*arg1
= (wxImage
*) 0 ;
9693 wxString
*arg2
= 0 ;
9694 wxString
*arg3
= 0 ;
9696 bool temp2
= False
;
9697 bool temp3
= False
;
9698 PyObject
* obj0
= 0 ;
9699 PyObject
* obj1
= 0 ;
9700 PyObject
* obj2
= 0 ;
9702 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9709 arg2
= wxString_in_helper(obj1
);
9710 if (arg2
== NULL
) SWIG_fail
;
9714 arg3
= wxString_in_helper(obj2
);
9715 if (arg3
== NULL
) SWIG_fail
;
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9750 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxInputStream
*arg1
= 0 ;
9754 wxPyInputStream
*temp1
;
9756 PyObject
* obj0
= 0 ;
9758 (char *) "stream", NULL
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9763 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9764 arg1
= temp1
->m_wxis
;
9767 PyErr_Clear(); // clear the failure of the wxPyConvert above
9768 arg1
= wxPyCBInputStream_create(obj0
, False
);
9770 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= (bool)wxImage::CanRead(*arg1
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9800 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
;
9802 wxImage
*arg1
= (wxImage
*) 0 ;
9803 wxInputStream
*arg2
= 0 ;
9804 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9805 int arg4
= (int) -1 ;
9807 wxPyInputStream
*temp2
;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9811 PyObject
* obj2
= 0 ;
9812 PyObject
* obj3
= 0 ;
9814 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9821 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9822 arg2
= temp2
->m_wxis
;
9825 PyErr_Clear(); // clear the failure of the wxPyConvert above
9826 arg2
= wxPyCBInputStream_create(obj1
, False
);
9828 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9835 arg3
= (long) SWIG_AsLong(obj2
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9839 arg4
= (int) SWIG_AsInt(obj3
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9866 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxImage
*arg1
= (wxImage
*) 0 ;
9869 wxInputStream
*arg2
= 0 ;
9870 wxString
*arg3
= 0 ;
9871 int arg4
= (int) -1 ;
9873 wxPyInputStream
*temp2
;
9875 bool temp3
= False
;
9876 PyObject
* obj0
= 0 ;
9877 PyObject
* obj1
= 0 ;
9878 PyObject
* obj2
= 0 ;
9879 PyObject
* obj3
= 0 ;
9881 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9888 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9889 arg2
= temp2
->m_wxis
;
9892 PyErr_Clear(); // clear the failure of the wxPyConvert above
9893 arg2
= wxPyCBInputStream_create(obj1
, False
);
9895 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9902 arg3
= wxString_in_helper(obj2
);
9903 if (arg3
== NULL
) SWIG_fail
;
9907 arg4
= (int) SWIG_AsInt(obj3
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9942 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxImage
*arg1
= (wxImage
*) 0 ;
9946 PyObject
* obj0
= 0 ;
9948 (char *) "self", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (bool)(arg1
)->Ok();
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9970 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxImage
*arg1
= (wxImage
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9976 (char *) "self", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 result
= (int)(arg1
)->GetWidth();
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= SWIG_FromInt((int)result
);
9996 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxImage
*arg1
= (wxImage
*) 0 ;
10000 PyObject
* obj0
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "self", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 result
= (int)(arg1
)->GetHeight();
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= SWIG_FromInt((int)result
);
10022 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10024 wxImage
*arg1
= (wxImage
*) 0 ;
10026 PyObject
* obj0
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "self", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= wxImage_GetSize(arg1
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10042 wxSize
* resultptr
;
10043 resultptr
= new wxSize((wxSize
&) result
);
10044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10052 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxImage
*arg1
= (wxImage
*) 0 ;
10056 SwigValueWrapper
< wxImage
> result
;
10058 PyObject
* obj0
= 0 ;
10059 PyObject
* obj1
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "self",(char *) "rect", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10069 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10079 wxImage
* resultptr
;
10080 resultptr
= new wxImage((wxImage
&) result
);
10081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10089 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxImage
*arg1
= (wxImage
*) 0 ;
10092 SwigValueWrapper
< wxImage
> result
;
10093 PyObject
* obj0
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (arg1
)->Copy();
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10109 wxImage
* resultptr
;
10110 resultptr
= new wxImage((wxImage
&) result
);
10111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10119 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
;
10121 wxImage
*arg1
= (wxImage
*) 0 ;
10122 wxImage
*arg2
= 0 ;
10125 PyObject
* obj0
= 0 ;
10126 PyObject
* obj1
= 0 ;
10127 PyObject
* obj2
= 0 ;
10128 PyObject
* obj3
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10139 if (arg2
== NULL
) {
10140 PyErr_SetString(PyExc_TypeError
,"null reference");
10143 arg3
= (int) SWIG_AsInt(obj2
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10145 arg4
= (int) SWIG_AsInt(obj3
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 Py_INCREF(Py_None
); resultobj
= Py_None
;
10161 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
;
10163 wxImage
*arg1
= (wxImage
*) 0 ;
10165 PyObject
* obj0
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "self", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 result
= (PyObject
*)wxImage_GetData(arg1
);
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= result
;
10187 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxImage
*arg1
= (wxImage
*) 0 ;
10190 PyObject
*arg2
= (PyObject
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 PyObject
* obj1
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self",(char *) "data", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 wxImage_SetData(arg1
,arg2
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 Py_INCREF(Py_None
); resultobj
= Py_None
;
10215 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
;
10217 wxImage
*arg1
= (wxImage
*) 0 ;
10219 PyObject
* obj0
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "self", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= result
;
10241 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10243 wxImage
*arg1
= (wxImage
*) 0 ;
10244 PyObject
*arg2
= (PyObject
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 PyObject
* obj1
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self",(char *) "data", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 wxImage_SetDataBuffer(arg1
,arg2
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 Py_INCREF(Py_None
); resultobj
= Py_None
;
10269 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxImage
*arg1
= (wxImage
*) 0 ;
10273 PyObject
* obj0
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= result
;
10295 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxImage
*arg1
= (wxImage
*) 0 ;
10298 PyObject
*arg2
= (PyObject
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self",(char *) "data", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 wxImage_SetAlphaData(arg1
,arg2
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 Py_INCREF(Py_None
); resultobj
= Py_None
;
10323 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxImage
*arg1
= (wxImage
*) 0 ;
10327 PyObject
* obj0
= 0 ;
10328 char *kwnames
[] = {
10329 (char *) "self", NULL
10332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= result
;
10349 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
;
10351 wxImage
*arg1
= (wxImage
*) 0 ;
10352 PyObject
*arg2
= (PyObject
*) 0 ;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self",(char *) "data", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 wxImage_SetAlphaBuffer(arg1
,arg2
);
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10370 Py_INCREF(Py_None
); resultobj
= Py_None
;
10377 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxImage
*arg1
= (wxImage
*) 0 ;
10380 unsigned char arg2
;
10381 unsigned char arg3
;
10382 unsigned char arg4
;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 PyObject
* obj2
= 0 ;
10386 PyObject
* obj3
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10394 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10396 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10398 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10407 Py_INCREF(Py_None
); resultobj
= Py_None
;
10414 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxImage
*arg1
= (wxImage
*) 0 ;
10417 unsigned char result
;
10418 PyObject
* obj0
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "self", NULL
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (unsigned char)(arg1
)->GetMaskRed();
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10440 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxImage
*arg1
= (wxImage
*) 0 ;
10443 unsigned char result
;
10444 PyObject
* obj0
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 result
= (unsigned char)(arg1
)->GetMaskGreen();
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10466 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxImage
*arg1
= (wxImage
*) 0 ;
10469 unsigned char result
;
10470 PyObject
* obj0
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= (unsigned char)(arg1
)->GetMaskBlue();
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10492 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxImage
*arg1
= (wxImage
*) 0 ;
10495 bool arg2
= (bool) True
;
10496 PyObject
* obj0
= 0 ;
10497 PyObject
* obj1
= 0 ;
10498 char *kwnames
[] = {
10499 (char *) "self",(char *) "mask", NULL
10502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10506 arg2
= (bool) SWIG_AsBool(obj1
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 (arg1
)->SetMask(arg2
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 Py_INCREF(Py_None
); resultobj
= Py_None
;
10523 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
;
10525 wxImage
*arg1
= (wxImage
*) 0 ;
10527 PyObject
* obj0
= 0 ;
10528 char *kwnames
[] = {
10529 (char *) "self", NULL
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= (bool)(arg1
)->HasMask();
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10551 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxImage
*arg1
= (wxImage
*) 0 ;
10555 wxPoint
*arg3
= 0 ;
10556 bool arg4
= (bool) True
;
10557 wxPoint
*arg5
= (wxPoint
*) NULL
;
10558 SwigValueWrapper
< wxImage
> result
;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 PyObject
* obj2
= 0 ;
10563 PyObject
* obj3
= 0 ;
10564 PyObject
* obj4
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10572 arg2
= (double) SWIG_AsDouble(obj1
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10579 arg4
= (bool) SWIG_AsBool(obj3
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10583 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10594 wxImage
* resultptr
;
10595 resultptr
= new wxImage((wxImage
&) result
);
10596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10604 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxImage
*arg1
= (wxImage
*) 0 ;
10607 bool arg2
= (bool) True
;
10608 SwigValueWrapper
< wxImage
> result
;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "self",(char *) "clockwise", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10619 arg2
= (bool) SWIG_AsBool(obj1
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 result
= (arg1
)->Rotate90(arg2
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10630 wxImage
* resultptr
;
10631 resultptr
= new wxImage((wxImage
&) result
);
10632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10640 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxImage
*arg1
= (wxImage
*) 0 ;
10643 bool arg2
= (bool) True
;
10644 SwigValueWrapper
< wxImage
> result
;
10645 PyObject
* obj0
= 0 ;
10646 PyObject
* obj1
= 0 ;
10647 char *kwnames
[] = {
10648 (char *) "self",(char *) "horizontally", NULL
10651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 arg2
= (bool) SWIG_AsBool(obj1
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= (arg1
)->Mirror(arg2
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10666 wxImage
* resultptr
;
10667 resultptr
= new wxImage((wxImage
&) result
);
10668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10676 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
;
10678 wxImage
*arg1
= (wxImage
*) 0 ;
10679 unsigned char arg2
;
10680 unsigned char arg3
;
10681 unsigned char arg4
;
10682 unsigned char arg5
;
10683 unsigned char arg6
;
10684 unsigned char arg7
;
10685 PyObject
* obj0
= 0 ;
10686 PyObject
* obj1
= 0 ;
10687 PyObject
* obj2
= 0 ;
10688 PyObject
* obj3
= 0 ;
10689 PyObject
* obj4
= 0 ;
10690 PyObject
* obj5
= 0 ;
10691 PyObject
* obj6
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10699 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10701 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10703 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10705 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10707 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10709 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 Py_INCREF(Py_None
); resultobj
= Py_None
;
10725 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxImage
*arg1
= (wxImage
*) 0 ;
10728 unsigned char arg2
;
10729 unsigned char arg3
;
10730 unsigned char arg4
;
10731 SwigValueWrapper
< wxImage
> result
;
10732 PyObject
* obj0
= 0 ;
10733 PyObject
* obj1
= 0 ;
10734 PyObject
* obj2
= 0 ;
10735 PyObject
* obj3
= 0 ;
10736 char *kwnames
[] = {
10737 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10743 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10745 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10747 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10757 wxImage
* resultptr
;
10758 resultptr
= new wxImage((wxImage
&) result
);
10759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10767 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
;
10769 wxImage
*arg1
= (wxImage
*) 0 ;
10770 wxString
*arg2
= 0 ;
10771 wxString
*arg3
= 0 ;
10772 bool temp2
= False
;
10773 bool temp3
= False
;
10774 PyObject
* obj0
= 0 ;
10775 PyObject
* obj1
= 0 ;
10776 PyObject
* obj2
= 0 ;
10777 char *kwnames
[] = {
10778 (char *) "self",(char *) "name",(char *) "value", NULL
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10785 arg2
= wxString_in_helper(obj1
);
10786 if (arg2
== NULL
) SWIG_fail
;
10790 arg3
= wxString_in_helper(obj2
);
10791 if (arg3
== NULL
) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 Py_INCREF(Py_None
); resultobj
= Py_None
;
10824 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
;
10826 wxImage
*arg1
= (wxImage
*) 0 ;
10827 wxString
*arg2
= 0 ;
10829 bool temp2
= False
;
10830 PyObject
* obj0
= 0 ;
10831 PyObject
* obj1
= 0 ;
10832 PyObject
* obj2
= 0 ;
10833 char *kwnames
[] = {
10834 (char *) "self",(char *) "name",(char *) "value", NULL
10837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10841 arg2
= wxString_in_helper(obj1
);
10842 if (arg2
== NULL
) SWIG_fail
;
10845 arg3
= (int) SWIG_AsInt(obj2
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 Py_INCREF(Py_None
); resultobj
= Py_None
;
10869 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
;
10871 wxImage
*arg1
= (wxImage
*) 0 ;
10872 wxString
*arg2
= 0 ;
10874 bool temp2
= False
;
10875 PyObject
* obj0
= 0 ;
10876 PyObject
* obj1
= 0 ;
10877 char *kwnames
[] = {
10878 (char *) "self",(char *) "name", NULL
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10885 arg2
= wxString_in_helper(obj1
);
10886 if (arg2
== NULL
) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10917 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxImage
*arg1
= (wxImage
*) 0 ;
10920 wxString
*arg2
= 0 ;
10922 bool temp2
= False
;
10923 PyObject
* obj0
= 0 ;
10924 PyObject
* obj1
= 0 ;
10925 char *kwnames
[] = {
10926 (char *) "self",(char *) "name", NULL
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10933 arg2
= wxString_in_helper(obj1
);
10934 if (arg2
== NULL
) SWIG_fail
;
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= SWIG_FromInt((int)result
);
10959 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxImage
*arg1
= (wxImage
*) 0 ;
10962 wxString
*arg2
= 0 ;
10964 bool temp2
= False
;
10965 PyObject
* obj0
= 0 ;
10966 PyObject
* obj1
= 0 ;
10967 char *kwnames
[] = {
10968 (char *) "self",(char *) "name", NULL
10971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10975 arg2
= wxString_in_helper(obj1
);
10976 if (arg2
== NULL
) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11003 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxImage
*arg1
= (wxImage
*) 0 ;
11006 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11007 unsigned long result
;
11008 PyObject
* obj0
= 0 ;
11009 PyObject
* obj1
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self",(char *) "stopafter", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11018 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11035 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxImage
*arg1
= (wxImage
*) 0 ;
11038 wxImageHistogram
*arg2
= 0 ;
11039 unsigned long result
;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self",(char *) "h", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11052 if (arg2
== NULL
) {
11053 PyErr_SetString(PyExc_TypeError
,"null reference");
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11070 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11073 PyObject
* obj0
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "handler", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 wxImage::AddHandler(arg1
);
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 Py_INCREF(Py_None
); resultobj
= Py_None
;
11095 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "handler", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 wxImage::InsertHandler(arg1
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 Py_INCREF(Py_None
); resultobj
= Py_None
;
11120 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxString
*arg1
= 0 ;
11124 bool temp1
= False
;
11125 PyObject
* obj0
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "name", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11132 arg1
= wxString_in_helper(obj0
);
11133 if (arg1
== NULL
) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11160 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11163 char *kwnames
[] = {
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= wxImage::GetImageExtWildcard();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11188 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxImage
*arg1
= (wxImage
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "self", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= wxImage_ConvertToBitmap(arg1
);
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11208 wxBitmap
* resultptr
;
11209 resultptr
= new wxBitmap((wxBitmap
&) result
);
11210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11218 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
;
11220 wxImage
*arg1
= (wxImage
*) 0 ;
11221 unsigned char arg2
;
11222 unsigned char arg3
;
11223 unsigned char arg4
;
11225 PyObject
* obj0
= 0 ;
11226 PyObject
* obj1
= 0 ;
11227 PyObject
* obj2
= 0 ;
11228 PyObject
* obj3
= 0 ;
11229 char *kwnames
[] = {
11230 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11236 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11238 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11240 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11250 wxBitmap
* resultptr
;
11251 resultptr
= new wxBitmap((wxBitmap
&) result
);
11252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11260 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11263 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11265 return Py_BuildValue((char *)"");
11267 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
;
11269 char *kwnames
[] = {
11273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 wxInitAllImageHandlers();
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 Py_INCREF(Py_None
); resultobj
= Py_None
;
11288 static int _wrap_NullImage_set(PyObject
*_val
) {
11289 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11294 static PyObject
*_wrap_NullImage_get() {
11297 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11302 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11303 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11308 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11313 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11315 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11322 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11323 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11328 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11333 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11335 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11342 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11343 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11348 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11353 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11355 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11362 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11363 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11368 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11373 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11375 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11382 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11383 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11388 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11393 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11395 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11402 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
;
11404 wxBMPHandler
*result
;
11405 char *kwnames
[] = {
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 result
= (wxBMPHandler
*)new wxBMPHandler();
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11424 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11427 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11429 return Py_BuildValue((char *)"");
11431 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
;
11433 wxICOHandler
*result
;
11434 char *kwnames
[] = {
11438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 result
= (wxICOHandler
*)new wxICOHandler();
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11453 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11456 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11458 return Py_BuildValue((char *)"");
11460 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11462 wxCURHandler
*result
;
11463 char *kwnames
[] = {
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (wxCURHandler
*)new wxCURHandler();
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11482 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11485 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11487 return Py_BuildValue((char *)"");
11489 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxANIHandler
*result
;
11492 char *kwnames
[] = {
11496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= (wxANIHandler
*)new wxANIHandler();
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11511 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11514 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11516 return Py_BuildValue((char *)"");
11518 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxPNGHandler
*result
;
11521 char *kwnames
[] = {
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (wxPNGHandler
*)new wxPNGHandler();
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11540 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11543 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11545 return Py_BuildValue((char *)"");
11547 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxGIFHandler
*result
;
11550 char *kwnames
[] = {
11554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (wxGIFHandler
*)new wxGIFHandler();
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11569 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11572 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11574 return Py_BuildValue((char *)"");
11576 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
;
11578 wxPCXHandler
*result
;
11579 char *kwnames
[] = {
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= (wxPCXHandler
*)new wxPCXHandler();
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11598 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11601 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11603 return Py_BuildValue((char *)"");
11605 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11606 PyObject
*resultobj
;
11607 wxJPEGHandler
*result
;
11608 char *kwnames
[] = {
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11627 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11630 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11632 return Py_BuildValue((char *)"");
11634 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
;
11636 wxPNMHandler
*result
;
11637 char *kwnames
[] = {
11641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (wxPNMHandler
*)new wxPNMHandler();
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11656 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11659 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11661 return Py_BuildValue((char *)"");
11663 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11664 PyObject
*resultobj
;
11665 wxXPMHandler
*result
;
11666 char *kwnames
[] = {
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= (wxXPMHandler
*)new wxXPMHandler();
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11685 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11688 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11690 return Py_BuildValue((char *)"");
11692 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11693 PyObject
*resultobj
;
11694 wxTIFFHandler
*result
;
11695 char *kwnames
[] = {
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11714 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11717 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11719 return Py_BuildValue((char *)"");
11721 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxEvtHandler
*result
;
11724 char *kwnames
[] = {
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (wxEvtHandler
*)new wxEvtHandler();
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= wxPyMake_wxObject(result
);
11745 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11748 wxEvtHandler
*result
;
11749 PyObject
* obj0
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "self", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 resultobj
= wxPyMake_wxObject(result
);
11773 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11776 wxEvtHandler
*result
;
11777 PyObject
* obj0
= 0 ;
11778 char *kwnames
[] = {
11779 (char *) "self", NULL
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11793 resultobj
= wxPyMake_wxObject(result
);
11801 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11804 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "self",(char *) "handler", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 (arg1
)->SetNextHandler(arg2
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 Py_INCREF(Py_None
); resultobj
= Py_None
;
11830 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11833 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 char *kwnames
[] = {
11837 (char *) "self",(char *) "handler", NULL
11840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 (arg1
)->SetPreviousHandler(arg2
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 Py_INCREF(Py_None
); resultobj
= Py_None
;
11859 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
;
11861 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11863 PyObject
* obj0
= 0 ;
11864 char *kwnames
[] = {
11865 (char *) "self", NULL
11868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11887 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11891 PyObject
* obj0
= 0 ;
11892 PyObject
* obj1
= 0 ;
11893 char *kwnames
[] = {
11894 (char *) "self",(char *) "enabled", NULL
11897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11900 arg2
= (bool) SWIG_AsBool(obj1
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 (arg1
)->SetEvtHandlerEnabled(arg2
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 Py_INCREF(Py_None
); resultobj
= Py_None
;
11916 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
;
11918 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11919 wxEvent
*arg2
= 0 ;
11921 PyObject
* obj0
= 0 ;
11922 PyObject
* obj1
= 0 ;
11923 char *kwnames
[] = {
11924 (char *) "self",(char *) "event", NULL
11927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11930 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11931 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11933 if (arg2
== NULL
) {
11934 PyErr_SetString(PyExc_TypeError
,"null reference");
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11953 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
;
11955 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11956 wxEvent
*arg2
= 0 ;
11957 PyObject
* obj0
= 0 ;
11958 PyObject
* obj1
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self",(char *) "event", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11969 if (arg2
== NULL
) {
11970 PyErr_SetString(PyExc_TypeError
,"null reference");
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 (arg1
)->AddPendingEvent(*arg2
);
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 Py_INCREF(Py_None
); resultobj
= Py_None
;
11987 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11990 PyObject
* obj0
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 (arg1
)->ProcessPendingEvents();
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12005 Py_INCREF(Py_None
); resultobj
= Py_None
;
12012 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12018 PyObject
*arg5
= (PyObject
*) 0 ;
12019 PyObject
* obj0
= 0 ;
12020 PyObject
* obj1
= 0 ;
12021 PyObject
* obj2
= 0 ;
12022 PyObject
* obj3
= 0 ;
12023 PyObject
* obj4
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12031 arg2
= (int) SWIG_AsInt(obj1
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12033 arg3
= (int) SWIG_AsInt(obj2
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12035 arg4
= (int) SWIG_AsInt(obj3
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 Py_INCREF(Py_None
); resultobj
= Py_None
;
12052 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12056 int arg3
= (int) -1 ;
12057 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 PyObject
* obj2
= 0 ;
12062 PyObject
* obj3
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12070 arg2
= (int) SWIG_AsInt(obj1
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 arg3
= (int) SWIG_AsInt(obj2
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12077 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12096 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
;
12098 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12099 PyObject
*arg2
= (PyObject
*) 0 ;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 char *kwnames
[] = {
12103 (char *) "self",(char *) "_self", NULL
12106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 wxEvtHandler__setOORInfo(arg1
,arg2
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12117 Py_INCREF(Py_None
); resultobj
= Py_None
;
12124 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12127 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12129 return Py_BuildValue((char *)"");
12131 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
;
12133 wxEventType result
;
12134 char *kwnames
[] = {
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (wxEventType
)wxNewEventType();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_FromInt((int)result
);
12153 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxEvent
*arg1
= (wxEvent
*) 0 ;
12156 PyObject
* obj0
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 Py_INCREF(Py_None
); resultobj
= Py_None
;
12178 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxEvent
*arg1
= (wxEvent
*) 0 ;
12182 PyObject
* obj0
= 0 ;
12183 PyObject
* obj1
= 0 ;
12184 char *kwnames
[] = {
12185 (char *) "self",(char *) "typ", NULL
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12191 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 (arg1
)->SetEventType(arg2
);
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12200 Py_INCREF(Py_None
); resultobj
= Py_None
;
12207 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxEvent
*arg1
= (wxEvent
*) 0 ;
12210 wxEventType result
;
12211 PyObject
* obj0
= 0 ;
12212 char *kwnames
[] = {
12213 (char *) "self", NULL
12216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= SWIG_FromInt((int)result
);
12233 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxEvent
*arg1
= (wxEvent
*) 0 ;
12237 PyObject
* obj0
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= wxPyMake_wxObject(result
);
12261 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxEvent
*arg1
= (wxEvent
*) 0 ;
12264 wxObject
*arg2
= (wxObject
*) 0 ;
12265 PyObject
* obj0
= 0 ;
12266 PyObject
* obj1
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self",(char *) "obj", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 (arg1
)->SetEventObject(arg2
);
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12283 Py_INCREF(Py_None
); resultobj
= Py_None
;
12290 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxEvent
*arg1
= (wxEvent
*) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= SWIG_FromLong((long)result
);
12316 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxEvent
*arg1
= (wxEvent
*) 0 ;
12319 long arg2
= (long) 0 ;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self",(char *) "ts", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12330 arg2
= (long) SWIG_AsLong(obj1
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 (arg1
)->SetTimestamp(arg2
);
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12340 Py_INCREF(Py_None
); resultobj
= Py_None
;
12347 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxEvent
*arg1
= (wxEvent
*) 0 ;
12351 PyObject
* obj0
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= (int)((wxEvent
const *)arg1
)->GetId();
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= SWIG_FromInt((int)result
);
12373 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxEvent
*arg1
= (wxEvent
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 PyObject
* obj1
= 0 ;
12379 char *kwnames
[] = {
12380 (char *) "self",(char *) "Id", NULL
12383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12386 arg2
= (int) SWIG_AsInt(obj1
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 (arg1
)->SetId(arg2
);
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 Py_INCREF(Py_None
); resultobj
= Py_None
;
12402 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxEvent
*arg1
= (wxEvent
*) 0 ;
12406 PyObject
* obj0
= 0 ;
12407 char *kwnames
[] = {
12408 (char *) "self", NULL
12411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12430 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxEvent
*arg1
= (wxEvent
*) 0 ;
12433 bool arg2
= (bool) True
;
12434 PyObject
* obj0
= 0 ;
12435 PyObject
* obj1
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self",(char *) "skip", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12444 arg2
= (bool) SWIG_AsBool(obj1
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 (arg1
)->Skip(arg2
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 Py_INCREF(Py_None
); resultobj
= Py_None
;
12461 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxEvent
*arg1
= (wxEvent
*) 0 ;
12465 PyObject
* obj0
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12489 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
;
12491 wxEvent
*arg1
= (wxEvent
*) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 char *kwnames
[] = {
12495 (char *) "self", NULL
12498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12517 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxEvent
*arg1
= (wxEvent
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= (int)(arg1
)->StopPropagation();
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_FromInt((int)result
);
12543 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
;
12545 wxEvent
*arg1
= (wxEvent
*) 0 ;
12547 PyObject
* obj0
= 0 ;
12548 PyObject
* obj1
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self",(char *) "propagationLevel", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12556 arg2
= (int) SWIG_AsInt(obj1
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 (arg1
)->ResumePropagation(arg2
);
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 Py_INCREF(Py_None
); resultobj
= Py_None
;
12572 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
;
12574 wxEvent
*arg1
= (wxEvent
*) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 result
= (wxEvent
*)(arg1
)->Clone();
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12598 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12601 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12603 return Py_BuildValue((char *)"");
12605 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxEvent
*arg1
= 0 ;
12608 wxPropagationDisabler
*result
;
12609 PyObject
* obj0
= 0 ;
12610 char *kwnames
[] = {
12611 (char *) "event", NULL
12614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12618 if (arg1
== NULL
) {
12619 PyErr_SetString(PyExc_TypeError
,"null reference");
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12636 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12639 PyObject
* obj0
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "self", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 Py_INCREF(Py_None
); resultobj
= Py_None
;
12661 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12664 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12666 return Py_BuildValue((char *)"");
12668 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12670 wxEvent
*arg1
= 0 ;
12671 wxPropagateOnce
*result
;
12672 PyObject
* obj0
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "event", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12681 if (arg1
== NULL
) {
12682 PyErr_SetString(PyExc_TypeError
,"null reference");
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12699 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 Py_INCREF(Py_None
); resultobj
= Py_None
;
12724 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12727 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12729 return Py_BuildValue((char *)"");
12731 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12734 int arg2
= (int) 0 ;
12735 wxCommandEvent
*result
;
12736 PyObject
* obj0
= 0 ;
12737 PyObject
* obj1
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "commandType",(char *) "winid", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12744 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12748 arg2
= (int) SWIG_AsInt(obj1
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12765 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
;
12767 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12769 PyObject
* obj0
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "self", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= SWIG_FromInt((int)result
);
12791 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
;
12793 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12794 wxString
*arg2
= 0 ;
12795 bool temp2
= False
;
12796 PyObject
* obj0
= 0 ;
12797 PyObject
* obj1
= 0 ;
12798 char *kwnames
[] = {
12799 (char *) "self",(char *) "s", NULL
12802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12806 arg2
= wxString_in_helper(obj1
);
12807 if (arg2
== NULL
) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 (arg1
)->SetString((wxString
const &)*arg2
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 Py_INCREF(Py_None
); resultobj
= Py_None
;
12832 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "self", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12864 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12892 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
;
12894 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12896 PyObject
* obj0
= 0 ;
12897 char *kwnames
[] = {
12898 (char *) "self", NULL
12901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12920 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12922 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12924 PyObject
* obj0
= 0 ;
12925 PyObject
* obj1
= 0 ;
12926 char *kwnames
[] = {
12927 (char *) "self",(char *) "extraLong", NULL
12930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12933 arg2
= (long) SWIG_AsLong(obj1
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 (arg1
)->SetExtraLong(arg2
);
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12942 Py_INCREF(Py_None
); resultobj
= Py_None
;
12949 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
;
12951 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12953 PyObject
* obj0
= 0 ;
12954 char *kwnames
[] = {
12955 (char *) "self", NULL
12958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 resultobj
= SWIG_FromLong((long)result
);
12975 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
;
12977 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12979 PyObject
* obj0
= 0 ;
12980 PyObject
* obj1
= 0 ;
12981 char *kwnames
[] = {
12982 (char *) "self",(char *) "i", NULL
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12988 arg2
= (int) SWIG_AsInt(obj1
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 (arg1
)->SetInt(arg2
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 Py_INCREF(Py_None
); resultobj
= Py_None
;
13004 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
;
13006 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13008 PyObject
* obj0
= 0 ;
13009 char *kwnames
[] = {
13010 (char *) "self", NULL
13013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13023 resultobj
= SWIG_FromLong((long)result
);
13030 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13031 PyObject
*resultobj
;
13032 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13034 PyObject
* obj0
= 0 ;
13035 char *kwnames
[] = {
13036 (char *) "self", NULL
13039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13056 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13059 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13061 return Py_BuildValue((char *)"");
13063 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
;
13065 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13066 int arg2
= (int) 0 ;
13067 wxNotifyEvent
*result
;
13068 PyObject
* obj0
= 0 ;
13069 PyObject
* obj1
= 0 ;
13070 char *kwnames
[] = {
13071 (char *) "commandType",(char *) "winid", NULL
13074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13076 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13080 arg2
= (int) SWIG_AsInt(obj1
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13097 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13100 PyObject
* obj0
= 0 ;
13101 char *kwnames
[] = {
13102 (char *) "self", NULL
13105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 Py_INCREF(Py_None
); resultobj
= Py_None
;
13122 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13125 PyObject
* obj0
= 0 ;
13126 char *kwnames
[] = {
13127 (char *) "self", NULL
13130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 Py_INCREF(Py_None
); resultobj
= Py_None
;
13147 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (bool)(arg1
)->IsAllowed();
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13175 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13178 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13180 return Py_BuildValue((char *)"");
13182 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
;
13184 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13185 int arg2
= (int) 0 ;
13186 int arg3
= (int) 0 ;
13187 int arg4
= (int) 0 ;
13188 wxScrollEvent
*result
;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 PyObject
* obj2
= 0 ;
13192 PyObject
* obj3
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13199 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13203 arg2
= (int) SWIG_AsInt(obj1
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 arg3
= (int) SWIG_AsInt(obj2
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13211 arg4
= (int) SWIG_AsInt(obj3
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13228 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
;
13230 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13232 PyObject
* obj0
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "self", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 resultobj
= SWIG_FromInt((int)result
);
13254 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= SWIG_FromInt((int)result
);
13280 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self",(char *) "orient", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13293 arg2
= (int) SWIG_AsInt(obj1
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 (arg1
)->SetOrientation(arg2
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 Py_INCREF(Py_None
); resultobj
= Py_None
;
13309 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self",(char *) "pos", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13322 arg2
= (int) SWIG_AsInt(obj1
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 (arg1
)->SetPosition(arg2
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 Py_INCREF(Py_None
); resultobj
= Py_None
;
13338 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13341 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13343 return Py_BuildValue((char *)"");
13345 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13348 int arg2
= (int) 0 ;
13349 int arg3
= (int) 0 ;
13350 wxScrollWinEvent
*result
;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 PyObject
* obj2
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13360 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13364 arg2
= (int) SWIG_AsInt(obj1
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13368 arg3
= (int) SWIG_AsInt(obj2
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13385 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= SWIG_FromInt((int)result
);
13411 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
;
13413 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13415 PyObject
* obj0
= 0 ;
13416 char *kwnames
[] = {
13417 (char *) "self", NULL
13420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_FromInt((int)result
);
13437 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13441 PyObject
* obj0
= 0 ;
13442 PyObject
* obj1
= 0 ;
13443 char *kwnames
[] = {
13444 (char *) "self",(char *) "orient", NULL
13447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13450 arg2
= (int) SWIG_AsInt(obj1
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 (arg1
)->SetOrientation(arg2
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 Py_INCREF(Py_None
); resultobj
= Py_None
;
13466 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
;
13468 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self",(char *) "pos", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13479 arg2
= (int) SWIG_AsInt(obj1
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 (arg1
)->SetPosition(arg2
);
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 Py_INCREF(Py_None
); resultobj
= Py_None
;
13495 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13498 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13500 return Py_BuildValue((char *)"");
13502 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13505 wxMouseEvent
*result
;
13506 PyObject
* obj0
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "mouseType", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13513 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= wxPyMake_wxObject(result
);
13532 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13536 PyObject
* obj0
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13560 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13563 int arg2
= (int) wxMOUSE_BTN_ANY
;
13565 PyObject
* obj0
= 0 ;
13566 PyObject
* obj1
= 0 ;
13567 char *kwnames
[] = {
13568 (char *) "self",(char *) "but", NULL
13571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13575 arg2
= (int) SWIG_AsInt(obj1
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13594 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
*resultobj
;
13596 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13597 int arg2
= (int) wxMOUSE_BTN_ANY
;
13599 PyObject
* obj0
= 0 ;
13600 PyObject
* obj1
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self",(char *) "but", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13609 arg2
= (int) SWIG_AsInt(obj1
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13628 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
;
13630 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13631 int arg2
= (int) wxMOUSE_BTN_ANY
;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "self",(char *) "but", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13643 arg2
= (int) SWIG_AsInt(obj1
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13662 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13667 PyObject
* obj0
= 0 ;
13668 PyObject
* obj1
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "self",(char *) "but", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13676 arg2
= (int) SWIG_AsInt(obj1
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13694 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13695 PyObject
*resultobj
;
13696 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13699 PyObject
* obj0
= 0 ;
13700 PyObject
* obj1
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "self",(char *) "but", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13708 arg2
= (int) SWIG_AsInt(obj1
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13726 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 resultobj
= SWIG_FromInt((int)result
);
13752 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13756 PyObject
* obj0
= 0 ;
13757 char *kwnames
[] = {
13758 (char *) "self", NULL
13761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13780 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 char *kwnames
[] = {
13786 (char *) "self", NULL
13789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13808 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
;
13810 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13812 PyObject
* obj0
= 0 ;
13813 char *kwnames
[] = {
13814 (char *) "self", NULL
13817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13836 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13840 PyObject
* obj0
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13852 wxPyEndAllowThreads(__tstate
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13864 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
;
13866 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13868 PyObject
* obj0
= 0 ;
13869 char *kwnames
[] = {
13870 (char *) "self", NULL
13873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13892 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
;
13894 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 char *kwnames
[] = {
13898 (char *) "self", NULL
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13920 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
;
13922 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13924 PyObject
* obj0
= 0 ;
13925 char *kwnames
[] = {
13926 (char *) "self", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13948 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
;
13950 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13952 PyObject
* obj0
= 0 ;
13953 char *kwnames
[] = {
13954 (char *) "self", NULL
13957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13976 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14004 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
;
14006 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 char *kwnames
[] = {
14010 (char *) "self", NULL
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14032 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14033 PyObject
*resultobj
;
14034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14036 PyObject
* obj0
= 0 ;
14037 char *kwnames
[] = {
14038 (char *) "self", NULL
14041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14060 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14061 PyObject
*resultobj
;
14062 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14064 PyObject
* obj0
= 0 ;
14065 char *kwnames
[] = {
14066 (char *) "self", NULL
14069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14088 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14092 PyObject
* obj0
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14116 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
;
14118 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14120 PyObject
* obj0
= 0 ;
14121 char *kwnames
[] = {
14122 (char *) "self", NULL
14125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 result
= (bool)(arg1
)->LeftIsDown();
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14144 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14148 PyObject
* obj0
= 0 ;
14149 char *kwnames
[] = {
14150 (char *) "self", NULL
14153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 result
= (bool)(arg1
)->MiddleIsDown();
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14172 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (bool)(arg1
)->RightIsDown();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14200 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14228 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
;
14230 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14232 PyObject
* obj0
= 0 ;
14233 char *kwnames
[] = {
14234 (char *) "self", NULL
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14256 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14257 PyObject
*resultobj
;
14258 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14260 PyObject
* obj0
= 0 ;
14261 char *kwnames
[] = {
14262 (char *) "self", NULL
14265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14284 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 char *kwnames
[] = {
14290 (char *) "self", NULL
14293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14312 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14316 PyObject
* obj0
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (arg1
)->GetPosition();
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14332 wxPoint
* resultptr
;
14333 resultptr
= new wxPoint((wxPoint
&) result
);
14334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14342 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
;
14344 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14345 long *arg2
= (long *) 0 ;
14346 long *arg3
= (long *) 0 ;
14349 PyObject
* obj0
= 0 ;
14350 char *kwnames
[] = {
14351 (char *) "self", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 (arg1
)->GetPosition(arg2
,arg3
);
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 Py_INCREF(Py_None
); resultobj
= Py_None
;
14368 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14369 resultobj
= t_output_helper(resultobj
,o
);
14372 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14373 resultobj
= t_output_helper(resultobj
,o
);
14381 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14382 PyObject
*resultobj
;
14383 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14386 PyObject
* obj0
= 0 ;
14387 PyObject
* obj1
= 0 ;
14388 char *kwnames
[] = {
14389 (char *) "self",(char *) "dc", NULL
14392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14398 if (arg2
== NULL
) {
14399 PyErr_SetString(PyExc_TypeError
,"null reference");
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14410 wxPoint
* resultptr
;
14411 resultptr
= new wxPoint((wxPoint
&) result
);
14412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14420 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= SWIG_FromInt((int)result
);
14446 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14450 PyObject
* obj0
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= SWIG_FromInt((int)result
);
14472 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
;
14474 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14476 PyObject
* obj0
= 0 ;
14477 char *kwnames
[] = {
14478 (char *) "self", NULL
14481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 resultobj
= SWIG_FromInt((int)result
);
14498 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14502 PyObject
* obj0
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= SWIG_FromInt((int)result
);
14524 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 resultobj
= SWIG_FromInt((int)result
);
14550 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14554 PyObject
* obj0
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "self", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14578 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14582 PyObject
* obj0
= 0 ;
14583 PyObject
* obj1
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self",(char *) "m_x", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14591 arg2
= (int) SWIG_AsInt(obj1
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14593 if (arg1
) (arg1
)->m_x
= arg2
;
14595 Py_INCREF(Py_None
); resultobj
= Py_None
;
14602 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14606 PyObject
* obj0
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self", NULL
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14614 result
= (int) ((arg1
)->m_x
);
14616 resultobj
= SWIG_FromInt((int)result
);
14623 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14624 PyObject
*resultobj
;
14625 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14627 PyObject
* obj0
= 0 ;
14628 PyObject
* obj1
= 0 ;
14629 char *kwnames
[] = {
14630 (char *) "self",(char *) "m_y", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14636 arg2
= (int) SWIG_AsInt(obj1
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14638 if (arg1
) (arg1
)->m_y
= arg2
;
14640 Py_INCREF(Py_None
); resultobj
= Py_None
;
14647 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
;
14649 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14651 PyObject
* obj0
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "self", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14659 result
= (int) ((arg1
)->m_y
);
14661 resultobj
= SWIG_FromInt((int)result
);
14668 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14672 PyObject
* obj0
= 0 ;
14673 PyObject
* obj1
= 0 ;
14674 char *kwnames
[] = {
14675 (char *) "self",(char *) "m_leftDown", NULL
14678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14681 arg2
= (bool) SWIG_AsBool(obj1
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14683 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14685 Py_INCREF(Py_None
); resultobj
= Py_None
;
14692 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14704 result
= (bool) ((arg1
)->m_leftDown
);
14707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14715 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14719 PyObject
* obj0
= 0 ;
14720 PyObject
* obj1
= 0 ;
14721 char *kwnames
[] = {
14722 (char *) "self",(char *) "m_middleDown", NULL
14725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14728 arg2
= (bool) SWIG_AsBool(obj1
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14730 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14732 Py_INCREF(Py_None
); resultobj
= Py_None
;
14739 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
;
14741 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14743 PyObject
* obj0
= 0 ;
14744 char *kwnames
[] = {
14745 (char *) "self", NULL
14748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14751 result
= (bool) ((arg1
)->m_middleDown
);
14754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14762 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
;
14764 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14766 PyObject
* obj0
= 0 ;
14767 PyObject
* obj1
= 0 ;
14768 char *kwnames
[] = {
14769 (char *) "self",(char *) "m_rightDown", NULL
14772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14775 arg2
= (bool) SWIG_AsBool(obj1
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14777 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14779 Py_INCREF(Py_None
); resultobj
= Py_None
;
14786 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14790 PyObject
* obj0
= 0 ;
14791 char *kwnames
[] = {
14792 (char *) "self", NULL
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14798 result
= (bool) ((arg1
)->m_rightDown
);
14801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14809 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 char *kwnames
[] = {
14816 (char *) "self",(char *) "m_controlDown", NULL
14819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14822 arg2
= (bool) SWIG_AsBool(obj1
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14824 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14826 Py_INCREF(Py_None
); resultobj
= Py_None
;
14833 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 char *kwnames
[] = {
14839 (char *) "self", NULL
14842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14845 result
= (bool) ((arg1
)->m_controlDown
);
14848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14856 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14857 PyObject
*resultobj
;
14858 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14860 PyObject
* obj0
= 0 ;
14861 PyObject
* obj1
= 0 ;
14862 char *kwnames
[] = {
14863 (char *) "self",(char *) "m_shiftDown", NULL
14866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14869 arg2
= (bool) SWIG_AsBool(obj1
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14871 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14873 Py_INCREF(Py_None
); resultobj
= Py_None
;
14880 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
;
14882 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14884 PyObject
* obj0
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14892 result
= (bool) ((arg1
)->m_shiftDown
);
14895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14903 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14907 PyObject
* obj0
= 0 ;
14908 PyObject
* obj1
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "self",(char *) "m_altDown", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14916 arg2
= (bool) SWIG_AsBool(obj1
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14918 if (arg1
) (arg1
)->m_altDown
= arg2
;
14920 Py_INCREF(Py_None
); resultobj
= Py_None
;
14927 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
;
14929 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14931 PyObject
* obj0
= 0 ;
14932 char *kwnames
[] = {
14933 (char *) "self", NULL
14936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14939 result
= (bool) ((arg1
)->m_altDown
);
14942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14950 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14951 PyObject
*resultobj
;
14952 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14954 PyObject
* obj0
= 0 ;
14955 PyObject
* obj1
= 0 ;
14956 char *kwnames
[] = {
14957 (char *) "self",(char *) "m_metaDown", NULL
14960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14963 arg2
= (bool) SWIG_AsBool(obj1
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14965 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14967 Py_INCREF(Py_None
); resultobj
= Py_None
;
14974 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14975 PyObject
*resultobj
;
14976 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14978 PyObject
* obj0
= 0 ;
14979 char *kwnames
[] = {
14980 (char *) "self", NULL
14983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14986 result
= (bool) ((arg1
)->m_metaDown
);
14989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14997 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15001 PyObject
* obj0
= 0 ;
15002 PyObject
* obj1
= 0 ;
15003 char *kwnames
[] = {
15004 (char *) "self",(char *) "m_wheelRotation", NULL
15007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15010 arg2
= (int) SWIG_AsInt(obj1
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15012 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15014 Py_INCREF(Py_None
); resultobj
= Py_None
;
15021 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15025 PyObject
* obj0
= 0 ;
15026 char *kwnames
[] = {
15027 (char *) "self", NULL
15030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15033 result
= (int) ((arg1
)->m_wheelRotation
);
15035 resultobj
= SWIG_FromInt((int)result
);
15042 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15046 PyObject
* obj0
= 0 ;
15047 PyObject
* obj1
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "self",(char *) "m_wheelDelta", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15055 arg2
= (int) SWIG_AsInt(obj1
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15057 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15059 Py_INCREF(Py_None
); resultobj
= Py_None
;
15066 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15070 PyObject
* obj0
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15078 result
= (int) ((arg1
)->m_wheelDelta
);
15080 resultobj
= SWIG_FromInt((int)result
);
15087 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self",(char *) "m_linesPerAction", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15100 arg2
= (int) SWIG_AsInt(obj1
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15102 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15104 Py_INCREF(Py_None
); resultobj
= Py_None
;
15111 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15115 PyObject
* obj0
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15123 result
= (int) ((arg1
)->m_linesPerAction
);
15125 resultobj
= SWIG_FromInt((int)result
);
15132 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15135 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15137 return Py_BuildValue((char *)"");
15139 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
;
15141 int arg1
= (int) 0 ;
15142 int arg2
= (int) 0 ;
15143 wxSetCursorEvent
*result
;
15144 PyObject
* obj0
= 0 ;
15145 PyObject
* obj1
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "x",(char *) "y", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15152 arg1
= (int) SWIG_AsInt(obj0
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15156 arg2
= (int) SWIG_AsInt(obj1
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15173 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15177 PyObject
* obj0
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 resultobj
= SWIG_FromInt((int)result
);
15199 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
;
15201 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15203 PyObject
* obj0
= 0 ;
15204 char *kwnames
[] = {
15205 (char *) "self", NULL
15208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15218 resultobj
= SWIG_FromInt((int)result
);
15225 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15228 wxCursor
*arg2
= 0 ;
15229 PyObject
* obj0
= 0 ;
15230 PyObject
* obj1
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self",(char *) "cursor", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15241 if (arg2
== NULL
) {
15242 PyErr_SetString(PyExc_TypeError
,"null reference");
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 Py_INCREF(Py_None
); resultobj
= Py_None
;
15259 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
;
15261 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15263 PyObject
* obj0
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self", NULL
15268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15275 result
= (wxCursor
*) &_result_ref
;
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15282 wxCursor
* resultptr
= new wxCursor(*result
);
15283 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15291 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15319 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15322 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15324 return Py_BuildValue((char *)"");
15326 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15329 wxKeyEvent
*result
;
15330 PyObject
* obj0
= 0 ;
15331 char *kwnames
[] = {
15332 (char *) "keyType", NULL
15335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15337 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15354 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "self", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15382 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15410 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15414 PyObject
* obj0
= 0 ;
15415 char *kwnames
[] = {
15416 (char *) "self", NULL
15419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15438 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15442 PyObject
* obj0
= 0 ;
15443 char *kwnames
[] = {
15444 (char *) "self", NULL
15447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15466 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
;
15468 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15494 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
;
15496 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15513 resultobj
= SWIG_FromInt((int)result
);
15520 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15521 PyObject
*resultobj
;
15522 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15524 PyObject
* obj0
= 0 ;
15525 char *kwnames
[] = {
15526 (char *) "self", NULL
15529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 resultobj
= SWIG_FromInt((int)result
);
15546 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
;
15548 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15549 unsigned int result
;
15550 PyObject
* obj0
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "self", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15572 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15575 unsigned int result
;
15576 PyObject
* obj0
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15598 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15600 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15602 PyObject
* obj0
= 0 ;
15603 char *kwnames
[] = {
15604 (char *) "self", NULL
15607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 result
= (arg1
)->GetPosition();
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15618 wxPoint
* resultptr
;
15619 resultptr
= new wxPoint((wxPoint
&) result
);
15620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15628 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
;
15630 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15631 long *arg2
= (long *) 0 ;
15632 long *arg3
= (long *) 0 ;
15635 PyObject
* obj0
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 (arg1
)->GetPosition(arg2
,arg3
);
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15652 Py_INCREF(Py_None
); resultobj
= Py_None
;
15654 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15655 resultobj
= t_output_helper(resultobj
,o
);
15658 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15659 resultobj
= t_output_helper(resultobj
,o
);
15667 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
;
15669 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15671 PyObject
* obj0
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "self", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= SWIG_FromInt((int)result
);
15693 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15694 PyObject
*resultobj
;
15695 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15697 PyObject
* obj0
= 0 ;
15698 char *kwnames
[] = {
15699 (char *) "self", NULL
15702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 resultobj
= SWIG_FromInt((int)result
);
15719 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15721 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15723 PyObject
* obj0
= 0 ;
15724 PyObject
* obj1
= 0 ;
15725 char *kwnames
[] = {
15726 (char *) "self",(char *) "m_x", NULL
15729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15732 arg2
= (int) SWIG_AsInt(obj1
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15734 if (arg1
) (arg1
)->m_x
= arg2
;
15736 Py_INCREF(Py_None
); resultobj
= Py_None
;
15743 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "self", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15755 result
= (int) ((arg1
)->m_x
);
15757 resultobj
= SWIG_FromInt((int)result
);
15764 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15768 PyObject
* obj0
= 0 ;
15769 PyObject
* obj1
= 0 ;
15770 char *kwnames
[] = {
15771 (char *) "self",(char *) "m_y", NULL
15774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15777 arg2
= (int) SWIG_AsInt(obj1
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15779 if (arg1
) (arg1
)->m_y
= arg2
;
15781 Py_INCREF(Py_None
); resultobj
= Py_None
;
15788 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
;
15790 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15792 PyObject
* obj0
= 0 ;
15793 char *kwnames
[] = {
15794 (char *) "self", NULL
15797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15800 result
= (int) ((arg1
)->m_y
);
15802 resultobj
= SWIG_FromInt((int)result
);
15809 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
;
15811 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15813 PyObject
* obj0
= 0 ;
15814 PyObject
* obj1
= 0 ;
15815 char *kwnames
[] = {
15816 (char *) "self",(char *) "m_keyCode", NULL
15819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15822 arg2
= (long) SWIG_AsLong(obj1
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15824 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15826 Py_INCREF(Py_None
); resultobj
= Py_None
;
15833 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
;
15835 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15837 PyObject
* obj0
= 0 ;
15838 char *kwnames
[] = {
15839 (char *) "self", NULL
15842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15845 result
= (long) ((arg1
)->m_keyCode
);
15847 resultobj
= SWIG_FromLong((long)result
);
15854 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15855 PyObject
*resultobj
;
15856 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15858 PyObject
* obj0
= 0 ;
15859 PyObject
* obj1
= 0 ;
15860 char *kwnames
[] = {
15861 (char *) "self",(char *) "m_controlDown", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15867 arg2
= (bool) SWIG_AsBool(obj1
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15869 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15871 Py_INCREF(Py_None
); resultobj
= Py_None
;
15878 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
;
15880 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15882 PyObject
* obj0
= 0 ;
15883 char *kwnames
[] = {
15884 (char *) "self", NULL
15887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15890 result
= (bool) ((arg1
)->m_controlDown
);
15893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15901 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 PyObject
* obj1
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self",(char *) "m_shiftDown", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15914 arg2
= (bool) SWIG_AsBool(obj1
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15916 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15918 Py_INCREF(Py_None
); resultobj
= Py_None
;
15925 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
;
15927 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15929 PyObject
* obj0
= 0 ;
15930 char *kwnames
[] = {
15931 (char *) "self", NULL
15934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15937 result
= (bool) ((arg1
)->m_shiftDown
);
15940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15948 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
;
15950 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15952 PyObject
* obj0
= 0 ;
15953 PyObject
* obj1
= 0 ;
15954 char *kwnames
[] = {
15955 (char *) "self",(char *) "m_altDown", NULL
15958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15961 arg2
= (bool) SWIG_AsBool(obj1
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15963 if (arg1
) (arg1
)->m_altDown
= arg2
;
15965 Py_INCREF(Py_None
); resultobj
= Py_None
;
15972 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15973 PyObject
*resultobj
;
15974 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15976 PyObject
* obj0
= 0 ;
15977 char *kwnames
[] = {
15978 (char *) "self", NULL
15981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15984 result
= (bool) ((arg1
)->m_altDown
);
15987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15995 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 PyObject
* obj1
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self",(char *) "m_metaDown", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16008 arg2
= (bool) SWIG_AsBool(obj1
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16010 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16012 Py_INCREF(Py_None
); resultobj
= Py_None
;
16019 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16020 PyObject
*resultobj
;
16021 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16023 PyObject
* obj0
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16031 result
= (bool) ((arg1
)->m_metaDown
);
16034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16042 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16046 PyObject
* obj0
= 0 ;
16047 PyObject
* obj1
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self",(char *) "m_scanCode", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16055 arg2
= (bool) SWIG_AsBool(obj1
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16057 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16059 Py_INCREF(Py_None
); resultobj
= Py_None
;
16066 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16070 PyObject
* obj0
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "self", NULL
16075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16078 result
= (bool) ((arg1
)->m_scanCode
);
16081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16089 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16090 PyObject
*resultobj
;
16091 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16092 unsigned int arg2
;
16093 PyObject
* obj0
= 0 ;
16094 PyObject
* obj1
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self",(char *) "m_rawCode", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16102 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16104 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16106 Py_INCREF(Py_None
); resultobj
= Py_None
;
16113 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16116 unsigned int result
;
16117 PyObject
* obj0
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16125 result
= (unsigned int) ((arg1
)->m_rawCode
);
16127 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16134 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16137 unsigned int arg2
;
16138 PyObject
* obj0
= 0 ;
16139 PyObject
* obj1
= 0 ;
16140 char *kwnames
[] = {
16141 (char *) "self",(char *) "m_rawFlags", NULL
16144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16147 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16149 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16151 Py_INCREF(Py_None
); resultobj
= Py_None
;
16158 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
;
16160 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16161 unsigned int result
;
16162 PyObject
* obj0
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "self", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16170 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16172 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16179 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16182 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16184 return Py_BuildValue((char *)"");
16186 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16187 PyObject
*resultobj
;
16188 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16189 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16190 int arg2
= (int) 0 ;
16191 wxSizeEvent
*result
;
16193 PyObject
* obj0
= 0 ;
16194 PyObject
* obj1
= 0 ;
16195 char *kwnames
[] = {
16196 (char *) "sz",(char *) "winid", NULL
16199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16203 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16207 arg2
= (int) SWIG_AsInt(obj1
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16224 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16228 PyObject
* obj0
= 0 ;
16229 char *kwnames
[] = {
16230 (char *) "self", NULL
16233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16240 wxPyEndAllowThreads(__tstate
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16244 wxSize
* resultptr
;
16245 resultptr
= new wxSize((wxSize
&) result
);
16246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16254 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16274 wxRect
* resultptr
;
16275 resultptr
= new wxRect((wxRect
&) result
);
16276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16284 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16285 PyObject
*resultobj
;
16286 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 PyObject
* obj1
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self",(char *) "rect", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16298 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16299 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 (arg1
)->SetRect(arg2
);
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16308 Py_INCREF(Py_None
); resultobj
= Py_None
;
16315 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
;
16317 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 PyObject
* obj1
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "self",(char *) "size", NULL
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16329 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16330 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 wxSizeEvent_SetSize(arg1
,arg2
);
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16339 Py_INCREF(Py_None
); resultobj
= Py_None
;
16346 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
;
16348 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16349 wxSize
*arg2
= (wxSize
*) 0 ;
16350 PyObject
* obj0
= 0 ;
16351 PyObject
* obj1
= 0 ;
16352 char *kwnames
[] = {
16353 (char *) "self",(char *) "m_size", NULL
16356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16361 if (arg1
) (arg1
)->m_size
= *arg2
;
16363 Py_INCREF(Py_None
); resultobj
= Py_None
;
16370 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
;
16372 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16374 PyObject
* obj0
= 0 ;
16375 char *kwnames
[] = {
16376 (char *) "self", NULL
16379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16382 result
= (wxSize
*)& ((arg1
)->m_size
);
16384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16391 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16394 wxRect
*arg2
= (wxRect
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self",(char *) "m_rect", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16406 if (arg1
) (arg1
)->m_rect
= *arg2
;
16408 Py_INCREF(Py_None
); resultobj
= Py_None
;
16415 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16419 PyObject
* obj0
= 0 ;
16420 char *kwnames
[] = {
16421 (char *) "self", NULL
16424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16427 result
= (wxRect
*)& ((arg1
)->m_rect
);
16429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16436 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16439 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16441 return Py_BuildValue((char *)"");
16443 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16446 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16447 int arg2
= (int) 0 ;
16448 wxMoveEvent
*result
;
16450 PyObject
* obj0
= 0 ;
16451 PyObject
* obj1
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "pos",(char *) "winid", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16460 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16464 arg2
= (int) SWIG_AsInt(obj1
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16481 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16485 PyObject
* obj0
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16501 wxPoint
* resultptr
;
16502 resultptr
= new wxPoint((wxPoint
&) result
);
16503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16511 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
;
16513 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16515 PyObject
* obj0
= 0 ;
16516 char *kwnames
[] = {
16517 (char *) "self", NULL
16520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16531 wxRect
* resultptr
;
16532 resultptr
= new wxRect((wxRect
&) result
);
16533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16541 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
;
16543 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 PyObject
* obj1
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self",(char *) "rect", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16555 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16556 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 (arg1
)->SetRect(arg2
);
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 Py_INCREF(Py_None
); resultobj
= Py_None
;
16572 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16577 PyObject
* obj0
= 0 ;
16578 PyObject
* obj1
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self",(char *) "pos", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16586 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16587 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 wxMoveEvent_SetPosition(arg1
,arg2
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 Py_INCREF(Py_None
); resultobj
= Py_None
;
16603 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16606 wxPoint
*arg2
= (wxPoint
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 PyObject
* obj1
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self",(char *) "m_pos", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16618 if (arg1
) (arg1
)->m_pos
= *arg2
;
16620 Py_INCREF(Py_None
); resultobj
= Py_None
;
16627 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
;
16629 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16631 PyObject
* obj0
= 0 ;
16632 char *kwnames
[] = {
16633 (char *) "self", NULL
16636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16639 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16648 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16651 wxRect
*arg2
= (wxRect
*) 0 ;
16652 PyObject
* obj0
= 0 ;
16653 PyObject
* obj1
= 0 ;
16654 char *kwnames
[] = {
16655 (char *) "self",(char *) "m_rect", NULL
16658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16663 if (arg1
) (arg1
)->m_rect
= *arg2
;
16665 Py_INCREF(Py_None
); resultobj
= Py_None
;
16672 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
;
16674 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16676 PyObject
* obj0
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "self", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16684 result
= (wxRect
*)& ((arg1
)->m_rect
);
16686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16693 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16696 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16698 return Py_BuildValue((char *)"");
16700 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 int arg1
= (int) 0 ;
16703 wxPaintEvent
*result
;
16704 PyObject
* obj0
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "Id", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16711 arg1
= (int) SWIG_AsInt(obj0
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16728 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16731 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16733 return Py_BuildValue((char *)"");
16735 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 int arg1
= (int) 0 ;
16738 wxNcPaintEvent
*result
;
16739 PyObject
* obj0
= 0 ;
16740 char *kwnames
[] = {
16741 (char *) "winid", NULL
16744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16746 arg1
= (int) SWIG_AsInt(obj0
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16763 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16766 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16768 return Py_BuildValue((char *)"");
16770 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 int arg1
= (int) 0 ;
16773 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16774 wxEraseEvent
*result
;
16775 PyObject
* obj0
= 0 ;
16776 PyObject
* obj1
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "Id",(char *) "dc", NULL
16781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16783 arg1
= (int) SWIG_AsInt(obj0
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16804 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= wxPyMake_wxObject(result
);
16832 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16835 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16837 return Py_BuildValue((char *)"");
16839 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16842 int arg2
= (int) 0 ;
16843 wxFocusEvent
*result
;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "type",(char *) "winid", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16852 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 arg2
= (int) SWIG_AsInt(obj1
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16873 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16877 PyObject
* obj0
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= wxPyMake_wxObject(result
);
16901 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16903 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16904 wxWindow
*arg2
= (wxWindow
*) 0 ;
16905 PyObject
* obj0
= 0 ;
16906 PyObject
* obj1
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "self",(char *) "win", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 (arg1
)->SetWindow(arg2
);
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 Py_INCREF(Py_None
); resultobj
= Py_None
;
16930 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16933 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16935 return Py_BuildValue((char *)"");
16937 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxWindow
*arg1
= (wxWindow
*) NULL
;
16940 wxChildFocusEvent
*result
;
16941 PyObject
* obj0
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "win", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16965 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16966 PyObject
*resultobj
;
16967 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16969 PyObject
* obj0
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "self", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16985 resultobj
= wxPyMake_wxObject(result
);
16993 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16996 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16998 return Py_BuildValue((char *)"");
17000 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17001 PyObject
*resultobj
;
17002 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17003 bool arg2
= (bool) True
;
17004 int arg3
= (int) 0 ;
17005 wxActivateEvent
*result
;
17006 PyObject
* obj0
= 0 ;
17007 PyObject
* obj1
= 0 ;
17008 PyObject
* obj2
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "type",(char *) "active",(char *) "Id", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17015 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17019 arg2
= (bool) SWIG_AsBool(obj1
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17023 arg3
= (int) SWIG_AsInt(obj2
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17040 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17042 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17044 PyObject
* obj0
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "self", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17068 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17071 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17073 return Py_BuildValue((char *)"");
17075 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 int arg1
= (int) 0 ;
17078 wxInitDialogEvent
*result
;
17079 PyObject
* obj0
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "Id", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17086 arg1
= (int) SWIG_AsInt(obj0
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17103 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17106 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17108 return Py_BuildValue((char *)"");
17110 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17113 int arg2
= (int) 0 ;
17114 wxMenu
*arg3
= (wxMenu
*) NULL
;
17115 wxMenuEvent
*result
;
17116 PyObject
* obj0
= 0 ;
17117 PyObject
* obj1
= 0 ;
17118 PyObject
* obj2
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "type",(char *) "winid",(char *) "menu", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17125 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17129 arg2
= (int) SWIG_AsInt(obj1
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17133 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17150 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17154 PyObject
* obj0
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "self", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= SWIG_FromInt((int)result
);
17176 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
;
17178 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17180 PyObject
* obj0
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17204 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
;
17206 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17208 PyObject
* obj0
= 0 ;
17209 char *kwnames
[] = {
17210 (char *) "self", NULL
17213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= wxPyMake_wxObject(result
);
17232 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17235 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17237 return Py_BuildValue((char *)"");
17239 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17240 PyObject
*resultobj
;
17241 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17242 int arg2
= (int) 0 ;
17243 wxCloseEvent
*result
;
17244 PyObject
* obj0
= 0 ;
17245 PyObject
* obj1
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "type",(char *) "winid", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17252 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17256 arg2
= (int) SWIG_AsInt(obj1
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17273 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
;
17275 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17277 PyObject
* obj0
= 0 ;
17278 PyObject
* obj1
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "self",(char *) "logOff", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17286 arg2
= (bool) SWIG_AsBool(obj1
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 (arg1
)->SetLoggingOff(arg2
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 Py_INCREF(Py_None
); resultobj
= Py_None
;
17302 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17304 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17306 PyObject
* obj0
= 0 ;
17307 char *kwnames
[] = {
17308 (char *) "self", NULL
17311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17330 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17332 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17333 bool arg2
= (bool) True
;
17334 PyObject
* obj0
= 0 ;
17335 PyObject
* obj1
= 0 ;
17336 char *kwnames
[] = {
17337 (char *) "self",(char *) "veto", NULL
17340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17344 arg2
= (bool) SWIG_AsBool(obj1
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 (arg1
)->Veto(arg2
);
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 Py_INCREF(Py_None
); resultobj
= Py_None
;
17361 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17363 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17365 PyObject
* obj0
= 0 ;
17366 PyObject
* obj1
= 0 ;
17367 char *kwnames
[] = {
17368 (char *) "self",(char *) "canVeto", NULL
17371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17374 arg2
= (bool) SWIG_AsBool(obj1
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 (arg1
)->SetCanVeto(arg2
);
17380 wxPyEndAllowThreads(__tstate
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17383 Py_INCREF(Py_None
); resultobj
= Py_None
;
17390 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
;
17392 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17394 PyObject
* obj0
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17418 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
;
17420 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17422 PyObject
* obj0
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "self", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17446 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17449 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17451 return Py_BuildValue((char *)"");
17453 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 int arg1
= (int) 0 ;
17456 bool arg2
= (bool) False
;
17457 wxShowEvent
*result
;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "winid",(char *) "show", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17466 arg1
= (int) SWIG_AsInt(obj0
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17470 arg2
= (bool) SWIG_AsBool(obj1
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17487 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
;
17489 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj1
= 0 ;
17493 char *kwnames
[] = {
17494 (char *) "self",(char *) "show", NULL
17497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17500 arg2
= (bool) SWIG_AsBool(obj1
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 (arg1
)->SetShow(arg2
);
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17509 Py_INCREF(Py_None
); resultobj
= Py_None
;
17516 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17520 PyObject
* obj0
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17544 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17547 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17549 return Py_BuildValue((char *)"");
17551 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
;
17553 int arg1
= (int) 0 ;
17554 bool arg2
= (bool) True
;
17555 wxIconizeEvent
*result
;
17556 PyObject
* obj0
= 0 ;
17557 PyObject
* obj1
= 0 ;
17558 char *kwnames
[] = {
17559 (char *) "id",(char *) "iconized", NULL
17562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17564 arg1
= (int) SWIG_AsInt(obj0
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17568 arg2
= (bool) SWIG_AsBool(obj1
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17585 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
;
17587 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17589 PyObject
* obj0
= 0 ;
17590 char *kwnames
[] = {
17591 (char *) "self", NULL
17594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 result
= (bool)(arg1
)->Iconized();
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17613 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17616 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17618 return Py_BuildValue((char *)"");
17620 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17621 PyObject
*resultobj
;
17622 int arg1
= (int) 0 ;
17623 wxMaximizeEvent
*result
;
17624 PyObject
* obj0
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "id", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17631 arg1
= (int) SWIG_AsInt(obj0
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17648 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17651 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17653 return Py_BuildValue((char *)"");
17655 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= (arg1
)->GetPosition();
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17675 wxPoint
* resultptr
;
17676 resultptr
= new wxPoint((wxPoint
&) result
);
17677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17685 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17689 PyObject
* obj0
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "self", NULL
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17699 result
= (int)(arg1
)->GetNumberOfFiles();
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= SWIG_FromInt((int)result
);
17711 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17712 PyObject
*resultobj
;
17713 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17715 PyObject
* obj0
= 0 ;
17716 char *kwnames
[] = {
17717 (char *) "self", NULL
17720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17730 resultobj
= result
;
17737 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17740 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17742 return Py_BuildValue((char *)"");
17744 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 int arg1
= (int) 0 ;
17747 wxUpdateUIEvent
*result
;
17748 PyObject
* obj0
= 0 ;
17749 char *kwnames
[] = {
17750 (char *) "commandId", NULL
17753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17755 arg1
= (int) SWIG_AsInt(obj0
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17772 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17776 PyObject
* obj0
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17800 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17804 PyObject
* obj0
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self", NULL
17809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17828 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17832 PyObject
* obj0
= 0 ;
17833 char *kwnames
[] = {
17834 (char *) "self", NULL
17837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17860 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17861 PyObject
*resultobj
;
17862 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17864 PyObject
* obj0
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "self", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17888 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17916 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17944 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17948 PyObject
* obj0
= 0 ;
17949 PyObject
* obj1
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self",(char *) "check", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17957 arg2
= (bool) SWIG_AsBool(obj1
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 (arg1
)->Check(arg2
);
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 Py_INCREF(Py_None
); resultobj
= Py_None
;
17973 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17977 PyObject
* obj0
= 0 ;
17978 PyObject
* obj1
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self",(char *) "enable", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17986 arg2
= (bool) SWIG_AsBool(obj1
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 (arg1
)->Enable(arg2
);
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 Py_INCREF(Py_None
); resultobj
= Py_None
;
18002 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18004 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18005 wxString
*arg2
= 0 ;
18006 bool temp2
= False
;
18007 PyObject
* obj0
= 0 ;
18008 PyObject
* obj1
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self",(char *) "text", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18017 arg2
= wxString_in_helper(obj1
);
18018 if (arg2
== NULL
) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 (arg1
)->SetText((wxString
const &)*arg2
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 Py_INCREF(Py_None
); resultobj
= Py_None
;
18043 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18046 PyObject
* obj0
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "updateInterval", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18052 arg1
= (long) SWIG_AsLong(obj0
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 Py_INCREF(Py_None
); resultobj
= Py_None
;
18068 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18071 char *kwnames
[] = {
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= SWIG_FromLong((long)result
);
18090 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxWindow
*arg1
= (wxWindow
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "win", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18118 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 char *kwnames
[] = {
18124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18127 wxUpdateUIEvent::ResetUpdateTime();
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 Py_INCREF(Py_None
); resultobj
= Py_None
;
18139 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
;
18142 PyObject
* obj0
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "mode", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18148 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 Py_INCREF(Py_None
); resultobj
= Py_None
;
18164 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18167 char *kwnames
[] = {
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18174 result
= (int)wxUpdateUIEvent::GetMode();
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= SWIG_FromInt((int)result
);
18186 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18189 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18191 return Py_BuildValue((char *)"");
18193 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxSysColourChangedEvent
*result
;
18196 char *kwnames
[] = {
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18215 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18218 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18220 return Py_BuildValue((char *)"");
18222 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 int arg1
= (int) 0 ;
18225 wxWindow
*arg2
= (wxWindow
*) NULL
;
18226 wxMouseCaptureChangedEvent
*result
;
18227 PyObject
* obj0
= 0 ;
18228 PyObject
* obj1
= 0 ;
18229 char *kwnames
[] = {
18230 (char *) "winid",(char *) "gainedCapture", NULL
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18235 arg1
= (int) SWIG_AsInt(obj0
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18256 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18260 PyObject
* obj0
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= wxPyMake_wxObject(result
);
18284 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18287 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18289 return Py_BuildValue((char *)"");
18291 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
;
18293 wxDisplayChangedEvent
*result
;
18294 char *kwnames
[] = {
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18313 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18316 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18318 return Py_BuildValue((char *)"");
18320 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
;
18322 int arg1
= (int) 0 ;
18323 wxPaletteChangedEvent
*result
;
18324 PyObject
* obj0
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "id", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18331 arg1
= (int) SWIG_AsInt(obj0
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18348 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18351 wxWindow
*arg2
= (wxWindow
*) 0 ;
18352 PyObject
* obj0
= 0 ;
18353 PyObject
* obj1
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self",(char *) "win", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 (arg1
)->SetChangedWindow(arg2
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 Py_INCREF(Py_None
); resultobj
= Py_None
;
18377 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18381 PyObject
* obj0
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= wxPyMake_wxObject(result
);
18405 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18408 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18410 return Py_BuildValue((char *)"");
18412 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18413 PyObject
*resultobj
;
18414 int arg1
= (int) 0 ;
18415 wxQueryNewPaletteEvent
*result
;
18416 PyObject
* obj0
= 0 ;
18417 char *kwnames
[] = {
18418 (char *) "winid", NULL
18421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18423 arg1
= (int) SWIG_AsInt(obj0
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18440 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
;
18442 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18446 char *kwnames
[] = {
18447 (char *) "self",(char *) "realized", NULL
18450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18453 arg2
= (bool) SWIG_AsBool(obj1
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 (arg1
)->SetPaletteRealized(arg2
);
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 Py_INCREF(Py_None
); resultobj
= Py_None
;
18469 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
;
18471 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18473 PyObject
* obj0
= 0 ;
18474 char *kwnames
[] = {
18475 (char *) "self", NULL
18478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18497 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18500 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18502 return Py_BuildValue((char *)"");
18504 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
;
18506 wxNavigationKeyEvent
*result
;
18507 char *kwnames
[] = {
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18526 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18554 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 PyObject
* obj1
= 0 ;
18560 char *kwnames
[] = {
18561 (char *) "self",(char *) "bForward", NULL
18564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18567 arg2
= (bool) SWIG_AsBool(obj1
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 (arg1
)->SetDirection(arg2
);
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18576 Py_INCREF(Py_None
); resultobj
= Py_None
;
18583 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
;
18585 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18587 PyObject
* obj0
= 0 ;
18588 char *kwnames
[] = {
18589 (char *) "self", NULL
18592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18611 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 char *kwnames
[] = {
18618 (char *) "self",(char *) "bIs", NULL
18621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18624 arg2
= (bool) SWIG_AsBool(obj1
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 (arg1
)->SetWindowChange(arg2
);
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 Py_INCREF(Py_None
); resultobj
= Py_None
;
18640 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
;
18642 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18644 PyObject
* obj0
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "self", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= wxPyMake_wxObject(result
);
18668 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18671 wxWindow
*arg2
= (wxWindow
*) 0 ;
18672 PyObject
* obj0
= 0 ;
18673 PyObject
* obj1
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self",(char *) "win", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 (arg1
)->SetCurrentFocus(arg2
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 Py_INCREF(Py_None
); resultobj
= Py_None
;
18697 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18700 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18702 return Py_BuildValue((char *)"");
18704 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxWindow
*arg1
= (wxWindow
*) NULL
;
18707 wxWindowCreateEvent
*result
;
18708 PyObject
* obj0
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "win", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18732 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18736 PyObject
* obj0
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "self", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= wxPyMake_wxObject(result
);
18760 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18763 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18765 return Py_BuildValue((char *)"");
18767 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
;
18769 wxWindow
*arg1
= (wxWindow
*) NULL
;
18770 wxWindowDestroyEvent
*result
;
18771 PyObject
* obj0
= 0 ;
18772 char *kwnames
[] = {
18773 (char *) "win", NULL
18776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18795 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
;
18797 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18799 PyObject
* obj0
= 0 ;
18800 char *kwnames
[] = {
18801 (char *) "self", NULL
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= wxPyMake_wxObject(result
);
18823 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18826 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18828 return Py_BuildValue((char *)"");
18830 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18833 int arg2
= (int) 0 ;
18834 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18835 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18836 wxContextMenuEvent
*result
;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 PyObject
* obj2
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "type",(char *) "winid",(char *) "pt", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18847 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18851 arg2
= (int) SWIG_AsInt(obj1
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18857 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18874 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18890 result
= (wxPoint
*) &_result_ref
;
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18903 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18905 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18906 wxPoint
*arg2
= 0 ;
18908 PyObject
* obj0
= 0 ;
18909 PyObject
* obj1
= 0 ;
18910 char *kwnames
[] = {
18911 (char *) "self",(char *) "pos", NULL
18914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18919 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 Py_INCREF(Py_None
); resultobj
= Py_None
;
18935 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18938 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18940 return Py_BuildValue((char *)"");
18942 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
;
18944 wxIdleEvent
*result
;
18945 char *kwnames
[] = {
18949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= (wxIdleEvent
*)new wxIdleEvent();
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18964 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18967 bool arg2
= (bool) True
;
18968 PyObject
* obj0
= 0 ;
18969 PyObject
* obj1
= 0 ;
18970 char *kwnames
[] = {
18971 (char *) "self",(char *) "needMore", NULL
18974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18978 arg2
= (bool) SWIG_AsBool(obj1
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 (arg1
)->RequestMore(arg2
);
18985 wxPyEndAllowThreads(__tstate
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18988 Py_INCREF(Py_None
); resultobj
= Py_None
;
18995 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "self", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19023 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
;
19026 PyObject
* obj0
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "mode", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19032 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 Py_INCREF(Py_None
); resultobj
= Py_None
;
19048 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19049 PyObject
*resultobj
;
19051 char *kwnames
[] = {
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 result
= (int)wxIdleEvent::GetMode();
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 resultobj
= SWIG_FromInt((int)result
);
19070 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxWindow
*arg1
= (wxWindow
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "win", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (bool)wxIdleEvent::CanSend(arg1
);
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19098 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19101 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19103 return Py_BuildValue((char *)"");
19105 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19107 int arg1
= (int) 0 ;
19108 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19110 PyObject
* obj0
= 0 ;
19111 PyObject
* obj1
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "winid",(char *) "commandType", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19118 arg1
= (int) SWIG_AsInt(obj0
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19122 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19139 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19140 PyObject
*resultobj
;
19141 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19142 PyObject
* obj0
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 Py_INCREF(Py_None
); resultobj
= Py_None
;
19164 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19167 PyObject
*arg2
= (PyObject
*) 0 ;
19168 PyObject
* obj0
= 0 ;
19169 PyObject
* obj1
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "self",(char *) "self", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 (arg1
)->SetSelf(arg2
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 Py_INCREF(Py_None
); resultobj
= Py_None
;
19192 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
;
19194 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19196 PyObject
* obj0
= 0 ;
19197 char *kwnames
[] = {
19198 (char *) "self", NULL
19201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 result
= (PyObject
*)(arg1
)->GetSelf();
19208 wxPyEndAllowThreads(__tstate
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19211 resultobj
= result
;
19218 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19221 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19223 return Py_BuildValue((char *)"");
19225 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19228 int arg2
= (int) 0 ;
19229 wxPyCommandEvent
*result
;
19230 PyObject
* obj0
= 0 ;
19231 PyObject
* obj1
= 0 ;
19232 char *kwnames
[] = {
19233 (char *) "commandType",(char *) "id", NULL
19236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19238 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19242 arg2
= (int) SWIG_AsInt(obj1
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19259 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
;
19261 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19262 PyObject
* obj0
= 0 ;
19263 char *kwnames
[] = {
19264 (char *) "self", NULL
19267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19277 Py_INCREF(Py_None
); resultobj
= Py_None
;
19284 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
;
19286 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19287 PyObject
*arg2
= (PyObject
*) 0 ;
19288 PyObject
* obj0
= 0 ;
19289 PyObject
* obj1
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self",(char *) "self", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 (arg1
)->SetSelf(arg2
);
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 Py_INCREF(Py_None
); resultobj
= Py_None
;
19312 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19314 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19316 PyObject
* obj0
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19326 result
= (PyObject
*)(arg1
)->GetSelf();
19328 wxPyEndAllowThreads(__tstate
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19331 resultobj
= result
;
19338 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19341 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19343 return Py_BuildValue((char *)"");
19345 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19348 char *kwnames
[] = {
19352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 result
= (wxPyApp
*)new_wxPyApp();
19357 wxPyEndAllowThreads(__tstate
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= wxPyMake_wxObject(result
);
19369 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
;
19371 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19372 PyObject
* obj0
= 0 ;
19373 char *kwnames
[] = {
19374 (char *) "self", NULL
19377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19397 PyObject
*arg2
= (PyObject
*) 0 ;
19398 PyObject
*arg3
= (PyObject
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 PyObject
* obj2
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self",(char *) "self",(char *) "_class", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19418 Py_INCREF(Py_None
); resultobj
= Py_None
;
19425 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
;
19427 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19429 PyObject
* obj0
= 0 ;
19430 char *kwnames
[] = {
19431 (char *) "self", NULL
19434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19457 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19459 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19460 wxString
*arg2
= 0 ;
19461 bool temp2
= False
;
19462 PyObject
* obj0
= 0 ;
19463 PyObject
* obj1
= 0 ;
19464 char *kwnames
[] = {
19465 (char *) "self",(char *) "name", NULL
19468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19472 arg2
= wxString_in_helper(obj1
);
19473 if (arg2
== NULL
) SWIG_fail
;
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 (arg1
)->SetAppName((wxString
const &)*arg2
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 Py_INCREF(Py_None
); resultobj
= Py_None
;
19498 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
;
19500 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19502 PyObject
* obj0
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "self", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19530 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19533 wxString
*arg2
= 0 ;
19534 bool temp2
= False
;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 char *kwnames
[] = {
19538 (char *) "self",(char *) "name", NULL
19541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19545 arg2
= wxString_in_helper(obj1
);
19546 if (arg2
== NULL
) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 (arg1
)->SetClassName((wxString
const &)*arg2
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 Py_INCREF(Py_None
); resultobj
= Py_None
;
19571 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
;
19573 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19575 PyObject
* obj0
= 0 ;
19576 char *kwnames
[] = {
19577 (char *) "self", NULL
19580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19587 result
= (wxString
*) &_result_ref
;
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19597 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19606 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
;
19608 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19609 wxString
*arg2
= 0 ;
19610 bool temp2
= False
;
19611 PyObject
* obj0
= 0 ;
19612 PyObject
* obj1
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "self",(char *) "name", NULL
19617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19621 arg2
= wxString_in_helper(obj1
);
19622 if (arg2
== NULL
) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 Py_INCREF(Py_None
); resultobj
= Py_None
;
19647 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
;
19649 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19650 wxAppTraits
*result
;
19651 PyObject
* obj0
= 0 ;
19652 char *kwnames
[] = {
19653 (char *) "self", NULL
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19673 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
;
19675 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 (arg1
)->ProcessPendingEvents();
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 Py_INCREF(Py_None
); resultobj
= Py_None
;
19698 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
;
19700 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19701 bool arg2
= (bool) False
;
19703 PyObject
* obj0
= 0 ;
19704 PyObject
* obj1
= 0 ;
19705 char *kwnames
[] = {
19706 (char *) "self",(char *) "onlyIfNeeded", NULL
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19713 arg2
= (bool) SWIG_AsBool(obj1
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (bool)(arg1
)->Yield(arg2
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19732 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
;
19734 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19735 PyObject
* obj0
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "self", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 (arg1
)->WakeUpIdle();
19747 wxPyEndAllowThreads(__tstate
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19750 Py_INCREF(Py_None
); resultobj
= Py_None
;
19757 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
;
19759 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19761 PyObject
* obj0
= 0 ;
19762 char *kwnames
[] = {
19763 (char *) "self", NULL
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= (int)(arg1
)->MainLoop();
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19776 resultobj
= SWIG_FromInt((int)result
);
19783 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19786 PyObject
* obj0
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "self", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 Py_INCREF(Py_None
); resultobj
= Py_None
;
19808 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19811 PyObject
* obj0
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 (arg1
)->ExitMainLoop();
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 Py_INCREF(Py_None
); resultobj
= Py_None
;
19833 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19837 PyObject
* obj0
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 result
= (bool)(arg1
)->Pending();
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19861 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
;
19863 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 result
= (bool)(arg1
)->Dispatch();
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19889 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 result
= (bool)(arg1
)->ProcessIdle();
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19917 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
;
19919 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19920 wxWindow
*arg2
= (wxWindow
*) 0 ;
19921 wxIdleEvent
*arg3
= 0 ;
19923 PyObject
* obj0
= 0 ;
19924 PyObject
* obj1
= 0 ;
19925 PyObject
* obj2
= 0 ;
19926 char *kwnames
[] = {
19927 (char *) "self",(char *) "win",(char *) "event", NULL
19930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19935 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19938 if (arg3
== NULL
) {
19939 PyErr_SetString(PyExc_TypeError
,"null reference");
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19958 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
;
19960 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19962 PyObject
* obj0
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19986 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
;
19988 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19989 wxWindow
*arg2
= (wxWindow
*) 0 ;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19992 char *kwnames
[] = {
19993 (char *) "self",(char *) "win", NULL
19996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 (arg1
)->SetTopWindow(arg2
);
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 Py_INCREF(Py_None
); resultobj
= Py_None
;
20015 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
;
20017 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20019 PyObject
* obj0
= 0 ;
20020 char *kwnames
[] = {
20021 (char *) "self", NULL
20024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20029 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20031 wxPyEndAllowThreads(__tstate
);
20032 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= wxPyMake_wxObject(result
);
20043 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
;
20045 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 PyObject
* obj1
= 0 ;
20049 char *kwnames
[] = {
20050 (char *) "self",(char *) "flag", NULL
20053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20056 arg2
= (bool) SWIG_AsBool(obj1
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 (arg1
)->SetExitOnFrameDelete(arg2
);
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 Py_INCREF(Py_None
); resultobj
= Py_None
;
20072 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self", NULL
20081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20100 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20104 PyObject
* obj0
= 0 ;
20105 PyObject
* obj1
= 0 ;
20106 char *kwnames
[] = {
20107 (char *) "self",(char *) "flag", NULL
20110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20113 arg2
= (bool) SWIG_AsBool(obj1
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 (arg1
)->SetUseBestVisual(arg2
);
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20122 Py_INCREF(Py_None
); resultobj
= Py_None
;
20129 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
;
20131 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20133 PyObject
* obj0
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "self", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20157 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
;
20159 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 char *kwnames
[] = {
20164 (char *) "self",(char *) "mode", NULL
20167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20170 arg2
= (int) SWIG_AsInt(obj1
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 (arg1
)->SetPrintMode(arg2
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 Py_INCREF(Py_None
); resultobj
= Py_None
;
20186 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
;
20188 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20190 PyObject
* obj0
= 0 ;
20191 char *kwnames
[] = {
20192 (char *) "self", NULL
20195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20200 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20202 wxPyEndAllowThreads(__tstate
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20205 resultobj
= SWIG_FromInt((int)result
);
20212 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
;
20214 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20216 PyObject
* obj0
= 0 ;
20217 PyObject
* obj1
= 0 ;
20218 char *kwnames
[] = {
20219 (char *) "self",(char *) "mode", NULL
20222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20225 arg2
= (int) SWIG_AsInt(obj1
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 (arg1
)->SetAssertMode(arg2
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 Py_INCREF(Py_None
); resultobj
= Py_None
;
20241 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
;
20243 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20245 PyObject
* obj0
= 0 ;
20246 char *kwnames
[] = {
20247 (char *) "self", NULL
20250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 result
= (int)(arg1
)->GetAssertMode();
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= SWIG_FromInt((int)result
);
20267 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20268 PyObject
*resultobj
;
20270 char *kwnames
[] = {
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20291 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
;
20294 char *kwnames
[] = {
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 resultobj
= SWIG_FromLong((long)result
);
20313 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20314 PyObject
*resultobj
;
20316 char *kwnames
[] = {
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 resultobj
= SWIG_FromLong((long)result
);
20335 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20338 char *kwnames
[] = {
20342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 result
= (long)wxPyApp::GetMacExitMenuItemId();
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 resultobj
= SWIG_FromLong((long)result
);
20357 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20358 PyObject
*resultobj
;
20360 char *kwnames
[] = {
20364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= wxPyApp::GetMacHelpMenuTitleName();
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20385 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20386 PyObject
*resultobj
;
20388 PyObject
* obj0
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "val", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20394 arg1
= (bool) SWIG_AsBool(obj0
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 Py_INCREF(Py_None
); resultobj
= Py_None
;
20410 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20413 PyObject
* obj0
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "val", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20419 arg1
= (long) SWIG_AsLong(obj0
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 wxPyApp::SetMacAboutMenuItemId(arg1
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 Py_INCREF(Py_None
); resultobj
= Py_None
;
20435 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
;
20438 PyObject
* obj0
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "val", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20444 arg1
= (long) SWIG_AsLong(obj0
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 Py_INCREF(Py_None
); resultobj
= Py_None
;
20460 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20463 PyObject
* obj0
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "val", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20469 arg1
= (long) SWIG_AsLong(obj0
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 wxPyApp::SetMacExitMenuItemId(arg1
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 Py_INCREF(Py_None
); resultobj
= Py_None
;
20485 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
;
20487 wxString
*arg1
= 0 ;
20488 bool temp1
= False
;
20489 PyObject
* obj0
= 0 ;
20490 char *kwnames
[] = {
20491 (char *) "val", NULL
20494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20496 arg1
= wxString_in_helper(obj0
);
20497 if (arg1
== NULL
) SWIG_fail
;
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20502 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20507 Py_INCREF(Py_None
); resultobj
= Py_None
;
20522 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20525 PyObject
* obj0
= 0 ;
20526 char *kwnames
[] = {
20527 (char *) "self", NULL
20530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 (arg1
)->_BootstrapApp();
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 Py_INCREF(Py_None
); resultobj
= Py_None
;
20547 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20550 char *kwnames
[] = {
20554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (int)PyApp_GetComCtl32Version();
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= SWIG_FromInt((int)result
);
20569 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20572 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20574 return Py_BuildValue((char *)"");
20576 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
;
20578 char *kwnames
[] = {
20582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 Py_INCREF(Py_None
); resultobj
= Py_None
;
20597 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
;
20600 char *kwnames
[] = {
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 result
= (bool)wxYield();
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20621 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
;
20624 char *kwnames
[] = {
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (bool)wxYieldIfNeeded();
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20645 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20646 PyObject
*resultobj
;
20647 wxWindow
*arg1
= (wxWindow
*) NULL
;
20648 bool arg2
= (bool) False
;
20650 PyObject
* obj0
= 0 ;
20651 PyObject
* obj1
= 0 ;
20652 char *kwnames
[] = {
20653 (char *) "win",(char *) "onlyIfNeeded", NULL
20656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20662 arg2
= (bool) SWIG_AsBool(obj1
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 result
= (bool)wxSafeYield(arg1
,arg2
);
20669 wxPyEndAllowThreads(__tstate
);
20670 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20681 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
;
20683 char *kwnames
[] = {
20687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 Py_INCREF(Py_None
); resultobj
= Py_None
;
20702 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
;
20704 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20705 wxEvent
*arg2
= 0 ;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 char *kwnames
[] = {
20709 (char *) "dest",(char *) "event", NULL
20712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20718 if (arg2
== NULL
) {
20719 PyErr_SetString(PyExc_TypeError
,"null reference");
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 wxPostEvent(arg1
,*arg2
);
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 Py_INCREF(Py_None
); resultobj
= Py_None
;
20736 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
;
20738 char *kwnames
[] = {
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20750 Py_INCREF(Py_None
); resultobj
= Py_None
;
20757 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20760 char *kwnames
[] = {
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 result
= (wxPyApp
*)wxGetApp();
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= wxPyMake_wxObject(result
);
20781 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
;
20783 int arg1
= (int) 0 ;
20784 int arg2
= (int) 0 ;
20785 int arg3
= (int) 0 ;
20786 wxAcceleratorEntry
*result
;
20787 PyObject
* obj0
= 0 ;
20788 PyObject
* obj1
= 0 ;
20789 PyObject
* obj2
= 0 ;
20790 char *kwnames
[] = {
20791 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20796 arg1
= (int) SWIG_AsInt(obj0
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20800 arg2
= (int) SWIG_AsInt(obj1
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20804 arg3
= (int) SWIG_AsInt(obj2
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20821 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
;
20823 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20824 PyObject
* obj0
= 0 ;
20825 char *kwnames
[] = {
20826 (char *) "self", NULL
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 Py_INCREF(Py_None
); resultobj
= Py_None
;
20846 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20848 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 PyObject
* obj1
= 0 ;
20854 PyObject
* obj2
= 0 ;
20855 PyObject
* obj3
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20863 arg2
= (int) SWIG_AsInt(obj1
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20865 arg3
= (int) SWIG_AsInt(obj2
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20867 arg4
= (int) SWIG_AsInt(obj3
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 (arg1
)->Set(arg2
,arg3
,arg4
);
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 Py_INCREF(Py_None
); resultobj
= Py_None
;
20883 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
;
20885 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20887 PyObject
* obj0
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "self", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (int)(arg1
)->GetFlags();
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= SWIG_FromInt((int)result
);
20909 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20913 PyObject
* obj0
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (int)(arg1
)->GetKeyCode();
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= SWIG_FromInt((int)result
);
20935 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20936 PyObject
*resultobj
;
20937 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20939 PyObject
* obj0
= 0 ;
20940 char *kwnames
[] = {
20941 (char *) "self", NULL
20944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 result
= (int)(arg1
)->GetCommand();
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= SWIG_FromInt((int)result
);
20961 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20964 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20966 return Py_BuildValue((char *)"");
20968 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20971 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20972 wxAcceleratorTable
*result
;
20973 PyObject
* obj0
= 0 ;
20974 char *kwnames
[] = {
20978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20980 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20981 if (arg2
) arg1
= PyList_Size(obj0
);
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21004 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
;
21006 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21007 PyObject
* obj0
= 0 ;
21008 char *kwnames
[] = {
21009 (char *) "self", NULL
21012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21022 Py_INCREF(Py_None
); resultobj
= Py_None
;
21029 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 char *kwnames
[] = {
21035 (char *) "self", NULL
21038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21057 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21060 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21062 return Py_BuildValue((char *)"");
21064 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21065 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21070 static PyObject
*_wrap_NullAcceleratorTable_get() {
21073 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21078 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
;
21080 wxString
*arg1
= 0 ;
21081 wxAcceleratorEntry
*result
;
21082 bool temp1
= False
;
21083 PyObject
* obj0
= 0 ;
21084 char *kwnames
[] = {
21085 (char *) "label", NULL
21088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21090 arg1
= wxString_in_helper(obj0
);
21091 if (arg1
== NULL
) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21116 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21117 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21122 static PyObject
*_wrap_PanelNameStr_get() {
21127 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21129 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21136 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxVisualAttributes
*result
;
21139 char *kwnames
[] = {
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21158 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
;
21160 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21161 PyObject
* obj0
= 0 ;
21162 char *kwnames
[] = {
21163 (char *) "self", NULL
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 delete_wxVisualAttributes(arg1
);
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21176 Py_INCREF(Py_None
); resultobj
= Py_None
;
21183 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
;
21185 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21186 wxFont
*arg2
= (wxFont
*) 0 ;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 char *kwnames
[] = {
21190 (char *) "self",(char *) "font", NULL
21193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21198 if (arg1
) (arg1
)->font
= *arg2
;
21200 Py_INCREF(Py_None
); resultobj
= Py_None
;
21207 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21219 result
= (wxFont
*)& ((arg1
)->font
);
21221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21228 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
;
21230 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21231 wxColour
*arg2
= (wxColour
*) 0 ;
21232 PyObject
* obj0
= 0 ;
21233 PyObject
* obj1
= 0 ;
21234 char *kwnames
[] = {
21235 (char *) "self",(char *) "colFg", NULL
21238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21243 if (arg1
) (arg1
)->colFg
= *arg2
;
21245 Py_INCREF(Py_None
); resultobj
= Py_None
;
21252 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
;
21254 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21256 PyObject
* obj0
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "self", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21264 result
= (wxColour
*)& ((arg1
)->colFg
);
21266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21273 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
;
21275 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21276 wxColour
*arg2
= (wxColour
*) 0 ;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self",(char *) "colBg", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21288 if (arg1
) (arg1
)->colBg
= *arg2
;
21290 Py_INCREF(Py_None
); resultobj
= Py_None
;
21297 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
;
21299 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21301 PyObject
* obj0
= 0 ;
21302 char *kwnames
[] = {
21303 (char *) "self", NULL
21306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21309 result
= (wxColour
*)& ((arg1
)->colBg
);
21311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21318 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21321 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21323 return Py_BuildValue((char *)"");
21325 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21326 PyObject
*resultobj
;
21327 wxWindow
*arg1
= (wxWindow
*) 0 ;
21328 int arg2
= (int) (int)-1 ;
21329 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21330 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21331 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21332 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21333 long arg5
= (long) 0 ;
21334 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21335 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21339 bool temp6
= False
;
21340 PyObject
* obj0
= 0 ;
21341 PyObject
* obj1
= 0 ;
21342 PyObject
* obj2
= 0 ;
21343 PyObject
* obj3
= 0 ;
21344 PyObject
* obj4
= 0 ;
21345 PyObject
* obj5
= 0 ;
21346 char *kwnames
[] = {
21347 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21354 arg2
= (int const) SWIG_AsInt(obj1
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21360 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21366 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21370 arg5
= (long) SWIG_AsLong(obj4
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21375 arg6
= wxString_in_helper(obj5
);
21376 if (arg6
== NULL
) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= wxPyMake_wxObject(result
);
21404 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
;
21407 char *kwnames
[] = {
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 result
= (wxWindow
*)new wxWindow();
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= wxPyMake_wxObject(result
);
21428 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21429 PyObject
*resultobj
;
21430 wxWindow
*arg1
= (wxWindow
*) 0 ;
21431 wxWindow
*arg2
= (wxWindow
*) 0 ;
21432 int arg3
= (int) (int)-1 ;
21433 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21434 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21435 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21436 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21437 long arg6
= (long) 0 ;
21438 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21439 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21443 bool temp7
= False
;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 PyObject
* obj2
= 0 ;
21447 PyObject
* obj3
= 0 ;
21448 PyObject
* obj4
= 0 ;
21449 PyObject
* obj5
= 0 ;
21450 PyObject
* obj6
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21461 arg3
= (int const) SWIG_AsInt(obj2
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21467 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21473 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21477 arg6
= (long) SWIG_AsLong(obj5
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21482 arg7
= wxString_in_helper(obj6
);
21483 if (arg7
== NULL
) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21511 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
;
21513 wxWindow
*arg1
= (wxWindow
*) 0 ;
21514 bool arg2
= (bool) False
;
21516 PyObject
* obj0
= 0 ;
21517 PyObject
* obj1
= 0 ;
21518 char *kwnames
[] = {
21519 (char *) "self",(char *) "force", NULL
21522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21526 arg2
= (bool) SWIG_AsBool(obj1
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 result
= (bool)(arg1
)->Close(arg2
);
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21545 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21546 PyObject
*resultobj
;
21547 wxWindow
*arg1
= (wxWindow
*) 0 ;
21549 PyObject
* obj0
= 0 ;
21550 char *kwnames
[] = {
21551 (char *) "self", NULL
21554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 result
= (bool)(arg1
)->Destroy();
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21573 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxWindow
*arg1
= (wxWindow
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 result
= (bool)(arg1
)->DestroyChildren();
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21601 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21603 wxWindow
*arg1
= (wxWindow
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 char *kwnames
[] = {
21607 (char *) "self", NULL
21610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21629 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21630 PyObject
*resultobj
;
21631 wxWindow
*arg1
= (wxWindow
*) 0 ;
21632 wxString
*arg2
= 0 ;
21633 bool temp2
= False
;
21634 PyObject
* obj0
= 0 ;
21635 PyObject
* obj1
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self",(char *) "title", NULL
21640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21644 arg2
= wxString_in_helper(obj1
);
21645 if (arg2
== NULL
) SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 (arg1
)->SetTitle((wxString
const &)*arg2
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 Py_INCREF(Py_None
); resultobj
= Py_None
;
21670 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
;
21672 wxWindow
*arg1
= (wxWindow
*) 0 ;
21674 PyObject
* obj0
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 result
= ((wxWindow
const *)arg1
)->GetTitle();
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21702 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21704 wxWindow
*arg1
= (wxWindow
*) 0 ;
21705 wxString
*arg2
= 0 ;
21706 bool temp2
= False
;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self",(char *) "label", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21717 arg2
= wxString_in_helper(obj1
);
21718 if (arg2
== NULL
) SWIG_fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 (arg1
)->SetLabel((wxString
const &)*arg2
);
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21728 Py_INCREF(Py_None
); resultobj
= Py_None
;
21743 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxWindow
*arg1
= (wxWindow
*) 0 ;
21747 PyObject
* obj0
= 0 ;
21748 char *kwnames
[] = {
21749 (char *) "self", NULL
21752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 result
= ((wxWindow
const *)arg1
)->GetLabel();
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21775 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxWindow
*arg1
= (wxWindow
*) 0 ;
21778 wxString
*arg2
= 0 ;
21779 bool temp2
= False
;
21780 PyObject
* obj0
= 0 ;
21781 PyObject
* obj1
= 0 ;
21782 char *kwnames
[] = {
21783 (char *) "self",(char *) "name", NULL
21786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21790 arg2
= wxString_in_helper(obj1
);
21791 if (arg2
== NULL
) SWIG_fail
;
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 (arg1
)->SetName((wxString
const &)*arg2
);
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21801 Py_INCREF(Py_None
); resultobj
= Py_None
;
21816 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
;
21818 wxWindow
*arg1
= (wxWindow
*) 0 ;
21820 PyObject
* obj0
= 0 ;
21821 char *kwnames
[] = {
21822 (char *) "self", NULL
21825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= ((wxWindow
const *)arg1
)->GetName();
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21848 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21849 PyObject
*resultobj
;
21850 wxWindow
*arg1
= (wxWindow
*) 0 ;
21852 PyObject
* obj0
= 0 ;
21853 PyObject
* obj1
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self",(char *) "variant", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21861 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 Py_INCREF(Py_None
); resultobj
= Py_None
;
21877 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxWindow
*arg1
= (wxWindow
*) 0 ;
21881 PyObject
* obj0
= 0 ;
21882 char *kwnames
[] = {
21883 (char *) "self", NULL
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= SWIG_FromInt((int)result
);
21903 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxWindow
*arg1
= (wxWindow
*) 0 ;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self",(char *) "winid", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21916 arg2
= (int) SWIG_AsInt(obj1
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 (arg1
)->SetId(arg2
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 Py_INCREF(Py_None
); resultobj
= Py_None
;
21932 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxWindow
*arg1
= (wxWindow
*) 0 ;
21936 PyObject
* obj0
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 result
= (int)((wxWindow
const *)arg1
)->GetId();
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 resultobj
= SWIG_FromInt((int)result
);
21958 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21959 PyObject
*resultobj
;
21961 char *kwnames
[] = {
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 result
= (int)wxWindow::NewControlId();
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21973 resultobj
= SWIG_FromInt((int)result
);
21980 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
;
21984 PyObject
* obj0
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "winid", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21990 arg1
= (int) SWIG_AsInt(obj0
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= (int)wxWindow::NextControlId(arg1
);
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 resultobj
= SWIG_FromInt((int)result
);
22006 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22007 PyObject
*resultobj
;
22010 PyObject
* obj0
= 0 ;
22011 char *kwnames
[] = {
22012 (char *) "winid", NULL
22015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22016 arg1
= (int) SWIG_AsInt(obj0
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 result
= (int)wxWindow::PrevControlId(arg1
);
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 resultobj
= SWIG_FromInt((int)result
);
22032 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22033 PyObject
*resultobj
;
22034 wxWindow
*arg1
= (wxWindow
*) 0 ;
22037 PyObject
* obj0
= 0 ;
22038 PyObject
* obj1
= 0 ;
22039 char *kwnames
[] = {
22040 (char *) "self",(char *) "size", NULL
22043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22048 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 (arg1
)->SetSize((wxSize
const &)*arg2
);
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 Py_INCREF(Py_None
); resultobj
= Py_None
;
22064 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 wxWindow
*arg1
= (wxWindow
*) 0 ;
22071 int arg6
= (int) wxSIZE_AUTO
;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 PyObject
* obj2
= 0 ;
22075 PyObject
* obj3
= 0 ;
22076 PyObject
* obj4
= 0 ;
22077 PyObject
* obj5
= 0 ;
22078 char *kwnames
[] = {
22079 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22085 arg2
= (int) SWIG_AsInt(obj1
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22087 arg3
= (int) SWIG_AsInt(obj2
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22089 arg4
= (int) SWIG_AsInt(obj3
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22091 arg5
= (int) SWIG_AsInt(obj4
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 arg6
= (int) SWIG_AsInt(obj5
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 Py_INCREF(Py_None
); resultobj
= Py_None
;
22111 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxWindow
*arg1
= (wxWindow
*) 0 ;
22115 int arg3
= (int) wxSIZE_AUTO
;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 PyObject
* obj2
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22129 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22132 arg3
= (int) SWIG_AsInt(obj2
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22137 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22139 wxPyEndAllowThreads(__tstate
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22142 Py_INCREF(Py_None
); resultobj
= Py_None
;
22149 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
;
22151 wxWindow
*arg1
= (wxWindow
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 PyObject
* obj2
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self",(char *) "width",(char *) "height", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22164 arg2
= (int) SWIG_AsInt(obj1
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22166 arg3
= (int) SWIG_AsInt(obj2
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 (arg1
)->SetSize(arg2
,arg3
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 Py_INCREF(Py_None
); resultobj
= Py_None
;
22182 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22183 PyObject
*resultobj
;
22184 wxWindow
*arg1
= (wxWindow
*) 0 ;
22185 wxPoint
*arg2
= 0 ;
22186 int arg3
= (int) wxSIZE_USE_EXISTING
;
22188 PyObject
* obj0
= 0 ;
22189 PyObject
* obj1
= 0 ;
22190 PyObject
* obj2
= 0 ;
22191 char *kwnames
[] = {
22192 (char *) "self",(char *) "pt",(char *) "flags", NULL
22195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22203 arg3
= (int) SWIG_AsInt(obj2
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 Py_INCREF(Py_None
); resultobj
= Py_None
;
22220 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxWindow
*arg1
= (wxWindow
*) 0 ;
22225 int arg4
= (int) wxSIZE_USE_EXISTING
;
22226 PyObject
* obj0
= 0 ;
22227 PyObject
* obj1
= 0 ;
22228 PyObject
* obj2
= 0 ;
22229 PyObject
* obj3
= 0 ;
22230 char *kwnames
[] = {
22231 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22237 arg2
= (int) SWIG_AsInt(obj1
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22239 arg3
= (int) SWIG_AsInt(obj2
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 arg4
= (int) SWIG_AsInt(obj3
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 (arg1
)->Move(arg2
,arg3
,arg4
);
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 Py_INCREF(Py_None
); resultobj
= Py_None
;
22259 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
;
22261 wxWindow
*arg1
= (wxWindow
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 char *kwnames
[] = {
22264 (char *) "self", NULL
22267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22277 Py_INCREF(Py_None
); resultobj
= Py_None
;
22284 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
;
22286 wxWindow
*arg1
= (wxWindow
*) 0 ;
22287 PyObject
* obj0
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22302 Py_INCREF(Py_None
); resultobj
= Py_None
;
22309 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
;
22311 wxWindow
*arg1
= (wxWindow
*) 0 ;
22314 PyObject
* obj0
= 0 ;
22315 PyObject
* obj1
= 0 ;
22316 char *kwnames
[] = {
22317 (char *) "self",(char *) "size", NULL
22320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22325 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22334 Py_INCREF(Py_None
); resultobj
= Py_None
;
22341 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22342 PyObject
*resultobj
;
22343 wxWindow
*arg1
= (wxWindow
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22348 PyObject
* obj2
= 0 ;
22349 char *kwnames
[] = {
22350 (char *) "self",(char *) "width",(char *) "height", NULL
22353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22356 arg2
= (int) SWIG_AsInt(obj1
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22358 arg3
= (int) SWIG_AsInt(obj2
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 (arg1
)->SetClientSize(arg2
,arg3
);
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 Py_INCREF(Py_None
); resultobj
= Py_None
;
22374 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxWindow
*arg1
= (wxWindow
*) 0 ;
22379 PyObject
* obj0
= 0 ;
22380 PyObject
* obj1
= 0 ;
22381 char *kwnames
[] = {
22382 (char *) "self",(char *) "rect", NULL
22385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22390 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 Py_INCREF(Py_None
); resultobj
= Py_None
;
22406 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
;
22408 wxWindow
*arg1
= (wxWindow
*) 0 ;
22410 PyObject
* obj0
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 result
= (arg1
)->GetPosition();
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22426 wxPoint
* resultptr
;
22427 resultptr
= new wxPoint((wxPoint
&) result
);
22428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22436 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxWindow
*arg1
= (wxWindow
*) 0 ;
22439 int *arg2
= (int *) 0 ;
22440 int *arg3
= (int *) 0 ;
22443 PyObject
* obj0
= 0 ;
22444 char *kwnames
[] = {
22445 (char *) "self", NULL
22450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22455 (arg1
)->GetPosition(arg2
,arg3
);
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 Py_INCREF(Py_None
); resultobj
= Py_None
;
22462 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22463 resultobj
= t_output_helper(resultobj
,o
);
22466 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22467 resultobj
= t_output_helper(resultobj
,o
);
22475 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxWindow
*arg1
= (wxWindow
*) 0 ;
22479 PyObject
* obj0
= 0 ;
22480 char *kwnames
[] = {
22481 (char *) "self", NULL
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 result
= ((wxWindow
const *)arg1
)->GetSize();
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22495 wxSize
* resultptr
;
22496 resultptr
= new wxSize((wxSize
&) result
);
22497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22505 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
;
22507 wxWindow
*arg1
= (wxWindow
*) 0 ;
22508 int *arg2
= (int *) 0 ;
22509 int *arg3
= (int *) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 char *kwnames
[] = {
22514 (char *) "self", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22524 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22526 wxPyEndAllowThreads(__tstate
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 Py_INCREF(Py_None
); resultobj
= Py_None
;
22531 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22532 resultobj
= t_output_helper(resultobj
,o
);
22535 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22536 resultobj
= t_output_helper(resultobj
,o
);
22544 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxWindow
*arg1
= (wxWindow
*) 0 ;
22548 PyObject
* obj0
= 0 ;
22549 char *kwnames
[] = {
22550 (char *) "self", NULL
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22558 result
= ((wxWindow
const *)arg1
)->GetRect();
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22564 wxRect
* resultptr
;
22565 resultptr
= new wxRect((wxRect
&) result
);
22566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22574 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22575 PyObject
*resultobj
;
22576 wxWindow
*arg1
= (wxWindow
*) 0 ;
22578 PyObject
* obj0
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "self", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22594 wxSize
* resultptr
;
22595 resultptr
= new wxSize((wxSize
&) result
);
22596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22604 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
;
22606 wxWindow
*arg1
= (wxWindow
*) 0 ;
22607 int *arg2
= (int *) 0 ;
22608 int *arg3
= (int *) 0 ;
22611 PyObject
* obj0
= 0 ;
22612 char *kwnames
[] = {
22613 (char *) "self", NULL
22618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22623 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 Py_INCREF(Py_None
); resultobj
= Py_None
;
22630 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22631 resultobj
= t_output_helper(resultobj
,o
);
22634 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22635 resultobj
= t_output_helper(resultobj
,o
);
22643 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
;
22645 wxWindow
*arg1
= (wxWindow
*) 0 ;
22647 PyObject
* obj0
= 0 ;
22648 char *kwnames
[] = {
22649 (char *) "self", NULL
22652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22663 wxPoint
* resultptr
;
22664 resultptr
= new wxPoint((wxPoint
&) result
);
22665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22673 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22674 PyObject
*resultobj
;
22675 wxWindow
*arg1
= (wxWindow
*) 0 ;
22677 PyObject
* obj0
= 0 ;
22678 char *kwnames
[] = {
22679 (char *) "self", NULL
22682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22693 wxRect
* resultptr
;
22694 resultptr
= new wxRect((wxRect
&) result
);
22695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22703 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxWindow
*arg1
= (wxWindow
*) 0 ;
22707 PyObject
* obj0
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22723 wxSize
* resultptr
;
22724 resultptr
= new wxSize((wxSize
&) result
);
22725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22733 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 wxWindow
*arg1
= (wxWindow
*) 0 ;
22736 int *arg2
= (int *) 0 ;
22737 int *arg3
= (int *) 0 ;
22740 PyObject
* obj0
= 0 ;
22741 char *kwnames
[] = {
22742 (char *) "self", NULL
22747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 Py_INCREF(Py_None
); resultobj
= Py_None
;
22759 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22760 resultobj
= t_output_helper(resultobj
,o
);
22763 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22764 resultobj
= t_output_helper(resultobj
,o
);
22772 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22773 PyObject
*resultobj
;
22774 wxWindow
*arg1
= (wxWindow
*) 0 ;
22776 PyObject
* obj0
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22792 wxSize
* resultptr
;
22793 resultptr
= new wxSize((wxSize
&) result
);
22794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22802 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22803 PyObject
*resultobj
;
22804 wxWindow
*arg1
= (wxWindow
*) 0 ;
22805 int arg2
= (int) wxBOTH
;
22806 PyObject
* obj0
= 0 ;
22807 PyObject
* obj1
= 0 ;
22808 char *kwnames
[] = {
22809 (char *) "self",(char *) "direction", NULL
22812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22816 arg2
= (int) SWIG_AsInt(obj1
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 (arg1
)->Center(arg2
);
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 Py_INCREF(Py_None
); resultobj
= Py_None
;
22833 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22834 PyObject
*resultobj
;
22835 wxWindow
*arg1
= (wxWindow
*) 0 ;
22836 int arg2
= (int) wxBOTH
;
22837 PyObject
* obj0
= 0 ;
22838 PyObject
* obj1
= 0 ;
22839 char *kwnames
[] = {
22840 (char *) "self",(char *) "dir", NULL
22843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22847 arg2
= (int) SWIG_AsInt(obj1
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 (arg1
)->CenterOnScreen(arg2
);
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 Py_INCREF(Py_None
); resultobj
= Py_None
;
22864 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22865 PyObject
*resultobj
;
22866 wxWindow
*arg1
= (wxWindow
*) 0 ;
22867 int arg2
= (int) wxBOTH
;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self",(char *) "dir", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22878 arg2
= (int) SWIG_AsInt(obj1
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 (arg1
)->CenterOnParent(arg2
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 Py_INCREF(Py_None
); resultobj
= Py_None
;
22895 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxWindow
*arg1
= (wxWindow
*) 0 ;
22898 PyObject
* obj0
= 0 ;
22899 char *kwnames
[] = {
22900 (char *) "self", NULL
22903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 Py_INCREF(Py_None
); resultobj
= Py_None
;
22920 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
;
22922 wxWindow
*arg1
= (wxWindow
*) 0 ;
22923 PyObject
* obj0
= 0 ;
22924 char *kwnames
[] = {
22925 (char *) "self", NULL
22928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 (arg1
)->FitInside();
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 Py_INCREF(Py_None
); resultobj
= Py_None
;
22945 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22946 PyObject
*resultobj
;
22947 wxWindow
*arg1
= (wxWindow
*) 0 ;
22950 int arg4
= (int) -1 ;
22951 int arg5
= (int) -1 ;
22952 int arg6
= (int) -1 ;
22953 int arg7
= (int) -1 ;
22954 PyObject
* obj0
= 0 ;
22955 PyObject
* obj1
= 0 ;
22956 PyObject
* obj2
= 0 ;
22957 PyObject
* obj3
= 0 ;
22958 PyObject
* obj4
= 0 ;
22959 PyObject
* obj5
= 0 ;
22960 PyObject
* obj6
= 0 ;
22962 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22965 arg2
= (int) SWIG_AsInt(obj1
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22967 arg3
= (int) SWIG_AsInt(obj2
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 arg4
= (int) SWIG_AsInt(obj3
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22974 arg5
= (int) SWIG_AsInt(obj4
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22978 arg6
= (int) SWIG_AsInt(obj5
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22982 arg7
= (int) SWIG_AsInt(obj6
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 Py_INCREF(Py_None
); resultobj
= Py_None
;
22999 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23000 PyObject
*resultobj
;
23001 wxWindow
*arg1
= (wxWindow
*) 0 ;
23003 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23004 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23005 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23006 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23010 PyObject
* obj0
= 0 ;
23011 PyObject
* obj1
= 0 ;
23012 PyObject
* obj2
= 0 ;
23013 PyObject
* obj3
= 0 ;
23015 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23020 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23025 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23031 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 Py_INCREF(Py_None
); resultobj
= Py_None
;
23048 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23053 argc
= PyObject_Length(args
);
23054 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23055 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23057 if ((argc
>= 2) && (argc
<= 4)) {
23061 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23070 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23074 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23077 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23081 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23084 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23087 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23093 if ((argc
>= 3) && (argc
<= 7)) {
23097 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23105 _v
= SWIG_CheckInt(argv
[1]);
23107 _v
= SWIG_CheckInt(argv
[2]);
23110 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23112 _v
= SWIG_CheckInt(argv
[3]);
23115 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23117 _v
= SWIG_CheckInt(argv
[4]);
23120 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23122 _v
= SWIG_CheckInt(argv
[5]);
23125 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23127 _v
= SWIG_CheckInt(argv
[6]);
23129 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23139 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23144 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23145 PyObject
*resultobj
;
23146 wxWindow
*arg1
= (wxWindow
*) 0 ;
23149 int arg4
= (int) -1 ;
23150 int arg5
= (int) -1 ;
23151 PyObject
* obj0
= 0 ;
23152 PyObject
* obj1
= 0 ;
23153 PyObject
* obj2
= 0 ;
23154 PyObject
* obj3
= 0 ;
23155 PyObject
* obj4
= 0 ;
23157 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23160 arg2
= (int) SWIG_AsInt(obj1
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23162 arg3
= (int) SWIG_AsInt(obj2
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 arg4
= (int) SWIG_AsInt(obj3
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23169 arg5
= (int) SWIG_AsInt(obj4
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 Py_INCREF(Py_None
); resultobj
= Py_None
;
23186 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23187 PyObject
*resultobj
;
23188 wxWindow
*arg1
= (wxWindow
*) 0 ;
23190 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23191 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 PyObject
* obj2
= 0 ;
23198 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23203 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23208 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 Py_INCREF(Py_None
); resultobj
= Py_None
;
23225 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23230 argc
= PyObject_Length(args
);
23231 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23232 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23234 if ((argc
>= 2) && (argc
<= 3)) {
23238 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23247 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23251 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23254 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23257 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23262 if ((argc
>= 3) && (argc
<= 5)) {
23266 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23274 _v
= SWIG_CheckInt(argv
[1]);
23276 _v
= SWIG_CheckInt(argv
[2]);
23279 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23281 _v
= SWIG_CheckInt(argv
[3]);
23284 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23286 _v
= SWIG_CheckInt(argv
[4]);
23288 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23296 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23301 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxWindow
*arg1
= (wxWindow
*) 0 ;
23305 PyObject
* obj0
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23320 resultobj
= SWIG_FromInt((int)result
);
23327 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23328 PyObject
*resultobj
;
23329 wxWindow
*arg1
= (wxWindow
*) 0 ;
23331 PyObject
* obj0
= 0 ;
23332 char *kwnames
[] = {
23333 (char *) "self", NULL
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23346 resultobj
= SWIG_FromInt((int)result
);
23353 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23354 PyObject
*resultobj
;
23355 wxWindow
*arg1
= (wxWindow
*) 0 ;
23357 PyObject
* obj0
= 0 ;
23358 char *kwnames
[] = {
23359 (char *) "self", NULL
23362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 resultobj
= SWIG_FromInt((int)result
);
23379 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxWindow
*arg1
= (wxWindow
*) 0 ;
23383 PyObject
* obj0
= 0 ;
23384 char *kwnames
[] = {
23385 (char *) "self", NULL
23388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 resultobj
= SWIG_FromInt((int)result
);
23405 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
;
23407 wxWindow
*arg1
= (wxWindow
*) 0 ;
23409 PyObject
* obj0
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23425 wxSize
* resultptr
;
23426 resultptr
= new wxSize((wxSize
&) result
);
23427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23435 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23437 wxWindow
*arg1
= (wxWindow
*) 0 ;
23439 PyObject
* obj0
= 0 ;
23440 char *kwnames
[] = {
23441 (char *) "self", NULL
23444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23455 wxSize
* resultptr
;
23456 resultptr
= new wxSize((wxSize
&) result
);
23457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23465 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxWindow
*arg1
= (wxWindow
*) 0 ;
23470 PyObject
* obj0
= 0 ;
23471 PyObject
* obj1
= 0 ;
23472 char *kwnames
[] = {
23473 (char *) "self",(char *) "size", NULL
23476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23481 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 Py_INCREF(Py_None
); resultobj
= Py_None
;
23497 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
;
23499 wxWindow
*arg1
= (wxWindow
*) 0 ;
23502 PyObject
* obj0
= 0 ;
23503 PyObject
* obj1
= 0 ;
23504 PyObject
* obj2
= 0 ;
23505 char *kwnames
[] = {
23506 (char *) "self",(char *) "w",(char *) "h", NULL
23509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23512 arg2
= (int) SWIG_AsInt(obj1
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23514 arg3
= (int) SWIG_AsInt(obj2
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 (arg1
)->SetVirtualSize(arg2
,arg3
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 Py_INCREF(Py_None
); resultobj
= Py_None
;
23530 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
;
23532 wxWindow
*arg1
= (wxWindow
*) 0 ;
23534 PyObject
* obj0
= 0 ;
23535 char *kwnames
[] = {
23536 (char *) "self", NULL
23539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23550 wxSize
* resultptr
;
23551 resultptr
= new wxSize((wxSize
&) result
);
23552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23560 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
;
23562 wxWindow
*arg1
= (wxWindow
*) 0 ;
23563 int *arg2
= (int *) 0 ;
23564 int *arg3
= (int *) 0 ;
23567 PyObject
* obj0
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "self", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 Py_INCREF(Py_None
); resultobj
= Py_None
;
23586 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23587 resultobj
= t_output_helper(resultobj
,o
);
23590 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23591 resultobj
= t_output_helper(resultobj
,o
);
23599 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
;
23601 wxWindow
*arg1
= (wxWindow
*) 0 ;
23603 PyObject
* obj0
= 0 ;
23604 char *kwnames
[] = {
23605 (char *) "self", NULL
23608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23619 wxSize
* resultptr
;
23620 resultptr
= new wxSize((wxSize
&) result
);
23621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23629 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23630 PyObject
*resultobj
;
23631 wxWindow
*arg1
= (wxWindow
*) 0 ;
23632 bool arg2
= (bool) True
;
23634 PyObject
* obj0
= 0 ;
23635 PyObject
* obj1
= 0 ;
23636 char *kwnames
[] = {
23637 (char *) "self",(char *) "show", NULL
23640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23644 arg2
= (bool) SWIG_AsBool(obj1
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= (bool)(arg1
)->Show(arg2
);
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23663 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
;
23665 wxWindow
*arg1
= (wxWindow
*) 0 ;
23667 PyObject
* obj0
= 0 ;
23668 char *kwnames
[] = {
23669 (char *) "self", NULL
23672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 result
= (bool)(arg1
)->Hide();
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23691 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23693 wxWindow
*arg1
= (wxWindow
*) 0 ;
23694 bool arg2
= (bool) True
;
23696 PyObject
* obj0
= 0 ;
23697 PyObject
* obj1
= 0 ;
23698 char *kwnames
[] = {
23699 (char *) "self",(char *) "enable", NULL
23702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23706 arg2
= (bool) SWIG_AsBool(obj1
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 result
= (bool)(arg1
)->Enable(arg2
);
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23725 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxWindow
*arg1
= (wxWindow
*) 0 ;
23729 PyObject
* obj0
= 0 ;
23730 char *kwnames
[] = {
23731 (char *) "self", NULL
23734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 result
= (bool)(arg1
)->Disable();
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23753 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxWindow
*arg1
= (wxWindow
*) 0 ;
23757 PyObject
* obj0
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23781 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxWindow
*arg1
= (wxWindow
*) 0 ;
23785 PyObject
* obj0
= 0 ;
23786 char *kwnames
[] = {
23787 (char *) "self", NULL
23790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23809 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
;
23811 wxWindow
*arg1
= (wxWindow
*) 0 ;
23813 PyObject
* obj0
= 0 ;
23814 PyObject
* obj1
= 0 ;
23815 char *kwnames
[] = {
23816 (char *) "self",(char *) "style", NULL
23819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23822 arg2
= (long) SWIG_AsLong(obj1
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 (arg1
)->SetWindowStyleFlag(arg2
);
23828 wxPyEndAllowThreads(__tstate
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23831 Py_INCREF(Py_None
); resultobj
= Py_None
;
23838 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23839 PyObject
*resultobj
;
23840 wxWindow
*arg1
= (wxWindow
*) 0 ;
23842 PyObject
* obj0
= 0 ;
23843 char *kwnames
[] = {
23844 (char *) "self", NULL
23847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= SWIG_FromLong((long)result
);
23864 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23866 wxWindow
*arg1
= (wxWindow
*) 0 ;
23869 PyObject
* obj0
= 0 ;
23870 PyObject
* obj1
= 0 ;
23871 char *kwnames
[] = {
23872 (char *) "self",(char *) "flag", NULL
23875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23878 arg2
= (int) SWIG_AsInt(obj1
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23884 wxPyEndAllowThreads(__tstate
);
23885 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23896 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23897 PyObject
*resultobj
;
23898 wxWindow
*arg1
= (wxWindow
*) 0 ;
23900 PyObject
* obj0
= 0 ;
23901 char *kwnames
[] = {
23902 (char *) "self", NULL
23905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23924 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
;
23926 wxWindow
*arg1
= (wxWindow
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 PyObject
* obj1
= 0 ;
23930 char *kwnames
[] = {
23931 (char *) "self",(char *) "exStyle", NULL
23934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23937 arg2
= (long) SWIG_AsLong(obj1
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 (arg1
)->SetExtraStyle(arg2
);
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 Py_INCREF(Py_None
); resultobj
= Py_None
;
23953 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23955 wxWindow
*arg1
= (wxWindow
*) 0 ;
23957 PyObject
* obj0
= 0 ;
23958 char *kwnames
[] = {
23959 (char *) "self", NULL
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23972 resultobj
= SWIG_FromLong((long)result
);
23979 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
;
23981 wxWindow
*arg1
= (wxWindow
*) 0 ;
23982 bool arg2
= (bool) True
;
23983 PyObject
* obj0
= 0 ;
23984 PyObject
* obj1
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "self",(char *) "modal", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23993 arg2
= (bool) SWIG_AsBool(obj1
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 (arg1
)->MakeModal(arg2
);
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 Py_INCREF(Py_None
); resultobj
= Py_None
;
24010 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
;
24012 wxWindow
*arg1
= (wxWindow
*) 0 ;
24014 PyObject
* obj0
= 0 ;
24015 PyObject
* obj1
= 0 ;
24016 char *kwnames
[] = {
24017 (char *) "self",(char *) "enableTheme", NULL
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24023 arg2
= (bool) SWIG_AsBool(obj1
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 (arg1
)->SetThemeEnabled(arg2
);
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24032 Py_INCREF(Py_None
); resultobj
= Py_None
;
24039 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
;
24041 wxWindow
*arg1
= (wxWindow
*) 0 ;
24043 PyObject
* obj0
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "self", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24067 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
;
24069 wxWindow
*arg1
= (wxWindow
*) 0 ;
24070 PyObject
* obj0
= 0 ;
24071 char *kwnames
[] = {
24072 (char *) "self", NULL
24075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 (arg1
)->SetFocus();
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 Py_INCREF(Py_None
); resultobj
= Py_None
;
24092 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24094 wxWindow
*arg1
= (wxWindow
*) 0 ;
24095 PyObject
* obj0
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 (arg1
)->SetFocusFromKbd();
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24110 Py_INCREF(Py_None
); resultobj
= Py_None
;
24117 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
;
24120 char *kwnames
[] = {
24124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24127 result
= (wxWindow
*)wxWindow::FindFocus();
24129 wxPyEndAllowThreads(__tstate
);
24130 if (PyErr_Occurred()) SWIG_fail
;
24133 resultobj
= wxPyMake_wxObject(result
);
24141 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
;
24143 wxWindow
*arg1
= (wxWindow
*) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 char *kwnames
[] = {
24147 (char *) "self", NULL
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24169 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
;
24171 wxWindow
*arg1
= (wxWindow
*) 0 ;
24173 PyObject
* obj0
= 0 ;
24174 char *kwnames
[] = {
24175 (char *) "self", NULL
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24197 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
;
24199 wxWindow
*arg1
= (wxWindow
*) 0 ;
24201 PyObject
* obj0
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= wxPyMake_wxObject(result
);
24225 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
;
24227 wxWindow
*arg1
= (wxWindow
*) 0 ;
24228 wxWindow
*arg2
= (wxWindow
*) 0 ;
24230 PyObject
* obj0
= 0 ;
24231 PyObject
* obj1
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "self",(char *) "child", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24243 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24245 wxPyEndAllowThreads(__tstate
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24249 resultobj
= wxPyMake_wxObject(result
);
24257 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24258 PyObject
*resultobj
;
24259 wxWindow
*arg1
= (wxWindow
*) 0 ;
24260 wxWindow
*arg2
= (wxWindow
*) 0 ;
24261 PyObject
* obj0
= 0 ;
24262 PyObject
* obj1
= 0 ;
24263 char *kwnames
[] = {
24264 (char *) "self",(char *) "win", NULL
24267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 (arg1
)->SetTmpDefaultItem(arg2
);
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 Py_INCREF(Py_None
); resultobj
= Py_None
;
24286 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxWindow
*arg1
= (wxWindow
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= result
;
24312 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxWindow
*arg1
= (wxWindow
*) 0 ;
24316 PyObject
* obj0
= 0 ;
24317 char *kwnames
[] = {
24318 (char *) "self", NULL
24321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= wxPyMake_wxObject(result
);
24340 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
;
24342 wxWindow
*arg1
= (wxWindow
*) 0 ;
24344 PyObject
* obj0
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= wxPyMake_wxObject(result
);
24368 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
;
24370 wxWindow
*arg1
= (wxWindow
*) 0 ;
24372 PyObject
* obj0
= 0 ;
24373 char *kwnames
[] = {
24374 (char *) "self", NULL
24377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24384 wxPyEndAllowThreads(__tstate
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24396 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24397 PyObject
*resultobj
;
24398 wxWindow
*arg1
= (wxWindow
*) 0 ;
24399 wxWindow
*arg2
= (wxWindow
*) 0 ;
24401 PyObject
* obj0
= 0 ;
24402 PyObject
* obj1
= 0 ;
24403 char *kwnames
[] = {
24404 (char *) "self",(char *) "newParent", NULL
24407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= (bool)(arg1
)->Reparent(arg2
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24428 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
;
24430 wxWindow
*arg1
= (wxWindow
*) 0 ;
24431 wxWindow
*arg2
= (wxWindow
*) 0 ;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self",(char *) "child", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 (arg1
)->AddChild(arg2
);
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 Py_INCREF(Py_None
); resultobj
= Py_None
;
24457 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24459 wxWindow
*arg1
= (wxWindow
*) 0 ;
24460 wxWindow
*arg2
= (wxWindow
*) 0 ;
24461 PyObject
* obj0
= 0 ;
24462 PyObject
* obj1
= 0 ;
24463 char *kwnames
[] = {
24464 (char *) "self",(char *) "child", NULL
24467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 (arg1
)->RemoveChild(arg2
);
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 Py_INCREF(Py_None
); resultobj
= Py_None
;
24486 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxWindow
*arg1
= (wxWindow
*) 0 ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self",(char *) "winid", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24500 arg2
= (long) SWIG_AsLong(obj1
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24506 wxPyEndAllowThreads(__tstate
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= wxPyMake_wxObject(result
);
24518 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24519 PyObject
*resultobj
;
24520 wxWindow
*arg1
= (wxWindow
*) 0 ;
24521 wxString
*arg2
= 0 ;
24523 bool temp2
= False
;
24524 PyObject
* obj0
= 0 ;
24525 PyObject
* obj1
= 0 ;
24526 char *kwnames
[] = {
24527 (char *) "self",(char *) "name", NULL
24530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24534 arg2
= wxString_in_helper(obj1
);
24535 if (arg2
== NULL
) SWIG_fail
;
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24546 resultobj
= wxPyMake_wxObject(result
);
24562 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
;
24564 wxWindow
*arg1
= (wxWindow
*) 0 ;
24565 wxEvtHandler
*result
;
24566 PyObject
* obj0
= 0 ;
24567 char *kwnames
[] = {
24568 (char *) "self", NULL
24571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24576 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24578 wxPyEndAllowThreads(__tstate
);
24579 if (PyErr_Occurred()) SWIG_fail
;
24582 resultobj
= wxPyMake_wxObject(result
);
24590 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
;
24592 wxWindow
*arg1
= (wxWindow
*) 0 ;
24593 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 char *kwnames
[] = {
24597 (char *) "self",(char *) "handler", NULL
24600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 (arg1
)->SetEventHandler(arg2
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 Py_INCREF(Py_None
); resultobj
= Py_None
;
24619 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
;
24621 wxWindow
*arg1
= (wxWindow
*) 0 ;
24622 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24623 PyObject
* obj0
= 0 ;
24624 PyObject
* obj1
= 0 ;
24625 char *kwnames
[] = {
24626 (char *) "self",(char *) "handler", NULL
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 (arg1
)->PushEventHandler(arg2
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24641 Py_INCREF(Py_None
); resultobj
= Py_None
;
24648 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
;
24650 wxWindow
*arg1
= (wxWindow
*) 0 ;
24651 bool arg2
= (bool) False
;
24652 wxEvtHandler
*result
;
24653 PyObject
* obj0
= 0 ;
24654 PyObject
* obj1
= 0 ;
24655 char *kwnames
[] = {
24656 (char *) "self",(char *) "deleteHandler", NULL
24659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24663 arg2
= (bool) SWIG_AsBool(obj1
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24674 resultobj
= wxPyMake_wxObject(result
);
24682 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
;
24684 wxWindow
*arg1
= (wxWindow
*) 0 ;
24685 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24687 PyObject
* obj0
= 0 ;
24688 PyObject
* obj1
= 0 ;
24689 char *kwnames
[] = {
24690 (char *) "self",(char *) "handler", NULL
24693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24714 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
;
24716 wxWindow
*arg1
= (wxWindow
*) 0 ;
24717 wxValidator
*arg2
= 0 ;
24718 PyObject
* obj0
= 0 ;
24719 PyObject
* obj1
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self",(char *) "validator", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24730 if (arg2
== NULL
) {
24731 PyErr_SetString(PyExc_TypeError
,"null reference");
24735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24741 Py_INCREF(Py_None
); resultobj
= Py_None
;
24748 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
;
24750 wxWindow
*arg1
= (wxWindow
*) 0 ;
24751 wxValidator
*result
;
24752 PyObject
* obj0
= 0 ;
24753 char *kwnames
[] = {
24754 (char *) "self", NULL
24757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24762 result
= (wxValidator
*)(arg1
)->GetValidator();
24764 wxPyEndAllowThreads(__tstate
);
24765 if (PyErr_Occurred()) SWIG_fail
;
24768 resultobj
= wxPyMake_wxObject(result
);
24776 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxWindow
*arg1
= (wxWindow
*) 0 ;
24780 PyObject
* obj0
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 result
= (bool)(arg1
)->Validate();
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24804 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxWindow
*arg1
= (wxWindow
*) 0 ;
24808 PyObject
* obj0
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 result
= (bool)(arg1
)->TransferDataToWindow();
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24832 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxWindow
*arg1
= (wxWindow
*) 0 ;
24836 PyObject
* obj0
= 0 ;
24837 char *kwnames
[] = {
24838 (char *) "self", NULL
24841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 result
= (bool)(arg1
)->TransferDataFromWindow();
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24860 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
;
24862 wxWindow
*arg1
= (wxWindow
*) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 (arg1
)->InitDialog();
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 Py_INCREF(Py_None
); resultobj
= Py_None
;
24885 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
;
24887 wxWindow
*arg1
= (wxWindow
*) 0 ;
24888 wxAcceleratorTable
*arg2
= 0 ;
24889 PyObject
* obj0
= 0 ;
24890 PyObject
* obj1
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "self",(char *) "accel", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24901 if (arg2
== NULL
) {
24902 PyErr_SetString(PyExc_TypeError
,"null reference");
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 Py_INCREF(Py_None
); resultobj
= Py_None
;
24919 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24920 PyObject
*resultobj
;
24921 wxWindow
*arg1
= (wxWindow
*) 0 ;
24922 wxAcceleratorTable
*result
;
24923 PyObject
* obj0
= 0 ;
24924 char *kwnames
[] = {
24925 (char *) "self", NULL
24928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24945 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxWindow
*arg1
= (wxWindow
*) 0 ;
24952 PyObject
* obj0
= 0 ;
24953 PyObject
* obj1
= 0 ;
24954 PyObject
* obj2
= 0 ;
24955 PyObject
* obj3
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24963 arg2
= (int) SWIG_AsInt(obj1
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24965 arg3
= (int) SWIG_AsInt(obj2
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24967 arg4
= (int) SWIG_AsInt(obj3
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24985 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
;
24987 wxWindow
*arg1
= (wxWindow
*) 0 ;
24990 PyObject
* obj0
= 0 ;
24991 PyObject
* obj1
= 0 ;
24992 char *kwnames
[] = {
24993 (char *) "self",(char *) "hotkeyId", NULL
24996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24999 arg2
= (int) SWIG_AsInt(obj1
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25017 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
;
25019 wxWindow
*arg1
= (wxWindow
*) 0 ;
25020 wxPoint
*arg2
= 0 ;
25023 PyObject
* obj0
= 0 ;
25024 PyObject
* obj1
= 0 ;
25025 char *kwnames
[] = {
25026 (char *) "self",(char *) "pt", NULL
25029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25034 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25044 wxPoint
* resultptr
;
25045 resultptr
= new wxPoint((wxPoint
&) result
);
25046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25054 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxWindow
*arg1
= (wxWindow
*) 0 ;
25060 PyObject
* obj0
= 0 ;
25061 PyObject
* obj1
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self",(char *) "sz", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25071 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25081 wxSize
* resultptr
;
25082 resultptr
= new wxSize((wxSize
&) result
);
25083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25091 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
;
25093 wxWindow
*arg1
= (wxWindow
*) 0 ;
25094 wxPoint
*arg2
= 0 ;
25097 PyObject
* obj0
= 0 ;
25098 PyObject
* obj1
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self",(char *) "pt", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25108 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25118 wxPoint
* resultptr
;
25119 resultptr
= new wxPoint((wxPoint
&) result
);
25120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25128 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
;
25130 wxWindow
*arg1
= (wxWindow
*) 0 ;
25134 PyObject
* obj0
= 0 ;
25135 PyObject
* obj1
= 0 ;
25136 char *kwnames
[] = {
25137 (char *) "self",(char *) "sz", NULL
25140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25145 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25155 wxSize
* resultptr
;
25156 resultptr
= new wxSize((wxSize
&) result
);
25157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25165 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25167 wxWindow
*arg1
= (wxWindow
*) 0 ;
25168 wxPoint
*arg2
= 0 ;
25171 PyObject
* obj0
= 0 ;
25172 PyObject
* obj1
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self",(char *) "pt", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25182 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25192 wxPoint
* resultptr
;
25193 resultptr
= new wxPoint((wxPoint
&) result
);
25194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25202 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25203 PyObject
*resultobj
;
25204 wxWindow
*arg1
= (wxWindow
*) 0 ;
25208 PyObject
* obj0
= 0 ;
25209 PyObject
* obj1
= 0 ;
25210 char *kwnames
[] = {
25211 (char *) "self",(char *) "sz", NULL
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25219 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25223 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25229 wxSize
* resultptr
;
25230 resultptr
= new wxSize((wxSize
&) result
);
25231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25239 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
;
25241 wxWindow
*arg1
= (wxWindow
*) 0 ;
25244 PyObject
* obj0
= 0 ;
25245 PyObject
* obj1
= 0 ;
25246 PyObject
* obj2
= 0 ;
25247 char *kwnames
[] = {
25248 (char *) "self",(char *) "x",(char *) "y", NULL
25251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25254 arg2
= (int) SWIG_AsInt(obj1
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25256 arg3
= (int) SWIG_AsInt(obj2
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 (arg1
)->WarpPointer(arg2
,arg3
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 Py_INCREF(Py_None
); resultobj
= Py_None
;
25272 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
;
25274 wxWindow
*arg1
= (wxWindow
*) 0 ;
25275 PyObject
* obj0
= 0 ;
25276 char *kwnames
[] = {
25277 (char *) "self", NULL
25280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 (arg1
)->CaptureMouse();
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 Py_INCREF(Py_None
); resultobj
= Py_None
;
25297 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
;
25299 wxWindow
*arg1
= (wxWindow
*) 0 ;
25300 PyObject
* obj0
= 0 ;
25301 char *kwnames
[] = {
25302 (char *) "self", NULL
25305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 (arg1
)->ReleaseMouse();
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25315 Py_INCREF(Py_None
); resultobj
= Py_None
;
25322 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25323 PyObject
*resultobj
;
25325 char *kwnames
[] = {
25329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 result
= (wxWindow
*)wxWindow::GetCapture();
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25338 resultobj
= wxPyMake_wxObject(result
);
25346 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxWindow
*arg1
= (wxWindow
*) 0 ;
25350 PyObject
* obj0
= 0 ;
25351 char *kwnames
[] = {
25352 (char *) "self", NULL
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25374 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25375 PyObject
*resultobj
;
25376 wxWindow
*arg1
= (wxWindow
*) 0 ;
25377 bool arg2
= (bool) True
;
25378 wxRect
*arg3
= (wxRect
*) NULL
;
25379 PyObject
* obj0
= 0 ;
25380 PyObject
* obj1
= 0 ;
25381 PyObject
* obj2
= 0 ;
25382 char *kwnames
[] = {
25383 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25390 arg2
= (bool) SWIG_AsBool(obj1
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25394 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 Py_INCREF(Py_None
); resultobj
= Py_None
;
25411 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25412 PyObject
*resultobj
;
25413 wxWindow
*arg1
= (wxWindow
*) 0 ;
25416 PyObject
* obj0
= 0 ;
25417 PyObject
* obj1
= 0 ;
25418 char *kwnames
[] = {
25419 (char *) "self",(char *) "rect", NULL
25422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25427 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25436 Py_INCREF(Py_None
); resultobj
= Py_None
;
25443 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
;
25445 wxWindow
*arg1
= (wxWindow
*) 0 ;
25446 PyObject
* obj0
= 0 ;
25447 char *kwnames
[] = {
25448 (char *) "self", NULL
25451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 Py_INCREF(Py_None
); resultobj
= Py_None
;
25468 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25470 wxWindow
*arg1
= (wxWindow
*) 0 ;
25471 PyObject
* obj0
= 0 ;
25472 char *kwnames
[] = {
25473 (char *) "self", NULL
25476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 (arg1
)->ClearBackground();
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25486 Py_INCREF(Py_None
); resultobj
= Py_None
;
25493 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
;
25495 wxWindow
*arg1
= (wxWindow
*) 0 ;
25496 PyObject
* obj0
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "self", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 Py_INCREF(Py_None
); resultobj
= Py_None
;
25518 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxWindow
*arg1
= (wxWindow
*) 0 ;
25521 PyObject
* obj0
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25536 Py_INCREF(Py_None
); resultobj
= Py_None
;
25543 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25544 PyObject
*resultobj
;
25545 wxWindow
*arg1
= (wxWindow
*) 0 ;
25547 PyObject
* obj0
= 0 ;
25548 PyObject
* obj1
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "self",(char *) "dc", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25559 if (arg2
== NULL
) {
25560 PyErr_SetString(PyExc_TypeError
,"null reference");
25564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25565 (arg1
)->PrepareDC(*arg2
);
25567 wxPyEndAllowThreads(__tstate
);
25568 if (PyErr_Occurred()) SWIG_fail
;
25570 Py_INCREF(Py_None
); resultobj
= Py_None
;
25577 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25578 PyObject
*resultobj
;
25579 wxWindow
*arg1
= (wxWindow
*) 0 ;
25581 PyObject
* obj0
= 0 ;
25582 char *kwnames
[] = {
25583 (char *) "self", NULL
25586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25593 result
= (wxRegion
*) &_result_ref
;
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25606 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxWindow
*arg1
= (wxWindow
*) 0 ;
25610 PyObject
* obj0
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25626 wxRect
* resultptr
;
25627 resultptr
= new wxRect((wxRect
&) result
);
25628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25636 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxWindow
*arg1
= (wxWindow
*) 0 ;
25641 int arg4
= (int) 1 ;
25642 int arg5
= (int) 1 ;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 PyObject
* obj2
= 0 ;
25647 PyObject
* obj3
= 0 ;
25648 PyObject
* obj4
= 0 ;
25649 char *kwnames
[] = {
25650 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25656 arg2
= (int) SWIG_AsInt(obj1
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25658 arg3
= (int) SWIG_AsInt(obj2
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 arg4
= (int) SWIG_AsInt(obj3
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25665 arg5
= (int) SWIG_AsInt(obj4
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25684 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
;
25686 wxWindow
*arg1
= (wxWindow
*) 0 ;
25687 wxPoint
*arg2
= 0 ;
25690 PyObject
* obj0
= 0 ;
25691 PyObject
* obj1
= 0 ;
25692 char *kwnames
[] = {
25693 (char *) "self",(char *) "pt", NULL
25696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25701 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25719 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
;
25721 wxWindow
*arg1
= (wxWindow
*) 0 ;
25725 PyObject
* obj0
= 0 ;
25726 PyObject
* obj1
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self",(char *) "rect", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25736 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25740 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25742 wxPyEndAllowThreads(__tstate
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25754 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25755 PyObject
*resultobj
;
25756 wxWindow
*arg1
= (wxWindow
*) 0 ;
25757 wxVisualAttributes result
;
25758 PyObject
* obj0
= 0 ;
25759 char *kwnames
[] = {
25760 (char *) "self", NULL
25763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25774 wxVisualAttributes
* resultptr
;
25775 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25784 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
;
25786 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25787 wxVisualAttributes result
;
25788 PyObject
* obj0
= 0 ;
25789 char *kwnames
[] = {
25790 (char *) "variant", NULL
25793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25795 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25806 wxVisualAttributes
* resultptr
;
25807 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25816 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25817 PyObject
*resultobj
;
25818 wxWindow
*arg1
= (wxWindow
*) 0 ;
25819 wxColour
*arg2
= 0 ;
25822 PyObject
* obj0
= 0 ;
25823 PyObject
* obj1
= 0 ;
25824 char *kwnames
[] = {
25825 (char *) "self",(char *) "colour", NULL
25828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25833 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25837 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25839 wxPyEndAllowThreads(__tstate
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25851 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
;
25853 wxWindow
*arg1
= (wxWindow
*) 0 ;
25854 wxColour
*arg2
= 0 ;
25856 PyObject
* obj0
= 0 ;
25857 PyObject
* obj1
= 0 ;
25858 char *kwnames
[] = {
25859 (char *) "self",(char *) "colour", NULL
25862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25867 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
25873 wxPyEndAllowThreads(__tstate
);
25874 if (PyErr_Occurred()) SWIG_fail
;
25876 Py_INCREF(Py_None
); resultobj
= Py_None
;
25883 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
;
25885 wxWindow
*arg1
= (wxWindow
*) 0 ;
25886 wxColour
*arg2
= 0 ;
25889 PyObject
* obj0
= 0 ;
25890 PyObject
* obj1
= 0 ;
25891 char *kwnames
[] = {
25892 (char *) "self",(char *) "colour", NULL
25895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25900 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25918 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
;
25920 wxWindow
*arg1
= (wxWindow
*) 0 ;
25921 wxColour
*arg2
= 0 ;
25923 PyObject
* obj0
= 0 ;
25924 PyObject
* obj1
= 0 ;
25925 char *kwnames
[] = {
25926 (char *) "self",(char *) "colour", NULL
25929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25934 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25943 Py_INCREF(Py_None
); resultobj
= Py_None
;
25950 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25951 PyObject
*resultobj
;
25952 wxWindow
*arg1
= (wxWindow
*) 0 ;
25954 PyObject
* obj0
= 0 ;
25955 char *kwnames
[] = {
25956 (char *) "self", NULL
25959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25964 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25966 wxPyEndAllowThreads(__tstate
);
25967 if (PyErr_Occurred()) SWIG_fail
;
25970 wxColour
* resultptr
;
25971 resultptr
= new wxColour((wxColour
&) result
);
25972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25980 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25981 PyObject
*resultobj
;
25982 wxWindow
*arg1
= (wxWindow
*) 0 ;
25984 PyObject
* obj0
= 0 ;
25985 char *kwnames
[] = {
25986 (char *) "self", NULL
25989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25994 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
26000 wxColour
* resultptr
;
26001 resultptr
= new wxColour((wxColour
&) result
);
26002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26010 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
;
26012 wxWindow
*arg1
= (wxWindow
*) 0 ;
26013 wxCursor
*arg2
= 0 ;
26015 PyObject
* obj0
= 0 ;
26016 PyObject
* obj1
= 0 ;
26017 char *kwnames
[] = {
26018 (char *) "self",(char *) "cursor", NULL
26021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26027 if (arg2
== NULL
) {
26028 PyErr_SetString(PyExc_TypeError
,"null reference");
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26047 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26048 PyObject
*resultobj
;
26049 wxWindow
*arg1
= (wxWindow
*) 0 ;
26051 PyObject
* obj0
= 0 ;
26052 char *kwnames
[] = {
26053 (char *) "self", NULL
26056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26063 result
= (wxCursor
*) &_result_ref
;
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26070 wxCursor
* resultptr
= new wxCursor(*result
);
26071 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26079 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26080 PyObject
*resultobj
;
26081 wxWindow
*arg1
= (wxWindow
*) 0 ;
26084 PyObject
* obj0
= 0 ;
26085 PyObject
* obj1
= 0 ;
26086 char *kwnames
[] = {
26087 (char *) "self",(char *) "font", NULL
26090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26096 if (arg2
== NULL
) {
26097 PyErr_SetString(PyExc_TypeError
,"null reference");
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26104 wxPyEndAllowThreads(__tstate
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26116 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
;
26118 wxWindow
*arg1
= (wxWindow
*) 0 ;
26120 PyObject
* obj0
= 0 ;
26121 PyObject
* obj1
= 0 ;
26122 char *kwnames
[] = {
26123 (char *) "self",(char *) "font", NULL
26126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26132 if (arg2
== NULL
) {
26133 PyErr_SetString(PyExc_TypeError
,"null reference");
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 Py_INCREF(Py_None
); resultobj
= Py_None
;
26150 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
;
26152 wxWindow
*arg1
= (wxWindow
*) 0 ;
26154 PyObject
* obj0
= 0 ;
26155 char *kwnames
[] = {
26156 (char *) "self", NULL
26159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 wxFont
&_result_ref
= (arg1
)->GetFont();
26166 result
= (wxFont
*) &_result_ref
;
26169 wxPyEndAllowThreads(__tstate
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26173 wxFont
* resultptr
= new wxFont(*result
);
26174 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26182 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26183 PyObject
*resultobj
;
26184 wxWindow
*arg1
= (wxWindow
*) 0 ;
26185 wxCaret
*arg2
= (wxCaret
*) 0 ;
26186 PyObject
* obj0
= 0 ;
26187 PyObject
* obj1
= 0 ;
26188 char *kwnames
[] = {
26189 (char *) "self",(char *) "caret", NULL
26192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 (arg1
)->SetCaret(arg2
);
26201 wxPyEndAllowThreads(__tstate
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26204 Py_INCREF(Py_None
); resultobj
= Py_None
;
26211 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26212 PyObject
*resultobj
;
26213 wxWindow
*arg1
= (wxWindow
*) 0 ;
26215 PyObject
* obj0
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26227 wxPyEndAllowThreads(__tstate
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26237 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26238 PyObject
*resultobj
;
26239 wxWindow
*arg1
= (wxWindow
*) 0 ;
26241 PyObject
* obj0
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self", NULL
26246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26251 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= SWIG_FromInt((int)result
);
26263 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
;
26265 wxWindow
*arg1
= (wxWindow
*) 0 ;
26267 PyObject
* obj0
= 0 ;
26268 char *kwnames
[] = {
26269 (char *) "self", NULL
26272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26279 wxPyEndAllowThreads(__tstate
);
26280 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= SWIG_FromInt((int)result
);
26289 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26290 PyObject
*resultobj
;
26291 wxWindow
*arg1
= (wxWindow
*) 0 ;
26292 wxString
*arg2
= 0 ;
26293 int *arg3
= (int *) 0 ;
26294 int *arg4
= (int *) 0 ;
26295 bool temp2
= False
;
26298 PyObject
* obj0
= 0 ;
26299 PyObject
* obj1
= 0 ;
26300 char *kwnames
[] = {
26301 (char *) "self",(char *) "string", NULL
26306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26310 arg2
= wxString_in_helper(obj1
);
26311 if (arg2
== NULL
) SWIG_fail
;
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 Py_INCREF(Py_None
); resultobj
= Py_None
;
26323 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26324 resultobj
= t_output_helper(resultobj
,o
);
26327 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26328 resultobj
= t_output_helper(resultobj
,o
);
26344 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxWindow
*arg1
= (wxWindow
*) 0 ;
26347 wxString
*arg2
= 0 ;
26348 int *arg3
= (int *) 0 ;
26349 int *arg4
= (int *) 0 ;
26350 int *arg5
= (int *) 0 ;
26351 int *arg6
= (int *) 0 ;
26352 wxFont
*arg7
= (wxFont
*) NULL
;
26353 bool temp2
= False
;
26358 PyObject
* obj0
= 0 ;
26359 PyObject
* obj1
= 0 ;
26360 PyObject
* obj2
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self",(char *) "string",(char *) "font", NULL
26369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26373 arg2
= wxString_in_helper(obj1
);
26374 if (arg2
== NULL
) SWIG_fail
;
26378 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26383 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 Py_INCREF(Py_None
); resultobj
= Py_None
;
26390 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26391 resultobj
= t_output_helper(resultobj
,o
);
26394 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26395 resultobj
= t_output_helper(resultobj
,o
);
26398 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26399 resultobj
= t_output_helper(resultobj
,o
);
26402 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26403 resultobj
= t_output_helper(resultobj
,o
);
26419 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26420 PyObject
*resultobj
;
26421 wxWindow
*arg1
= (wxWindow
*) 0 ;
26422 int *arg2
= (int *) 0 ;
26423 int *arg3
= (int *) 0 ;
26426 PyObject
* obj0
= 0 ;
26427 PyObject
* obj1
= 0 ;
26428 PyObject
* obj2
= 0 ;
26429 char *kwnames
[] = {
26430 (char *) "self",(char *) "x",(char *) "y", NULL
26433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26437 temp2
= PyInt_AsLong(obj1
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26442 temp3
= PyInt_AsLong(obj2
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26448 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26453 Py_INCREF(Py_None
); resultobj
= Py_None
;
26455 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26456 resultobj
= t_output_helper(resultobj
,o
);
26459 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26460 resultobj
= t_output_helper(resultobj
,o
);
26468 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
;
26470 wxWindow
*arg1
= (wxWindow
*) 0 ;
26471 int *arg2
= (int *) 0 ;
26472 int *arg3
= (int *) 0 ;
26475 PyObject
* obj0
= 0 ;
26476 PyObject
* obj1
= 0 ;
26477 PyObject
* obj2
= 0 ;
26478 char *kwnames
[] = {
26479 (char *) "self",(char *) "x",(char *) "y", NULL
26482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26486 temp2
= PyInt_AsLong(obj1
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26491 temp3
= PyInt_AsLong(obj2
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 Py_INCREF(Py_None
); resultobj
= Py_None
;
26504 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26505 resultobj
= t_output_helper(resultobj
,o
);
26508 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26509 resultobj
= t_output_helper(resultobj
,o
);
26517 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26518 PyObject
*resultobj
;
26519 wxWindow
*arg1
= (wxWindow
*) 0 ;
26520 wxPoint
*arg2
= 0 ;
26523 PyObject
* obj0
= 0 ;
26524 PyObject
* obj1
= 0 ;
26525 char *kwnames
[] = {
26526 (char *) "self",(char *) "pt", NULL
26529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26534 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26540 wxPyEndAllowThreads(__tstate
);
26541 if (PyErr_Occurred()) SWIG_fail
;
26544 wxPoint
* resultptr
;
26545 resultptr
= new wxPoint((wxPoint
&) result
);
26546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26554 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26555 PyObject
*resultobj
;
26556 wxWindow
*arg1
= (wxWindow
*) 0 ;
26557 wxPoint
*arg2
= 0 ;
26560 PyObject
* obj0
= 0 ;
26561 PyObject
* obj1
= 0 ;
26562 char *kwnames
[] = {
26563 (char *) "self",(char *) "pt", NULL
26566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26571 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26577 wxPyEndAllowThreads(__tstate
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26581 wxPoint
* resultptr
;
26582 resultptr
= new wxPoint((wxPoint
&) result
);
26583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26591 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26592 PyObject
*resultobj
;
26593 wxWindow
*arg1
= (wxWindow
*) 0 ;
26597 PyObject
* obj0
= 0 ;
26598 PyObject
* obj1
= 0 ;
26599 PyObject
* obj2
= 0 ;
26600 char *kwnames
[] = {
26601 (char *) "self",(char *) "x",(char *) "y", NULL
26604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26607 arg2
= (int) SWIG_AsInt(obj1
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26609 arg3
= (int) SWIG_AsInt(obj2
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 resultobj
= SWIG_FromInt((int)result
);
26625 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26626 PyObject
*resultobj
;
26627 wxWindow
*arg1
= (wxWindow
*) 0 ;
26628 wxPoint
*arg2
= 0 ;
26631 PyObject
* obj0
= 0 ;
26632 PyObject
* obj1
= 0 ;
26633 char *kwnames
[] = {
26634 (char *) "self",(char *) "pt", NULL
26637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26651 resultobj
= SWIG_FromInt((int)result
);
26658 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26659 PyObject
*resultobj
;
26660 wxWindow
*arg1
= (wxWindow
*) 0 ;
26663 PyObject
* obj0
= 0 ;
26664 PyObject
* obj1
= 0 ;
26666 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26669 arg2
= (long) SWIG_AsLong(obj1
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26678 resultobj
= SWIG_FromInt((int)result
);
26685 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26686 PyObject
*resultobj
;
26687 wxWindow
*arg1
= (wxWindow
*) 0 ;
26689 PyObject
* obj0
= 0 ;
26691 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 resultobj
= SWIG_FromInt((int)result
);
26708 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26713 argc
= PyObject_Length(args
);
26714 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26715 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26721 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26729 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26736 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26744 _v
= SWIG_CheckLong(argv
[1]);
26746 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26751 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26756 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26757 PyObject
*resultobj
;
26758 wxWindow
*arg1
= (wxWindow
*) 0 ;
26759 long arg2
= (long) wxUPDATE_UI_NONE
;
26760 PyObject
* obj0
= 0 ;
26761 PyObject
* obj1
= 0 ;
26762 char *kwnames
[] = {
26763 (char *) "self",(char *) "flags", NULL
26766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26770 arg2
= (long) SWIG_AsLong(obj1
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26775 (arg1
)->UpdateWindowUI(arg2
);
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26780 Py_INCREF(Py_None
); resultobj
= Py_None
;
26787 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
;
26789 wxWindow
*arg1
= (wxWindow
*) 0 ;
26790 wxMenu
*arg2
= (wxMenu
*) 0 ;
26794 PyObject
* obj0
= 0 ;
26795 PyObject
* obj1
= 0 ;
26796 PyObject
* obj2
= 0 ;
26797 PyObject
* obj3
= 0 ;
26798 char *kwnames
[] = {
26799 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26807 arg3
= (int) SWIG_AsInt(obj2
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26809 arg4
= (int) SWIG_AsInt(obj3
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26813 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26815 wxPyEndAllowThreads(__tstate
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26827 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26828 PyObject
*resultobj
;
26829 wxWindow
*arg1
= (wxWindow
*) 0 ;
26830 wxMenu
*arg2
= (wxMenu
*) 0 ;
26831 wxPoint
*arg3
= 0 ;
26834 PyObject
* obj0
= 0 ;
26835 PyObject
* obj1
= 0 ;
26836 PyObject
* obj2
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "self",(char *) "menu",(char *) "pos", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26866 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26867 PyObject
*resultobj
;
26868 wxWindow
*arg1
= (wxWindow
*) 0 ;
26870 PyObject
* obj0
= 0 ;
26871 char *kwnames
[] = {
26872 (char *) "self", NULL
26875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 result
= (long)wxWindow_GetHandle(arg1
);
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26885 resultobj
= SWIG_FromLong((long)result
);
26892 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
;
26894 wxWindow
*arg1
= (wxWindow
*) 0 ;
26897 PyObject
* obj0
= 0 ;
26898 PyObject
* obj1
= 0 ;
26899 char *kwnames
[] = {
26900 (char *) "self",(char *) "orient", NULL
26903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26906 arg2
= (int) SWIG_AsInt(obj1
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26910 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26924 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26925 PyObject
*resultobj
;
26926 wxWindow
*arg1
= (wxWindow
*) 0 ;
26931 bool arg6
= (bool) True
;
26932 PyObject
* obj0
= 0 ;
26933 PyObject
* obj1
= 0 ;
26934 PyObject
* obj2
= 0 ;
26935 PyObject
* obj3
= 0 ;
26936 PyObject
* obj4
= 0 ;
26937 PyObject
* obj5
= 0 ;
26938 char *kwnames
[] = {
26939 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
26942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26945 arg2
= (int) SWIG_AsInt(obj1
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26947 arg3
= (int) SWIG_AsInt(obj2
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26949 arg4
= (int) SWIG_AsInt(obj3
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26951 arg5
= (int) SWIG_AsInt(obj4
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26954 arg6
= (bool) SWIG_AsBool(obj5
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26959 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 Py_INCREF(Py_None
); resultobj
= Py_None
;
26971 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
;
26973 wxWindow
*arg1
= (wxWindow
*) 0 ;
26976 bool arg4
= (bool) True
;
26977 PyObject
* obj0
= 0 ;
26978 PyObject
* obj1
= 0 ;
26979 PyObject
* obj2
= 0 ;
26980 PyObject
* obj3
= 0 ;
26981 char *kwnames
[] = {
26982 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26988 arg2
= (int) SWIG_AsInt(obj1
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26990 arg3
= (int) SWIG_AsInt(obj2
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26993 arg4
= (bool) SWIG_AsBool(obj3
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27000 wxPyEndAllowThreads(__tstate
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27003 Py_INCREF(Py_None
); resultobj
= Py_None
;
27010 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27011 PyObject
*resultobj
;
27012 wxWindow
*arg1
= (wxWindow
*) 0 ;
27015 PyObject
* obj0
= 0 ;
27016 PyObject
* obj1
= 0 ;
27017 char *kwnames
[] = {
27018 (char *) "self",(char *) "orientation", NULL
27021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27024 arg2
= (int) SWIG_AsInt(obj1
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= SWIG_FromInt((int)result
);
27040 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
;
27042 wxWindow
*arg1
= (wxWindow
*) 0 ;
27045 PyObject
* obj0
= 0 ;
27046 PyObject
* obj1
= 0 ;
27047 char *kwnames
[] = {
27048 (char *) "self",(char *) "orientation", NULL
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27054 arg2
= (int) SWIG_AsInt(obj1
);
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27060 wxPyEndAllowThreads(__tstate
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27063 resultobj
= SWIG_FromInt((int)result
);
27070 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
;
27072 wxWindow
*arg1
= (wxWindow
*) 0 ;
27075 PyObject
* obj0
= 0 ;
27076 PyObject
* obj1
= 0 ;
27077 char *kwnames
[] = {
27078 (char *) "self",(char *) "orientation", NULL
27081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27084 arg2
= (int) SWIG_AsInt(obj1
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27090 wxPyEndAllowThreads(__tstate
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= SWIG_FromInt((int)result
);
27100 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27101 PyObject
*resultobj
;
27102 wxWindow
*arg1
= (wxWindow
*) 0 ;
27105 wxRect
*arg4
= (wxRect
*) NULL
;
27106 PyObject
* obj0
= 0 ;
27107 PyObject
* obj1
= 0 ;
27108 PyObject
* obj2
= 0 ;
27109 PyObject
* obj3
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27117 arg2
= (int) SWIG_AsInt(obj1
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27119 arg3
= (int) SWIG_AsInt(obj2
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27122 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27129 wxPyEndAllowThreads(__tstate
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27132 Py_INCREF(Py_None
); resultobj
= Py_None
;
27139 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27140 PyObject
*resultobj
;
27141 wxWindow
*arg1
= (wxWindow
*) 0 ;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 char *kwnames
[] = {
27147 (char *) "self",(char *) "lines", NULL
27150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27153 arg2
= (int) SWIG_AsInt(obj1
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27157 result
= (bool)(arg1
)->ScrollLines(arg2
);
27159 wxPyEndAllowThreads(__tstate
);
27160 if (PyErr_Occurred()) SWIG_fail
;
27163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27171 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27172 PyObject
*resultobj
;
27173 wxWindow
*arg1
= (wxWindow
*) 0 ;
27176 PyObject
* obj0
= 0 ;
27177 PyObject
* obj1
= 0 ;
27178 char *kwnames
[] = {
27179 (char *) "self",(char *) "pages", NULL
27182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27185 arg2
= (int) SWIG_AsInt(obj1
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27189 result
= (bool)(arg1
)->ScrollPages(arg2
);
27191 wxPyEndAllowThreads(__tstate
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27203 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27204 PyObject
*resultobj
;
27205 wxWindow
*arg1
= (wxWindow
*) 0 ;
27207 PyObject
* obj0
= 0 ;
27208 char *kwnames
[] = {
27209 (char *) "self", NULL
27212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27217 result
= (bool)(arg1
)->LineUp();
27219 wxPyEndAllowThreads(__tstate
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27231 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27232 PyObject
*resultobj
;
27233 wxWindow
*arg1
= (wxWindow
*) 0 ;
27235 PyObject
* obj0
= 0 ;
27236 char *kwnames
[] = {
27237 (char *) "self", NULL
27240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 result
= (bool)(arg1
)->LineDown();
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27259 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27260 PyObject
*resultobj
;
27261 wxWindow
*arg1
= (wxWindow
*) 0 ;
27263 PyObject
* obj0
= 0 ;
27264 char *kwnames
[] = {
27265 (char *) "self", NULL
27268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 result
= (bool)(arg1
)->PageUp();
27275 wxPyEndAllowThreads(__tstate
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27287 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
;
27289 wxWindow
*arg1
= (wxWindow
*) 0 ;
27291 PyObject
* obj0
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 result
= (bool)(arg1
)->PageDown();
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27315 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27316 PyObject
*resultobj
;
27317 wxWindow
*arg1
= (wxWindow
*) 0 ;
27318 wxString
*arg2
= 0 ;
27319 bool temp2
= False
;
27320 PyObject
* obj0
= 0 ;
27321 PyObject
* obj1
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "self",(char *) "text", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27330 arg2
= wxString_in_helper(obj1
);
27331 if (arg2
== NULL
) SWIG_fail
;
27335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27338 wxPyEndAllowThreads(__tstate
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27341 Py_INCREF(Py_None
); resultobj
= Py_None
;
27356 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27357 PyObject
*resultobj
;
27358 wxWindow
*arg1
= (wxWindow
*) 0 ;
27359 wxString
*arg2
= 0 ;
27360 bool temp2
= False
;
27361 PyObject
* obj0
= 0 ;
27362 PyObject
* obj1
= 0 ;
27363 char *kwnames
[] = {
27364 (char *) "self",(char *) "text", NULL
27367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27371 arg2
= wxString_in_helper(obj1
);
27372 if (arg2
== NULL
) SWIG_fail
;
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27382 Py_INCREF(Py_None
); resultobj
= Py_None
;
27397 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27398 PyObject
*resultobj
;
27399 wxWindow
*arg1
= (wxWindow
*) 0 ;
27401 PyObject
* obj0
= 0 ;
27402 char *kwnames
[] = {
27403 (char *) "self", NULL
27406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27429 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27430 PyObject
*resultobj
;
27431 wxWindow
*arg1
= (wxWindow
*) 0 ;
27432 wxString
*arg2
= 0 ;
27433 bool temp2
= False
;
27434 PyObject
* obj0
= 0 ;
27435 PyObject
* obj1
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self",(char *) "tip", NULL
27440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27444 arg2
= wxString_in_helper(obj1
);
27445 if (arg2
== NULL
) SWIG_fail
;
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27455 Py_INCREF(Py_None
); resultobj
= Py_None
;
27470 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27471 PyObject
*resultobj
;
27472 wxWindow
*arg1
= (wxWindow
*) 0 ;
27473 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27474 PyObject
* obj0
= 0 ;
27475 PyObject
* obj1
= 0 ;
27476 char *kwnames
[] = {
27477 (char *) "self",(char *) "tip", NULL
27480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 (arg1
)->SetToolTip(arg2
);
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 Py_INCREF(Py_None
); resultobj
= Py_None
;
27499 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27500 PyObject
*resultobj
;
27501 wxWindow
*arg1
= (wxWindow
*) 0 ;
27503 PyObject
* obj0
= 0 ;
27504 char *kwnames
[] = {
27505 (char *) "self", NULL
27508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27513 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27515 wxPyEndAllowThreads(__tstate
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= wxPyMake_wxObject(result
);
27527 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27528 PyObject
*resultobj
;
27529 wxWindow
*arg1
= (wxWindow
*) 0 ;
27530 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27531 PyObject
* obj0
= 0 ;
27532 PyObject
* obj1
= 0 ;
27533 char *kwnames
[] = {
27534 (char *) "self",(char *) "dropTarget", NULL
27537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27541 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 (arg1
)->SetDropTarget(arg2
);
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27549 Py_INCREF(Py_None
); resultobj
= Py_None
;
27556 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27557 PyObject
*resultobj
;
27558 wxWindow
*arg1
= (wxWindow
*) 0 ;
27559 wxPyDropTarget
*result
;
27560 PyObject
* obj0
= 0 ;
27561 char *kwnames
[] = {
27562 (char *) "self", NULL
27565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27570 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27572 wxPyEndAllowThreads(__tstate
);
27573 if (PyErr_Occurred()) SWIG_fail
;
27575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27582 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27583 PyObject
*resultobj
;
27584 wxWindow
*arg1
= (wxWindow
*) 0 ;
27585 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27586 PyObject
* obj0
= 0 ;
27587 PyObject
* obj1
= 0 ;
27588 char *kwnames
[] = {
27589 (char *) "self",(char *) "constraints", NULL
27592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 (arg1
)->SetConstraints(arg2
);
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27604 Py_INCREF(Py_None
); resultobj
= Py_None
;
27611 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27612 PyObject
*resultobj
;
27613 wxWindow
*arg1
= (wxWindow
*) 0 ;
27614 wxLayoutConstraints
*result
;
27615 PyObject
* obj0
= 0 ;
27616 char *kwnames
[] = {
27617 (char *) "self", NULL
27620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27625 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27627 wxPyEndAllowThreads(__tstate
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27637 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27638 PyObject
*resultobj
;
27639 wxWindow
*arg1
= (wxWindow
*) 0 ;
27641 PyObject
* obj0
= 0 ;
27642 PyObject
* obj1
= 0 ;
27643 char *kwnames
[] = {
27644 (char *) "self",(char *) "autoLayout", NULL
27647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27650 arg2
= (bool) SWIG_AsBool(obj1
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27654 (arg1
)->SetAutoLayout(arg2
);
27656 wxPyEndAllowThreads(__tstate
);
27657 if (PyErr_Occurred()) SWIG_fail
;
27659 Py_INCREF(Py_None
); resultobj
= Py_None
;
27666 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27667 PyObject
*resultobj
;
27668 wxWindow
*arg1
= (wxWindow
*) 0 ;
27670 PyObject
* obj0
= 0 ;
27671 char *kwnames
[] = {
27672 (char *) "self", NULL
27675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27680 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27682 wxPyEndAllowThreads(__tstate
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27694 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27695 PyObject
*resultobj
;
27696 wxWindow
*arg1
= (wxWindow
*) 0 ;
27698 PyObject
* obj0
= 0 ;
27699 char *kwnames
[] = {
27700 (char *) "self", NULL
27703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27708 result
= (bool)(arg1
)->Layout();
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27722 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27723 PyObject
*resultobj
;
27724 wxWindow
*arg1
= (wxWindow
*) 0 ;
27725 wxSizer
*arg2
= (wxSizer
*) 0 ;
27726 bool arg3
= (bool) True
;
27727 PyObject
* obj0
= 0 ;
27728 PyObject
* obj1
= 0 ;
27729 PyObject
* obj2
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27740 arg3
= (bool) SWIG_AsBool(obj2
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27745 (arg1
)->SetSizer(arg2
,arg3
);
27747 wxPyEndAllowThreads(__tstate
);
27748 if (PyErr_Occurred()) SWIG_fail
;
27750 Py_INCREF(Py_None
); resultobj
= Py_None
;
27757 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27758 PyObject
*resultobj
;
27759 wxWindow
*arg1
= (wxWindow
*) 0 ;
27760 wxSizer
*arg2
= (wxSizer
*) 0 ;
27761 bool arg3
= (bool) True
;
27762 PyObject
* obj0
= 0 ;
27763 PyObject
* obj1
= 0 ;
27764 PyObject
* obj2
= 0 ;
27765 char *kwnames
[] = {
27766 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27775 arg3
= (bool) SWIG_AsBool(obj2
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27780 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27782 wxPyEndAllowThreads(__tstate
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27785 Py_INCREF(Py_None
); resultobj
= Py_None
;
27792 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27793 PyObject
*resultobj
;
27794 wxWindow
*arg1
= (wxWindow
*) 0 ;
27796 PyObject
* obj0
= 0 ;
27797 char *kwnames
[] = {
27798 (char *) "self", NULL
27801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27808 wxPyEndAllowThreads(__tstate
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27812 resultobj
= wxPyMake_wxSizer(result
);
27820 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27821 PyObject
*resultobj
;
27822 wxWindow
*arg1
= (wxWindow
*) 0 ;
27823 wxSizer
*arg2
= (wxSizer
*) 0 ;
27824 PyObject
* obj0
= 0 ;
27825 PyObject
* obj1
= 0 ;
27826 char *kwnames
[] = {
27827 (char *) "self",(char *) "sizer", NULL
27830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27837 (arg1
)->SetContainingSizer(arg2
);
27839 wxPyEndAllowThreads(__tstate
);
27840 if (PyErr_Occurred()) SWIG_fail
;
27842 Py_INCREF(Py_None
); resultobj
= Py_None
;
27849 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27850 PyObject
*resultobj
;
27851 wxWindow
*arg1
= (wxWindow
*) 0 ;
27853 PyObject
* obj0
= 0 ;
27854 char *kwnames
[] = {
27855 (char *) "self", NULL
27858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27869 resultobj
= wxPyMake_wxSizer(result
);
27877 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxWindow
*arg1
= (wxWindow
*) 0 ;
27880 PyObject
* obj0
= 0 ;
27881 char *kwnames
[] = {
27882 (char *) "self", NULL
27885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
27886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 (arg1
)->InheritAttributes();
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27895 Py_INCREF(Py_None
); resultobj
= Py_None
;
27902 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
;
27904 wxWindow
*arg1
= (wxWindow
*) 0 ;
27906 PyObject
* obj0
= 0 ;
27907 char *kwnames
[] = {
27908 (char *) "self", NULL
27911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
27912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
27918 wxPyEndAllowThreads(__tstate
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27930 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
27932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27933 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27935 return Py_BuildValue((char *)"");
27937 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27940 wxWindow
*arg2
= (wxWindow
*) NULL
;
27942 PyObject
* obj0
= 0 ;
27943 PyObject
* obj1
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "id",(char *) "parent", NULL
27948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27949 arg1
= (long) SWIG_AsLong(obj0
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27957 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
27959 wxPyEndAllowThreads(__tstate
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27963 resultobj
= wxPyMake_wxObject(result
);
27971 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27972 PyObject
*resultobj
;
27973 wxString
*arg1
= 0 ;
27974 wxWindow
*arg2
= (wxWindow
*) NULL
;
27976 bool temp1
= False
;
27977 PyObject
* obj0
= 0 ;
27978 PyObject
* obj1
= 0 ;
27979 char *kwnames
[] = {
27980 (char *) "name",(char *) "parent", NULL
27983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27985 arg1
= wxString_in_helper(obj0
);
27986 if (arg1
== NULL
) SWIG_fail
;
27990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27995 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27997 wxPyEndAllowThreads(__tstate
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28001 resultobj
= wxPyMake_wxObject(result
);
28017 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28018 PyObject
*resultobj
;
28019 wxString
*arg1
= 0 ;
28020 wxWindow
*arg2
= (wxWindow
*) NULL
;
28022 bool temp1
= False
;
28023 PyObject
* obj0
= 0 ;
28024 PyObject
* obj1
= 0 ;
28025 char *kwnames
[] = {
28026 (char *) "label",(char *) "parent", NULL
28029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28031 arg1
= wxString_in_helper(obj0
);
28032 if (arg1
== NULL
) SWIG_fail
;
28036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28041 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28043 wxPyEndAllowThreads(__tstate
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28047 resultobj
= wxPyMake_wxObject(result
);
28063 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28064 PyObject
*resultobj
;
28065 wxWindow
*arg1
= (wxWindow
*) 0 ;
28066 unsigned long arg2
;
28068 PyObject
* obj0
= 0 ;
28069 PyObject
* obj1
= 0 ;
28070 char *kwnames
[] = {
28071 (char *) "parent",(char *) "_hWnd", NULL
28074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28077 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28083 wxPyEndAllowThreads(__tstate
);
28084 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= wxPyMake_wxObject(result
);
28095 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28096 PyObject
*resultobj
;
28097 wxValidator
*result
;
28098 char *kwnames
[] = {
28102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 result
= (wxValidator
*)new wxValidator();
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= wxPyMake_wxObject(result
);
28119 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxValidator
*arg1
= (wxValidator
*) 0 ;
28122 wxValidator
*result
;
28123 PyObject
* obj0
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 result
= (wxValidator
*)(arg1
)->Clone();
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= wxPyMake_wxObject(result
);
28147 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
;
28149 wxValidator
*arg1
= (wxValidator
*) 0 ;
28150 wxWindow
*arg2
= (wxWindow
*) 0 ;
28152 PyObject
* obj0
= 0 ;
28153 PyObject
* obj1
= 0 ;
28154 char *kwnames
[] = {
28155 (char *) "self",(char *) "parent", NULL
28158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 result
= (bool)(arg1
)->Validate(arg2
);
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28179 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28180 PyObject
*resultobj
;
28181 wxValidator
*arg1
= (wxValidator
*) 0 ;
28183 PyObject
* obj0
= 0 ;
28184 char *kwnames
[] = {
28185 (char *) "self", NULL
28188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28193 result
= (bool)(arg1
)->TransferToWindow();
28195 wxPyEndAllowThreads(__tstate
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28207 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
;
28209 wxValidator
*arg1
= (wxValidator
*) 0 ;
28211 PyObject
* obj0
= 0 ;
28212 char *kwnames
[] = {
28213 (char *) "self", NULL
28216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28221 result
= (bool)(arg1
)->TransferFromWindow();
28223 wxPyEndAllowThreads(__tstate
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28235 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28236 PyObject
*resultobj
;
28237 wxValidator
*arg1
= (wxValidator
*) 0 ;
28239 PyObject
* obj0
= 0 ;
28240 char *kwnames
[] = {
28241 (char *) "self", NULL
28244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 result
= (wxWindow
*)(arg1
)->GetWindow();
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= wxPyMake_wxObject(result
);
28263 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
;
28265 wxValidator
*arg1
= (wxValidator
*) 0 ;
28266 wxWindow
*arg2
= (wxWindow
*) 0 ;
28267 PyObject
* obj0
= 0 ;
28268 PyObject
* obj1
= 0 ;
28269 char *kwnames
[] = {
28270 (char *) "self",(char *) "window", NULL
28273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28280 (arg1
)->SetWindow(arg2
);
28282 wxPyEndAllowThreads(__tstate
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28285 Py_INCREF(Py_None
); resultobj
= Py_None
;
28292 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28293 PyObject
*resultobj
;
28295 char *kwnames
[] = {
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 result
= (bool)wxValidator::IsSilent();
28304 wxPyEndAllowThreads(__tstate
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28316 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
;
28318 int arg1
= (int) True
;
28319 PyObject
* obj0
= 0 ;
28320 char *kwnames
[] = {
28321 (char *) "doIt", NULL
28324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28326 arg1
= (int) SWIG_AsInt(obj0
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28331 wxValidator::SetBellOnError(arg1
);
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 Py_INCREF(Py_None
); resultobj
= Py_None
;
28343 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28346 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28348 return Py_BuildValue((char *)"");
28350 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
;
28352 wxPyValidator
*result
;
28353 char *kwnames
[] = {
28357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 result
= (wxPyValidator
*)new wxPyValidator();
28362 wxPyEndAllowThreads(__tstate
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28372 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28373 PyObject
*resultobj
;
28374 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28375 PyObject
*arg2
= (PyObject
*) 0 ;
28376 PyObject
*arg3
= (PyObject
*) 0 ;
28377 int arg4
= (int) True
;
28378 PyObject
* obj0
= 0 ;
28379 PyObject
* obj1
= 0 ;
28380 PyObject
* obj2
= 0 ;
28381 PyObject
* obj3
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28392 arg4
= (int) SWIG_AsInt(obj3
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28397 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28399 wxPyEndAllowThreads(__tstate
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 Py_INCREF(Py_None
); resultobj
= Py_None
;
28409 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28412 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28414 return Py_BuildValue((char *)"");
28416 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28417 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28422 static PyObject
*_wrap_DefaultValidator_get() {
28425 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28430 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
;
28432 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28433 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28434 long arg2
= (long) 0 ;
28436 bool temp1
= False
;
28437 PyObject
* obj0
= 0 ;
28438 PyObject
* obj1
= 0 ;
28439 char *kwnames
[] = {
28440 (char *) "title",(char *) "style", NULL
28443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28446 arg1
= wxString_in_helper(obj0
);
28447 if (arg1
== NULL
) SWIG_fail
;
28452 arg2
= (long) SWIG_AsLong(obj1
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28457 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28463 resultobj
= wxPyMake_wxObject(result
);
28479 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28480 PyObject
*resultobj
;
28481 wxMenu
*arg1
= (wxMenu
*) 0 ;
28483 wxString
*arg3
= 0 ;
28484 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28485 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28486 int arg5
= (int) wxITEM_NORMAL
;
28487 wxMenuItem
*result
;
28488 bool temp3
= False
;
28489 bool temp4
= False
;
28490 PyObject
* obj0
= 0 ;
28491 PyObject
* obj1
= 0 ;
28492 PyObject
* obj2
= 0 ;
28493 PyObject
* obj3
= 0 ;
28494 PyObject
* obj4
= 0 ;
28495 char *kwnames
[] = {
28496 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28502 arg2
= (int) SWIG_AsInt(obj1
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28505 arg3
= wxString_in_helper(obj2
);
28506 if (arg3
== NULL
) SWIG_fail
;
28511 arg4
= wxString_in_helper(obj3
);
28512 if (arg4
== NULL
) SWIG_fail
;
28517 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28528 resultobj
= wxPyMake_wxObject(result
);
28552 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28553 PyObject
*resultobj
;
28554 wxMenu
*arg1
= (wxMenu
*) 0 ;
28555 wxMenuItem
*result
;
28556 PyObject
* obj0
= 0 ;
28557 char *kwnames
[] = {
28558 (char *) "self", NULL
28561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28566 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28568 wxPyEndAllowThreads(__tstate
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28572 resultobj
= wxPyMake_wxObject(result
);
28580 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
;
28582 wxMenu
*arg1
= (wxMenu
*) 0 ;
28584 wxString
*arg3
= 0 ;
28585 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28586 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28587 wxMenuItem
*result
;
28588 bool temp3
= False
;
28589 bool temp4
= False
;
28590 PyObject
* obj0
= 0 ;
28591 PyObject
* obj1
= 0 ;
28592 PyObject
* obj2
= 0 ;
28593 PyObject
* obj3
= 0 ;
28594 char *kwnames
[] = {
28595 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28601 arg2
= (int) SWIG_AsInt(obj1
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28604 arg3
= wxString_in_helper(obj2
);
28605 if (arg3
== NULL
) SWIG_fail
;
28610 arg4
= wxString_in_helper(obj3
);
28611 if (arg4
== NULL
) SWIG_fail
;
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28619 wxPyEndAllowThreads(__tstate
);
28620 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= wxPyMake_wxObject(result
);
28647 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28648 PyObject
*resultobj
;
28649 wxMenu
*arg1
= (wxMenu
*) 0 ;
28651 wxString
*arg3
= 0 ;
28652 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28653 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28654 wxMenuItem
*result
;
28655 bool temp3
= False
;
28656 bool temp4
= False
;
28657 PyObject
* obj0
= 0 ;
28658 PyObject
* obj1
= 0 ;
28659 PyObject
* obj2
= 0 ;
28660 PyObject
* obj3
= 0 ;
28661 char *kwnames
[] = {
28662 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28668 arg2
= (int) SWIG_AsInt(obj1
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28671 arg3
= wxString_in_helper(obj2
);
28672 if (arg3
== NULL
) SWIG_fail
;
28677 arg4
= wxString_in_helper(obj3
);
28678 if (arg4
== NULL
) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28690 resultobj
= wxPyMake_wxObject(result
);
28714 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28715 PyObject
*resultobj
;
28716 wxMenu
*arg1
= (wxMenu
*) 0 ;
28718 wxString
*arg3
= 0 ;
28719 wxMenu
*arg4
= (wxMenu
*) 0 ;
28720 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28721 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28722 wxMenuItem
*result
;
28723 bool temp3
= False
;
28724 bool temp5
= False
;
28725 PyObject
* obj0
= 0 ;
28726 PyObject
* obj1
= 0 ;
28727 PyObject
* obj2
= 0 ;
28728 PyObject
* obj3
= 0 ;
28729 PyObject
* obj4
= 0 ;
28730 char *kwnames
[] = {
28731 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28737 arg2
= (int) SWIG_AsInt(obj1
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 arg3
= wxString_in_helper(obj2
);
28741 if (arg3
== NULL
) SWIG_fail
;
28744 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28748 arg5
= wxString_in_helper(obj4
);
28749 if (arg5
== NULL
) SWIG_fail
;
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28757 wxPyEndAllowThreads(__tstate
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28761 resultobj
= wxPyMake_wxObject(result
);
28785 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28786 PyObject
*resultobj
;
28787 wxMenu
*arg1
= (wxMenu
*) 0 ;
28788 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28789 wxMenuItem
*result
;
28790 PyObject
* obj0
= 0 ;
28791 PyObject
* obj1
= 0 ;
28792 char *kwnames
[] = {
28793 (char *) "self",(char *) "item", NULL
28796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28805 wxPyEndAllowThreads(__tstate
);
28806 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= wxPyMake_wxObject(result
);
28817 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28818 PyObject
*resultobj
;
28819 wxMenu
*arg1
= (wxMenu
*) 0 ;
28820 PyObject
* obj0
= 0 ;
28821 char *kwnames
[] = {
28822 (char *) "self", NULL
28825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28832 wxPyEndAllowThreads(__tstate
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28835 Py_INCREF(Py_None
); resultobj
= Py_None
;
28842 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28843 PyObject
*resultobj
;
28844 wxMenu
*arg1
= (wxMenu
*) 0 ;
28846 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28847 wxMenuItem
*result
;
28848 PyObject
* obj0
= 0 ;
28849 PyObject
* obj1
= 0 ;
28850 PyObject
* obj2
= 0 ;
28851 char *kwnames
[] = {
28852 (char *) "self",(char *) "pos",(char *) "item", NULL
28855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28858 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28860 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28870 resultobj
= wxPyMake_wxObject(result
);
28878 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28879 PyObject
*resultobj
;
28880 wxMenu
*arg1
= (wxMenu
*) 0 ;
28883 wxString
*arg4
= 0 ;
28884 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28885 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28886 int arg6
= (int) wxITEM_NORMAL
;
28887 wxMenuItem
*result
;
28888 bool temp4
= False
;
28889 bool temp5
= False
;
28890 PyObject
* obj0
= 0 ;
28891 PyObject
* obj1
= 0 ;
28892 PyObject
* obj2
= 0 ;
28893 PyObject
* obj3
= 0 ;
28894 PyObject
* obj4
= 0 ;
28895 PyObject
* obj5
= 0 ;
28896 char *kwnames
[] = {
28897 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28903 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28905 arg3
= (int) SWIG_AsInt(obj2
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 arg4
= wxString_in_helper(obj3
);
28909 if (arg4
== NULL
) SWIG_fail
;
28914 arg5
= wxString_in_helper(obj4
);
28915 if (arg5
== NULL
) SWIG_fail
;
28920 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28931 resultobj
= wxPyMake_wxObject(result
);
28955 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28956 PyObject
*resultobj
;
28957 wxMenu
*arg1
= (wxMenu
*) 0 ;
28959 wxMenuItem
*result
;
28960 PyObject
* obj0
= 0 ;
28961 PyObject
* obj1
= 0 ;
28962 char *kwnames
[] = {
28963 (char *) "self",(char *) "pos", NULL
28966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
28967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28969 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28973 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28979 resultobj
= wxPyMake_wxObject(result
);
28987 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
;
28989 wxMenu
*arg1
= (wxMenu
*) 0 ;
28992 wxString
*arg4
= 0 ;
28993 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28994 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28995 wxMenuItem
*result
;
28996 bool temp4
= False
;
28997 bool temp5
= False
;
28998 PyObject
* obj0
= 0 ;
28999 PyObject
* obj1
= 0 ;
29000 PyObject
* obj2
= 0 ;
29001 PyObject
* obj3
= 0 ;
29002 PyObject
* obj4
= 0 ;
29003 char *kwnames
[] = {
29004 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29010 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29012 arg3
= (int) SWIG_AsInt(obj2
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29015 arg4
= wxString_in_helper(obj3
);
29016 if (arg4
== NULL
) SWIG_fail
;
29021 arg5
= wxString_in_helper(obj4
);
29022 if (arg5
== NULL
) SWIG_fail
;
29027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29030 wxPyEndAllowThreads(__tstate
);
29031 if (PyErr_Occurred()) SWIG_fail
;
29034 resultobj
= wxPyMake_wxObject(result
);
29058 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29059 PyObject
*resultobj
;
29060 wxMenu
*arg1
= (wxMenu
*) 0 ;
29063 wxString
*arg4
= 0 ;
29064 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29065 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29066 wxMenuItem
*result
;
29067 bool temp4
= False
;
29068 bool temp5
= False
;
29069 PyObject
* obj0
= 0 ;
29070 PyObject
* obj1
= 0 ;
29071 PyObject
* obj2
= 0 ;
29072 PyObject
* obj3
= 0 ;
29073 PyObject
* obj4
= 0 ;
29074 char *kwnames
[] = {
29075 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29081 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29083 arg3
= (int) SWIG_AsInt(obj2
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29086 arg4
= wxString_in_helper(obj3
);
29087 if (arg4
== NULL
) SWIG_fail
;
29092 arg5
= wxString_in_helper(obj4
);
29093 if (arg5
== NULL
) SWIG_fail
;
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29105 resultobj
= wxPyMake_wxObject(result
);
29129 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29130 PyObject
*resultobj
;
29131 wxMenu
*arg1
= (wxMenu
*) 0 ;
29134 wxString
*arg4
= 0 ;
29135 wxMenu
*arg5
= (wxMenu
*) 0 ;
29136 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29137 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29138 wxMenuItem
*result
;
29139 bool temp4
= False
;
29140 bool temp6
= False
;
29141 PyObject
* obj0
= 0 ;
29142 PyObject
* obj1
= 0 ;
29143 PyObject
* obj2
= 0 ;
29144 PyObject
* obj3
= 0 ;
29145 PyObject
* obj4
= 0 ;
29146 PyObject
* obj5
= 0 ;
29147 char *kwnames
[] = {
29148 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29154 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29156 arg3
= (int) SWIG_AsInt(obj2
);
29157 if (PyErr_Occurred()) SWIG_fail
;
29159 arg4
= wxString_in_helper(obj3
);
29160 if (arg4
== NULL
) SWIG_fail
;
29163 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29167 arg6
= wxString_in_helper(obj5
);
29168 if (arg6
== NULL
) SWIG_fail
;
29173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29174 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29176 wxPyEndAllowThreads(__tstate
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29180 resultobj
= wxPyMake_wxObject(result
);
29204 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29205 PyObject
*resultobj
;
29206 wxMenu
*arg1
= (wxMenu
*) 0 ;
29207 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29208 wxMenuItem
*result
;
29209 PyObject
* obj0
= 0 ;
29210 PyObject
* obj1
= 0 ;
29211 char *kwnames
[] = {
29212 (char *) "self",(char *) "item", NULL
29215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29222 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29224 wxPyEndAllowThreads(__tstate
);
29225 if (PyErr_Occurred()) SWIG_fail
;
29228 resultobj
= wxPyMake_wxObject(result
);
29236 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29237 PyObject
*resultobj
;
29238 wxMenu
*arg1
= (wxMenu
*) 0 ;
29240 wxString
*arg3
= 0 ;
29241 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29242 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29243 int arg5
= (int) wxITEM_NORMAL
;
29244 wxMenuItem
*result
;
29245 bool temp3
= False
;
29246 bool temp4
= False
;
29247 PyObject
* obj0
= 0 ;
29248 PyObject
* obj1
= 0 ;
29249 PyObject
* obj2
= 0 ;
29250 PyObject
* obj3
= 0 ;
29251 PyObject
* obj4
= 0 ;
29252 char *kwnames
[] = {
29253 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29259 arg2
= (int) SWIG_AsInt(obj1
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29262 arg3
= wxString_in_helper(obj2
);
29263 if (arg3
== NULL
) SWIG_fail
;
29268 arg4
= wxString_in_helper(obj3
);
29269 if (arg4
== NULL
) SWIG_fail
;
29274 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29279 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29281 wxPyEndAllowThreads(__tstate
);
29282 if (PyErr_Occurred()) SWIG_fail
;
29285 resultobj
= wxPyMake_wxObject(result
);
29309 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29310 PyObject
*resultobj
;
29311 wxMenu
*arg1
= (wxMenu
*) 0 ;
29312 wxMenuItem
*result
;
29313 PyObject
* obj0
= 0 ;
29314 char *kwnames
[] = {
29315 (char *) "self", NULL
29318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29323 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29325 wxPyEndAllowThreads(__tstate
);
29326 if (PyErr_Occurred()) SWIG_fail
;
29329 resultobj
= wxPyMake_wxObject(result
);
29337 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29338 PyObject
*resultobj
;
29339 wxMenu
*arg1
= (wxMenu
*) 0 ;
29341 wxString
*arg3
= 0 ;
29342 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29343 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29344 wxMenuItem
*result
;
29345 bool temp3
= False
;
29346 bool temp4
= False
;
29347 PyObject
* obj0
= 0 ;
29348 PyObject
* obj1
= 0 ;
29349 PyObject
* obj2
= 0 ;
29350 PyObject
* obj3
= 0 ;
29351 char *kwnames
[] = {
29352 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29358 arg2
= (int) SWIG_AsInt(obj1
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29361 arg3
= wxString_in_helper(obj2
);
29362 if (arg3
== NULL
) SWIG_fail
;
29367 arg4
= wxString_in_helper(obj3
);
29368 if (arg4
== NULL
) SWIG_fail
;
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29380 resultobj
= wxPyMake_wxObject(result
);
29404 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29405 PyObject
*resultobj
;
29406 wxMenu
*arg1
= (wxMenu
*) 0 ;
29408 wxString
*arg3
= 0 ;
29409 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29410 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29411 wxMenuItem
*result
;
29412 bool temp3
= False
;
29413 bool temp4
= False
;
29414 PyObject
* obj0
= 0 ;
29415 PyObject
* obj1
= 0 ;
29416 PyObject
* obj2
= 0 ;
29417 PyObject
* obj3
= 0 ;
29418 char *kwnames
[] = {
29419 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29425 arg2
= (int) SWIG_AsInt(obj1
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29428 arg3
= wxString_in_helper(obj2
);
29429 if (arg3
== NULL
) SWIG_fail
;
29434 arg4
= wxString_in_helper(obj3
);
29435 if (arg4
== NULL
) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29447 resultobj
= wxPyMake_wxObject(result
);
29471 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29472 PyObject
*resultobj
;
29473 wxMenu
*arg1
= (wxMenu
*) 0 ;
29475 wxString
*arg3
= 0 ;
29476 wxMenu
*arg4
= (wxMenu
*) 0 ;
29477 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29478 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29479 wxMenuItem
*result
;
29480 bool temp3
= False
;
29481 bool temp5
= False
;
29482 PyObject
* obj0
= 0 ;
29483 PyObject
* obj1
= 0 ;
29484 PyObject
* obj2
= 0 ;
29485 PyObject
* obj3
= 0 ;
29486 PyObject
* obj4
= 0 ;
29487 char *kwnames
[] = {
29488 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29494 arg2
= (int) SWIG_AsInt(obj1
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29497 arg3
= wxString_in_helper(obj2
);
29498 if (arg3
== NULL
) SWIG_fail
;
29501 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29505 arg5
= wxString_in_helper(obj4
);
29506 if (arg5
== NULL
) SWIG_fail
;
29511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29512 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29514 wxPyEndAllowThreads(__tstate
);
29515 if (PyErr_Occurred()) SWIG_fail
;
29518 resultobj
= wxPyMake_wxObject(result
);
29542 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29543 PyObject
*resultobj
;
29544 wxMenu
*arg1
= (wxMenu
*) 0 ;
29546 wxMenuItem
*result
;
29547 PyObject
* obj0
= 0 ;
29548 PyObject
* obj1
= 0 ;
29549 char *kwnames
[] = {
29550 (char *) "self",(char *) "id", NULL
29553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29556 arg2
= (int) SWIG_AsInt(obj1
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29560 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29562 wxPyEndAllowThreads(__tstate
);
29563 if (PyErr_Occurred()) SWIG_fail
;
29566 resultobj
= wxPyMake_wxObject(result
);
29574 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29575 PyObject
*resultobj
;
29576 wxMenu
*arg1
= (wxMenu
*) 0 ;
29577 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29578 wxMenuItem
*result
;
29579 PyObject
* obj0
= 0 ;
29580 PyObject
* obj1
= 0 ;
29581 char *kwnames
[] = {
29582 (char *) "self",(char *) "item", NULL
29585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29598 resultobj
= wxPyMake_wxObject(result
);
29606 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
;
29608 wxMenu
*arg1
= (wxMenu
*) 0 ;
29611 PyObject
* obj0
= 0 ;
29612 PyObject
* obj1
= 0 ;
29613 char *kwnames
[] = {
29614 (char *) "self",(char *) "id", NULL
29617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29620 arg2
= (int) SWIG_AsInt(obj1
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= (bool)(arg1
)->Delete(arg2
);
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29638 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29639 PyObject
*resultobj
;
29640 wxMenu
*arg1
= (wxMenu
*) 0 ;
29641 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29643 PyObject
* obj0
= 0 ;
29644 PyObject
* obj1
= 0 ;
29645 char *kwnames
[] = {
29646 (char *) "self",(char *) "item", NULL
29649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29656 result
= (bool)(arg1
)->Delete(arg2
);
29658 wxPyEndAllowThreads(__tstate
);
29659 if (PyErr_Occurred()) SWIG_fail
;
29662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29670 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29671 PyObject
*resultobj
;
29672 wxMenu
*arg1
= (wxMenu
*) 0 ;
29673 PyObject
* obj0
= 0 ;
29674 char *kwnames
[] = {
29675 (char *) "self", NULL
29678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29683 wxMenu_Destroy(arg1
);
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29688 Py_INCREF(Py_None
); resultobj
= Py_None
;
29695 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29696 PyObject
*resultobj
;
29697 wxMenu
*arg1
= (wxMenu
*) 0 ;
29700 PyObject
* obj0
= 0 ;
29701 PyObject
* obj1
= 0 ;
29702 char *kwnames
[] = {
29703 (char *) "self",(char *) "id", NULL
29706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29709 arg2
= (int) SWIG_AsInt(obj1
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 result
= (bool)(arg1
)->Destroy(arg2
);
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29727 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29728 PyObject
*resultobj
;
29729 wxMenu
*arg1
= (wxMenu
*) 0 ;
29730 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29732 PyObject
* obj0
= 0 ;
29733 PyObject
* obj1
= 0 ;
29734 char *kwnames
[] = {
29735 (char *) "self",(char *) "item", NULL
29738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29745 result
= (bool)(arg1
)->Destroy(arg2
);
29747 wxPyEndAllowThreads(__tstate
);
29748 if (PyErr_Occurred()) SWIG_fail
;
29751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29759 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29760 PyObject
*resultobj
;
29761 wxMenu
*arg1
= (wxMenu
*) 0 ;
29763 PyObject
* obj0
= 0 ;
29764 char *kwnames
[] = {
29765 (char *) "self", NULL
29768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29778 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29785 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29786 PyObject
*resultobj
;
29787 wxMenu
*arg1
= (wxMenu
*) 0 ;
29789 PyObject
* obj0
= 0 ;
29790 char *kwnames
[] = {
29791 (char *) "self", NULL
29794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29799 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29801 wxPyEndAllowThreads(__tstate
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29804 resultobj
= result
;
29811 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
;
29813 wxMenu
*arg1
= (wxMenu
*) 0 ;
29814 wxString
*arg2
= 0 ;
29816 bool temp2
= False
;
29817 PyObject
* obj0
= 0 ;
29818 PyObject
* obj1
= 0 ;
29819 char *kwnames
[] = {
29820 (char *) "self",(char *) "item", NULL
29823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29827 arg2
= wxString_in_helper(obj1
);
29828 if (arg2
== NULL
) SWIG_fail
;
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29835 wxPyEndAllowThreads(__tstate
);
29836 if (PyErr_Occurred()) SWIG_fail
;
29838 resultobj
= SWIG_FromInt((int)result
);
29853 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29854 PyObject
*resultobj
;
29855 wxMenu
*arg1
= (wxMenu
*) 0 ;
29857 wxMenuItem
*result
;
29858 PyObject
* obj0
= 0 ;
29859 PyObject
* obj1
= 0 ;
29860 char *kwnames
[] = {
29861 (char *) "self",(char *) "id", NULL
29864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29867 arg2
= (int) SWIG_AsInt(obj1
);
29868 if (PyErr_Occurred()) SWIG_fail
;
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29877 resultobj
= wxPyMake_wxObject(result
);
29885 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
;
29887 wxMenu
*arg1
= (wxMenu
*) 0 ;
29889 wxMenuItem
*result
;
29890 PyObject
* obj0
= 0 ;
29891 PyObject
* obj1
= 0 ;
29892 char *kwnames
[] = {
29893 (char *) "self",(char *) "position", NULL
29896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29899 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29903 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29905 wxPyEndAllowThreads(__tstate
);
29906 if (PyErr_Occurred()) SWIG_fail
;
29909 resultobj
= wxPyMake_wxObject(result
);
29917 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29918 PyObject
*resultobj
;
29919 wxMenu
*arg1
= (wxMenu
*) 0 ;
29922 PyObject
* obj0
= 0 ;
29923 PyObject
* obj1
= 0 ;
29924 PyObject
* obj2
= 0 ;
29925 char *kwnames
[] = {
29926 (char *) "self",(char *) "id",(char *) "enable", NULL
29929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29932 arg2
= (int) SWIG_AsInt(obj1
);
29933 if (PyErr_Occurred()) SWIG_fail
;
29934 arg3
= (bool) SWIG_AsBool(obj2
);
29935 if (PyErr_Occurred()) SWIG_fail
;
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 (arg1
)->Enable(arg2
,arg3
);
29940 wxPyEndAllowThreads(__tstate
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29943 Py_INCREF(Py_None
); resultobj
= Py_None
;
29950 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29951 PyObject
*resultobj
;
29952 wxMenu
*arg1
= (wxMenu
*) 0 ;
29955 PyObject
* obj0
= 0 ;
29956 PyObject
* obj1
= 0 ;
29957 char *kwnames
[] = {
29958 (char *) "self",(char *) "id", NULL
29961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29964 arg2
= (int) SWIG_AsInt(obj1
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29982 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29983 PyObject
*resultobj
;
29984 wxMenu
*arg1
= (wxMenu
*) 0 ;
29987 PyObject
* obj0
= 0 ;
29988 PyObject
* obj1
= 0 ;
29989 PyObject
* obj2
= 0 ;
29990 char *kwnames
[] = {
29991 (char *) "self",(char *) "id",(char *) "check", NULL
29994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29997 arg2
= (int) SWIG_AsInt(obj1
);
29998 if (PyErr_Occurred()) SWIG_fail
;
29999 arg3
= (bool) SWIG_AsBool(obj2
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30003 (arg1
)->Check(arg2
,arg3
);
30005 wxPyEndAllowThreads(__tstate
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30008 Py_INCREF(Py_None
); resultobj
= Py_None
;
30015 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30016 PyObject
*resultobj
;
30017 wxMenu
*arg1
= (wxMenu
*) 0 ;
30020 PyObject
* obj0
= 0 ;
30021 PyObject
* obj1
= 0 ;
30022 char *kwnames
[] = {
30023 (char *) "self",(char *) "id", NULL
30026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30029 arg2
= (int) SWIG_AsInt(obj1
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30033 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30035 wxPyEndAllowThreads(__tstate
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30047 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30048 PyObject
*resultobj
;
30049 wxMenu
*arg1
= (wxMenu
*) 0 ;
30051 wxString
*arg3
= 0 ;
30052 bool temp3
= False
;
30053 PyObject
* obj0
= 0 ;
30054 PyObject
* obj1
= 0 ;
30055 PyObject
* obj2
= 0 ;
30056 char *kwnames
[] = {
30057 (char *) "self",(char *) "id",(char *) "label", NULL
30060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30063 arg2
= (int) SWIG_AsInt(obj1
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30066 arg3
= wxString_in_helper(obj2
);
30067 if (arg3
== NULL
) SWIG_fail
;
30071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30072 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30074 wxPyEndAllowThreads(__tstate
);
30075 if (PyErr_Occurred()) SWIG_fail
;
30077 Py_INCREF(Py_None
); resultobj
= Py_None
;
30092 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30093 PyObject
*resultobj
;
30094 wxMenu
*arg1
= (wxMenu
*) 0 ;
30097 PyObject
* obj0
= 0 ;
30098 PyObject
* obj1
= 0 ;
30099 char *kwnames
[] = {
30100 (char *) "self",(char *) "id", NULL
30103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30106 arg2
= (int) SWIG_AsInt(obj1
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30128 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30129 PyObject
*resultobj
;
30130 wxMenu
*arg1
= (wxMenu
*) 0 ;
30132 wxString
*arg3
= 0 ;
30133 bool temp3
= False
;
30134 PyObject
* obj0
= 0 ;
30135 PyObject
* obj1
= 0 ;
30136 PyObject
* obj2
= 0 ;
30137 char *kwnames
[] = {
30138 (char *) "self",(char *) "id",(char *) "helpString", NULL
30141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30144 arg2
= (int) SWIG_AsInt(obj1
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30147 arg3
= wxString_in_helper(obj2
);
30148 if (arg3
== NULL
) SWIG_fail
;
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30158 Py_INCREF(Py_None
); resultobj
= Py_None
;
30173 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30174 PyObject
*resultobj
;
30175 wxMenu
*arg1
= (wxMenu
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 PyObject
* obj1
= 0 ;
30180 char *kwnames
[] = {
30181 (char *) "self",(char *) "id", NULL
30184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30187 arg2
= (int) SWIG_AsInt(obj1
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30209 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30210 PyObject
*resultobj
;
30211 wxMenu
*arg1
= (wxMenu
*) 0 ;
30212 wxString
*arg2
= 0 ;
30213 bool temp2
= False
;
30214 PyObject
* obj0
= 0 ;
30215 PyObject
* obj1
= 0 ;
30216 char *kwnames
[] = {
30217 (char *) "self",(char *) "title", NULL
30220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30224 arg2
= wxString_in_helper(obj1
);
30225 if (arg2
== NULL
) SWIG_fail
;
30229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30230 (arg1
)->SetTitle((wxString
const &)*arg2
);
30232 wxPyEndAllowThreads(__tstate
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30235 Py_INCREF(Py_None
); resultobj
= Py_None
;
30250 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30251 PyObject
*resultobj
;
30252 wxMenu
*arg1
= (wxMenu
*) 0 ;
30254 PyObject
* obj0
= 0 ;
30255 char *kwnames
[] = {
30256 (char *) "self", NULL
30259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 result
= ((wxMenu
const *)arg1
)->GetTitle();
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30282 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30283 PyObject
*resultobj
;
30284 wxMenu
*arg1
= (wxMenu
*) 0 ;
30285 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30286 PyObject
* obj0
= 0 ;
30287 PyObject
* obj1
= 0 ;
30288 char *kwnames
[] = {
30289 (char *) "self",(char *) "handler", NULL
30292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 (arg1
)->SetEventHandler(arg2
);
30301 wxPyEndAllowThreads(__tstate
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30304 Py_INCREF(Py_None
); resultobj
= Py_None
;
30311 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
;
30313 wxMenu
*arg1
= (wxMenu
*) 0 ;
30314 wxEvtHandler
*result
;
30315 PyObject
* obj0
= 0 ;
30316 char *kwnames
[] = {
30317 (char *) "self", NULL
30320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30327 wxPyEndAllowThreads(__tstate
);
30328 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= wxPyMake_wxObject(result
);
30339 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30340 PyObject
*resultobj
;
30341 wxMenu
*arg1
= (wxMenu
*) 0 ;
30342 wxWindow
*arg2
= (wxWindow
*) 0 ;
30343 PyObject
* obj0
= 0 ;
30344 PyObject
* obj1
= 0 ;
30345 char *kwnames
[] = {
30346 (char *) "self",(char *) "win", NULL
30349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30356 (arg1
)->SetInvokingWindow(arg2
);
30358 wxPyEndAllowThreads(__tstate
);
30359 if (PyErr_Occurred()) SWIG_fail
;
30361 Py_INCREF(Py_None
); resultobj
= Py_None
;
30368 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30369 PyObject
*resultobj
;
30370 wxMenu
*arg1
= (wxMenu
*) 0 ;
30372 PyObject
* obj0
= 0 ;
30373 char *kwnames
[] = {
30374 (char *) "self", NULL
30377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30382 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30384 wxPyEndAllowThreads(__tstate
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30388 resultobj
= wxPyMake_wxObject(result
);
30396 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30397 PyObject
*resultobj
;
30398 wxMenu
*arg1
= (wxMenu
*) 0 ;
30400 PyObject
* obj0
= 0 ;
30401 char *kwnames
[] = {
30402 (char *) "self", NULL
30405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= SWIG_FromLong((long)result
);
30422 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
;
30424 wxMenu
*arg1
= (wxMenu
*) 0 ;
30425 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30426 PyObject
* obj0
= 0 ;
30427 PyObject
* obj1
= 0 ;
30428 char *kwnames
[] = {
30429 (char *) "self",(char *) "source", NULL
30432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30441 (arg1
)->UpdateUI(arg2
);
30443 wxPyEndAllowThreads(__tstate
);
30444 if (PyErr_Occurred()) SWIG_fail
;
30446 Py_INCREF(Py_None
); resultobj
= Py_None
;
30453 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30454 PyObject
*resultobj
;
30455 wxMenu
*arg1
= (wxMenu
*) 0 ;
30457 PyObject
* obj0
= 0 ;
30458 char *kwnames
[] = {
30459 (char *) "self", NULL
30462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30467 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30469 wxPyEndAllowThreads(__tstate
);
30470 if (PyErr_Occurred()) SWIG_fail
;
30473 resultobj
= wxPyMake_wxObject(result
);
30481 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30482 PyObject
*resultobj
;
30483 wxMenu
*arg1
= (wxMenu
*) 0 ;
30484 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30485 PyObject
* obj0
= 0 ;
30486 PyObject
* obj1
= 0 ;
30487 char *kwnames
[] = {
30488 (char *) "self",(char *) "menubar", NULL
30491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30498 (arg1
)->Attach(arg2
);
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 Py_INCREF(Py_None
); resultobj
= Py_None
;
30510 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
;
30512 wxMenu
*arg1
= (wxMenu
*) 0 ;
30513 PyObject
* obj0
= 0 ;
30514 char *kwnames
[] = {
30515 (char *) "self", NULL
30518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30525 wxPyEndAllowThreads(__tstate
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30528 Py_INCREF(Py_None
); resultobj
= Py_None
;
30535 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
;
30537 wxMenu
*arg1
= (wxMenu
*) 0 ;
30539 PyObject
* obj0
= 0 ;
30540 char *kwnames
[] = {
30541 (char *) "self", NULL
30544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30563 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30564 PyObject
*resultobj
;
30565 wxMenu
*arg1
= (wxMenu
*) 0 ;
30566 wxMenu
*arg2
= (wxMenu
*) 0 ;
30567 PyObject
* obj0
= 0 ;
30568 PyObject
* obj1
= 0 ;
30569 char *kwnames
[] = {
30570 (char *) "self",(char *) "parent", NULL
30573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30580 (arg1
)->SetParent(arg2
);
30582 wxPyEndAllowThreads(__tstate
);
30583 if (PyErr_Occurred()) SWIG_fail
;
30585 Py_INCREF(Py_None
); resultobj
= Py_None
;
30592 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30593 PyObject
*resultobj
;
30594 wxMenu
*arg1
= (wxMenu
*) 0 ;
30596 PyObject
* obj0
= 0 ;
30597 char *kwnames
[] = {
30598 (char *) "self", NULL
30601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30606 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30608 wxPyEndAllowThreads(__tstate
);
30609 if (PyErr_Occurred()) SWIG_fail
;
30612 resultobj
= wxPyMake_wxObject(result
);
30620 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30623 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30625 return Py_BuildValue((char *)"");
30627 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30628 PyObject
*resultobj
;
30629 long arg1
= (long) 0 ;
30631 PyObject
* obj0
= 0 ;
30632 char *kwnames
[] = {
30633 (char *) "style", NULL
30636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30638 arg1
= (long) SWIG_AsLong(obj0
);
30639 if (PyErr_Occurred()) SWIG_fail
;
30642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30643 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30645 wxPyEndAllowThreads(__tstate
);
30646 if (PyErr_Occurred()) SWIG_fail
;
30649 resultobj
= wxPyMake_wxObject(result
);
30657 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30658 PyObject
*resultobj
;
30659 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30660 wxMenu
*arg2
= (wxMenu
*) 0 ;
30661 wxString
*arg3
= 0 ;
30663 bool temp3
= False
;
30664 PyObject
* obj0
= 0 ;
30665 PyObject
* obj1
= 0 ;
30666 PyObject
* obj2
= 0 ;
30667 char *kwnames
[] = {
30668 (char *) "self",(char *) "menu",(char *) "title", NULL
30671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30677 arg3
= wxString_in_helper(obj2
);
30678 if (arg3
== NULL
) SWIG_fail
;
30682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30683 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30685 wxPyEndAllowThreads(__tstate
);
30686 if (PyErr_Occurred()) SWIG_fail
;
30689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30705 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30706 PyObject
*resultobj
;
30707 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30709 wxMenu
*arg3
= (wxMenu
*) 0 ;
30710 wxString
*arg4
= 0 ;
30712 bool temp4
= False
;
30713 PyObject
* obj0
= 0 ;
30714 PyObject
* obj1
= 0 ;
30715 PyObject
* obj2
= 0 ;
30716 PyObject
* obj3
= 0 ;
30717 char *kwnames
[] = {
30718 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30724 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30726 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30729 arg4
= wxString_in_helper(obj3
);
30730 if (arg4
== NULL
) SWIG_fail
;
30734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30735 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30737 wxPyEndAllowThreads(__tstate
);
30738 if (PyErr_Occurred()) SWIG_fail
;
30741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30757 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30758 PyObject
*resultobj
;
30759 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30761 PyObject
* obj0
= 0 ;
30762 char *kwnames
[] = {
30763 (char *) "self", NULL
30766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30783 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30784 PyObject
*resultobj
;
30785 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30788 PyObject
* obj0
= 0 ;
30789 PyObject
* obj1
= 0 ;
30790 char *kwnames
[] = {
30791 (char *) "self",(char *) "pos", NULL
30794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30797 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30798 if (PyErr_Occurred()) SWIG_fail
;
30800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30801 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30803 wxPyEndAllowThreads(__tstate
);
30804 if (PyErr_Occurred()) SWIG_fail
;
30807 resultobj
= wxPyMake_wxObject(result
);
30815 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30816 PyObject
*resultobj
;
30817 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30819 wxMenu
*arg3
= (wxMenu
*) 0 ;
30820 wxString
*arg4
= 0 ;
30822 bool temp4
= False
;
30823 PyObject
* obj0
= 0 ;
30824 PyObject
* obj1
= 0 ;
30825 PyObject
* obj2
= 0 ;
30826 PyObject
* obj3
= 0 ;
30827 char *kwnames
[] = {
30828 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30834 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30836 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30839 arg4
= wxString_in_helper(obj3
);
30840 if (arg4
== NULL
) SWIG_fail
;
30844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30845 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30851 resultobj
= wxPyMake_wxObject(result
);
30867 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30868 PyObject
*resultobj
;
30869 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30872 PyObject
* obj0
= 0 ;
30873 PyObject
* obj1
= 0 ;
30874 char *kwnames
[] = {
30875 (char *) "self",(char *) "pos", NULL
30878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30881 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30882 if (PyErr_Occurred()) SWIG_fail
;
30884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30885 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30887 wxPyEndAllowThreads(__tstate
);
30888 if (PyErr_Occurred()) SWIG_fail
;
30891 resultobj
= wxPyMake_wxObject(result
);
30899 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30900 PyObject
*resultobj
;
30901 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30904 PyObject
* obj0
= 0 ;
30905 PyObject
* obj1
= 0 ;
30906 PyObject
* obj2
= 0 ;
30907 char *kwnames
[] = {
30908 (char *) "self",(char *) "pos",(char *) "enable", NULL
30911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30914 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30916 arg3
= (bool) SWIG_AsBool(obj2
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 (arg1
)->EnableTop(arg2
,arg3
);
30922 wxPyEndAllowThreads(__tstate
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30925 Py_INCREF(Py_None
); resultobj
= Py_None
;
30932 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
;
30934 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30937 PyObject
* obj0
= 0 ;
30938 PyObject
* obj1
= 0 ;
30939 char *kwnames
[] = {
30940 (char *) "self",(char *) "pos", NULL
30943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30946 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
30952 wxPyEndAllowThreads(__tstate
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30964 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30968 wxString
*arg3
= 0 ;
30969 bool temp3
= False
;
30970 PyObject
* obj0
= 0 ;
30971 PyObject
* obj1
= 0 ;
30972 PyObject
* obj2
= 0 ;
30973 char *kwnames
[] = {
30974 (char *) "self",(char *) "pos",(char *) "label", NULL
30977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30980 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30981 if (PyErr_Occurred()) SWIG_fail
;
30983 arg3
= wxString_in_helper(obj2
);
30984 if (arg3
== NULL
) SWIG_fail
;
30988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30989 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
30991 wxPyEndAllowThreads(__tstate
);
30992 if (PyErr_Occurred()) SWIG_fail
;
30994 Py_INCREF(Py_None
); resultobj
= Py_None
;
31009 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31010 PyObject
*resultobj
;
31011 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31014 PyObject
* obj0
= 0 ;
31015 PyObject
* obj1
= 0 ;
31016 char *kwnames
[] = {
31017 (char *) "self",(char *) "pos", NULL
31020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31023 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31027 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31029 wxPyEndAllowThreads(__tstate
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31045 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31046 PyObject
*resultobj
;
31047 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31048 wxString
*arg2
= 0 ;
31049 wxString
*arg3
= 0 ;
31051 bool temp2
= False
;
31052 bool temp3
= False
;
31053 PyObject
* obj0
= 0 ;
31054 PyObject
* obj1
= 0 ;
31055 PyObject
* obj2
= 0 ;
31056 char *kwnames
[] = {
31057 (char *) "self",(char *) "menu",(char *) "item", NULL
31060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31064 arg2
= wxString_in_helper(obj1
);
31065 if (arg2
== NULL
) SWIG_fail
;
31069 arg3
= wxString_in_helper(obj2
);
31070 if (arg3
== NULL
) SWIG_fail
;
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31077 wxPyEndAllowThreads(__tstate
);
31078 if (PyErr_Occurred()) SWIG_fail
;
31080 resultobj
= SWIG_FromInt((int)result
);
31103 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31104 PyObject
*resultobj
;
31105 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31107 wxMenuItem
*result
;
31108 PyObject
* obj0
= 0 ;
31109 PyObject
* obj1
= 0 ;
31110 char *kwnames
[] = {
31111 (char *) "self",(char *) "id", NULL
31114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31117 arg2
= (int) SWIG_AsInt(obj1
);
31118 if (PyErr_Occurred()) SWIG_fail
;
31120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31121 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31123 wxPyEndAllowThreads(__tstate
);
31124 if (PyErr_Occurred()) SWIG_fail
;
31127 resultobj
= wxPyMake_wxObject(result
);
31135 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31136 PyObject
*resultobj
;
31137 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31138 wxString
*arg2
= 0 ;
31140 bool temp2
= False
;
31141 PyObject
* obj0
= 0 ;
31142 PyObject
* obj1
= 0 ;
31143 char *kwnames
[] = {
31144 (char *) "self",(char *) "title", NULL
31147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31151 arg2
= wxString_in_helper(obj1
);
31152 if (arg2
== NULL
) SWIG_fail
;
31156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31157 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31159 wxPyEndAllowThreads(__tstate
);
31160 if (PyErr_Occurred()) SWIG_fail
;
31162 resultobj
= SWIG_FromInt((int)result
);
31177 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31178 PyObject
*resultobj
;
31179 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31182 PyObject
* obj0
= 0 ;
31183 PyObject
* obj1
= 0 ;
31184 PyObject
* obj2
= 0 ;
31185 char *kwnames
[] = {
31186 (char *) "self",(char *) "id",(char *) "enable", NULL
31189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31192 arg2
= (int) SWIG_AsInt(obj1
);
31193 if (PyErr_Occurred()) SWIG_fail
;
31194 arg3
= (bool) SWIG_AsBool(obj2
);
31195 if (PyErr_Occurred()) SWIG_fail
;
31197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31198 (arg1
)->Enable(arg2
,arg3
);
31200 wxPyEndAllowThreads(__tstate
);
31201 if (PyErr_Occurred()) SWIG_fail
;
31203 Py_INCREF(Py_None
); resultobj
= Py_None
;
31210 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31211 PyObject
*resultobj
;
31212 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31215 PyObject
* obj0
= 0 ;
31216 PyObject
* obj1
= 0 ;
31217 PyObject
* obj2
= 0 ;
31218 char *kwnames
[] = {
31219 (char *) "self",(char *) "id",(char *) "check", NULL
31222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31225 arg2
= (int) SWIG_AsInt(obj1
);
31226 if (PyErr_Occurred()) SWIG_fail
;
31227 arg3
= (bool) SWIG_AsBool(obj2
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31231 (arg1
)->Check(arg2
,arg3
);
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31236 Py_INCREF(Py_None
); resultobj
= Py_None
;
31243 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31244 PyObject
*resultobj
;
31245 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31248 PyObject
* obj0
= 0 ;
31249 PyObject
* obj1
= 0 ;
31250 char *kwnames
[] = {
31251 (char *) "self",(char *) "id", NULL
31254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31257 arg2
= (int) SWIG_AsInt(obj1
);
31258 if (PyErr_Occurred()) SWIG_fail
;
31260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31261 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31263 wxPyEndAllowThreads(__tstate
);
31264 if (PyErr_Occurred()) SWIG_fail
;
31267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31275 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31276 PyObject
*resultobj
;
31277 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31280 PyObject
* obj0
= 0 ;
31281 PyObject
* obj1
= 0 ;
31282 char *kwnames
[] = {
31283 (char *) "self",(char *) "id", NULL
31286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31289 arg2
= (int) SWIG_AsInt(obj1
);
31290 if (PyErr_Occurred()) SWIG_fail
;
31292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31293 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31295 wxPyEndAllowThreads(__tstate
);
31296 if (PyErr_Occurred()) SWIG_fail
;
31299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31307 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31308 PyObject
*resultobj
;
31309 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31311 wxString
*arg3
= 0 ;
31312 bool temp3
= False
;
31313 PyObject
* obj0
= 0 ;
31314 PyObject
* obj1
= 0 ;
31315 PyObject
* obj2
= 0 ;
31316 char *kwnames
[] = {
31317 (char *) "self",(char *) "id",(char *) "label", NULL
31320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31323 arg2
= (int) SWIG_AsInt(obj1
);
31324 if (PyErr_Occurred()) SWIG_fail
;
31326 arg3
= wxString_in_helper(obj2
);
31327 if (arg3
== NULL
) SWIG_fail
;
31331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31332 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31334 wxPyEndAllowThreads(__tstate
);
31335 if (PyErr_Occurred()) SWIG_fail
;
31337 Py_INCREF(Py_None
); resultobj
= Py_None
;
31352 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31353 PyObject
*resultobj
;
31354 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31357 PyObject
* obj0
= 0 ;
31358 PyObject
* obj1
= 0 ;
31359 char *kwnames
[] = {
31360 (char *) "self",(char *) "id", NULL
31363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31366 arg2
= (int) SWIG_AsInt(obj1
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31370 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31388 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31389 PyObject
*resultobj
;
31390 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31392 wxString
*arg3
= 0 ;
31393 bool temp3
= False
;
31394 PyObject
* obj0
= 0 ;
31395 PyObject
* obj1
= 0 ;
31396 PyObject
* obj2
= 0 ;
31397 char *kwnames
[] = {
31398 (char *) "self",(char *) "id",(char *) "helpString", NULL
31401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31404 arg2
= (int) SWIG_AsInt(obj1
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31407 arg3
= wxString_in_helper(obj2
);
31408 if (arg3
== NULL
) SWIG_fail
;
31412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31413 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31415 wxPyEndAllowThreads(__tstate
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31418 Py_INCREF(Py_None
); resultobj
= Py_None
;
31433 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31434 PyObject
*resultobj
;
31435 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31438 PyObject
* obj0
= 0 ;
31439 PyObject
* obj1
= 0 ;
31440 char *kwnames
[] = {
31441 (char *) "self",(char *) "id", NULL
31444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31447 arg2
= (int) SWIG_AsInt(obj1
);
31448 if (PyErr_Occurred()) SWIG_fail
;
31450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31451 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31453 wxPyEndAllowThreads(__tstate
);
31454 if (PyErr_Occurred()) SWIG_fail
;
31458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31469 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31470 PyObject
*resultobj
;
31471 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31473 PyObject
* obj0
= 0 ;
31474 char *kwnames
[] = {
31475 (char *) "self", NULL
31478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31485 wxPyEndAllowThreads(__tstate
);
31486 if (PyErr_Occurred()) SWIG_fail
;
31489 resultobj
= wxPyMake_wxObject(result
);
31497 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31498 PyObject
*resultobj
;
31499 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31501 PyObject
* obj0
= 0 ;
31502 char *kwnames
[] = {
31503 (char *) "self", NULL
31506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31511 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31525 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31526 PyObject
*resultobj
;
31527 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31528 wxFrame
*arg2
= (wxFrame
*) 0 ;
31529 PyObject
* obj0
= 0 ;
31530 PyObject
* obj1
= 0 ;
31531 char *kwnames
[] = {
31532 (char *) "self",(char *) "frame", NULL
31535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 (arg1
)->Attach(arg2
);
31544 wxPyEndAllowThreads(__tstate
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31547 Py_INCREF(Py_None
); resultobj
= Py_None
;
31554 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31555 PyObject
*resultobj
;
31556 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31557 PyObject
* obj0
= 0 ;
31558 char *kwnames
[] = {
31559 (char *) "self", NULL
31562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31572 Py_INCREF(Py_None
); resultobj
= Py_None
;
31579 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31582 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31584 return Py_BuildValue((char *)"");
31586 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31587 PyObject
*resultobj
;
31588 wxMenu
*arg1
= (wxMenu
*) NULL
;
31589 int arg2
= (int) wxID_ANY
;
31590 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31591 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31592 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31593 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31594 int arg5
= (int) wxITEM_NORMAL
;
31595 wxMenu
*arg6
= (wxMenu
*) NULL
;
31596 wxMenuItem
*result
;
31597 bool temp3
= False
;
31598 bool temp4
= False
;
31599 PyObject
* obj0
= 0 ;
31600 PyObject
* obj1
= 0 ;
31601 PyObject
* obj2
= 0 ;
31602 PyObject
* obj3
= 0 ;
31603 PyObject
* obj4
= 0 ;
31604 PyObject
* obj5
= 0 ;
31605 char *kwnames
[] = {
31606 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31615 arg2
= (int) SWIG_AsInt(obj1
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31620 arg3
= wxString_in_helper(obj2
);
31621 if (arg3
== NULL
) SWIG_fail
;
31627 arg4
= wxString_in_helper(obj3
);
31628 if (arg4
== NULL
) SWIG_fail
;
31633 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31637 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31642 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31644 wxPyEndAllowThreads(__tstate
);
31645 if (PyErr_Occurred()) SWIG_fail
;
31648 resultobj
= wxPyMake_wxObject(result
);
31672 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31673 PyObject
*resultobj
;
31674 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31676 PyObject
* obj0
= 0 ;
31677 char *kwnames
[] = {
31678 (char *) "self", NULL
31681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31686 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31688 wxPyEndAllowThreads(__tstate
);
31689 if (PyErr_Occurred()) SWIG_fail
;
31692 resultobj
= wxPyMake_wxObject(result
);
31700 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31701 PyObject
*resultobj
;
31702 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31703 wxMenu
*arg2
= (wxMenu
*) 0 ;
31704 PyObject
* obj0
= 0 ;
31705 PyObject
* obj1
= 0 ;
31706 char *kwnames
[] = {
31707 (char *) "self",(char *) "menu", NULL
31710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31717 (arg1
)->SetMenu(arg2
);
31719 wxPyEndAllowThreads(__tstate
);
31720 if (PyErr_Occurred()) SWIG_fail
;
31722 Py_INCREF(Py_None
); resultobj
= Py_None
;
31729 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31730 PyObject
*resultobj
;
31731 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31733 PyObject
* obj0
= 0 ;
31734 PyObject
* obj1
= 0 ;
31735 char *kwnames
[] = {
31736 (char *) "self",(char *) "id", NULL
31739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31742 arg2
= (int) SWIG_AsInt(obj1
);
31743 if (PyErr_Occurred()) SWIG_fail
;
31745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31746 (arg1
)->SetId(arg2
);
31748 wxPyEndAllowThreads(__tstate
);
31749 if (PyErr_Occurred()) SWIG_fail
;
31751 Py_INCREF(Py_None
); resultobj
= Py_None
;
31758 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31759 PyObject
*resultobj
;
31760 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31762 PyObject
* obj0
= 0 ;
31763 char *kwnames
[] = {
31764 (char *) "self", NULL
31767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31772 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31774 wxPyEndAllowThreads(__tstate
);
31775 if (PyErr_Occurred()) SWIG_fail
;
31777 resultobj
= SWIG_FromInt((int)result
);
31784 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31785 PyObject
*resultobj
;
31786 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31788 PyObject
* obj0
= 0 ;
31789 char *kwnames
[] = {
31790 (char *) "self", NULL
31793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31798 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31800 wxPyEndAllowThreads(__tstate
);
31801 if (PyErr_Occurred()) SWIG_fail
;
31804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31812 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31813 PyObject
*resultobj
;
31814 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31815 wxString
*arg2
= 0 ;
31816 bool temp2
= False
;
31817 PyObject
* obj0
= 0 ;
31818 PyObject
* obj1
= 0 ;
31819 char *kwnames
[] = {
31820 (char *) "self",(char *) "str", NULL
31823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31827 arg2
= wxString_in_helper(obj1
);
31828 if (arg2
== NULL
) SWIG_fail
;
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 (arg1
)->SetText((wxString
const &)*arg2
);
31835 wxPyEndAllowThreads(__tstate
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31838 Py_INCREF(Py_None
); resultobj
= Py_None
;
31853 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31854 PyObject
*resultobj
;
31855 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31857 PyObject
* obj0
= 0 ;
31858 char *kwnames
[] = {
31859 (char *) "self", NULL
31862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31867 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31869 wxPyEndAllowThreads(__tstate
);
31870 if (PyErr_Occurred()) SWIG_fail
;
31874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31885 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31886 PyObject
*resultobj
;
31887 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31889 PyObject
* obj0
= 0 ;
31890 char *kwnames
[] = {
31891 (char *) "self", NULL
31894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31901 result
= (wxString
*) &_result_ref
;
31904 wxPyEndAllowThreads(__tstate
);
31905 if (PyErr_Occurred()) SWIG_fail
;
31909 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31911 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31920 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31921 PyObject
*resultobj
;
31922 wxString
*arg1
= 0 ;
31924 bool temp1
= False
;
31925 PyObject
* obj0
= 0 ;
31926 char *kwnames
[] = {
31927 (char *) "text", NULL
31930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31932 arg1
= wxString_in_helper(obj0
);
31933 if (arg1
== NULL
) SWIG_fail
;
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
31940 wxPyEndAllowThreads(__tstate
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31964 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31965 PyObject
*resultobj
;
31966 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31968 PyObject
* obj0
= 0 ;
31969 char *kwnames
[] = {
31970 (char *) "self", NULL
31973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
31974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31978 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
31980 wxPyEndAllowThreads(__tstate
);
31981 if (PyErr_Occurred()) SWIG_fail
;
31983 resultobj
= SWIG_FromInt((int)result
);
31990 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31991 PyObject
*resultobj
;
31992 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31994 PyObject
* obj0
= 0 ;
31995 PyObject
* obj1
= 0 ;
31996 char *kwnames
[] = {
31997 (char *) "self",(char *) "kind", NULL
32000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32003 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32004 if (PyErr_Occurred()) SWIG_fail
;
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32007 (arg1
)->SetKind((wxItemKind
)arg2
);
32009 wxPyEndAllowThreads(__tstate
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32012 Py_INCREF(Py_None
); resultobj
= Py_None
;
32019 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32020 PyObject
*resultobj
;
32021 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32023 PyObject
* obj0
= 0 ;
32024 PyObject
* obj1
= 0 ;
32025 char *kwnames
[] = {
32026 (char *) "self",(char *) "checkable", NULL
32029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32032 arg2
= (bool) SWIG_AsBool(obj1
);
32033 if (PyErr_Occurred()) SWIG_fail
;
32035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32036 (arg1
)->SetCheckable(arg2
);
32038 wxPyEndAllowThreads(__tstate
);
32039 if (PyErr_Occurred()) SWIG_fail
;
32041 Py_INCREF(Py_None
); resultobj
= Py_None
;
32048 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
;
32050 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32052 PyObject
* obj0
= 0 ;
32053 char *kwnames
[] = {
32054 (char *) "self", NULL
32057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32062 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32064 wxPyEndAllowThreads(__tstate
);
32065 if (PyErr_Occurred()) SWIG_fail
;
32068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32076 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32077 PyObject
*resultobj
;
32078 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32080 PyObject
* obj0
= 0 ;
32081 char *kwnames
[] = {
32082 (char *) "self", NULL
32085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32090 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32092 wxPyEndAllowThreads(__tstate
);
32093 if (PyErr_Occurred()) SWIG_fail
;
32096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32104 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32105 PyObject
*resultobj
;
32106 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32107 wxMenu
*arg2
= (wxMenu
*) 0 ;
32108 PyObject
* obj0
= 0 ;
32109 PyObject
* obj1
= 0 ;
32110 char *kwnames
[] = {
32111 (char *) "self",(char *) "menu", NULL
32114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32121 (arg1
)->SetSubMenu(arg2
);
32123 wxPyEndAllowThreads(__tstate
);
32124 if (PyErr_Occurred()) SWIG_fail
;
32126 Py_INCREF(Py_None
); resultobj
= Py_None
;
32133 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32134 PyObject
*resultobj
;
32135 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32137 PyObject
* obj0
= 0 ;
32138 char *kwnames
[] = {
32139 (char *) "self", NULL
32142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32147 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32149 wxPyEndAllowThreads(__tstate
);
32150 if (PyErr_Occurred()) SWIG_fail
;
32153 resultobj
= wxPyMake_wxObject(result
);
32161 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32162 PyObject
*resultobj
;
32163 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32164 bool arg2
= (bool) True
;
32165 PyObject
* obj0
= 0 ;
32166 PyObject
* obj1
= 0 ;
32167 char *kwnames
[] = {
32168 (char *) "self",(char *) "enable", NULL
32171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32175 arg2
= (bool) SWIG_AsBool(obj1
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32180 (arg1
)->Enable(arg2
);
32182 wxPyEndAllowThreads(__tstate
);
32183 if (PyErr_Occurred()) SWIG_fail
;
32185 Py_INCREF(Py_None
); resultobj
= Py_None
;
32192 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32193 PyObject
*resultobj
;
32194 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32196 PyObject
* obj0
= 0 ;
32197 char *kwnames
[] = {
32198 (char *) "self", NULL
32201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32206 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32208 wxPyEndAllowThreads(__tstate
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32220 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32221 PyObject
*resultobj
;
32222 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32223 bool arg2
= (bool) True
;
32224 PyObject
* obj0
= 0 ;
32225 PyObject
* obj1
= 0 ;
32226 char *kwnames
[] = {
32227 (char *) "self",(char *) "check", NULL
32230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32234 arg2
= (bool) SWIG_AsBool(obj1
);
32235 if (PyErr_Occurred()) SWIG_fail
;
32238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32239 (arg1
)->Check(arg2
);
32241 wxPyEndAllowThreads(__tstate
);
32242 if (PyErr_Occurred()) SWIG_fail
;
32244 Py_INCREF(Py_None
); resultobj
= Py_None
;
32251 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32252 PyObject
*resultobj
;
32253 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32255 PyObject
* obj0
= 0 ;
32256 char *kwnames
[] = {
32257 (char *) "self", NULL
32260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32265 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32267 wxPyEndAllowThreads(__tstate
);
32268 if (PyErr_Occurred()) SWIG_fail
;
32271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32279 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32280 PyObject
*resultobj
;
32281 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32282 PyObject
* obj0
= 0 ;
32283 char *kwnames
[] = {
32284 (char *) "self", NULL
32287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 wxPyEndAllowThreads(__tstate
);
32295 if (PyErr_Occurred()) SWIG_fail
;
32297 Py_INCREF(Py_None
); resultobj
= Py_None
;
32304 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32305 PyObject
*resultobj
;
32306 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32307 wxString
*arg2
= 0 ;
32308 bool temp2
= False
;
32309 PyObject
* obj0
= 0 ;
32310 PyObject
* obj1
= 0 ;
32311 char *kwnames
[] = {
32312 (char *) "self",(char *) "str", NULL
32315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32319 arg2
= wxString_in_helper(obj1
);
32320 if (arg2
== NULL
) SWIG_fail
;
32324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32325 (arg1
)->SetHelp((wxString
const &)*arg2
);
32327 wxPyEndAllowThreads(__tstate
);
32328 if (PyErr_Occurred()) SWIG_fail
;
32330 Py_INCREF(Py_None
); resultobj
= Py_None
;
32345 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32346 PyObject
*resultobj
;
32347 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32349 PyObject
* obj0
= 0 ;
32350 char *kwnames
[] = {
32351 (char *) "self", NULL
32354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32360 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32361 result
= (wxString
*) &_result_ref
;
32364 wxPyEndAllowThreads(__tstate
);
32365 if (PyErr_Occurred()) SWIG_fail
;
32369 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32371 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32380 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32381 PyObject
*resultobj
;
32382 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32383 wxAcceleratorEntry
*result
;
32384 PyObject
* obj0
= 0 ;
32385 char *kwnames
[] = {
32386 (char *) "self", NULL
32389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32394 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32396 wxPyEndAllowThreads(__tstate
);
32397 if (PyErr_Occurred()) SWIG_fail
;
32399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32406 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32407 PyObject
*resultobj
;
32408 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32409 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32410 PyObject
* obj0
= 0 ;
32411 PyObject
* obj1
= 0 ;
32412 char *kwnames
[] = {
32413 (char *) "self",(char *) "accel", NULL
32416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32423 (arg1
)->SetAccel(arg2
);
32425 wxPyEndAllowThreads(__tstate
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32428 Py_INCREF(Py_None
); resultobj
= Py_None
;
32435 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32436 PyObject
*resultobj
;
32438 char *kwnames
[] = {
32442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32445 result
= (int)MenuItem_GetDefaultMarginWidth();
32447 wxPyEndAllowThreads(__tstate
);
32448 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= SWIG_FromInt((int)result
);
32457 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32458 PyObject
*resultobj
;
32459 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32460 wxBitmap
*arg2
= 0 ;
32461 PyObject
* obj0
= 0 ;
32462 PyObject
* obj1
= 0 ;
32463 char *kwnames
[] = {
32464 (char *) "self",(char *) "bitmap", NULL
32467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32473 if (arg2
== NULL
) {
32474 PyErr_SetString(PyExc_TypeError
,"null reference");
32478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32479 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32484 Py_INCREF(Py_None
); resultobj
= Py_None
;
32491 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32492 PyObject
*resultobj
;
32493 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32495 PyObject
* obj0
= 0 ;
32496 char *kwnames
[] = {
32497 (char *) "self", NULL
32500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32506 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32507 result
= (wxBitmap
*) &_result_ref
;
32510 wxPyEndAllowThreads(__tstate
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32514 wxBitmap
* resultptr
= new wxBitmap(*result
);
32515 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32523 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32526 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32528 return Py_BuildValue((char *)"");
32530 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32531 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32536 static PyObject
*_wrap_ControlNameStr_get() {
32541 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32543 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32550 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32551 PyObject
*resultobj
;
32552 wxWindow
*arg1
= (wxWindow
*) 0 ;
32554 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32555 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32556 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32557 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32558 long arg5
= (long) 0 ;
32559 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32560 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32561 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32562 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32566 bool temp7
= False
;
32567 PyObject
* obj0
= 0 ;
32568 PyObject
* obj1
= 0 ;
32569 PyObject
* obj2
= 0 ;
32570 PyObject
* obj3
= 0 ;
32571 PyObject
* obj4
= 0 ;
32572 PyObject
* obj5
= 0 ;
32573 PyObject
* obj6
= 0 ;
32574 char *kwnames
[] = {
32575 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32581 arg2
= (int) SWIG_AsInt(obj1
);
32582 if (PyErr_Occurred()) SWIG_fail
;
32586 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32592 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32596 arg5
= (long) SWIG_AsLong(obj4
);
32597 if (PyErr_Occurred()) SWIG_fail
;
32600 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32603 if (arg6
== NULL
) {
32604 PyErr_SetString(PyExc_TypeError
,"null reference");
32610 arg7
= wxString_in_helper(obj6
);
32611 if (arg7
== NULL
) SWIG_fail
;
32616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32617 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32619 wxPyEndAllowThreads(__tstate
);
32620 if (PyErr_Occurred()) SWIG_fail
;
32623 resultobj
= wxPyMake_wxObject(result
);
32639 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32640 PyObject
*resultobj
;
32642 char *kwnames
[] = {
32646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32649 result
= (wxControl
*)new wxControl();
32651 wxPyEndAllowThreads(__tstate
);
32652 if (PyErr_Occurred()) SWIG_fail
;
32655 resultobj
= wxPyMake_wxObject(result
);
32663 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32664 PyObject
*resultobj
;
32665 wxControl
*arg1
= (wxControl
*) 0 ;
32666 wxWindow
*arg2
= (wxWindow
*) 0 ;
32668 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32669 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32670 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32671 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32672 long arg6
= (long) 0 ;
32673 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32674 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32675 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
32676 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32680 bool temp8
= False
;
32681 PyObject
* obj0
= 0 ;
32682 PyObject
* obj1
= 0 ;
32683 PyObject
* obj2
= 0 ;
32684 PyObject
* obj3
= 0 ;
32685 PyObject
* obj4
= 0 ;
32686 PyObject
* obj5
= 0 ;
32687 PyObject
* obj6
= 0 ;
32688 PyObject
* obj7
= 0 ;
32689 char *kwnames
[] = {
32690 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
32694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32698 arg3
= (int) SWIG_AsInt(obj2
);
32699 if (PyErr_Occurred()) SWIG_fail
;
32703 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32709 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32713 arg6
= (long) SWIG_AsLong(obj5
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32717 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
32718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32720 if (arg7
== NULL
) {
32721 PyErr_SetString(PyExc_TypeError
,"null reference");
32727 arg8
= wxString_in_helper(obj7
);
32728 if (arg8
== NULL
) SWIG_fail
;
32733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32734 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32736 wxPyEndAllowThreads(__tstate
);
32737 if (PyErr_Occurred()) SWIG_fail
;
32740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32756 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32757 PyObject
*resultobj
;
32758 wxControl
*arg1
= (wxControl
*) 0 ;
32759 wxCommandEvent
*arg2
= 0 ;
32760 PyObject
* obj0
= 0 ;
32761 PyObject
* obj1
= 0 ;
32762 char *kwnames
[] = {
32763 (char *) "self",(char *) "event", NULL
32766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
32767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
32770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32772 if (arg2
== NULL
) {
32773 PyErr_SetString(PyExc_TypeError
,"null reference");
32777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32778 (arg1
)->Command(*arg2
);
32780 wxPyEndAllowThreads(__tstate
);
32781 if (PyErr_Occurred()) SWIG_fail
;
32783 Py_INCREF(Py_None
); resultobj
= Py_None
;
32790 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32791 PyObject
*resultobj
;
32792 wxControl
*arg1
= (wxControl
*) 0 ;
32794 PyObject
* obj0
= 0 ;
32795 char *kwnames
[] = {
32796 (char *) "self", NULL
32799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
32800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32804 result
= (arg1
)->GetLabel();
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32822 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32823 PyObject
*resultobj
;
32824 wxControl
*arg1
= (wxControl
*) 0 ;
32825 wxString
*arg2
= 0 ;
32826 bool temp2
= False
;
32827 PyObject
* obj0
= 0 ;
32828 PyObject
* obj1
= 0 ;
32829 char *kwnames
[] = {
32830 (char *) "self",(char *) "label", NULL
32833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32837 arg2
= wxString_in_helper(obj1
);
32838 if (arg2
== NULL
) SWIG_fail
;
32842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32843 (arg1
)->SetLabel((wxString
const &)*arg2
);
32845 wxPyEndAllowThreads(__tstate
);
32846 if (PyErr_Occurred()) SWIG_fail
;
32848 Py_INCREF(Py_None
); resultobj
= Py_None
;
32863 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32864 PyObject
*resultobj
;
32865 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
32866 wxVisualAttributes result
;
32867 PyObject
* obj0
= 0 ;
32868 char *kwnames
[] = {
32869 (char *) "variant", NULL
32872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32874 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
32875 if (PyErr_Occurred()) SWIG_fail
;
32878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32879 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
32881 wxPyEndAllowThreads(__tstate
);
32882 if (PyErr_Occurred()) SWIG_fail
;
32885 wxVisualAttributes
* resultptr
;
32886 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
32887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32895 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
32897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32898 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
32900 return Py_BuildValue((char *)"");
32902 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32903 PyObject
*resultobj
;
32904 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32905 wxString
*arg2
= 0 ;
32906 PyObject
*arg3
= (PyObject
*) NULL
;
32908 bool temp2
= False
;
32909 PyObject
* obj0
= 0 ;
32910 PyObject
* obj1
= 0 ;
32911 PyObject
* obj2
= 0 ;
32912 char *kwnames
[] = {
32913 (char *) "self",(char *) "item",(char *) "clientData", NULL
32916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32920 arg2
= wxString_in_helper(obj1
);
32921 if (arg2
== NULL
) SWIG_fail
;
32928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32929 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32931 wxPyEndAllowThreads(__tstate
);
32932 if (PyErr_Occurred()) SWIG_fail
;
32934 resultobj
= SWIG_FromInt((int)result
);
32949 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32950 PyObject
*resultobj
;
32951 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32952 wxArrayString
*arg2
= 0 ;
32953 bool temp2
= False
;
32954 PyObject
* obj0
= 0 ;
32955 PyObject
* obj1
= 0 ;
32956 char *kwnames
[] = {
32957 (char *) "self",(char *) "strings", NULL
32960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
32961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32964 if (! PySequence_Check(obj1
)) {
32965 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
32968 arg2
= new wxArrayString
;
32970 int i
, len
=PySequence_Length(obj1
);
32971 for (i
=0; i
<len
; i
++) {
32972 PyObject
* item
= PySequence_GetItem(obj1
, i
);
32974 PyObject
* str
= PyObject_Unicode(item
);
32976 PyObject
* str
= PyObject_Str(item
);
32978 if (PyErr_Occurred()) SWIG_fail
;
32979 arg2
->Add(Py2wxString(str
));
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 (arg1
)->Append((wxArrayString
const &)*arg2
);
32988 wxPyEndAllowThreads(__tstate
);
32989 if (PyErr_Occurred()) SWIG_fail
;
32991 Py_INCREF(Py_None
); resultobj
= Py_None
;
32993 if (temp2
) delete arg2
;
32998 if (temp2
) delete arg2
;
33004 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33005 PyObject
*resultobj
;
33006 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33007 wxString
*arg2
= 0 ;
33009 PyObject
*arg4
= (PyObject
*) NULL
;
33011 bool temp2
= False
;
33012 PyObject
* obj0
= 0 ;
33013 PyObject
* obj1
= 0 ;
33014 PyObject
* obj2
= 0 ;
33015 PyObject
* obj3
= 0 ;
33016 char *kwnames
[] = {
33017 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33024 arg2
= wxString_in_helper(obj1
);
33025 if (arg2
== NULL
) SWIG_fail
;
33028 arg3
= (int) SWIG_AsInt(obj2
);
33029 if (PyErr_Occurred()) SWIG_fail
;
33034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33035 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33037 wxPyEndAllowThreads(__tstate
);
33038 if (PyErr_Occurred()) SWIG_fail
;
33040 resultobj
= SWIG_FromInt((int)result
);
33055 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33056 PyObject
*resultobj
;
33057 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33058 PyObject
* obj0
= 0 ;
33059 char *kwnames
[] = {
33060 (char *) "self", NULL
33063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33070 wxPyEndAllowThreads(__tstate
);
33071 if (PyErr_Occurred()) SWIG_fail
;
33073 Py_INCREF(Py_None
); resultobj
= Py_None
;
33080 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33081 PyObject
*resultobj
;
33082 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33084 PyObject
* obj0
= 0 ;
33085 PyObject
* obj1
= 0 ;
33086 char *kwnames
[] = {
33087 (char *) "self",(char *) "n", NULL
33090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33093 arg2
= (int) SWIG_AsInt(obj1
);
33094 if (PyErr_Occurred()) SWIG_fail
;
33096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33097 (arg1
)->Delete(arg2
);
33099 wxPyEndAllowThreads(__tstate
);
33100 if (PyErr_Occurred()) SWIG_fail
;
33102 Py_INCREF(Py_None
); resultobj
= Py_None
;
33109 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33110 PyObject
*resultobj
;
33111 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33113 PyObject
* obj0
= 0 ;
33114 char *kwnames
[] = {
33115 (char *) "self", NULL
33118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33123 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33125 wxPyEndAllowThreads(__tstate
);
33126 if (PyErr_Occurred()) SWIG_fail
;
33128 resultobj
= SWIG_FromInt((int)result
);
33135 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33136 PyObject
*resultobj
;
33137 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33139 PyObject
* obj0
= 0 ;
33140 char *kwnames
[] = {
33141 (char *) "self", NULL
33144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33149 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33151 wxPyEndAllowThreads(__tstate
);
33152 if (PyErr_Occurred()) SWIG_fail
;
33155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33163 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33164 PyObject
*resultobj
;
33165 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33168 PyObject
* obj0
= 0 ;
33169 PyObject
* obj1
= 0 ;
33170 char *kwnames
[] = {
33171 (char *) "self",(char *) "n", NULL
33174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33177 arg2
= (int) SWIG_AsInt(obj1
);
33178 if (PyErr_Occurred()) SWIG_fail
;
33180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33181 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33183 wxPyEndAllowThreads(__tstate
);
33184 if (PyErr_Occurred()) SWIG_fail
;
33188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33199 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
;
33201 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33202 wxArrayString result
;
33203 PyObject
* obj0
= 0 ;
33204 char *kwnames
[] = {
33205 (char *) "self", NULL
33208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33213 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33215 wxPyEndAllowThreads(__tstate
);
33216 if (PyErr_Occurred()) SWIG_fail
;
33219 resultobj
= wxArrayString2PyList_helper(result
);
33227 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
;
33229 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33231 wxString
*arg3
= 0 ;
33232 bool temp3
= False
;
33233 PyObject
* obj0
= 0 ;
33234 PyObject
* obj1
= 0 ;
33235 PyObject
* obj2
= 0 ;
33236 char *kwnames
[] = {
33237 (char *) "self",(char *) "n",(char *) "s", NULL
33240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33243 arg2
= (int) SWIG_AsInt(obj1
);
33244 if (PyErr_Occurred()) SWIG_fail
;
33246 arg3
= wxString_in_helper(obj2
);
33247 if (arg3
== NULL
) SWIG_fail
;
33251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33252 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33254 wxPyEndAllowThreads(__tstate
);
33255 if (PyErr_Occurred()) SWIG_fail
;
33257 Py_INCREF(Py_None
); resultobj
= Py_None
;
33272 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33273 PyObject
*resultobj
;
33274 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33275 wxString
*arg2
= 0 ;
33277 bool temp2
= False
;
33278 PyObject
* obj0
= 0 ;
33279 PyObject
* obj1
= 0 ;
33280 char *kwnames
[] = {
33281 (char *) "self",(char *) "s", NULL
33284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33288 arg2
= wxString_in_helper(obj1
);
33289 if (arg2
== NULL
) SWIG_fail
;
33293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33294 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33299 resultobj
= SWIG_FromInt((int)result
);
33314 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33315 PyObject
*resultobj
;
33316 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33318 PyObject
* obj0
= 0 ;
33319 PyObject
* obj1
= 0 ;
33320 char *kwnames
[] = {
33321 (char *) "self",(char *) "n", NULL
33324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33327 arg2
= (int) SWIG_AsInt(obj1
);
33328 if (PyErr_Occurred()) SWIG_fail
;
33330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33331 (arg1
)->Select(arg2
);
33333 wxPyEndAllowThreads(__tstate
);
33334 if (PyErr_Occurred()) SWIG_fail
;
33336 Py_INCREF(Py_None
); resultobj
= Py_None
;
33343 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33344 PyObject
*resultobj
;
33345 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33347 PyObject
* obj0
= 0 ;
33348 char *kwnames
[] = {
33349 (char *) "self", NULL
33352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33357 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33359 wxPyEndAllowThreads(__tstate
);
33360 if (PyErr_Occurred()) SWIG_fail
;
33362 resultobj
= SWIG_FromInt((int)result
);
33369 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33370 PyObject
*resultobj
;
33371 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33373 PyObject
* obj0
= 0 ;
33374 char *kwnames
[] = {
33375 (char *) "self", NULL
33378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33383 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33385 wxPyEndAllowThreads(__tstate
);
33386 if (PyErr_Occurred()) SWIG_fail
;
33390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33401 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33402 PyObject
*resultobj
;
33403 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33406 PyObject
* obj0
= 0 ;
33407 PyObject
* obj1
= 0 ;
33408 char *kwnames
[] = {
33409 (char *) "self",(char *) "n", NULL
33412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33415 arg2
= (int) SWIG_AsInt(obj1
);
33416 if (PyErr_Occurred()) SWIG_fail
;
33418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33419 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33421 wxPyEndAllowThreads(__tstate
);
33422 if (PyErr_Occurred()) SWIG_fail
;
33424 resultobj
= result
;
33431 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33432 PyObject
*resultobj
;
33433 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33435 PyObject
*arg3
= (PyObject
*) 0 ;
33436 PyObject
* obj0
= 0 ;
33437 PyObject
* obj1
= 0 ;
33438 PyObject
* obj2
= 0 ;
33439 char *kwnames
[] = {
33440 (char *) "self",(char *) "n",(char *) "clientData", NULL
33443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33446 arg2
= (int) SWIG_AsInt(obj1
);
33447 if (PyErr_Occurred()) SWIG_fail
;
33450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33451 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33456 Py_INCREF(Py_None
); resultobj
= Py_None
;
33463 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33466 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33468 return Py_BuildValue((char *)"");
33470 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33473 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33475 return Py_BuildValue((char *)"");
33477 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33478 PyObject
*resultobj
;
33479 wxSizerItem
*result
;
33480 char *kwnames
[] = {
33484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33487 result
= (wxSizerItem
*)new wxSizerItem();
33489 wxPyEndAllowThreads(__tstate
);
33490 if (PyErr_Occurred()) SWIG_fail
;
33492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33499 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33500 PyObject
*resultobj
;
33506 wxObject
*arg6
= (wxObject
*) 0 ;
33507 wxSizerItem
*result
;
33508 PyObject
* obj0
= 0 ;
33509 PyObject
* obj1
= 0 ;
33510 PyObject
* obj2
= 0 ;
33511 PyObject
* obj3
= 0 ;
33512 PyObject
* obj4
= 0 ;
33513 PyObject
* obj5
= 0 ;
33514 char *kwnames
[] = {
33515 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33519 arg1
= (int) SWIG_AsInt(obj0
);
33520 if (PyErr_Occurred()) SWIG_fail
;
33521 arg2
= (int) SWIG_AsInt(obj1
);
33522 if (PyErr_Occurred()) SWIG_fail
;
33523 arg3
= (int) SWIG_AsInt(obj2
);
33524 if (PyErr_Occurred()) SWIG_fail
;
33525 arg4
= (int) SWIG_AsInt(obj3
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33527 arg5
= (int) SWIG_AsInt(obj4
);
33528 if (PyErr_Occurred()) SWIG_fail
;
33529 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
33530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33533 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33535 wxPyEndAllowThreads(__tstate
);
33536 if (PyErr_Occurred()) SWIG_fail
;
33538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33545 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33546 PyObject
*resultobj
;
33547 wxWindow
*arg1
= (wxWindow
*) 0 ;
33551 wxObject
*arg5
= (wxObject
*) 0 ;
33552 wxSizerItem
*result
;
33553 PyObject
* obj0
= 0 ;
33554 PyObject
* obj1
= 0 ;
33555 PyObject
* obj2
= 0 ;
33556 PyObject
* obj3
= 0 ;
33557 PyObject
* obj4
= 0 ;
33558 char *kwnames
[] = {
33559 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33565 arg2
= (int) SWIG_AsInt(obj1
);
33566 if (PyErr_Occurred()) SWIG_fail
;
33567 arg3
= (int) SWIG_AsInt(obj2
);
33568 if (PyErr_Occurred()) SWIG_fail
;
33569 arg4
= (int) SWIG_AsInt(obj3
);
33570 if (PyErr_Occurred()) SWIG_fail
;
33571 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33575 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33577 wxPyEndAllowThreads(__tstate
);
33578 if (PyErr_Occurred()) SWIG_fail
;
33580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33587 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33588 PyObject
*resultobj
;
33589 wxSizer
*arg1
= (wxSizer
*) 0 ;
33593 wxObject
*arg5
= (wxObject
*) 0 ;
33594 wxSizerItem
*result
;
33595 PyObject
* obj0
= 0 ;
33596 PyObject
* obj1
= 0 ;
33597 PyObject
* obj2
= 0 ;
33598 PyObject
* obj3
= 0 ;
33599 PyObject
* obj4
= 0 ;
33600 char *kwnames
[] = {
33601 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33607 arg2
= (int) SWIG_AsInt(obj1
);
33608 if (PyErr_Occurred()) SWIG_fail
;
33609 arg3
= (int) SWIG_AsInt(obj2
);
33610 if (PyErr_Occurred()) SWIG_fail
;
33611 arg4
= (int) SWIG_AsInt(obj3
);
33612 if (PyErr_Occurred()) SWIG_fail
;
33613 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33617 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33619 wxPyEndAllowThreads(__tstate
);
33620 if (PyErr_Occurred()) SWIG_fail
;
33622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33629 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33630 PyObject
*resultobj
;
33631 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33632 PyObject
* obj0
= 0 ;
33633 char *kwnames
[] = {
33634 (char *) "self", NULL
33637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33642 (arg1
)->DeleteWindows();
33644 wxPyEndAllowThreads(__tstate
);
33645 if (PyErr_Occurred()) SWIG_fail
;
33647 Py_INCREF(Py_None
); resultobj
= Py_None
;
33654 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33655 PyObject
*resultobj
;
33656 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33657 PyObject
* obj0
= 0 ;
33658 char *kwnames
[] = {
33659 (char *) "self", NULL
33662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
33663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33667 (arg1
)->DetachSizer();
33669 wxPyEndAllowThreads(__tstate
);
33670 if (PyErr_Occurred()) SWIG_fail
;
33672 Py_INCREF(Py_None
); resultobj
= Py_None
;
33679 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33680 PyObject
*resultobj
;
33681 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33683 PyObject
* obj0
= 0 ;
33684 char *kwnames
[] = {
33685 (char *) "self", NULL
33688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
33689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33693 result
= (arg1
)->GetSize();
33695 wxPyEndAllowThreads(__tstate
);
33696 if (PyErr_Occurred()) SWIG_fail
;
33699 wxSize
* resultptr
;
33700 resultptr
= new wxSize((wxSize
&) result
);
33701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33709 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33710 PyObject
*resultobj
;
33711 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33713 PyObject
* obj0
= 0 ;
33714 char *kwnames
[] = {
33715 (char *) "self", NULL
33718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
33719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33723 result
= (arg1
)->CalcMin();
33725 wxPyEndAllowThreads(__tstate
);
33726 if (PyErr_Occurred()) SWIG_fail
;
33729 wxSize
* resultptr
;
33730 resultptr
= new wxSize((wxSize
&) result
);
33731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33739 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33740 PyObject
*resultobj
;
33741 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33746 PyObject
* obj0
= 0 ;
33747 PyObject
* obj1
= 0 ;
33748 PyObject
* obj2
= 0 ;
33749 char *kwnames
[] = {
33750 (char *) "self",(char *) "pos",(char *) "size", NULL
33753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33756 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
33757 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33759 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
33760 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33764 (arg1
)->SetDimension(arg2
,arg3
);
33766 wxPyEndAllowThreads(__tstate
);
33767 if (PyErr_Occurred()) SWIG_fail
;
33769 Py_INCREF(Py_None
); resultobj
= Py_None
;
33776 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33777 PyObject
*resultobj
;
33778 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33780 PyObject
* obj0
= 0 ;
33781 char *kwnames
[] = {
33782 (char *) "self", NULL
33785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
33786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33790 result
= (arg1
)->GetMinSize();
33792 wxPyEndAllowThreads(__tstate
);
33793 if (PyErr_Occurred()) SWIG_fail
;
33796 wxSize
* resultptr
;
33797 resultptr
= new wxSize((wxSize
&) result
);
33798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33806 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33807 PyObject
*resultobj
;
33808 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33811 PyObject
* obj0
= 0 ;
33812 PyObject
* obj1
= 0 ;
33813 PyObject
* obj2
= 0 ;
33814 char *kwnames
[] = {
33815 (char *) "self",(char *) "x",(char *) "y", NULL
33818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33821 arg2
= (int) SWIG_AsInt(obj1
);
33822 if (PyErr_Occurred()) SWIG_fail
;
33823 arg3
= (int) SWIG_AsInt(obj2
);
33824 if (PyErr_Occurred()) SWIG_fail
;
33826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33827 (arg1
)->SetInitSize(arg2
,arg3
);
33829 wxPyEndAllowThreads(__tstate
);
33830 if (PyErr_Occurred()) SWIG_fail
;
33832 Py_INCREF(Py_None
); resultobj
= Py_None
;
33839 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33840 PyObject
*resultobj
;
33841 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33844 PyObject
* obj0
= 0 ;
33845 PyObject
* obj1
= 0 ;
33846 PyObject
* obj2
= 0 ;
33847 char *kwnames
[] = {
33848 (char *) "self",(char *) "width",(char *) "height", NULL
33851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33854 arg2
= (int) SWIG_AsInt(obj1
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33856 arg3
= (int) SWIG_AsInt(obj2
);
33857 if (PyErr_Occurred()) SWIG_fail
;
33859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33860 (arg1
)->SetRatio(arg2
,arg3
);
33862 wxPyEndAllowThreads(__tstate
);
33863 if (PyErr_Occurred()) SWIG_fail
;
33865 Py_INCREF(Py_None
); resultobj
= Py_None
;
33872 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33873 PyObject
*resultobj
;
33874 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33877 PyObject
* obj0
= 0 ;
33878 PyObject
* obj1
= 0 ;
33879 char *kwnames
[] = {
33880 (char *) "self",(char *) "size", NULL
33883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33886 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
33887 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33891 (arg1
)->SetRatio(arg2
);
33893 wxPyEndAllowThreads(__tstate
);
33894 if (PyErr_Occurred()) SWIG_fail
;
33896 Py_INCREF(Py_None
); resultobj
= Py_None
;
33903 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33904 PyObject
*resultobj
;
33905 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33907 PyObject
* obj0
= 0 ;
33908 PyObject
* obj1
= 0 ;
33909 char *kwnames
[] = {
33910 (char *) "self",(char *) "ratio", NULL
33913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33916 arg2
= (float) SWIG_AsFloat(obj1
);
33917 if (PyErr_Occurred()) SWIG_fail
;
33919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33920 (arg1
)->SetRatio(arg2
);
33922 wxPyEndAllowThreads(__tstate
);
33923 if (PyErr_Occurred()) SWIG_fail
;
33925 Py_INCREF(Py_None
); resultobj
= Py_None
;
33932 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33933 PyObject
*resultobj
;
33934 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33936 PyObject
* obj0
= 0 ;
33937 char *kwnames
[] = {
33938 (char *) "self", NULL
33941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
33942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33946 result
= (float)(arg1
)->GetRatio();
33948 wxPyEndAllowThreads(__tstate
);
33949 if (PyErr_Occurred()) SWIG_fail
;
33951 resultobj
= SWIG_FromFloat((float)result
);
33958 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33959 PyObject
*resultobj
;
33960 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33962 PyObject
* obj0
= 0 ;
33963 char *kwnames
[] = {
33964 (char *) "self", NULL
33967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
33968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33972 result
= (bool)(arg1
)->IsWindow();
33974 wxPyEndAllowThreads(__tstate
);
33975 if (PyErr_Occurred()) SWIG_fail
;
33978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33986 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33987 PyObject
*resultobj
;
33988 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33990 PyObject
* obj0
= 0 ;
33991 char *kwnames
[] = {
33992 (char *) "self", NULL
33995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
33996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34000 result
= (bool)(arg1
)->IsSizer();
34002 wxPyEndAllowThreads(__tstate
);
34003 if (PyErr_Occurred()) SWIG_fail
;
34006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34014 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34015 PyObject
*resultobj
;
34016 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34018 PyObject
* obj0
= 0 ;
34019 char *kwnames
[] = {
34020 (char *) "self", NULL
34023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34028 result
= (bool)(arg1
)->IsSpacer();
34030 wxPyEndAllowThreads(__tstate
);
34031 if (PyErr_Occurred()) SWIG_fail
;
34034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34042 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34043 PyObject
*resultobj
;
34044 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34046 PyObject
* obj0
= 0 ;
34047 PyObject
* obj1
= 0 ;
34048 char *kwnames
[] = {
34049 (char *) "self",(char *) "proportion", NULL
34052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34055 arg2
= (int) SWIG_AsInt(obj1
);
34056 if (PyErr_Occurred()) SWIG_fail
;
34058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34059 (arg1
)->SetProportion(arg2
);
34061 wxPyEndAllowThreads(__tstate
);
34062 if (PyErr_Occurred()) SWIG_fail
;
34064 Py_INCREF(Py_None
); resultobj
= Py_None
;
34071 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34072 PyObject
*resultobj
;
34073 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34075 PyObject
* obj0
= 0 ;
34076 char *kwnames
[] = {
34077 (char *) "self", NULL
34080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34085 result
= (int)(arg1
)->GetProportion();
34087 wxPyEndAllowThreads(__tstate
);
34088 if (PyErr_Occurred()) SWIG_fail
;
34090 resultobj
= SWIG_FromInt((int)result
);
34097 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34098 PyObject
*resultobj
;
34099 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34101 PyObject
* obj0
= 0 ;
34102 PyObject
* obj1
= 0 ;
34103 char *kwnames
[] = {
34104 (char *) "self",(char *) "flag", NULL
34107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34110 arg2
= (int) SWIG_AsInt(obj1
);
34111 if (PyErr_Occurred()) SWIG_fail
;
34113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34114 (arg1
)->SetFlag(arg2
);
34116 wxPyEndAllowThreads(__tstate
);
34117 if (PyErr_Occurred()) SWIG_fail
;
34119 Py_INCREF(Py_None
); resultobj
= Py_None
;
34126 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34127 PyObject
*resultobj
;
34128 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34130 PyObject
* obj0
= 0 ;
34131 char *kwnames
[] = {
34132 (char *) "self", NULL
34135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34140 result
= (int)(arg1
)->GetFlag();
34142 wxPyEndAllowThreads(__tstate
);
34143 if (PyErr_Occurred()) SWIG_fail
;
34145 resultobj
= SWIG_FromInt((int)result
);
34152 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34153 PyObject
*resultobj
;
34154 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34156 PyObject
* obj0
= 0 ;
34157 PyObject
* obj1
= 0 ;
34158 char *kwnames
[] = {
34159 (char *) "self",(char *) "border", NULL
34162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34165 arg2
= (int) SWIG_AsInt(obj1
);
34166 if (PyErr_Occurred()) SWIG_fail
;
34168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34169 (arg1
)->SetBorder(arg2
);
34171 wxPyEndAllowThreads(__tstate
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34174 Py_INCREF(Py_None
); resultobj
= Py_None
;
34181 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34182 PyObject
*resultobj
;
34183 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34185 PyObject
* obj0
= 0 ;
34186 char *kwnames
[] = {
34187 (char *) "self", NULL
34190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34195 result
= (int)(arg1
)->GetBorder();
34197 wxPyEndAllowThreads(__tstate
);
34198 if (PyErr_Occurred()) SWIG_fail
;
34200 resultobj
= SWIG_FromInt((int)result
);
34207 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34208 PyObject
*resultobj
;
34209 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34211 PyObject
* obj0
= 0 ;
34212 char *kwnames
[] = {
34213 (char *) "self", NULL
34216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34221 result
= (wxWindow
*)(arg1
)->GetWindow();
34223 wxPyEndAllowThreads(__tstate
);
34224 if (PyErr_Occurred()) SWIG_fail
;
34227 resultobj
= wxPyMake_wxObject(result
);
34235 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34236 PyObject
*resultobj
;
34237 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34238 wxWindow
*arg2
= (wxWindow
*) 0 ;
34239 PyObject
* obj0
= 0 ;
34240 PyObject
* obj1
= 0 ;
34241 char *kwnames
[] = {
34242 (char *) "self",(char *) "window", NULL
34245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34252 (arg1
)->SetWindow(arg2
);
34254 wxPyEndAllowThreads(__tstate
);
34255 if (PyErr_Occurred()) SWIG_fail
;
34257 Py_INCREF(Py_None
); resultobj
= Py_None
;
34264 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34265 PyObject
*resultobj
;
34266 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34268 PyObject
* obj0
= 0 ;
34269 char *kwnames
[] = {
34270 (char *) "self", NULL
34273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34278 result
= (wxSizer
*)(arg1
)->GetSizer();
34280 wxPyEndAllowThreads(__tstate
);
34281 if (PyErr_Occurred()) SWIG_fail
;
34284 resultobj
= wxPyMake_wxSizer(result
);
34292 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34293 PyObject
*resultobj
;
34294 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34295 wxSizer
*arg2
= (wxSizer
*) 0 ;
34296 PyObject
* obj0
= 0 ;
34297 PyObject
* obj1
= 0 ;
34298 char *kwnames
[] = {
34299 (char *) "self",(char *) "sizer", NULL
34302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34309 (arg1
)->SetSizer(arg2
);
34311 wxPyEndAllowThreads(__tstate
);
34312 if (PyErr_Occurred()) SWIG_fail
;
34314 Py_INCREF(Py_None
); resultobj
= Py_None
;
34321 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34322 PyObject
*resultobj
;
34323 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34325 PyObject
* obj0
= 0 ;
34326 char *kwnames
[] = {
34327 (char *) "self", NULL
34330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34336 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34337 result
= (wxSize
*) &_result_ref
;
34340 wxPyEndAllowThreads(__tstate
);
34341 if (PyErr_Occurred()) SWIG_fail
;
34343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34350 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34351 PyObject
*resultobj
;
34352 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34355 PyObject
* obj0
= 0 ;
34356 PyObject
* obj1
= 0 ;
34357 char *kwnames
[] = {
34358 (char *) "self",(char *) "size", NULL
34361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34366 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34372 wxPyEndAllowThreads(__tstate
);
34373 if (PyErr_Occurred()) SWIG_fail
;
34375 Py_INCREF(Py_None
); resultobj
= Py_None
;
34382 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34383 PyObject
*resultobj
;
34384 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34386 PyObject
* obj0
= 0 ;
34387 PyObject
* obj1
= 0 ;
34388 char *kwnames
[] = {
34389 (char *) "self",(char *) "show", NULL
34392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34395 arg2
= (bool) SWIG_AsBool(obj1
);
34396 if (PyErr_Occurred()) SWIG_fail
;
34398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34399 (arg1
)->Show(arg2
);
34401 wxPyEndAllowThreads(__tstate
);
34402 if (PyErr_Occurred()) SWIG_fail
;
34404 Py_INCREF(Py_None
); resultobj
= Py_None
;
34411 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34412 PyObject
*resultobj
;
34413 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34415 PyObject
* obj0
= 0 ;
34416 char *kwnames
[] = {
34417 (char *) "self", NULL
34420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34425 result
= (bool)(arg1
)->IsShown();
34427 wxPyEndAllowThreads(__tstate
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34439 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34440 PyObject
*resultobj
;
34441 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34443 PyObject
* obj0
= 0 ;
34444 char *kwnames
[] = {
34445 (char *) "self", NULL
34448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34453 result
= (arg1
)->GetPosition();
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34459 wxPoint
* resultptr
;
34460 resultptr
= new wxPoint((wxPoint
&) result
);
34461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34469 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34470 PyObject
*resultobj
;
34471 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34473 PyObject
* obj0
= 0 ;
34474 char *kwnames
[] = {
34475 (char *) "self", NULL
34478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34483 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34485 wxPyEndAllowThreads(__tstate
);
34486 if (PyErr_Occurred()) SWIG_fail
;
34488 resultobj
= result
;
34495 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34498 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34500 return Py_BuildValue((char *)"");
34502 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34503 PyObject
*resultobj
;
34504 wxSizer
*arg1
= (wxSizer
*) 0 ;
34505 PyObject
*arg2
= (PyObject
*) 0 ;
34506 PyObject
* obj0
= 0 ;
34507 PyObject
* obj1
= 0 ;
34508 char *kwnames
[] = {
34509 (char *) "self",(char *) "_self", NULL
34512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34518 wxSizer__setOORInfo(arg1
,arg2
);
34520 wxPyEndAllowThreads(__tstate
);
34521 if (PyErr_Occurred()) SWIG_fail
;
34523 Py_INCREF(Py_None
); resultobj
= Py_None
;
34530 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34531 PyObject
*resultobj
;
34532 wxSizer
*arg1
= (wxSizer
*) 0 ;
34533 PyObject
*arg2
= (PyObject
*) 0 ;
34534 int arg3
= (int) 0 ;
34535 int arg4
= (int) 0 ;
34536 int arg5
= (int) 0 ;
34537 PyObject
*arg6
= (PyObject
*) NULL
;
34538 PyObject
* obj0
= 0 ;
34539 PyObject
* obj1
= 0 ;
34540 PyObject
* obj2
= 0 ;
34541 PyObject
* obj3
= 0 ;
34542 PyObject
* obj4
= 0 ;
34543 PyObject
* obj5
= 0 ;
34544 char *kwnames
[] = {
34545 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34553 arg3
= (int) SWIG_AsInt(obj2
);
34554 if (PyErr_Occurred()) SWIG_fail
;
34557 arg4
= (int) SWIG_AsInt(obj3
);
34558 if (PyErr_Occurred()) SWIG_fail
;
34561 arg5
= (int) SWIG_AsInt(obj4
);
34562 if (PyErr_Occurred()) SWIG_fail
;
34568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34569 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34571 wxPyEndAllowThreads(__tstate
);
34572 if (PyErr_Occurred()) SWIG_fail
;
34574 Py_INCREF(Py_None
); resultobj
= Py_None
;
34581 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34582 PyObject
*resultobj
;
34583 wxSizer
*arg1
= (wxSizer
*) 0 ;
34585 PyObject
*arg3
= (PyObject
*) 0 ;
34586 int arg4
= (int) 0 ;
34587 int arg5
= (int) 0 ;
34588 int arg6
= (int) 0 ;
34589 PyObject
*arg7
= (PyObject
*) NULL
;
34590 PyObject
* obj0
= 0 ;
34591 PyObject
* obj1
= 0 ;
34592 PyObject
* obj2
= 0 ;
34593 PyObject
* obj3
= 0 ;
34594 PyObject
* obj4
= 0 ;
34595 PyObject
* obj5
= 0 ;
34596 PyObject
* obj6
= 0 ;
34597 char *kwnames
[] = {
34598 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34604 arg2
= (int) SWIG_AsInt(obj1
);
34605 if (PyErr_Occurred()) SWIG_fail
;
34608 arg4
= (int) SWIG_AsInt(obj3
);
34609 if (PyErr_Occurred()) SWIG_fail
;
34612 arg5
= (int) SWIG_AsInt(obj4
);
34613 if (PyErr_Occurred()) SWIG_fail
;
34616 arg6
= (int) SWIG_AsInt(obj5
);
34617 if (PyErr_Occurred()) SWIG_fail
;
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34626 wxPyEndAllowThreads(__tstate
);
34627 if (PyErr_Occurred()) SWIG_fail
;
34629 Py_INCREF(Py_None
); resultobj
= Py_None
;
34636 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34637 PyObject
*resultobj
;
34638 wxSizer
*arg1
= (wxSizer
*) 0 ;
34639 PyObject
*arg2
= (PyObject
*) 0 ;
34640 int arg3
= (int) 0 ;
34641 int arg4
= (int) 0 ;
34642 int arg5
= (int) 0 ;
34643 PyObject
*arg6
= (PyObject
*) NULL
;
34644 PyObject
* obj0
= 0 ;
34645 PyObject
* obj1
= 0 ;
34646 PyObject
* obj2
= 0 ;
34647 PyObject
* obj3
= 0 ;
34648 PyObject
* obj4
= 0 ;
34649 PyObject
* obj5
= 0 ;
34650 char *kwnames
[] = {
34651 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34659 arg3
= (int) SWIG_AsInt(obj2
);
34660 if (PyErr_Occurred()) SWIG_fail
;
34663 arg4
= (int) SWIG_AsInt(obj3
);
34664 if (PyErr_Occurred()) SWIG_fail
;
34667 arg5
= (int) SWIG_AsInt(obj4
);
34668 if (PyErr_Occurred()) SWIG_fail
;
34674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34675 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34677 wxPyEndAllowThreads(__tstate
);
34678 if (PyErr_Occurred()) SWIG_fail
;
34680 Py_INCREF(Py_None
); resultobj
= Py_None
;
34687 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34688 PyObject
*resultobj
;
34689 wxSizer
*arg1
= (wxSizer
*) 0 ;
34690 PyObject
*arg2
= (PyObject
*) 0 ;
34692 PyObject
* obj0
= 0 ;
34693 PyObject
* obj1
= 0 ;
34694 char *kwnames
[] = {
34695 (char *) "self",(char *) "item", NULL
34698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34704 result
= (bool)wxSizer_Remove(arg1
,arg2
);
34706 wxPyEndAllowThreads(__tstate
);
34707 if (PyErr_Occurred()) SWIG_fail
;
34710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34718 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34719 PyObject
*resultobj
;
34720 wxSizer
*arg1
= (wxSizer
*) 0 ;
34721 PyObject
*arg2
= (PyObject
*) 0 ;
34724 PyObject
* obj0
= 0 ;
34725 PyObject
* obj1
= 0 ;
34726 PyObject
* obj2
= 0 ;
34727 char *kwnames
[] = {
34728 (char *) "self",(char *) "item",(char *) "size", NULL
34731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34737 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34741 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
34743 wxPyEndAllowThreads(__tstate
);
34744 if (PyErr_Occurred()) SWIG_fail
;
34746 Py_INCREF(Py_None
); resultobj
= Py_None
;
34753 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34754 PyObject
*resultobj
;
34755 wxSizer
*arg1
= (wxSizer
*) 0 ;
34756 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34757 PyObject
* obj0
= 0 ;
34758 PyObject
* obj1
= 0 ;
34759 char *kwnames
[] = {
34760 (char *) "self",(char *) "item", NULL
34763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34775 Py_INCREF(Py_None
); resultobj
= Py_None
;
34782 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
;
34784 wxSizer
*arg1
= (wxSizer
*) 0 ;
34786 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
34787 PyObject
* obj0
= 0 ;
34788 PyObject
* obj1
= 0 ;
34789 PyObject
* obj2
= 0 ;
34790 char *kwnames
[] = {
34791 (char *) "self",(char *) "index",(char *) "item", NULL
34794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34797 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34798 if (PyErr_Occurred()) SWIG_fail
;
34799 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
34800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34803 (arg1
)->Insert(arg2
,arg3
);
34805 wxPyEndAllowThreads(__tstate
);
34806 if (PyErr_Occurred()) SWIG_fail
;
34808 Py_INCREF(Py_None
); resultobj
= Py_None
;
34815 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34816 PyObject
*resultobj
;
34817 wxSizer
*arg1
= (wxSizer
*) 0 ;
34818 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34819 PyObject
* obj0
= 0 ;
34820 PyObject
* obj1
= 0 ;
34821 char *kwnames
[] = {
34822 (char *) "self",(char *) "item", NULL
34825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34832 (arg1
)->Prepend(arg2
);
34834 wxPyEndAllowThreads(__tstate
);
34835 if (PyErr_Occurred()) SWIG_fail
;
34837 Py_INCREF(Py_None
); resultobj
= Py_None
;
34844 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34845 PyObject
*resultobj
;
34846 wxSizer
*arg1
= (wxSizer
*) 0 ;
34851 PyObject
* obj0
= 0 ;
34852 PyObject
* obj1
= 0 ;
34853 PyObject
* obj2
= 0 ;
34854 PyObject
* obj3
= 0 ;
34855 PyObject
* obj4
= 0 ;
34856 char *kwnames
[] = {
34857 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34863 arg2
= (int) SWIG_AsInt(obj1
);
34864 if (PyErr_Occurred()) SWIG_fail
;
34865 arg3
= (int) SWIG_AsInt(obj2
);
34866 if (PyErr_Occurred()) SWIG_fail
;
34867 arg4
= (int) SWIG_AsInt(obj3
);
34868 if (PyErr_Occurred()) SWIG_fail
;
34869 arg5
= (int) SWIG_AsInt(obj4
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34873 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
34875 wxPyEndAllowThreads(__tstate
);
34876 if (PyErr_Occurred()) SWIG_fail
;
34878 Py_INCREF(Py_None
); resultobj
= Py_None
;
34885 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34886 PyObject
*resultobj
;
34887 wxSizer
*arg1
= (wxSizer
*) 0 ;
34890 PyObject
* obj0
= 0 ;
34891 PyObject
* obj1
= 0 ;
34892 char *kwnames
[] = {
34893 (char *) "self",(char *) "size", NULL
34896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34901 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34905 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34907 wxPyEndAllowThreads(__tstate
);
34908 if (PyErr_Occurred()) SWIG_fail
;
34910 Py_INCREF(Py_None
); resultobj
= Py_None
;
34917 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34918 PyObject
*resultobj
;
34919 wxSizer
*arg1
= (wxSizer
*) 0 ;
34921 PyObject
* obj0
= 0 ;
34922 char *kwnames
[] = {
34923 (char *) "self", NULL
34926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34931 result
= (arg1
)->GetSize();
34933 wxPyEndAllowThreads(__tstate
);
34934 if (PyErr_Occurred()) SWIG_fail
;
34937 wxSize
* resultptr
;
34938 resultptr
= new wxSize((wxSize
&) result
);
34939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34947 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34948 PyObject
*resultobj
;
34949 wxSizer
*arg1
= (wxSizer
*) 0 ;
34951 PyObject
* obj0
= 0 ;
34952 char *kwnames
[] = {
34953 (char *) "self", NULL
34956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
34957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34961 result
= (arg1
)->GetPosition();
34963 wxPyEndAllowThreads(__tstate
);
34964 if (PyErr_Occurred()) SWIG_fail
;
34967 wxPoint
* resultptr
;
34968 resultptr
= new wxPoint((wxPoint
&) result
);
34969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34977 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34978 PyObject
*resultobj
;
34979 wxSizer
*arg1
= (wxSizer
*) 0 ;
34981 PyObject
* obj0
= 0 ;
34982 char *kwnames
[] = {
34983 (char *) "self", NULL
34986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
34987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34991 result
= (arg1
)->GetMinSize();
34993 wxPyEndAllowThreads(__tstate
);
34994 if (PyErr_Occurred()) SWIG_fail
;
34997 wxSize
* resultptr
;
34998 resultptr
= new wxSize((wxSize
&) result
);
34999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35007 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35008 PyObject
*resultobj
;
35009 wxSizer
*arg1
= (wxSizer
*) 0 ;
35010 PyObject
* obj0
= 0 ;
35011 char *kwnames
[] = {
35012 (char *) "self", NULL
35015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35020 (arg1
)->RecalcSizes();
35022 wxPyEndAllowThreads(__tstate
);
35023 if (PyErr_Occurred()) SWIG_fail
;
35025 Py_INCREF(Py_None
); resultobj
= Py_None
;
35032 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35033 PyObject
*resultobj
;
35034 wxSizer
*arg1
= (wxSizer
*) 0 ;
35036 PyObject
* obj0
= 0 ;
35037 char *kwnames
[] = {
35038 (char *) "self", NULL
35041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35046 result
= (arg1
)->CalcMin();
35048 wxPyEndAllowThreads(__tstate
);
35049 if (PyErr_Occurred()) SWIG_fail
;
35052 wxSize
* resultptr
;
35053 resultptr
= new wxSize((wxSize
&) result
);
35054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35062 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35063 PyObject
*resultobj
;
35064 wxSizer
*arg1
= (wxSizer
*) 0 ;
35065 PyObject
* obj0
= 0 ;
35066 char *kwnames
[] = {
35067 (char *) "self", NULL
35070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35077 wxPyEndAllowThreads(__tstate
);
35078 if (PyErr_Occurred()) SWIG_fail
;
35080 Py_INCREF(Py_None
); resultobj
= Py_None
;
35087 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35088 PyObject
*resultobj
;
35089 wxSizer
*arg1
= (wxSizer
*) 0 ;
35090 wxWindow
*arg2
= (wxWindow
*) 0 ;
35092 PyObject
* obj0
= 0 ;
35093 PyObject
* obj1
= 0 ;
35094 char *kwnames
[] = {
35095 (char *) "self",(char *) "window", NULL
35098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35105 result
= (arg1
)->Fit(arg2
);
35107 wxPyEndAllowThreads(__tstate
);
35108 if (PyErr_Occurred()) SWIG_fail
;
35111 wxSize
* resultptr
;
35112 resultptr
= new wxSize((wxSize
&) result
);
35113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35121 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35122 PyObject
*resultobj
;
35123 wxSizer
*arg1
= (wxSizer
*) 0 ;
35124 wxWindow
*arg2
= (wxWindow
*) 0 ;
35125 PyObject
* obj0
= 0 ;
35126 PyObject
* obj1
= 0 ;
35127 char *kwnames
[] = {
35128 (char *) "self",(char *) "window", NULL
35131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35138 (arg1
)->FitInside(arg2
);
35140 wxPyEndAllowThreads(__tstate
);
35141 if (PyErr_Occurred()) SWIG_fail
;
35143 Py_INCREF(Py_None
); resultobj
= Py_None
;
35150 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35151 PyObject
*resultobj
;
35152 wxSizer
*arg1
= (wxSizer
*) 0 ;
35153 wxWindow
*arg2
= (wxWindow
*) 0 ;
35154 PyObject
* obj0
= 0 ;
35155 PyObject
* obj1
= 0 ;
35156 char *kwnames
[] = {
35157 (char *) "self",(char *) "window", NULL
35160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35167 (arg1
)->SetSizeHints(arg2
);
35169 wxPyEndAllowThreads(__tstate
);
35170 if (PyErr_Occurred()) SWIG_fail
;
35172 Py_INCREF(Py_None
); resultobj
= Py_None
;
35179 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35180 PyObject
*resultobj
;
35181 wxSizer
*arg1
= (wxSizer
*) 0 ;
35182 wxWindow
*arg2
= (wxWindow
*) 0 ;
35183 PyObject
* obj0
= 0 ;
35184 PyObject
* obj1
= 0 ;
35185 char *kwnames
[] = {
35186 (char *) "self",(char *) "window", NULL
35189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35196 (arg1
)->SetVirtualSizeHints(arg2
);
35198 wxPyEndAllowThreads(__tstate
);
35199 if (PyErr_Occurred()) SWIG_fail
;
35201 Py_INCREF(Py_None
); resultobj
= Py_None
;
35208 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35209 PyObject
*resultobj
;
35210 wxSizer
*arg1
= (wxSizer
*) 0 ;
35211 bool arg2
= (bool) False
;
35212 PyObject
* obj0
= 0 ;
35213 PyObject
* obj1
= 0 ;
35214 char *kwnames
[] = {
35215 (char *) "self",(char *) "delete_windows", NULL
35218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35222 arg2
= (bool) SWIG_AsBool(obj1
);
35223 if (PyErr_Occurred()) SWIG_fail
;
35226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35227 (arg1
)->Clear(arg2
);
35229 wxPyEndAllowThreads(__tstate
);
35230 if (PyErr_Occurred()) SWIG_fail
;
35232 Py_INCREF(Py_None
); resultobj
= Py_None
;
35239 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35240 PyObject
*resultobj
;
35241 wxSizer
*arg1
= (wxSizer
*) 0 ;
35242 PyObject
* obj0
= 0 ;
35243 char *kwnames
[] = {
35244 (char *) "self", NULL
35247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35252 (arg1
)->DeleteWindows();
35254 wxPyEndAllowThreads(__tstate
);
35255 if (PyErr_Occurred()) SWIG_fail
;
35257 Py_INCREF(Py_None
); resultobj
= Py_None
;
35264 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35265 PyObject
*resultobj
;
35266 wxSizer
*arg1
= (wxSizer
*) 0 ;
35268 PyObject
* obj0
= 0 ;
35269 char *kwnames
[] = {
35270 (char *) "self", NULL
35273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35278 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35280 wxPyEndAllowThreads(__tstate
);
35281 if (PyErr_Occurred()) SWIG_fail
;
35283 resultobj
= result
;
35290 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35291 PyObject
*resultobj
;
35292 wxSizer
*arg1
= (wxSizer
*) 0 ;
35293 PyObject
*arg2
= (PyObject
*) 0 ;
35294 bool arg3
= (bool) True
;
35295 PyObject
* obj0
= 0 ;
35296 PyObject
* obj1
= 0 ;
35297 PyObject
* obj2
= 0 ;
35298 char *kwnames
[] = {
35299 (char *) "self",(char *) "item",(char *) "show", NULL
35302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35307 arg3
= (bool) SWIG_AsBool(obj2
);
35308 if (PyErr_Occurred()) SWIG_fail
;
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 wxSizer_Show(arg1
,arg2
,arg3
);
35314 wxPyEndAllowThreads(__tstate
);
35315 if (PyErr_Occurred()) SWIG_fail
;
35317 Py_INCREF(Py_None
); resultobj
= Py_None
;
35324 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35325 PyObject
*resultobj
;
35326 wxSizer
*arg1
= (wxSizer
*) 0 ;
35327 PyObject
*arg2
= (PyObject
*) 0 ;
35328 PyObject
* obj0
= 0 ;
35329 PyObject
* obj1
= 0 ;
35330 char *kwnames
[] = {
35331 (char *) "self",(char *) "item", NULL
35334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35340 wxSizer_Hide(arg1
,arg2
);
35342 wxPyEndAllowThreads(__tstate
);
35343 if (PyErr_Occurred()) SWIG_fail
;
35345 Py_INCREF(Py_None
); resultobj
= Py_None
;
35352 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35353 PyObject
*resultobj
;
35354 wxSizer
*arg1
= (wxSizer
*) 0 ;
35355 PyObject
*arg2
= (PyObject
*) 0 ;
35357 PyObject
* obj0
= 0 ;
35358 PyObject
* obj1
= 0 ;
35359 char *kwnames
[] = {
35360 (char *) "self",(char *) "item", NULL
35363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35369 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35371 wxPyEndAllowThreads(__tstate
);
35372 if (PyErr_Occurred()) SWIG_fail
;
35375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35383 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35384 PyObject
*resultobj
;
35385 wxSizer
*arg1
= (wxSizer
*) 0 ;
35387 PyObject
* obj0
= 0 ;
35388 PyObject
* obj1
= 0 ;
35389 char *kwnames
[] = {
35390 (char *) "self",(char *) "show", NULL
35393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35396 arg2
= (bool) SWIG_AsBool(obj1
);
35397 if (PyErr_Occurred()) SWIG_fail
;
35399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35400 (arg1
)->ShowItems(arg2
);
35402 wxPyEndAllowThreads(__tstate
);
35403 if (PyErr_Occurred()) SWIG_fail
;
35405 Py_INCREF(Py_None
); resultobj
= Py_None
;
35412 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35415 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35417 return Py_BuildValue((char *)"");
35419 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35420 PyObject
*resultobj
;
35422 char *kwnames
[] = {
35426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35429 result
= (wxPySizer
*)new wxPySizer();
35431 wxPyEndAllowThreads(__tstate
);
35432 if (PyErr_Occurred()) SWIG_fail
;
35434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35441 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35442 PyObject
*resultobj
;
35443 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35444 PyObject
*arg2
= (PyObject
*) 0 ;
35445 PyObject
*arg3
= (PyObject
*) 0 ;
35446 PyObject
* obj0
= 0 ;
35447 PyObject
* obj1
= 0 ;
35448 PyObject
* obj2
= 0 ;
35449 char *kwnames
[] = {
35450 (char *) "self",(char *) "self",(char *) "_class", NULL
35453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35460 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35462 wxPyEndAllowThreads(__tstate
);
35463 if (PyErr_Occurred()) SWIG_fail
;
35465 Py_INCREF(Py_None
); resultobj
= Py_None
;
35472 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35475 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35477 return Py_BuildValue((char *)"");
35479 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35480 PyObject
*resultobj
;
35481 int arg1
= (int) wxHORIZONTAL
;
35482 wxBoxSizer
*result
;
35483 PyObject
* obj0
= 0 ;
35484 char *kwnames
[] = {
35485 (char *) "orient", NULL
35488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35490 arg1
= (int) SWIG_AsInt(obj0
);
35491 if (PyErr_Occurred()) SWIG_fail
;
35494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35495 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35497 wxPyEndAllowThreads(__tstate
);
35498 if (PyErr_Occurred()) SWIG_fail
;
35500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35507 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35508 PyObject
*resultobj
;
35509 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35511 PyObject
* obj0
= 0 ;
35512 char *kwnames
[] = {
35513 (char *) "self", NULL
35516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35521 result
= (int)(arg1
)->GetOrientation();
35523 wxPyEndAllowThreads(__tstate
);
35524 if (PyErr_Occurred()) SWIG_fail
;
35526 resultobj
= SWIG_FromInt((int)result
);
35533 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35534 PyObject
*resultobj
;
35535 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35537 PyObject
* obj0
= 0 ;
35538 PyObject
* obj1
= 0 ;
35539 char *kwnames
[] = {
35540 (char *) "self",(char *) "orient", NULL
35543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35546 arg2
= (int) SWIG_AsInt(obj1
);
35547 if (PyErr_Occurred()) SWIG_fail
;
35549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35550 (arg1
)->SetOrientation(arg2
);
35552 wxPyEndAllowThreads(__tstate
);
35553 if (PyErr_Occurred()) SWIG_fail
;
35555 Py_INCREF(Py_None
); resultobj
= Py_None
;
35562 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35563 PyObject
*resultobj
;
35564 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35565 PyObject
* obj0
= 0 ;
35566 char *kwnames
[] = {
35567 (char *) "self", NULL
35570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 (arg1
)->RecalcSizes();
35577 wxPyEndAllowThreads(__tstate
);
35578 if (PyErr_Occurred()) SWIG_fail
;
35580 Py_INCREF(Py_None
); resultobj
= Py_None
;
35587 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35588 PyObject
*resultobj
;
35589 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35591 PyObject
* obj0
= 0 ;
35592 char *kwnames
[] = {
35593 (char *) "self", NULL
35596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35601 result
= (arg1
)->CalcMin();
35603 wxPyEndAllowThreads(__tstate
);
35604 if (PyErr_Occurred()) SWIG_fail
;
35607 wxSize
* resultptr
;
35608 resultptr
= new wxSize((wxSize
&) result
);
35609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35617 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35620 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35622 return Py_BuildValue((char *)"");
35624 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35625 PyObject
*resultobj
;
35626 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35627 int arg2
= (int) wxHORIZONTAL
;
35628 wxStaticBoxSizer
*result
;
35629 PyObject
* obj0
= 0 ;
35630 PyObject
* obj1
= 0 ;
35631 char *kwnames
[] = {
35632 (char *) "box",(char *) "orient", NULL
35635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35639 arg2
= (int) SWIG_AsInt(obj1
);
35640 if (PyErr_Occurred()) SWIG_fail
;
35643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35644 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35646 wxPyEndAllowThreads(__tstate
);
35647 if (PyErr_Occurred()) SWIG_fail
;
35649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
35656 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35657 PyObject
*resultobj
;
35658 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35659 wxStaticBox
*result
;
35660 PyObject
* obj0
= 0 ;
35661 char *kwnames
[] = {
35662 (char *) "self", NULL
35665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
35666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35670 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
35672 wxPyEndAllowThreads(__tstate
);
35673 if (PyErr_Occurred()) SWIG_fail
;
35676 resultobj
= wxPyMake_wxObject(result
);
35684 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35685 PyObject
*resultobj
;
35686 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35687 PyObject
* obj0
= 0 ;
35688 char *kwnames
[] = {
35689 (char *) "self", NULL
35692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35697 (arg1
)->RecalcSizes();
35699 wxPyEndAllowThreads(__tstate
);
35700 if (PyErr_Occurred()) SWIG_fail
;
35702 Py_INCREF(Py_None
); resultobj
= Py_None
;
35709 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35710 PyObject
*resultobj
;
35711 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35713 PyObject
* obj0
= 0 ;
35714 char *kwnames
[] = {
35715 (char *) "self", NULL
35718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35723 result
= (arg1
)->CalcMin();
35725 wxPyEndAllowThreads(__tstate
);
35726 if (PyErr_Occurred()) SWIG_fail
;
35729 wxSize
* resultptr
;
35730 resultptr
= new wxSize((wxSize
&) result
);
35731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35739 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35742 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
35744 return Py_BuildValue((char *)"");
35746 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35747 PyObject
*resultobj
;
35748 int arg1
= (int) 1 ;
35749 int arg2
= (int) 0 ;
35750 int arg3
= (int) 0 ;
35751 int arg4
= (int) 0 ;
35752 wxGridSizer
*result
;
35753 PyObject
* obj0
= 0 ;
35754 PyObject
* obj1
= 0 ;
35755 PyObject
* obj2
= 0 ;
35756 PyObject
* obj3
= 0 ;
35757 char *kwnames
[] = {
35758 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35763 arg1
= (int) SWIG_AsInt(obj0
);
35764 if (PyErr_Occurred()) SWIG_fail
;
35767 arg2
= (int) SWIG_AsInt(obj1
);
35768 if (PyErr_Occurred()) SWIG_fail
;
35771 arg3
= (int) SWIG_AsInt(obj2
);
35772 if (PyErr_Occurred()) SWIG_fail
;
35775 arg4
= (int) SWIG_AsInt(obj3
);
35776 if (PyErr_Occurred()) SWIG_fail
;
35779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35780 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
35782 wxPyEndAllowThreads(__tstate
);
35783 if (PyErr_Occurred()) SWIG_fail
;
35785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
35792 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35793 PyObject
*resultobj
;
35794 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35795 PyObject
* obj0
= 0 ;
35796 char *kwnames
[] = {
35797 (char *) "self", NULL
35800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35805 (arg1
)->RecalcSizes();
35807 wxPyEndAllowThreads(__tstate
);
35808 if (PyErr_Occurred()) SWIG_fail
;
35810 Py_INCREF(Py_None
); resultobj
= Py_None
;
35817 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35818 PyObject
*resultobj
;
35819 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35821 PyObject
* obj0
= 0 ;
35822 char *kwnames
[] = {
35823 (char *) "self", NULL
35826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35831 result
= (arg1
)->CalcMin();
35833 wxPyEndAllowThreads(__tstate
);
35834 if (PyErr_Occurred()) SWIG_fail
;
35837 wxSize
* resultptr
;
35838 resultptr
= new wxSize((wxSize
&) result
);
35839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35847 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35848 PyObject
*resultobj
;
35849 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35851 PyObject
* obj0
= 0 ;
35852 PyObject
* obj1
= 0 ;
35853 char *kwnames
[] = {
35854 (char *) "self",(char *) "cols", NULL
35857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
35858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35860 arg2
= (int) SWIG_AsInt(obj1
);
35861 if (PyErr_Occurred()) SWIG_fail
;
35863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35864 (arg1
)->SetCols(arg2
);
35866 wxPyEndAllowThreads(__tstate
);
35867 if (PyErr_Occurred()) SWIG_fail
;
35869 Py_INCREF(Py_None
); resultobj
= Py_None
;
35876 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35877 PyObject
*resultobj
;
35878 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35880 PyObject
* obj0
= 0 ;
35881 PyObject
* obj1
= 0 ;
35882 char *kwnames
[] = {
35883 (char *) "self",(char *) "rows", NULL
35886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
35887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35889 arg2
= (int) SWIG_AsInt(obj1
);
35890 if (PyErr_Occurred()) SWIG_fail
;
35892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35893 (arg1
)->SetRows(arg2
);
35895 wxPyEndAllowThreads(__tstate
);
35896 if (PyErr_Occurred()) SWIG_fail
;
35898 Py_INCREF(Py_None
); resultobj
= Py_None
;
35905 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35906 PyObject
*resultobj
;
35907 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35909 PyObject
* obj0
= 0 ;
35910 PyObject
* obj1
= 0 ;
35911 char *kwnames
[] = {
35912 (char *) "self",(char *) "gap", NULL
35915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35918 arg2
= (int) SWIG_AsInt(obj1
);
35919 if (PyErr_Occurred()) SWIG_fail
;
35921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35922 (arg1
)->SetVGap(arg2
);
35924 wxPyEndAllowThreads(__tstate
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35927 Py_INCREF(Py_None
); resultobj
= Py_None
;
35934 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35935 PyObject
*resultobj
;
35936 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35938 PyObject
* obj0
= 0 ;
35939 PyObject
* obj1
= 0 ;
35940 char *kwnames
[] = {
35941 (char *) "self",(char *) "gap", NULL
35944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35947 arg2
= (int) SWIG_AsInt(obj1
);
35948 if (PyErr_Occurred()) SWIG_fail
;
35950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35951 (arg1
)->SetHGap(arg2
);
35953 wxPyEndAllowThreads(__tstate
);
35954 if (PyErr_Occurred()) SWIG_fail
;
35956 Py_INCREF(Py_None
); resultobj
= Py_None
;
35963 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35964 PyObject
*resultobj
;
35965 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35967 PyObject
* obj0
= 0 ;
35968 char *kwnames
[] = {
35969 (char *) "self", NULL
35972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
35973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35977 result
= (int)(arg1
)->GetCols();
35979 wxPyEndAllowThreads(__tstate
);
35980 if (PyErr_Occurred()) SWIG_fail
;
35982 resultobj
= SWIG_FromInt((int)result
);
35989 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35990 PyObject
*resultobj
;
35991 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35993 PyObject
* obj0
= 0 ;
35994 char *kwnames
[] = {
35995 (char *) "self", NULL
35998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
35999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36003 result
= (int)(arg1
)->GetRows();
36005 wxPyEndAllowThreads(__tstate
);
36006 if (PyErr_Occurred()) SWIG_fail
;
36008 resultobj
= SWIG_FromInt((int)result
);
36015 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36016 PyObject
*resultobj
;
36017 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36019 PyObject
* obj0
= 0 ;
36020 char *kwnames
[] = {
36021 (char *) "self", NULL
36024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36029 result
= (int)(arg1
)->GetVGap();
36031 wxPyEndAllowThreads(__tstate
);
36032 if (PyErr_Occurred()) SWIG_fail
;
36034 resultobj
= SWIG_FromInt((int)result
);
36041 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36042 PyObject
*resultobj
;
36043 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36045 PyObject
* obj0
= 0 ;
36046 char *kwnames
[] = {
36047 (char *) "self", NULL
36050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36055 result
= (int)(arg1
)->GetHGap();
36057 wxPyEndAllowThreads(__tstate
);
36058 if (PyErr_Occurred()) SWIG_fail
;
36060 resultobj
= SWIG_FromInt((int)result
);
36067 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36070 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36072 return Py_BuildValue((char *)"");
36074 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36075 PyObject
*resultobj
;
36076 int arg1
= (int) 1 ;
36077 int arg2
= (int) 0 ;
36078 int arg3
= (int) 0 ;
36079 int arg4
= (int) 0 ;
36080 wxFlexGridSizer
*result
;
36081 PyObject
* obj0
= 0 ;
36082 PyObject
* obj1
= 0 ;
36083 PyObject
* obj2
= 0 ;
36084 PyObject
* obj3
= 0 ;
36085 char *kwnames
[] = {
36086 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36091 arg1
= (int) SWIG_AsInt(obj0
);
36092 if (PyErr_Occurred()) SWIG_fail
;
36095 arg2
= (int) SWIG_AsInt(obj1
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36099 arg3
= (int) SWIG_AsInt(obj2
);
36100 if (PyErr_Occurred()) SWIG_fail
;
36103 arg4
= (int) SWIG_AsInt(obj3
);
36104 if (PyErr_Occurred()) SWIG_fail
;
36107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36108 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36110 wxPyEndAllowThreads(__tstate
);
36111 if (PyErr_Occurred()) SWIG_fail
;
36113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36120 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36121 PyObject
*resultobj
;
36122 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36123 PyObject
* obj0
= 0 ;
36124 char *kwnames
[] = {
36125 (char *) "self", NULL
36128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36133 (arg1
)->RecalcSizes();
36135 wxPyEndAllowThreads(__tstate
);
36136 if (PyErr_Occurred()) SWIG_fail
;
36138 Py_INCREF(Py_None
); resultobj
= Py_None
;
36145 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36146 PyObject
*resultobj
;
36147 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36149 PyObject
* obj0
= 0 ;
36150 char *kwnames
[] = {
36151 (char *) "self", NULL
36154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36159 result
= (arg1
)->CalcMin();
36161 wxPyEndAllowThreads(__tstate
);
36162 if (PyErr_Occurred()) SWIG_fail
;
36165 wxSize
* resultptr
;
36166 resultptr
= new wxSize((wxSize
&) result
);
36167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36175 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36176 PyObject
*resultobj
;
36177 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36179 int arg3
= (int) 0 ;
36180 PyObject
* obj0
= 0 ;
36181 PyObject
* obj1
= 0 ;
36182 PyObject
* obj2
= 0 ;
36183 char *kwnames
[] = {
36184 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36190 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36191 if (PyErr_Occurred()) SWIG_fail
;
36193 arg3
= (int) SWIG_AsInt(obj2
);
36194 if (PyErr_Occurred()) SWIG_fail
;
36197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36198 (arg1
)->AddGrowableRow(arg2
,arg3
);
36200 wxPyEndAllowThreads(__tstate
);
36201 if (PyErr_Occurred()) SWIG_fail
;
36203 Py_INCREF(Py_None
); resultobj
= Py_None
;
36210 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36211 PyObject
*resultobj
;
36212 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36214 PyObject
* obj0
= 0 ;
36215 PyObject
* obj1
= 0 ;
36216 char *kwnames
[] = {
36217 (char *) "self",(char *) "idx", NULL
36220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36223 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36224 if (PyErr_Occurred()) SWIG_fail
;
36226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36227 (arg1
)->RemoveGrowableRow(arg2
);
36229 wxPyEndAllowThreads(__tstate
);
36230 if (PyErr_Occurred()) SWIG_fail
;
36232 Py_INCREF(Py_None
); resultobj
= Py_None
;
36239 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36240 PyObject
*resultobj
;
36241 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36243 int arg3
= (int) 0 ;
36244 PyObject
* obj0
= 0 ;
36245 PyObject
* obj1
= 0 ;
36246 PyObject
* obj2
= 0 ;
36247 char *kwnames
[] = {
36248 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36254 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36255 if (PyErr_Occurred()) SWIG_fail
;
36257 arg3
= (int) SWIG_AsInt(obj2
);
36258 if (PyErr_Occurred()) SWIG_fail
;
36261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36262 (arg1
)->AddGrowableCol(arg2
,arg3
);
36264 wxPyEndAllowThreads(__tstate
);
36265 if (PyErr_Occurred()) SWIG_fail
;
36267 Py_INCREF(Py_None
); resultobj
= Py_None
;
36274 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36275 PyObject
*resultobj
;
36276 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36278 PyObject
* obj0
= 0 ;
36279 PyObject
* obj1
= 0 ;
36280 char *kwnames
[] = {
36281 (char *) "self",(char *) "idx", NULL
36284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36287 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36288 if (PyErr_Occurred()) SWIG_fail
;
36290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36291 (arg1
)->RemoveGrowableCol(arg2
);
36293 wxPyEndAllowThreads(__tstate
);
36294 if (PyErr_Occurred()) SWIG_fail
;
36296 Py_INCREF(Py_None
); resultobj
= Py_None
;
36303 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36304 PyObject
*resultobj
;
36305 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36307 PyObject
* obj0
= 0 ;
36308 PyObject
* obj1
= 0 ;
36309 char *kwnames
[] = {
36310 (char *) "self",(char *) "direction", NULL
36313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36316 arg2
= (int) SWIG_AsInt(obj1
);
36317 if (PyErr_Occurred()) SWIG_fail
;
36319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36320 (arg1
)->SetFlexibleDirection(arg2
);
36322 wxPyEndAllowThreads(__tstate
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36325 Py_INCREF(Py_None
); resultobj
= Py_None
;
36332 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36333 PyObject
*resultobj
;
36334 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36336 PyObject
* obj0
= 0 ;
36337 char *kwnames
[] = {
36338 (char *) "self", NULL
36341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36346 result
= (int)(arg1
)->GetFlexibleDirection();
36348 wxPyEndAllowThreads(__tstate
);
36349 if (PyErr_Occurred()) SWIG_fail
;
36351 resultobj
= SWIG_FromInt((int)result
);
36358 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36359 PyObject
*resultobj
;
36360 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36362 PyObject
* obj0
= 0 ;
36363 PyObject
* obj1
= 0 ;
36364 char *kwnames
[] = {
36365 (char *) "self",(char *) "mode", NULL
36368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36371 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36372 if (PyErr_Occurred()) SWIG_fail
;
36374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36375 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36377 wxPyEndAllowThreads(__tstate
);
36378 if (PyErr_Occurred()) SWIG_fail
;
36380 Py_INCREF(Py_None
); resultobj
= Py_None
;
36387 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36388 PyObject
*resultobj
;
36389 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36391 PyObject
* obj0
= 0 ;
36392 char *kwnames
[] = {
36393 (char *) "self", NULL
36396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36401 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36403 wxPyEndAllowThreads(__tstate
);
36404 if (PyErr_Occurred()) SWIG_fail
;
36406 resultobj
= SWIG_FromInt((int)result
);
36413 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36414 PyObject
*resultobj
;
36415 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36416 wxArrayInt
*result
;
36417 PyObject
* obj0
= 0 ;
36418 char *kwnames
[] = {
36419 (char *) "self", NULL
36422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36428 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36429 result
= (wxArrayInt
*) &_result_ref
;
36432 wxPyEndAllowThreads(__tstate
);
36433 if (PyErr_Occurred()) SWIG_fail
;
36436 resultobj
= PyList_New(0);
36438 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36439 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36440 PyList_Append(resultobj
, val
);
36450 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36451 PyObject
*resultobj
;
36452 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36453 wxArrayInt
*result
;
36454 PyObject
* obj0
= 0 ;
36455 char *kwnames
[] = {
36456 (char *) "self", NULL
36459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36465 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36466 result
= (wxArrayInt
*) &_result_ref
;
36469 wxPyEndAllowThreads(__tstate
);
36470 if (PyErr_Occurred()) SWIG_fail
;
36473 resultobj
= PyList_New(0);
36475 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36476 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36477 PyList_Append(resultobj
, val
);
36487 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36490 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36492 return Py_BuildValue((char *)"");
36494 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36495 PyObject
*resultobj
;
36496 int arg1
= (int) 0 ;
36497 int arg2
= (int) 0 ;
36498 wxGBPosition
*result
;
36499 PyObject
* obj0
= 0 ;
36500 PyObject
* obj1
= 0 ;
36501 char *kwnames
[] = {
36502 (char *) "row",(char *) "col", NULL
36505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36507 arg1
= (int) SWIG_AsInt(obj0
);
36508 if (PyErr_Occurred()) SWIG_fail
;
36511 arg2
= (int) SWIG_AsInt(obj1
);
36512 if (PyErr_Occurred()) SWIG_fail
;
36515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36516 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36518 wxPyEndAllowThreads(__tstate
);
36519 if (PyErr_Occurred()) SWIG_fail
;
36521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36528 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36529 PyObject
*resultobj
;
36530 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36532 PyObject
* obj0
= 0 ;
36533 char *kwnames
[] = {
36534 (char *) "self", NULL
36537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36542 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36544 wxPyEndAllowThreads(__tstate
);
36545 if (PyErr_Occurred()) SWIG_fail
;
36547 resultobj
= SWIG_FromInt((int)result
);
36554 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36555 PyObject
*resultobj
;
36556 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36558 PyObject
* obj0
= 0 ;
36559 char *kwnames
[] = {
36560 (char *) "self", NULL
36563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36568 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36570 wxPyEndAllowThreads(__tstate
);
36571 if (PyErr_Occurred()) SWIG_fail
;
36573 resultobj
= SWIG_FromInt((int)result
);
36580 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36581 PyObject
*resultobj
;
36582 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36584 PyObject
* obj0
= 0 ;
36585 PyObject
* obj1
= 0 ;
36586 char *kwnames
[] = {
36587 (char *) "self",(char *) "row", NULL
36590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36593 arg2
= (int) SWIG_AsInt(obj1
);
36594 if (PyErr_Occurred()) SWIG_fail
;
36596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36597 (arg1
)->SetRow(arg2
);
36599 wxPyEndAllowThreads(__tstate
);
36600 if (PyErr_Occurred()) SWIG_fail
;
36602 Py_INCREF(Py_None
); resultobj
= Py_None
;
36609 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36610 PyObject
*resultobj
;
36611 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36613 PyObject
* obj0
= 0 ;
36614 PyObject
* obj1
= 0 ;
36615 char *kwnames
[] = {
36616 (char *) "self",(char *) "col", NULL
36619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36622 arg2
= (int) SWIG_AsInt(obj1
);
36623 if (PyErr_Occurred()) SWIG_fail
;
36625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36626 (arg1
)->SetCol(arg2
);
36628 wxPyEndAllowThreads(__tstate
);
36629 if (PyErr_Occurred()) SWIG_fail
;
36631 Py_INCREF(Py_None
); resultobj
= Py_None
;
36638 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36639 PyObject
*resultobj
;
36640 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36641 wxGBPosition
*arg2
= 0 ;
36643 wxGBPosition temp2
;
36644 PyObject
* obj0
= 0 ;
36645 PyObject
* obj1
= 0 ;
36646 char *kwnames
[] = {
36647 (char *) "self",(char *) "other", NULL
36650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36655 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36659 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36661 wxPyEndAllowThreads(__tstate
);
36662 if (PyErr_Occurred()) SWIG_fail
;
36665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36673 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36674 PyObject
*resultobj
;
36675 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36676 wxGBPosition
*arg2
= 0 ;
36678 wxGBPosition temp2
;
36679 PyObject
* obj0
= 0 ;
36680 PyObject
* obj1
= 0 ;
36681 char *kwnames
[] = {
36682 (char *) "self",(char *) "other", NULL
36685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36690 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36694 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36696 wxPyEndAllowThreads(__tstate
);
36697 if (PyErr_Occurred()) SWIG_fail
;
36700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36708 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36709 PyObject
*resultobj
;
36710 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36711 int arg2
= (int) 0 ;
36712 int arg3
= (int) 0 ;
36713 PyObject
* obj0
= 0 ;
36714 PyObject
* obj1
= 0 ;
36715 PyObject
* obj2
= 0 ;
36716 char *kwnames
[] = {
36717 (char *) "self",(char *) "row",(char *) "col", NULL
36720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36724 arg2
= (int) SWIG_AsInt(obj1
);
36725 if (PyErr_Occurred()) SWIG_fail
;
36728 arg3
= (int) SWIG_AsInt(obj2
);
36729 if (PyErr_Occurred()) SWIG_fail
;
36732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36733 wxGBPosition_Set(arg1
,arg2
,arg3
);
36735 wxPyEndAllowThreads(__tstate
);
36736 if (PyErr_Occurred()) SWIG_fail
;
36738 Py_INCREF(Py_None
); resultobj
= Py_None
;
36745 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36746 PyObject
*resultobj
;
36747 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36749 PyObject
* obj0
= 0 ;
36750 char *kwnames
[] = {
36751 (char *) "self", NULL
36754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36759 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36761 wxPyEndAllowThreads(__tstate
);
36762 if (PyErr_Occurred()) SWIG_fail
;
36764 resultobj
= result
;
36771 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36774 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36776 return Py_BuildValue((char *)"");
36778 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36779 PyObject
*resultobj
;
36780 int arg1
= (int) 1 ;
36781 int arg2
= (int) 1 ;
36783 PyObject
* obj0
= 0 ;
36784 PyObject
* obj1
= 0 ;
36785 char *kwnames
[] = {
36786 (char *) "rowspan",(char *) "colspan", NULL
36789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36791 arg1
= (int) SWIG_AsInt(obj0
);
36792 if (PyErr_Occurred()) SWIG_fail
;
36795 arg2
= (int) SWIG_AsInt(obj1
);
36796 if (PyErr_Occurred()) SWIG_fail
;
36799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36800 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
36802 wxPyEndAllowThreads(__tstate
);
36803 if (PyErr_Occurred()) SWIG_fail
;
36805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36812 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36813 PyObject
*resultobj
;
36814 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36816 PyObject
* obj0
= 0 ;
36817 char *kwnames
[] = {
36818 (char *) "self", NULL
36821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36826 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36828 wxPyEndAllowThreads(__tstate
);
36829 if (PyErr_Occurred()) SWIG_fail
;
36831 resultobj
= SWIG_FromInt((int)result
);
36838 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36839 PyObject
*resultobj
;
36840 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36842 PyObject
* obj0
= 0 ;
36843 char *kwnames
[] = {
36844 (char *) "self", NULL
36847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36852 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
36854 wxPyEndAllowThreads(__tstate
);
36855 if (PyErr_Occurred()) SWIG_fail
;
36857 resultobj
= SWIG_FromInt((int)result
);
36864 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36865 PyObject
*resultobj
;
36866 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36868 PyObject
* obj0
= 0 ;
36869 PyObject
* obj1
= 0 ;
36870 char *kwnames
[] = {
36871 (char *) "self",(char *) "rowspan", NULL
36874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36877 arg2
= (int) SWIG_AsInt(obj1
);
36878 if (PyErr_Occurred()) SWIG_fail
;
36880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36881 (arg1
)->SetRowspan(arg2
);
36883 wxPyEndAllowThreads(__tstate
);
36884 if (PyErr_Occurred()) SWIG_fail
;
36886 Py_INCREF(Py_None
); resultobj
= Py_None
;
36893 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36894 PyObject
*resultobj
;
36895 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36897 PyObject
* obj0
= 0 ;
36898 PyObject
* obj1
= 0 ;
36899 char *kwnames
[] = {
36900 (char *) "self",(char *) "colspan", NULL
36903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36906 arg2
= (int) SWIG_AsInt(obj1
);
36907 if (PyErr_Occurred()) SWIG_fail
;
36909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36910 (arg1
)->SetColspan(arg2
);
36912 wxPyEndAllowThreads(__tstate
);
36913 if (PyErr_Occurred()) SWIG_fail
;
36915 Py_INCREF(Py_None
); resultobj
= Py_None
;
36922 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36923 PyObject
*resultobj
;
36924 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36925 wxGBSpan
*arg2
= 0 ;
36928 PyObject
* obj0
= 0 ;
36929 PyObject
* obj1
= 0 ;
36930 char *kwnames
[] = {
36931 (char *) "self",(char *) "other", NULL
36934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36939 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36943 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
36945 wxPyEndAllowThreads(__tstate
);
36946 if (PyErr_Occurred()) SWIG_fail
;
36949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36957 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36958 PyObject
*resultobj
;
36959 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36960 wxGBSpan
*arg2
= 0 ;
36963 PyObject
* obj0
= 0 ;
36964 PyObject
* obj1
= 0 ;
36965 char *kwnames
[] = {
36966 (char *) "self",(char *) "other", NULL
36969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36974 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36978 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
36980 wxPyEndAllowThreads(__tstate
);
36981 if (PyErr_Occurred()) SWIG_fail
;
36984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36992 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36993 PyObject
*resultobj
;
36994 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36995 int arg2
= (int) 1 ;
36996 int arg3
= (int) 1 ;
36997 PyObject
* obj0
= 0 ;
36998 PyObject
* obj1
= 0 ;
36999 PyObject
* obj2
= 0 ;
37000 char *kwnames
[] = {
37001 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37008 arg2
= (int) SWIG_AsInt(obj1
);
37009 if (PyErr_Occurred()) SWIG_fail
;
37012 arg3
= (int) SWIG_AsInt(obj2
);
37013 if (PyErr_Occurred()) SWIG_fail
;
37016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37017 wxGBSpan_Set(arg1
,arg2
,arg3
);
37019 wxPyEndAllowThreads(__tstate
);
37020 if (PyErr_Occurred()) SWIG_fail
;
37022 Py_INCREF(Py_None
); resultobj
= Py_None
;
37029 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37030 PyObject
*resultobj
;
37031 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37033 PyObject
* obj0
= 0 ;
37034 char *kwnames
[] = {
37035 (char *) "self", NULL
37038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37043 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37045 wxPyEndAllowThreads(__tstate
);
37046 if (PyErr_Occurred()) SWIG_fail
;
37048 resultobj
= result
;
37055 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37058 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37060 return Py_BuildValue((char *)"");
37062 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37063 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37068 static PyObject
*_wrap_DefaultSpan_get() {
37071 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37076 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37077 PyObject
*resultobj
;
37078 wxGBSizerItem
*result
;
37079 char *kwnames
[] = {
37083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37086 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37088 wxPyEndAllowThreads(__tstate
);
37089 if (PyErr_Occurred()) SWIG_fail
;
37091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37098 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37099 PyObject
*resultobj
;
37100 wxWindow
*arg1
= (wxWindow
*) 0 ;
37101 wxGBPosition
*arg2
= 0 ;
37102 wxGBSpan
*arg3
= 0 ;
37105 wxObject
*arg6
= (wxObject
*) 0 ;
37106 wxGBSizerItem
*result
;
37107 wxGBPosition temp2
;
37109 PyObject
* obj0
= 0 ;
37110 PyObject
* obj1
= 0 ;
37111 PyObject
* obj2
= 0 ;
37112 PyObject
* obj3
= 0 ;
37113 PyObject
* obj4
= 0 ;
37114 PyObject
* obj5
= 0 ;
37115 char *kwnames
[] = {
37116 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37124 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37128 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37130 arg4
= (int) SWIG_AsInt(obj3
);
37131 if (PyErr_Occurred()) SWIG_fail
;
37132 arg5
= (int) SWIG_AsInt(obj4
);
37133 if (PyErr_Occurred()) SWIG_fail
;
37134 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37138 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37140 wxPyEndAllowThreads(__tstate
);
37141 if (PyErr_Occurred()) SWIG_fail
;
37143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37150 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37151 PyObject
*resultobj
;
37152 wxSizer
*arg1
= (wxSizer
*) 0 ;
37153 wxGBPosition
*arg2
= 0 ;
37154 wxGBSpan
*arg3
= 0 ;
37157 wxObject
*arg6
= (wxObject
*) 0 ;
37158 wxGBSizerItem
*result
;
37159 wxGBPosition temp2
;
37161 PyObject
* obj0
= 0 ;
37162 PyObject
* obj1
= 0 ;
37163 PyObject
* obj2
= 0 ;
37164 PyObject
* obj3
= 0 ;
37165 PyObject
* obj4
= 0 ;
37166 PyObject
* obj5
= 0 ;
37167 char *kwnames
[] = {
37168 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37176 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37180 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37182 arg4
= (int) SWIG_AsInt(obj3
);
37183 if (PyErr_Occurred()) SWIG_fail
;
37184 arg5
= (int) SWIG_AsInt(obj4
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37186 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37190 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37192 wxPyEndAllowThreads(__tstate
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37202 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37203 PyObject
*resultobj
;
37206 wxGBPosition
*arg3
= 0 ;
37207 wxGBSpan
*arg4
= 0 ;
37210 wxObject
*arg7
= (wxObject
*) 0 ;
37211 wxGBSizerItem
*result
;
37212 wxGBPosition temp3
;
37214 PyObject
* obj0
= 0 ;
37215 PyObject
* obj1
= 0 ;
37216 PyObject
* obj2
= 0 ;
37217 PyObject
* obj3
= 0 ;
37218 PyObject
* obj4
= 0 ;
37219 PyObject
* obj5
= 0 ;
37220 PyObject
* obj6
= 0 ;
37221 char *kwnames
[] = {
37222 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37226 arg1
= (int) SWIG_AsInt(obj0
);
37227 if (PyErr_Occurred()) SWIG_fail
;
37228 arg2
= (int) SWIG_AsInt(obj1
);
37229 if (PyErr_Occurred()) SWIG_fail
;
37232 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37236 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37238 arg5
= (int) SWIG_AsInt(obj4
);
37239 if (PyErr_Occurred()) SWIG_fail
;
37240 arg6
= (int) SWIG_AsInt(obj5
);
37241 if (PyErr_Occurred()) SWIG_fail
;
37242 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37246 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37248 wxPyEndAllowThreads(__tstate
);
37249 if (PyErr_Occurred()) SWIG_fail
;
37251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37258 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37259 PyObject
*resultobj
;
37260 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37261 wxGBPosition result
;
37262 PyObject
* obj0
= 0 ;
37263 char *kwnames
[] = {
37264 (char *) "self", NULL
37267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37272 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37274 wxPyEndAllowThreads(__tstate
);
37275 if (PyErr_Occurred()) SWIG_fail
;
37278 wxGBPosition
* resultptr
;
37279 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37288 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37289 PyObject
*resultobj
;
37290 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37292 PyObject
* obj0
= 0 ;
37293 char *kwnames
[] = {
37294 (char *) "self", NULL
37297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37302 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37304 wxPyEndAllowThreads(__tstate
);
37305 if (PyErr_Occurred()) SWIG_fail
;
37308 wxGBSpan
* resultptr
;
37309 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37318 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37319 PyObject
*resultobj
;
37320 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37321 wxGBPosition
*arg2
= 0 ;
37323 wxGBPosition temp2
;
37324 PyObject
* obj0
= 0 ;
37325 PyObject
* obj1
= 0 ;
37326 char *kwnames
[] = {
37327 (char *) "self",(char *) "pos", NULL
37330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37335 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37339 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37341 wxPyEndAllowThreads(__tstate
);
37342 if (PyErr_Occurred()) SWIG_fail
;
37345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37353 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37354 PyObject
*resultobj
;
37355 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37356 wxGBSpan
*arg2
= 0 ;
37359 PyObject
* obj0
= 0 ;
37360 PyObject
* obj1
= 0 ;
37361 char *kwnames
[] = {
37362 (char *) "self",(char *) "span", NULL
37365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37370 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37374 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37376 wxPyEndAllowThreads(__tstate
);
37377 if (PyErr_Occurred()) SWIG_fail
;
37380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37388 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37389 PyObject
*resultobj
;
37390 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37391 wxGBSizerItem
*arg2
= 0 ;
37393 PyObject
* obj0
= 0 ;
37394 PyObject
* obj1
= 0 ;
37396 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37402 if (arg2
== NULL
) {
37403 PyErr_SetString(PyExc_TypeError
,"null reference");
37407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37408 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37410 wxPyEndAllowThreads(__tstate
);
37411 if (PyErr_Occurred()) SWIG_fail
;
37414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37422 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37423 PyObject
*resultobj
;
37424 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37425 wxGBPosition
*arg2
= 0 ;
37426 wxGBSpan
*arg3
= 0 ;
37428 wxGBPosition temp2
;
37430 PyObject
* obj0
= 0 ;
37431 PyObject
* obj1
= 0 ;
37432 PyObject
* obj2
= 0 ;
37434 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37439 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37443 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37447 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37449 wxPyEndAllowThreads(__tstate
);
37450 if (PyErr_Occurred()) SWIG_fail
;
37453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37461 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37466 argc
= PyObject_Length(args
);
37467 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37468 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37474 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37484 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37492 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
37500 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37509 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37513 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37516 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
37522 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
37527 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37528 PyObject
*resultobj
;
37529 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37532 PyObject
* obj0
= 0 ;
37533 PyObject
* obj1
= 0 ;
37534 PyObject
* obj2
= 0 ;
37535 char *kwnames
[] = {
37536 (char *) "self",(char *) "row",(char *) "col", NULL
37539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37542 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
37543 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37545 if (arg2
== NULL
) {
37546 PyErr_SetString(PyExc_TypeError
,"null reference");
37549 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
37550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37552 if (arg3
== NULL
) {
37553 PyErr_SetString(PyExc_TypeError
,"null reference");
37557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37558 (arg1
)->GetEndPos(*arg2
,*arg3
);
37560 wxPyEndAllowThreads(__tstate
);
37561 if (PyErr_Occurred()) SWIG_fail
;
37563 Py_INCREF(Py_None
); resultobj
= Py_None
;
37570 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37571 PyObject
*resultobj
;
37572 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37573 wxGridBagSizer
*result
;
37574 PyObject
* obj0
= 0 ;
37575 char *kwnames
[] = {
37576 (char *) "self", NULL
37579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37584 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37586 wxPyEndAllowThreads(__tstate
);
37587 if (PyErr_Occurred()) SWIG_fail
;
37589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37596 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37597 PyObject
*resultobj
;
37598 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37599 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37600 PyObject
* obj0
= 0 ;
37601 PyObject
* obj1
= 0 ;
37602 char *kwnames
[] = {
37603 (char *) "self",(char *) "sizer", NULL
37606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37613 (arg1
)->SetGBSizer(arg2
);
37615 wxPyEndAllowThreads(__tstate
);
37616 if (PyErr_Occurred()) SWIG_fail
;
37618 Py_INCREF(Py_None
); resultobj
= Py_None
;
37625 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37628 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37630 return Py_BuildValue((char *)"");
37632 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37633 PyObject
*resultobj
;
37634 int arg1
= (int) 0 ;
37635 int arg2
= (int) 0 ;
37636 wxGridBagSizer
*result
;
37637 PyObject
* obj0
= 0 ;
37638 PyObject
* obj1
= 0 ;
37639 char *kwnames
[] = {
37640 (char *) "vgap",(char *) "hgap", NULL
37643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37645 arg1
= (int) SWIG_AsInt(obj0
);
37646 if (PyErr_Occurred()) SWIG_fail
;
37649 arg2
= (int) SWIG_AsInt(obj1
);
37650 if (PyErr_Occurred()) SWIG_fail
;
37653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37654 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37656 wxPyEndAllowThreads(__tstate
);
37657 if (PyErr_Occurred()) SWIG_fail
;
37659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37666 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37667 PyObject
*resultobj
;
37668 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37669 PyObject
*arg2
= (PyObject
*) 0 ;
37670 wxGBPosition
*arg3
= 0 ;
37671 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37672 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37673 int arg5
= (int) 0 ;
37674 int arg6
= (int) 0 ;
37675 PyObject
*arg7
= (PyObject
*) NULL
;
37677 wxGBPosition temp3
;
37679 PyObject
* obj0
= 0 ;
37680 PyObject
* obj1
= 0 ;
37681 PyObject
* obj2
= 0 ;
37682 PyObject
* obj3
= 0 ;
37683 PyObject
* obj4
= 0 ;
37684 PyObject
* obj5
= 0 ;
37685 PyObject
* obj6
= 0 ;
37686 char *kwnames
[] = {
37687 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37696 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37701 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37705 arg5
= (int) SWIG_AsInt(obj4
);
37706 if (PyErr_Occurred()) SWIG_fail
;
37709 arg6
= (int) SWIG_AsInt(obj5
);
37710 if (PyErr_Occurred()) SWIG_fail
;
37716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37717 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37719 wxPyEndAllowThreads(__tstate
);
37720 if (PyErr_Occurred()) SWIG_fail
;
37723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37731 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37732 PyObject
*resultobj
;
37733 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37734 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37736 PyObject
* obj0
= 0 ;
37737 PyObject
* obj1
= 0 ;
37738 char *kwnames
[] = {
37739 (char *) "self",(char *) "item", NULL
37742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37749 result
= (bool)(arg1
)->Add(arg2
);
37751 wxPyEndAllowThreads(__tstate
);
37752 if (PyErr_Occurred()) SWIG_fail
;
37755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37763 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37764 PyObject
*resultobj
;
37765 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37767 PyObject
* obj0
= 0 ;
37768 char *kwnames
[] = {
37769 (char *) "self", NULL
37772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37777 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37779 wxPyEndAllowThreads(__tstate
);
37780 if (PyErr_Occurred()) SWIG_fail
;
37783 wxSize
* resultptr
;
37784 resultptr
= new wxSize((wxSize
&) result
);
37785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37793 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37794 PyObject
*resultobj
;
37795 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37798 PyObject
* obj0
= 0 ;
37799 PyObject
* obj1
= 0 ;
37800 char *kwnames
[] = {
37801 (char *) "self",(char *) "sz", NULL
37804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37809 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37813 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37815 wxPyEndAllowThreads(__tstate
);
37816 if (PyErr_Occurred()) SWIG_fail
;
37818 Py_INCREF(Py_None
); resultobj
= Py_None
;
37825 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37826 PyObject
*resultobj
;
37827 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37828 wxWindow
*arg2
= (wxWindow
*) 0 ;
37829 wxGBPosition result
;
37830 PyObject
* obj0
= 0 ;
37831 PyObject
* obj1
= 0 ;
37833 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37840 result
= (arg1
)->GetItemPosition(arg2
);
37842 wxPyEndAllowThreads(__tstate
);
37843 if (PyErr_Occurred()) SWIG_fail
;
37846 wxGBPosition
* resultptr
;
37847 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37856 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37857 PyObject
*resultobj
;
37858 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37859 wxSizer
*arg2
= (wxSizer
*) 0 ;
37860 wxGBPosition result
;
37861 PyObject
* obj0
= 0 ;
37862 PyObject
* obj1
= 0 ;
37864 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37871 result
= (arg1
)->GetItemPosition(arg2
);
37873 wxPyEndAllowThreads(__tstate
);
37874 if (PyErr_Occurred()) SWIG_fail
;
37877 wxGBPosition
* resultptr
;
37878 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37887 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37888 PyObject
*resultobj
;
37889 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37891 wxGBPosition result
;
37892 PyObject
* obj0
= 0 ;
37893 PyObject
* obj1
= 0 ;
37895 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37898 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37899 if (PyErr_Occurred()) SWIG_fail
;
37901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37902 result
= (arg1
)->GetItemPosition(arg2
);
37904 wxPyEndAllowThreads(__tstate
);
37905 if (PyErr_Occurred()) SWIG_fail
;
37908 wxGBPosition
* resultptr
;
37909 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37918 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37923 argc
= PyObject_Length(args
);
37924 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37925 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37931 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37941 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37949 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37957 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37967 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37975 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
37983 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37991 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37993 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
37998 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38003 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38004 PyObject
*resultobj
;
38005 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38006 wxWindow
*arg2
= (wxWindow
*) 0 ;
38007 wxGBPosition
*arg3
= 0 ;
38009 wxGBPosition temp3
;
38010 PyObject
* obj0
= 0 ;
38011 PyObject
* obj1
= 0 ;
38012 PyObject
* obj2
= 0 ;
38014 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38021 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38025 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38027 wxPyEndAllowThreads(__tstate
);
38028 if (PyErr_Occurred()) SWIG_fail
;
38031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38039 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38040 PyObject
*resultobj
;
38041 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38042 wxSizer
*arg2
= (wxSizer
*) 0 ;
38043 wxGBPosition
*arg3
= 0 ;
38045 wxGBPosition temp3
;
38046 PyObject
* obj0
= 0 ;
38047 PyObject
* obj1
= 0 ;
38048 PyObject
* obj2
= 0 ;
38050 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38057 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38061 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38063 wxPyEndAllowThreads(__tstate
);
38064 if (PyErr_Occurred()) SWIG_fail
;
38067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38075 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38076 PyObject
*resultobj
;
38077 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38079 wxGBPosition
*arg3
= 0 ;
38081 wxGBPosition temp3
;
38082 PyObject
* obj0
= 0 ;
38083 PyObject
* obj1
= 0 ;
38084 PyObject
* obj2
= 0 ;
38086 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38089 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38090 if (PyErr_Occurred()) SWIG_fail
;
38093 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38097 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38099 wxPyEndAllowThreads(__tstate
);
38100 if (PyErr_Occurred()) SWIG_fail
;
38103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38111 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38116 argc
= PyObject_Length(args
);
38117 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38118 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38124 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38134 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38143 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38146 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38155 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38165 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38174 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38177 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38186 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38194 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38197 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38200 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38206 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38211 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38212 PyObject
*resultobj
;
38213 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38214 wxWindow
*arg2
= (wxWindow
*) 0 ;
38216 PyObject
* obj0
= 0 ;
38217 PyObject
* obj1
= 0 ;
38219 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38226 result
= (arg1
)->GetItemSpan(arg2
);
38228 wxPyEndAllowThreads(__tstate
);
38229 if (PyErr_Occurred()) SWIG_fail
;
38232 wxGBSpan
* resultptr
;
38233 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38242 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38243 PyObject
*resultobj
;
38244 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38245 wxSizer
*arg2
= (wxSizer
*) 0 ;
38247 PyObject
* obj0
= 0 ;
38248 PyObject
* obj1
= 0 ;
38250 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38257 result
= (arg1
)->GetItemSpan(arg2
);
38259 wxPyEndAllowThreads(__tstate
);
38260 if (PyErr_Occurred()) SWIG_fail
;
38263 wxGBSpan
* resultptr
;
38264 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38273 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38274 PyObject
*resultobj
;
38275 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38278 PyObject
* obj0
= 0 ;
38279 PyObject
* obj1
= 0 ;
38281 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38284 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38285 if (PyErr_Occurred()) SWIG_fail
;
38287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38288 result
= (arg1
)->GetItemSpan(arg2
);
38290 wxPyEndAllowThreads(__tstate
);
38291 if (PyErr_Occurred()) SWIG_fail
;
38294 wxGBSpan
* resultptr
;
38295 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38304 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38309 argc
= PyObject_Length(args
);
38310 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38311 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38317 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38327 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38335 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38343 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38353 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38361 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38369 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38377 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38379 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38384 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38389 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38390 PyObject
*resultobj
;
38391 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38392 wxWindow
*arg2
= (wxWindow
*) 0 ;
38393 wxGBSpan
*arg3
= 0 ;
38396 PyObject
* obj0
= 0 ;
38397 PyObject
* obj1
= 0 ;
38398 PyObject
* obj2
= 0 ;
38400 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38407 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38411 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38413 wxPyEndAllowThreads(__tstate
);
38414 if (PyErr_Occurred()) SWIG_fail
;
38417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38425 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38426 PyObject
*resultobj
;
38427 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38428 wxSizer
*arg2
= (wxSizer
*) 0 ;
38429 wxGBSpan
*arg3
= 0 ;
38432 PyObject
* obj0
= 0 ;
38433 PyObject
* obj1
= 0 ;
38434 PyObject
* obj2
= 0 ;
38436 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38443 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38447 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38449 wxPyEndAllowThreads(__tstate
);
38450 if (PyErr_Occurred()) SWIG_fail
;
38453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38461 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38462 PyObject
*resultobj
;
38463 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38465 wxGBSpan
*arg3
= 0 ;
38468 PyObject
* obj0
= 0 ;
38469 PyObject
* obj1
= 0 ;
38470 PyObject
* obj2
= 0 ;
38472 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38475 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38476 if (PyErr_Occurred()) SWIG_fail
;
38479 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38483 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38485 wxPyEndAllowThreads(__tstate
);
38486 if (PyErr_Occurred()) SWIG_fail
;
38489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38497 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38502 argc
= PyObject_Length(args
);
38503 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38504 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38510 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38520 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38529 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38532 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38541 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38551 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38560 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38563 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38572 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38580 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38583 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38586 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38592 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38597 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38598 PyObject
*resultobj
;
38599 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38600 wxWindow
*arg2
= (wxWindow
*) 0 ;
38601 wxGBSizerItem
*result
;
38602 PyObject
* obj0
= 0 ;
38603 PyObject
* obj1
= 0 ;
38605 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38612 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38614 wxPyEndAllowThreads(__tstate
);
38615 if (PyErr_Occurred()) SWIG_fail
;
38617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38624 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38625 PyObject
*resultobj
;
38626 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38627 wxSizer
*arg2
= (wxSizer
*) 0 ;
38628 wxGBSizerItem
*result
;
38629 PyObject
* obj0
= 0 ;
38630 PyObject
* obj1
= 0 ;
38632 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38639 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38641 wxPyEndAllowThreads(__tstate
);
38642 if (PyErr_Occurred()) SWIG_fail
;
38644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38651 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38656 argc
= PyObject_Length(args
);
38657 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38658 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38664 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38674 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38682 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38690 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38700 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38708 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38713 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38718 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38719 PyObject
*resultobj
;
38720 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38721 wxGBPosition
*arg2
= 0 ;
38722 wxGBSizerItem
*result
;
38723 wxGBPosition temp2
;
38724 PyObject
* obj0
= 0 ;
38725 PyObject
* obj1
= 0 ;
38726 char *kwnames
[] = {
38727 (char *) "self",(char *) "pos", NULL
38730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38735 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38739 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38741 wxPyEndAllowThreads(__tstate
);
38742 if (PyErr_Occurred()) SWIG_fail
;
38744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38751 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38752 PyObject
*resultobj
;
38753 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38754 wxPoint
*arg2
= 0 ;
38755 wxGBSizerItem
*result
;
38757 PyObject
* obj0
= 0 ;
38758 PyObject
* obj1
= 0 ;
38759 char *kwnames
[] = {
38760 (char *) "self",(char *) "pt", NULL
38763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38772 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38774 wxPyEndAllowThreads(__tstate
);
38775 if (PyErr_Occurred()) SWIG_fail
;
38777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38784 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38785 PyObject
*resultobj
;
38786 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38787 wxObject
*arg2
= (wxObject
*) 0 ;
38788 wxGBSizerItem
*result
;
38789 PyObject
* obj0
= 0 ;
38790 PyObject
* obj1
= 0 ;
38791 char *kwnames
[] = {
38792 (char *) "self",(char *) "userData", NULL
38795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
38796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
38799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38802 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
38804 wxPyEndAllowThreads(__tstate
);
38805 if (PyErr_Occurred()) SWIG_fail
;
38807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38814 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38815 PyObject
*resultobj
;
38816 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38817 PyObject
* obj0
= 0 ;
38818 char *kwnames
[] = {
38819 (char *) "self", NULL
38822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38827 (arg1
)->RecalcSizes();
38829 wxPyEndAllowThreads(__tstate
);
38830 if (PyErr_Occurred()) SWIG_fail
;
38832 Py_INCREF(Py_None
); resultobj
= Py_None
;
38839 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38840 PyObject
*resultobj
;
38841 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38843 PyObject
* obj0
= 0 ;
38844 char *kwnames
[] = {
38845 (char *) "self", NULL
38848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38853 result
= (arg1
)->CalcMin();
38855 wxPyEndAllowThreads(__tstate
);
38856 if (PyErr_Occurred()) SWIG_fail
;
38859 wxSize
* resultptr
;
38860 resultptr
= new wxSize((wxSize
&) result
);
38861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38869 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
38870 PyObject
*resultobj
;
38871 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38872 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38873 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38875 PyObject
* obj0
= 0 ;
38876 PyObject
* obj1
= 0 ;
38877 PyObject
* obj2
= 0 ;
38879 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
38880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38885 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38890 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38892 wxPyEndAllowThreads(__tstate
);
38893 if (PyErr_Occurred()) SWIG_fail
;
38896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38904 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
38905 PyObject
*resultobj
;
38906 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38907 wxGBPosition
*arg2
= 0 ;
38908 wxGBSpan
*arg3
= 0 ;
38909 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38911 wxGBPosition temp2
;
38913 PyObject
* obj0
= 0 ;
38914 PyObject
* obj1
= 0 ;
38915 PyObject
* obj2
= 0 ;
38916 PyObject
* obj3
= 0 ;
38918 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38923 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38927 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38930 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38935 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38937 wxPyEndAllowThreads(__tstate
);
38938 if (PyErr_Occurred()) SWIG_fail
;
38941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38949 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
38954 argc
= PyObject_Length(args
);
38955 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
38956 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38958 if ((argc
>= 2) && (argc
<= 3)) {
38962 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38972 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38981 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38985 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38993 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38998 if ((argc
>= 3) && (argc
<= 4)) {
39002 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39011 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39015 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39019 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39023 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39031 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39038 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39043 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39046 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39048 return Py_BuildValue((char *)"");
39050 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39051 PyObject
*resultobj
;
39052 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39054 wxWindow
*arg3
= (wxWindow
*) 0 ;
39056 int arg5
= (int) 0 ;
39057 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39058 PyObject
* obj0
= 0 ;
39059 PyObject
* obj1
= 0 ;
39060 PyObject
* obj2
= 0 ;
39061 PyObject
* obj3
= 0 ;
39062 PyObject
* obj4
= 0 ;
39063 PyObject
* obj5
= 0 ;
39064 char *kwnames
[] = {
39065 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39071 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39072 if (PyErr_Occurred()) SWIG_fail
;
39073 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39075 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39076 if (PyErr_Occurred()) SWIG_fail
;
39078 arg5
= (int) SWIG_AsInt(obj4
);
39079 if (PyErr_Occurred()) SWIG_fail
;
39082 arg6
= (int) SWIG_AsInt(obj5
);
39083 if (PyErr_Occurred()) SWIG_fail
;
39086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39087 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39089 wxPyEndAllowThreads(__tstate
);
39090 if (PyErr_Occurred()) SWIG_fail
;
39092 Py_INCREF(Py_None
); resultobj
= Py_None
;
39099 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39100 PyObject
*resultobj
;
39101 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39102 wxWindow
*arg2
= (wxWindow
*) 0 ;
39103 int arg3
= (int) 0 ;
39104 PyObject
* obj0
= 0 ;
39105 PyObject
* obj1
= 0 ;
39106 PyObject
* obj2
= 0 ;
39107 char *kwnames
[] = {
39108 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39117 arg3
= (int) SWIG_AsInt(obj2
);
39118 if (PyErr_Occurred()) SWIG_fail
;
39121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39122 (arg1
)->LeftOf(arg2
,arg3
);
39124 wxPyEndAllowThreads(__tstate
);
39125 if (PyErr_Occurred()) SWIG_fail
;
39127 Py_INCREF(Py_None
); resultobj
= Py_None
;
39134 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39135 PyObject
*resultobj
;
39136 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39137 wxWindow
*arg2
= (wxWindow
*) 0 ;
39138 int arg3
= (int) 0 ;
39139 PyObject
* obj0
= 0 ;
39140 PyObject
* obj1
= 0 ;
39141 PyObject
* obj2
= 0 ;
39142 char *kwnames
[] = {
39143 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39152 arg3
= (int) SWIG_AsInt(obj2
);
39153 if (PyErr_Occurred()) SWIG_fail
;
39156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39157 (arg1
)->RightOf(arg2
,arg3
);
39159 wxPyEndAllowThreads(__tstate
);
39160 if (PyErr_Occurred()) SWIG_fail
;
39162 Py_INCREF(Py_None
); resultobj
= Py_None
;
39169 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39170 PyObject
*resultobj
;
39171 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39172 wxWindow
*arg2
= (wxWindow
*) 0 ;
39173 int arg3
= (int) 0 ;
39174 PyObject
* obj0
= 0 ;
39175 PyObject
* obj1
= 0 ;
39176 PyObject
* obj2
= 0 ;
39177 char *kwnames
[] = {
39178 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39187 arg3
= (int) SWIG_AsInt(obj2
);
39188 if (PyErr_Occurred()) SWIG_fail
;
39191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39192 (arg1
)->Above(arg2
,arg3
);
39194 wxPyEndAllowThreads(__tstate
);
39195 if (PyErr_Occurred()) SWIG_fail
;
39197 Py_INCREF(Py_None
); resultobj
= Py_None
;
39204 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39205 PyObject
*resultobj
;
39206 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39207 wxWindow
*arg2
= (wxWindow
*) 0 ;
39208 int arg3
= (int) 0 ;
39209 PyObject
* obj0
= 0 ;
39210 PyObject
* obj1
= 0 ;
39211 PyObject
* obj2
= 0 ;
39212 char *kwnames
[] = {
39213 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39222 arg3
= (int) SWIG_AsInt(obj2
);
39223 if (PyErr_Occurred()) SWIG_fail
;
39226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39227 (arg1
)->Below(arg2
,arg3
);
39229 wxPyEndAllowThreads(__tstate
);
39230 if (PyErr_Occurred()) SWIG_fail
;
39232 Py_INCREF(Py_None
); resultobj
= Py_None
;
39239 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39240 PyObject
*resultobj
;
39241 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39242 wxWindow
*arg2
= (wxWindow
*) 0 ;
39244 int arg4
= (int) 0 ;
39245 PyObject
* obj0
= 0 ;
39246 PyObject
* obj1
= 0 ;
39247 PyObject
* obj2
= 0 ;
39248 PyObject
* obj3
= 0 ;
39249 char *kwnames
[] = {
39250 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39258 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39259 if (PyErr_Occurred()) SWIG_fail
;
39261 arg4
= (int) SWIG_AsInt(obj3
);
39262 if (PyErr_Occurred()) SWIG_fail
;
39265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39266 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39268 wxPyEndAllowThreads(__tstate
);
39269 if (PyErr_Occurred()) SWIG_fail
;
39271 Py_INCREF(Py_None
); resultobj
= Py_None
;
39278 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39279 PyObject
*resultobj
;
39280 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39281 wxWindow
*arg2
= (wxWindow
*) 0 ;
39284 PyObject
* obj0
= 0 ;
39285 PyObject
* obj1
= 0 ;
39286 PyObject
* obj2
= 0 ;
39287 PyObject
* obj3
= 0 ;
39288 char *kwnames
[] = {
39289 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39297 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39298 if (PyErr_Occurred()) SWIG_fail
;
39299 arg4
= (int) SWIG_AsInt(obj3
);
39300 if (PyErr_Occurred()) SWIG_fail
;
39302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39303 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39305 wxPyEndAllowThreads(__tstate
);
39306 if (PyErr_Occurred()) SWIG_fail
;
39308 Py_INCREF(Py_None
); resultobj
= Py_None
;
39315 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39316 PyObject
*resultobj
;
39317 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39319 PyObject
* obj0
= 0 ;
39320 PyObject
* obj1
= 0 ;
39321 char *kwnames
[] = {
39322 (char *) "self",(char *) "val", NULL
39325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39328 arg2
= (int) SWIG_AsInt(obj1
);
39329 if (PyErr_Occurred()) SWIG_fail
;
39331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39332 (arg1
)->Absolute(arg2
);
39334 wxPyEndAllowThreads(__tstate
);
39335 if (PyErr_Occurred()) SWIG_fail
;
39337 Py_INCREF(Py_None
); resultobj
= Py_None
;
39344 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39345 PyObject
*resultobj
;
39346 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39347 PyObject
* obj0
= 0 ;
39348 char *kwnames
[] = {
39349 (char *) "self", NULL
39352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39357 (arg1
)->Unconstrained();
39359 wxPyEndAllowThreads(__tstate
);
39360 if (PyErr_Occurred()) SWIG_fail
;
39362 Py_INCREF(Py_None
); resultobj
= Py_None
;
39369 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39370 PyObject
*resultobj
;
39371 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39372 PyObject
* obj0
= 0 ;
39373 char *kwnames
[] = {
39374 (char *) "self", NULL
39377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39384 wxPyEndAllowThreads(__tstate
);
39385 if (PyErr_Occurred()) SWIG_fail
;
39387 Py_INCREF(Py_None
); resultobj
= Py_None
;
39394 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39395 PyObject
*resultobj
;
39396 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39398 PyObject
* obj0
= 0 ;
39399 char *kwnames
[] = {
39400 (char *) "self", NULL
39403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39408 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39410 wxPyEndAllowThreads(__tstate
);
39411 if (PyErr_Occurred()) SWIG_fail
;
39414 resultobj
= wxPyMake_wxObject(result
);
39422 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39423 PyObject
*resultobj
;
39424 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39426 PyObject
* obj0
= 0 ;
39427 char *kwnames
[] = {
39428 (char *) "self", NULL
39431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39436 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39438 wxPyEndAllowThreads(__tstate
);
39439 if (PyErr_Occurred()) SWIG_fail
;
39441 resultobj
= SWIG_FromInt((int)result
);
39448 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39449 PyObject
*resultobj
;
39450 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39452 PyObject
* obj0
= 0 ;
39453 PyObject
* obj1
= 0 ;
39454 char *kwnames
[] = {
39455 (char *) "self",(char *) "which", NULL
39458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39461 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39462 if (PyErr_Occurred()) SWIG_fail
;
39464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39465 (arg1
)->SetEdge((wxEdge
)arg2
);
39467 wxPyEndAllowThreads(__tstate
);
39468 if (PyErr_Occurred()) SWIG_fail
;
39470 Py_INCREF(Py_None
); resultobj
= Py_None
;
39477 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39478 PyObject
*resultobj
;
39479 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39481 PyObject
* obj0
= 0 ;
39482 PyObject
* obj1
= 0 ;
39483 char *kwnames
[] = {
39484 (char *) "self",(char *) "v", NULL
39487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39490 arg2
= (int) SWIG_AsInt(obj1
);
39491 if (PyErr_Occurred()) SWIG_fail
;
39493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39494 (arg1
)->SetValue(arg2
);
39496 wxPyEndAllowThreads(__tstate
);
39497 if (PyErr_Occurred()) SWIG_fail
;
39499 Py_INCREF(Py_None
); resultobj
= Py_None
;
39506 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39507 PyObject
*resultobj
;
39508 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39510 PyObject
* obj0
= 0 ;
39511 char *kwnames
[] = {
39512 (char *) "self", NULL
39515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39520 result
= (int)(arg1
)->GetMargin();
39522 wxPyEndAllowThreads(__tstate
);
39523 if (PyErr_Occurred()) SWIG_fail
;
39525 resultobj
= SWIG_FromInt((int)result
);
39532 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39533 PyObject
*resultobj
;
39534 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39536 PyObject
* obj0
= 0 ;
39537 PyObject
* obj1
= 0 ;
39538 char *kwnames
[] = {
39539 (char *) "self",(char *) "m", NULL
39542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39545 arg2
= (int) SWIG_AsInt(obj1
);
39546 if (PyErr_Occurred()) SWIG_fail
;
39548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39549 (arg1
)->SetMargin(arg2
);
39551 wxPyEndAllowThreads(__tstate
);
39552 if (PyErr_Occurred()) SWIG_fail
;
39554 Py_INCREF(Py_None
); resultobj
= Py_None
;
39561 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39562 PyObject
*resultobj
;
39563 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39565 PyObject
* obj0
= 0 ;
39566 char *kwnames
[] = {
39567 (char *) "self", NULL
39570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39575 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39577 wxPyEndAllowThreads(__tstate
);
39578 if (PyErr_Occurred()) SWIG_fail
;
39580 resultobj
= SWIG_FromInt((int)result
);
39587 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39588 PyObject
*resultobj
;
39589 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39591 PyObject
* obj0
= 0 ;
39592 char *kwnames
[] = {
39593 (char *) "self", NULL
39596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39601 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39603 wxPyEndAllowThreads(__tstate
);
39604 if (PyErr_Occurred()) SWIG_fail
;
39606 resultobj
= SWIG_FromInt((int)result
);
39613 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39614 PyObject
*resultobj
;
39615 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39617 PyObject
* obj0
= 0 ;
39618 char *kwnames
[] = {
39619 (char *) "self", NULL
39622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39627 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39629 wxPyEndAllowThreads(__tstate
);
39630 if (PyErr_Occurred()) SWIG_fail
;
39632 resultobj
= SWIG_FromInt((int)result
);
39639 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39640 PyObject
*resultobj
;
39641 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39643 PyObject
* obj0
= 0 ;
39644 char *kwnames
[] = {
39645 (char *) "self", NULL
39648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39653 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39655 wxPyEndAllowThreads(__tstate
);
39656 if (PyErr_Occurred()) SWIG_fail
;
39659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39667 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39668 PyObject
*resultobj
;
39669 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39671 PyObject
* obj0
= 0 ;
39672 PyObject
* obj1
= 0 ;
39673 char *kwnames
[] = {
39674 (char *) "self",(char *) "d", NULL
39677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39680 arg2
= (bool) SWIG_AsBool(obj1
);
39681 if (PyErr_Occurred()) SWIG_fail
;
39683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39684 (arg1
)->SetDone(arg2
);
39686 wxPyEndAllowThreads(__tstate
);
39687 if (PyErr_Occurred()) SWIG_fail
;
39689 Py_INCREF(Py_None
); resultobj
= Py_None
;
39696 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39697 PyObject
*resultobj
;
39698 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39700 PyObject
* obj0
= 0 ;
39701 char *kwnames
[] = {
39702 (char *) "self", NULL
39705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39710 result
= (int)(arg1
)->GetRelationship();
39712 wxPyEndAllowThreads(__tstate
);
39713 if (PyErr_Occurred()) SWIG_fail
;
39715 resultobj
= SWIG_FromInt((int)result
);
39722 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39723 PyObject
*resultobj
;
39724 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39726 PyObject
* obj0
= 0 ;
39727 PyObject
* obj1
= 0 ;
39728 char *kwnames
[] = {
39729 (char *) "self",(char *) "r", NULL
39732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39735 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39736 if (PyErr_Occurred()) SWIG_fail
;
39738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39739 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39741 wxPyEndAllowThreads(__tstate
);
39742 if (PyErr_Occurred()) SWIG_fail
;
39744 Py_INCREF(Py_None
); resultobj
= Py_None
;
39751 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39752 PyObject
*resultobj
;
39753 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39754 wxWindow
*arg2
= (wxWindow
*) 0 ;
39756 PyObject
* obj0
= 0 ;
39757 PyObject
* obj1
= 0 ;
39758 char *kwnames
[] = {
39759 (char *) "self",(char *) "otherW", NULL
39762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39769 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39771 wxPyEndAllowThreads(__tstate
);
39772 if (PyErr_Occurred()) SWIG_fail
;
39775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39783 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39784 PyObject
*resultobj
;
39785 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39786 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39787 wxWindow
*arg3
= (wxWindow
*) 0 ;
39789 PyObject
* obj0
= 0 ;
39790 PyObject
* obj1
= 0 ;
39791 PyObject
* obj2
= 0 ;
39792 char *kwnames
[] = {
39793 (char *) "self",(char *) "constraints",(char *) "win", NULL
39796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39801 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39805 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39807 wxPyEndAllowThreads(__tstate
);
39808 if (PyErr_Occurred()) SWIG_fail
;
39811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39819 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39820 PyObject
*resultobj
;
39821 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39823 wxWindow
*arg3
= (wxWindow
*) 0 ;
39824 wxWindow
*arg4
= (wxWindow
*) 0 ;
39826 PyObject
* obj0
= 0 ;
39827 PyObject
* obj1
= 0 ;
39828 PyObject
* obj2
= 0 ;
39829 PyObject
* obj3
= 0 ;
39830 char *kwnames
[] = {
39831 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39837 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39838 if (PyErr_Occurred()) SWIG_fail
;
39839 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39841 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39845 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39847 wxPyEndAllowThreads(__tstate
);
39848 if (PyErr_Occurred()) SWIG_fail
;
39850 resultobj
= SWIG_FromInt((int)result
);
39857 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39860 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39862 return Py_BuildValue((char *)"");
39864 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39865 PyObject
*resultobj
;
39866 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39867 wxIndividualLayoutConstraint
*result
;
39868 PyObject
* obj0
= 0 ;
39869 char *kwnames
[] = {
39870 (char *) "self", NULL
39873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39876 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39885 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39886 PyObject
*resultobj
;
39887 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39888 wxIndividualLayoutConstraint
*result
;
39889 PyObject
* obj0
= 0 ;
39890 char *kwnames
[] = {
39891 (char *) "self", NULL
39894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39897 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39906 static PyObject
*_wrap_LayoutConstraints_right_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_right_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
)->right
);
39920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39927 static PyObject
*_wrap_LayoutConstraints_bottom_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_bottom_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
)->bottom
);
39941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39948 static PyObject
*_wrap_LayoutConstraints_width_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_width_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
)->width
);
39962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39969 static PyObject
*_wrap_LayoutConstraints_height_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_height_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
)->height
);
39983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39990 static PyObject
*_wrap_LayoutConstraints_centreX_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_centreX_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
)->centreX
);
40004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40011 static PyObject
*_wrap_LayoutConstraints_centreY_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_centreY_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
)->centreY
);
40025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40032 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40033 PyObject
*resultobj
;
40034 wxLayoutConstraints
*result
;
40035 char *kwnames
[] = {
40039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40042 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40044 wxPyEndAllowThreads(__tstate
);
40045 if (PyErr_Occurred()) SWIG_fail
;
40047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40054 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40055 PyObject
*resultobj
;
40056 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40057 wxWindow
*arg2
= (wxWindow
*) 0 ;
40058 int *arg3
= (int *) 0 ;
40061 PyObject
* obj0
= 0 ;
40062 PyObject
* obj1
= 0 ;
40063 char *kwnames
[] = {
40064 (char *) "self",(char *) "win", NULL
40068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40075 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40077 wxPyEndAllowThreads(__tstate
);
40078 if (PyErr_Occurred()) SWIG_fail
;
40081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40084 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40085 resultobj
= t_output_helper(resultobj
,o
);
40093 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40094 PyObject
*resultobj
;
40095 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40097 PyObject
* obj0
= 0 ;
40098 char *kwnames
[] = {
40099 (char *) "self", NULL
40102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40107 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40109 wxPyEndAllowThreads(__tstate
);
40110 if (PyErr_Occurred()) SWIG_fail
;
40113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40121 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40124 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40126 return Py_BuildValue((char *)"");
40128 static PyMethodDef SwigMethods
[] = {
40129 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40130 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40131 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40132 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40133 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40134 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40135 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40136 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40137 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40138 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40139 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40140 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40141 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40142 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40143 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40144 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40145 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40146 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40147 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40148 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40149 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40150 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40151 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40152 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40153 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40154 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40155 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40156 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40157 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40158 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40159 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40160 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40161 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40162 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40163 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40164 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40165 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40166 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40167 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40168 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40169 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40170 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40171 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40172 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40173 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40174 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40176 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40183 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40219 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40225 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40234 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40237 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40239 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40262 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40274 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40276 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40280 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40282 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40290 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40291 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40302 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40303 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40314 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40319 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40325 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40335 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40345 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40349 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40420 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40423 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40425 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40427 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40429 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40431 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40433 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40435 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40437 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40439 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40441 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40443 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40457 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40466 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40471 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40475 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40477 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40478 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40481 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40493 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40498 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40504 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40510 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40572 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40579 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40614 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40624 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40634 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40636 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40638 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40641 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40645 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40648 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40651 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40653 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40658 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40666 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40670 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40673 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40675 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40679 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40696 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40698 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40701 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40703 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40707 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40711 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40719 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40722 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40725 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40729 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40736 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40741 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40746 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40790 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40805 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40809 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40819 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
40868 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
40869 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
40976 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41014 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41028 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41031 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41086 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41113 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41143 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41151 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41168 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41169 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41204 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41233 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41236 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41242 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41247 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41259 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41273 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41283 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41293 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41302 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41306 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41312 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41313 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41314 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41315 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41316 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41322 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41323 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41350 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41366 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41368 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41369 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41371 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41372 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41374 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41375 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41377 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41378 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41380 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41381 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41383 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41384 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41386 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41387 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41389 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41390 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41392 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41393 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41395 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41396 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41398 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41399 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41401 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41402 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41404 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41405 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41407 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41408 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41410 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41411 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41413 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41414 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41416 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41417 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41419 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41420 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41422 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41423 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41425 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41426 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41428 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41429 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41431 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41432 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41434 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41435 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41437 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41438 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41440 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41441 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41443 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41444 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41446 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41447 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41449 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41450 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41452 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41453 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41455 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41456 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41458 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41459 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41461 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41462 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41464 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41465 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41467 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41468 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41470 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41471 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41473 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41474 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41476 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41477 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41479 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41480 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41482 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41483 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41485 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41486 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41488 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41489 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41491 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41492 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41494 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41495 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41497 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41498 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41500 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41501 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41503 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41504 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41506 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41507 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41509 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41510 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41512 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41513 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41515 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41516 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41518 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41521 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41522 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41524 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41525 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41527 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41528 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41530 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41531 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41533 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41534 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41536 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41537 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41539 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41540 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41542 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41543 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41545 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41546 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41548 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41549 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41551 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41552 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41554 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41555 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41557 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41558 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41560 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41561 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41563 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41564 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41566 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41567 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41569 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41570 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41572 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41573 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41575 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41576 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41578 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41579 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41581 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41582 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41584 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41585 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41587 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41588 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41590 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41591 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41593 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41594 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41596 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41597 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41599 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41600 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41602 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41603 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41605 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41606 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41608 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41609 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41611 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41612 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41614 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41615 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41617 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41618 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41620 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41623 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41626 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41627 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41629 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41630 return (void *)((wxObject
*) ((wxSizer
*) x
));
41632 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41633 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41635 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41636 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41638 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41639 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41641 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41642 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41644 static void *_p_wxImageTo_p_wxObject(void *x
) {
41645 return (void *)((wxObject
*) ((wxImage
*) x
));
41647 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41648 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41650 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41653 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41654 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41656 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41657 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41659 static void *_p_wxControlTo_p_wxObject(void *x
) {
41660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41662 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41663 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41665 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41666 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41668 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41669 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41671 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41672 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41674 static void *_p_wxEventTo_p_wxObject(void *x
) {
41675 return (void *)((wxObject
*) ((wxEvent
*) x
));
41677 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41678 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41680 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41681 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41683 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41684 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41686 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41687 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41689 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41690 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41692 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41693 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41695 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41696 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41698 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41699 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41701 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41704 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41705 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41707 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41708 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41710 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41711 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41713 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41714 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41716 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41717 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41719 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41720 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41722 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41723 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41725 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41726 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41728 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41729 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41731 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41732 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41734 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41735 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41737 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41738 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41740 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41741 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41743 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41744 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41746 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41747 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41749 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41750 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41752 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41753 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41755 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41756 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41758 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41759 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41761 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41762 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41764 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41765 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41767 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41768 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41770 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41773 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41774 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41776 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41777 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41779 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41780 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41782 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41783 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41785 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41786 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41788 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41789 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41791 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41792 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41794 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41797 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41798 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41800 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41801 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41803 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41804 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41806 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41807 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41809 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41810 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41812 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41813 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41815 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41816 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41818 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41819 return (void *)((wxWindow
*) ((wxControl
*) x
));
41821 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41822 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41824 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41825 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41827 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41828 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41830 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41831 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41833 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41834 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41836 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41837 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41839 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41840 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41842 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41843 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41845 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41846 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41848 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41849 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41851 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41852 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41854 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}};
41855 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}};
41856 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}};
41857 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}};
41858 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}};
41859 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}};
41860 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}};
41861 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}};
41862 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}};
41863 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}};
41864 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}};
41865 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}};
41866 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}};
41867 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}};
41868 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}};
41869 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}};
41870 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}};
41871 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}};
41872 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}};
41873 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}};
41874 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}};
41875 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}};
41876 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}};
41877 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}};
41878 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}};
41879 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}};
41880 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}};
41881 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}};
41882 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}};
41883 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}};
41884 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}};
41885 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}};
41886 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}};
41887 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}};
41888 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}};
41889 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}};
41890 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}};
41891 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}};
41892 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}};
41893 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}};
41894 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}};
41895 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}};
41896 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}};
41897 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}};
41898 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}};
41899 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}};
41900 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}};
41901 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}};
41902 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}};
41903 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}};
41904 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}};
41905 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}};
41906 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}};
41907 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}};
41908 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}};
41909 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}};
41910 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}};
41911 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}};
41912 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}};
41913 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}};
41914 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}};
41915 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}};
41916 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}};
41917 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}};
41918 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}};
41919 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}};
41920 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}};
41921 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}};
41922 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}};
41923 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}};
41924 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}};
41925 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}};
41926 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}};
41927 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}};
41928 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}};
41929 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}};
41930 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}};
41931 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}};
41932 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}};
41933 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}};
41934 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}};
41935 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}};
41936 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}};
41937 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}};
41938 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}};
41939 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}};
41940 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}};
41941 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}};
41942 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}};
41943 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}};
41944 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}};
41945 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}};
41946 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}};
41947 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}};
41948 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}};
41949 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}};
41950 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}};
41951 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}};
41952 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}};
41953 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}};
41954 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}};
41955 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}};
41956 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}};
41957 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}};
41958 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}};
41959 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}};
41960 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}};
41961 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}};
41962 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}};
41963 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}};
41964 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}};
41965 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}};
41966 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}};
41967 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}};
41968 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}};
41970 static swig_type_info
*swig_types_initial
[] = {
41971 _swigt__p_wxLayoutConstraints
,
41972 _swigt__p_wxRealPoint
,
41973 _swigt__p_wxSizerItem
,
41974 _swigt__p_wxGBSizerItem
,
41975 _swigt__p_wxScrollEvent
,
41976 _swigt__p_wxIndividualLayoutConstraint
,
41978 _swigt__p_wxBoxSizer
,
41979 _swigt__p_wxStaticBoxSizer
,
41980 _swigt__p_wxGridBagSizer
,
41981 _swigt__p_wxAcceleratorEntry
,
41982 _swigt__p_wxUpdateUIEvent
,
41985 _swigt__p_wxGridSizer
,
41986 _swigt__p_wxFlexGridSizer
,
41987 _swigt__p_wxInitDialogEvent
,
41988 _swigt__p_wxItemContainer
,
41989 _swigt__p_wxNcPaintEvent
,
41990 _swigt__p_wxPaintEvent
,
41991 _swigt__p_wxSysColourChangedEvent
,
41992 _swigt__p_wxMouseCaptureChangedEvent
,
41993 _swigt__p_wxDisplayChangedEvent
,
41994 _swigt__p_wxPaletteChangedEvent
,
41995 _swigt__p_wxControl
,
41997 _swigt__p_wxMenuBarBase
,
41998 _swigt__p_wxSetCursorEvent
,
41999 _swigt__p_wxFSFile
,
42001 _swigt__p_wxRegion
,
42002 _swigt__p_wxPoint2D
,
42006 _swigt__p_wxPySizer
,
42007 _swigt__p_wxVisualAttributes
,
42008 _swigt__p_wxNotifyEvent
,
42009 _swigt__p_wxPyEvent
,
42010 _swigt__p_wxPropagationDisabler
,
42011 _swigt__p_wxAppTraits
,
42012 _swigt__p_wxArrayString
,
42013 _swigt__p_wxShowEvent
,
42014 _swigt__p_wxToolTip
,
42015 _swigt__p_wxMaximizeEvent
,
42016 _swigt__p_wxIconizeEvent
,
42017 _swigt__p_wxActivateEvent
,
42018 _swigt__p_wxMoveEvent
,
42019 _swigt__p_wxSizeEvent
,
42020 _swigt__p_wxQueryNewPaletteEvent
,
42021 _swigt__p_wxWindowCreateEvent
,
42022 _swigt__p_wxIdleEvent
,
42023 _swigt__p_wxMenuItem
,
42024 _swigt__p_wxStaticBox
,
42026 _swigt__p_wxTIFFHandler
,
42027 _swigt__p_wxXPMHandler
,
42028 _swigt__p_wxPNMHandler
,
42029 _swigt__p_wxJPEGHandler
,
42030 _swigt__p_wxPCXHandler
,
42031 _swigt__p_wxGIFHandler
,
42032 _swigt__p_wxPNGHandler
,
42033 _swigt__p_wxANIHandler
,
42034 _swigt__p_wxMemoryFSHandler
,
42035 _swigt__p_wxEvtHandler
,
42036 _swigt__p_wxCURHandler
,
42037 _swigt__p_wxICOHandler
,
42038 _swigt__p_wxBMPHandler
,
42039 _swigt__p_wxImageHandler
,
42040 _swigt__p_wxFileSystemHandler
,
42041 _swigt__p_wxPyFileSystemHandler
,
42042 _swigt__p_wxInternetFSHandler
,
42043 _swigt__p_wxZipFSHandler
,
42045 _swigt__p_wxGBSpan
,
42046 _swigt__p_wxPropagateOnce
,
42047 _swigt__p_wxAcceleratorTable
,
42049 _swigt__p_wxGBPosition
,
42052 _swigt__p_wxScrollWinEvent
,
42053 _swigt__p_wxImageHistogram
,
42056 _swigt__p_wxCursor
,
42057 _swigt__p_wxObject
,
42058 _swigt__p_wxPyInputStream
,
42059 _swigt__p_wxOutputStream
,
42060 _swigt__p_wxInputStream
,
42061 _swigt__p_wxDateTime
,
42062 _swigt__p_wxKeyEvent
,
42063 _swigt__p_wxNavigationKeyEvent
,
42064 _swigt__p_wxWindowDestroyEvent
,
42065 _swigt__p_wxWindow
,
42066 _swigt__p_wxMenuBar
,
42067 _swigt__p_wxFileSystem
,
42068 _swigt__p_wxBitmap
,
42069 _swigt__p_wxMenuEvent
,
42070 _swigt__p_wxContextMenuEvent
,
42071 _swigt__p_unsigned_char
,
42072 _swigt__p_wxCloseEvent
,
42073 _swigt__p_wxEraseEvent
,
42074 _swigt__p_wxMouseEvent
,
42076 _swigt__p_wxCommandEvent
,
42077 _swigt__p_wxPyCommandEvent
,
42078 _swigt__p_wxPyDropTarget
,
42079 _swigt__p_wxChildFocusEvent
,
42080 _swigt__p_wxFocusEvent
,
42081 _swigt__p_wxDropFilesEvent
,
42082 _swigt__p_wxControlWithItems
,
42083 _swigt__p_wxColour
,
42084 _swigt__p_wxValidator
,
42085 _swigt__p_wxPyValidator
,
42090 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42092 static swig_const_info swig_const_table
[] = {
42102 SWIGEXPORT(void) SWIG_init(void) {
42103 static PyObject
*SWIG_globals
= 0;
42104 static int typeinit
= 0;
42107 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42108 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42109 d
= PyModule_GetDict(m
);
42112 for (i
= 0; swig_types_initial
[i
]; i
++) {
42113 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42117 SWIG_InstallConstants(d
,swig_const_table
);
42120 #ifndef wxPyUSE_EXPORT
42121 // Make our API structure a CObject so other modules can import it
42122 // from this module.
42123 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42124 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42128 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42129 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42130 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42131 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42132 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42133 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42134 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42135 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42136 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42137 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42138 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42139 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42140 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42141 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42142 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42143 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42144 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42145 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42146 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42147 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42148 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42149 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42150 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42151 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42152 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42153 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42154 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42155 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42156 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42157 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42158 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42159 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42160 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42161 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42162 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42163 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42164 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42165 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42166 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42167 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42168 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42169 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42170 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42171 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42172 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42173 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42174 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42175 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42176 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42177 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42178 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42179 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42180 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42181 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42182 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42183 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42184 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42185 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42186 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42187 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42188 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42189 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42190 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42191 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42192 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42193 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42194 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42195 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42196 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42197 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42198 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42199 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42200 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42201 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42202 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42203 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42204 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42205 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42206 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42207 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42208 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42209 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42210 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42211 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42212 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42213 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42214 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42215 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42216 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42217 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42218 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42219 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42220 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42221 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42222 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42223 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42224 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42225 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42226 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42227 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42228 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42229 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42230 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42231 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42232 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42233 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42234 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42235 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42236 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42237 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42238 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42239 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42240 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42241 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42242 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42243 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42244 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42245 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42246 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42247 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42248 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42249 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42250 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42251 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42252 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42253 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42254 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42255 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42256 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42257 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42258 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42259 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42260 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42261 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42262 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42263 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42264 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42265 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42266 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42267 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42268 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42269 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42270 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42271 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42272 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42273 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42274 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42275 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42276 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42277 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42278 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42279 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42280 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42281 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42282 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42283 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42284 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42285 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42286 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42287 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42288 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42289 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42290 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42291 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42292 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42293 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42294 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42295 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42296 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42297 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42298 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42299 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42300 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42301 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42302 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42303 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42304 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42305 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42306 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42307 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42308 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42309 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42310 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42311 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42312 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42313 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42314 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42315 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42316 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42317 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42318 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42319 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42320 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42321 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42322 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42323 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42324 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42325 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42326 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42327 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42328 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42329 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42330 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42331 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42332 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42333 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42334 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42335 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42336 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42337 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42338 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42339 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42340 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42341 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42342 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42343 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42344 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42345 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42346 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42347 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42348 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42349 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42350 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42351 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42352 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42353 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42354 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42355 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42356 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42357 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42358 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42359 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42360 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42361 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42362 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42363 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42364 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42365 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42366 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42367 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42368 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42369 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42370 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42371 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42372 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42373 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42374 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42375 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42376 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42377 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42378 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42379 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42380 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42381 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42382 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42383 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42384 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42385 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42386 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42387 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42388 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42389 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42390 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42391 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42392 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42393 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42394 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42395 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42396 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42397 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42398 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42399 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42400 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42401 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42402 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42403 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42404 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42405 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42406 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42407 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42408 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42409 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42410 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42411 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42412 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42413 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42414 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42415 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42416 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42417 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42418 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42419 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42420 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42421 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42422 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42423 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42424 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42425 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42426 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42427 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42428 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42429 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42430 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42431 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42432 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42433 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42434 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42435 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42436 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42437 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42438 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42439 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42440 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42441 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42442 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42443 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42444 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42445 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42446 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42447 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42448 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42449 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42450 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42451 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42452 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42453 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42454 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42455 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42456 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42457 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42458 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42459 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42460 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42461 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42462 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42463 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42464 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42465 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42466 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42467 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42468 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42469 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42470 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42471 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42472 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42473 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42474 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42475 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42476 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42477 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42478 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42479 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42480 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42481 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42482 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42483 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42484 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42485 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42486 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42487 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42488 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42489 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42490 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42491 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42492 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42493 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42494 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42495 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42496 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42497 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42498 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42499 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42500 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42501 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42502 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42503 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42504 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42505 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42506 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42507 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42508 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42509 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42510 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42511 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42512 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42513 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42514 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42515 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42516 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42517 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42518 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42519 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42520 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42521 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42522 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42523 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42524 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42525 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42526 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42527 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42528 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42529 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42530 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42531 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42532 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42533 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42534 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42535 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42536 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42537 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42538 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42539 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42540 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42541 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42542 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42543 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42544 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42545 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42546 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42547 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42548 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42549 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42550 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42551 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42552 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42553 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42554 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42555 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42556 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42557 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42558 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42559 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42560 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42561 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42562 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42563 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42564 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42565 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42566 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42567 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42568 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42569 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42570 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42571 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42572 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42573 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42574 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42575 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42576 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42577 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42578 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42579 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42580 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42581 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42582 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42583 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42584 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42585 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42586 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42587 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42588 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42589 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42590 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42591 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42592 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42593 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42594 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42595 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42596 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42597 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42598 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42599 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42600 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42601 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42602 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42603 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42604 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42605 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42606 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42607 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42608 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42609 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42610 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42611 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42612 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42613 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42614 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42615 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42616 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42617 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42618 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42619 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42620 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42621 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42622 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42623 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42624 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42625 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42626 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42627 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42628 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42629 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42630 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42631 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42632 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42633 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42634 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42635 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42636 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42637 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42638 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42639 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42640 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42641 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42642 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42643 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42644 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42645 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42646 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42647 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42648 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42649 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42650 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42651 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42652 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42653 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42654 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42655 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42656 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42657 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42658 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42659 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42660 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42661 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42662 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42663 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42664 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42665 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42666 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42667 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42668 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42669 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42670 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42671 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42672 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42673 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42674 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42675 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42676 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42677 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42678 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42679 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42680 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42681 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42682 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42683 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42684 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42685 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42686 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42687 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42688 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42689 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42690 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42691 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42692 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42693 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42694 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42695 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42696 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42697 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42698 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42699 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42700 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42702 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42705 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42707 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42708 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42709 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42710 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42711 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42712 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42713 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42714 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42715 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42716 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42717 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42718 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42719 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42720 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42721 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42722 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42723 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42724 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42725 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42726 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42727 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42728 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42729 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42730 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42731 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42732 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42733 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42734 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42735 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42736 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42737 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42738 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42739 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42740 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42741 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42742 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42743 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42744 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42745 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42746 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42747 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42748 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42749 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42750 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42751 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42752 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42753 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42754 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42755 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42756 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42757 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42758 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42759 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42760 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42761 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42762 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42763 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42764 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42765 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42766 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42767 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42768 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42769 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42770 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42771 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42772 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42773 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42774 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42775 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42776 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42777 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42778 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42779 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42780 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42781 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42782 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42783 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42784 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42785 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42786 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42787 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42788 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42789 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42790 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42791 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42792 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42793 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42794 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42795 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42796 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42797 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42798 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42799 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42800 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42801 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42802 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42803 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42804 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42805 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42806 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42807 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42808 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42809 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42810 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42811 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42812 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42813 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42814 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42815 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42816 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42817 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42818 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42819 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42820 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42821 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42822 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42823 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42824 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42825 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42826 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42827 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42828 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42829 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42830 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42831 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42832 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42833 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42834 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42835 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42836 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42837 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42838 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42839 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42840 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42841 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42842 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42843 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42844 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42845 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42846 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42847 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42848 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42849 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42850 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42851 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42852 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42853 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42854 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42855 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42856 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42857 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42858 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42859 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42860 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42861 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
42862 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42863 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42864 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42865 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42866 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42867 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42868 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42869 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42870 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42871 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42872 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42873 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42874 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42875 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42876 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42877 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42878 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42879 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42880 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42881 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42882 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42883 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42884 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42885 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42886 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42888 // Initialize threading, some globals and such
42892 // Although these are defined in __version__ they need to be here too so
42893 // that an assert can be done to ensure that the wxPython and the wxWindows
42895 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42896 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42897 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));