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
){ delete self
; }
1354 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1355 wxWindowList
& list
= self
->GetChildren();
1356 return wxPy_ConvertList(&list
);
1358 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1360 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1365 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1372 long wxWindow_GetHandle(wxWindow
*self
){
1373 return wxPyGetWinHandle(self
);
1376 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1377 return wxWindow::FindWindowById(id
, parent
);
1380 wxWindow
* wxFindWindowByName( const wxString
& name
,
1381 const wxWindow
*parent
= NULL
) {
1382 return wxWindow::FindWindowByName(name
, parent
);
1385 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1386 const wxWindow
*parent
= NULL
) {
1387 return wxWindow::FindWindowByLabel(label
, parent
);
1392 #include <wx/msw/private.h> // to get wxGetWindowId
1396 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1398 WXHWND hWnd
= (WXHWND
)_hWnd
;
1399 long id
= wxGetWindowId(hWnd
);
1400 wxWindow
* win
= new wxWindow
;
1401 parent
->AddChild(win
);
1402 win
->SetEventHandler(win
);
1405 win
->SubclassWin(hWnd
);
1406 win
->AdoptAttributesFromHWND();
1407 win
->SetupColours();
1410 wxPyRaiseNotImplemented();
1416 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1418 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1420 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1422 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1423 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1424 wxMenuItemList
& list
= self
->GetMenuItems();
1425 return wxPy_ConvertList(&list
);
1427 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1428 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1429 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1431 wxPyClientData
* data
= new wxPyClientData(clientData
);
1432 return self
->Append(item
, data
);
1434 return self
->Append(item
);
1436 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1438 wxPyClientData
* data
= new wxPyClientData(clientData
);
1439 return self
->Insert(item
, pos
, data
);
1441 return self
->Insert(item
, pos
);
1443 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1444 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1446 Py_INCREF(data
->m_obj
);
1453 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1454 wxPyClientData
* data
= new wxPyClientData(clientData
);
1455 self
->SetClientObject(n
, data
);
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 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1651 bool blocked
= wxPyBeginBlockThreads();
1652 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1653 wxPyEndBlockThreads(blocked
);
1655 return self
->Detach(info
.window
);
1656 else if ( info
.sizer
)
1657 return self
->Detach(info
.sizer
);
1658 else if ( info
.gotPos
)
1659 return self
->Detach(info
.pos
);
1663 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1664 bool blocked
= wxPyBeginBlockThreads();
1665 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1666 wxPyEndBlockThreads(blocked
);
1668 self
->SetItemMinSize(info
.window
, size
);
1669 else if ( info
.sizer
)
1670 self
->SetItemMinSize(info
.sizer
, size
);
1671 else if ( info
.gotPos
)
1672 self
->SetItemMinSize(info
.pos
, size
);
1674 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1675 wxSizerItemList
& list
= self
->GetChildren();
1676 return wxPy_ConvertList(&list
);
1678 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1679 bool blocked
= wxPyBeginBlockThreads();
1680 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1681 wxPyEndBlockThreads(blocked
);
1683 self
->Show(info
.window
, show
);
1684 else if ( info
.sizer
)
1685 self
->Show(info
.sizer
, show
);
1687 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1688 bool blocked
= wxPyBeginBlockThreads();
1689 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1690 wxPyEndBlockThreads(blocked
);
1692 self
->Hide(info
.window
);
1693 else if ( info
.sizer
)
1694 self
->Hide(info
.sizer
);
1696 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1697 bool blocked
= wxPyBeginBlockThreads();
1698 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1699 wxPyEndBlockThreads(blocked
);
1701 return self
->IsShown(info
.window
);
1702 else if ( info
.sizer
)
1703 return self
->IsShown(info
.sizer
);
1709 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1710 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1711 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1716 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1718 if (source
== Py_None
) {
1719 **obj
= wxGBPosition(-1,-1);
1722 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1725 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1727 if (source
== Py_None
) {
1728 **obj
= wxGBSpan(-1,-1);
1731 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1735 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1739 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1740 bool blocked
= wxPyBeginBlockThreads();
1741 PyObject
* tup
= PyTuple_New(2);
1742 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1743 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1744 wxPyEndBlockThreads(blocked
);
1747 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1748 self
->SetRowspan(rowspan
);
1749 self
->SetColspan(colspan
);
1751 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1752 bool blocked
= wxPyBeginBlockThreads();
1753 PyObject
* tup
= PyTuple_New(2);
1754 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1755 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1756 wxPyEndBlockThreads(blocked
);
1759 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1761 wxPyUserData
* data
= NULL
;
1762 bool blocked
= wxPyBeginBlockThreads();
1763 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1764 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1765 data
= new wxPyUserData(userData
);
1766 wxPyEndBlockThreads(blocked
);
1768 // Now call the real Add method if a valid item type was found
1770 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1771 else if ( info
.sizer
)
1772 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1773 else if (info
.gotSize
)
1774 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1775 pos
, span
, flag
, border
, data
);
1783 static int _wrap_EmptyString_set(PyObject
*_val
) {
1784 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1789 static PyObject
*_wrap_EmptyString_get() {
1794 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1796 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1803 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
*resultobj
;
1805 wxObject
*arg1
= (wxObject
*) 0 ;
1807 PyObject
* obj0
= 0 ;
1809 (char *) "self", NULL
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1817 result
= wxObject_GetClassName(arg1
);
1819 wxPyEndAllowThreads(__tstate
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1835 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
*resultobj
;
1837 wxObject
*arg1
= (wxObject
*) 0 ;
1838 PyObject
* obj0
= 0 ;
1840 (char *) "self", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 wxObject_Destroy(arg1
);
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1853 Py_INCREF(Py_None
); resultobj
= Py_None
;
1860 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1863 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1865 return Py_BuildValue((char *)"");
1867 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1869 wxSize
*arg1
= (wxSize
*) 0 ;
1871 PyObject
* obj0
= 0 ;
1872 PyObject
* obj1
= 0 ;
1874 (char *) "self",(char *) "x", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1880 arg2
= (int) SWIG_AsInt(obj1
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1882 if (arg1
) (arg1
)->x
= arg2
;
1884 Py_INCREF(Py_None
); resultobj
= Py_None
;
1891 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
*resultobj
;
1893 wxSize
*arg1
= (wxSize
*) 0 ;
1895 PyObject
* obj0
= 0 ;
1897 (char *) "self", NULL
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1903 result
= (int) ((arg1
)->x
);
1905 resultobj
= SWIG_FromInt((int)result
);
1912 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
*resultobj
;
1914 wxSize
*arg1
= (wxSize
*) 0 ;
1916 PyObject
* obj0
= 0 ;
1917 PyObject
* obj1
= 0 ;
1919 (char *) "self",(char *) "y", NULL
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1925 arg2
= (int) SWIG_AsInt(obj1
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1927 if (arg1
) (arg1
)->y
= arg2
;
1929 Py_INCREF(Py_None
); resultobj
= Py_None
;
1936 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
*resultobj
;
1938 wxSize
*arg1
= (wxSize
*) 0 ;
1940 PyObject
* obj0
= 0 ;
1942 (char *) "self", NULL
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1948 result
= (int) ((arg1
)->y
);
1950 resultobj
= SWIG_FromInt((int)result
);
1957 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 int arg1
= (int) 0 ;
1960 int arg2
= (int) 0 ;
1962 PyObject
* obj0
= 0 ;
1963 PyObject
* obj1
= 0 ;
1965 (char *) "w",(char *) "h", NULL
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1970 arg1
= (int) SWIG_AsInt(obj0
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1974 arg2
= (int) SWIG_AsInt(obj1
);
1975 if (PyErr_Occurred()) SWIG_fail
;
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) SWIG_fail
;
1984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1991 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
*resultobj
;
1993 wxSize
*arg1
= (wxSize
*) 0 ;
1994 PyObject
* obj0
= 0 ;
1996 (char *) "self", NULL
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) SWIG_fail
;
2009 Py_INCREF(Py_None
); resultobj
= Py_None
;
2016 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
*resultobj
;
2018 wxSize
*arg1
= (wxSize
*) 0 ;
2022 PyObject
* obj0
= 0 ;
2023 PyObject
* obj1
= 0 ;
2025 (char *) "self",(char *) "sz", NULL
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2033 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2051 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
*resultobj
;
2053 wxSize
*arg1
= (wxSize
*) 0 ;
2057 PyObject
* obj0
= 0 ;
2058 PyObject
* obj1
= 0 ;
2060 (char *) "self",(char *) "sz", NULL
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2068 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2074 wxPyEndAllowThreads(__tstate
);
2075 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2086 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2088 wxSize
*arg1
= (wxSize
*) 0 ;
2092 PyObject
* obj0
= 0 ;
2093 PyObject
* obj1
= 0 ;
2095 (char *) "self",(char *) "sz", NULL
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2103 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2114 resultptr
= new wxSize((wxSize
&) result
);
2115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2123 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
*resultobj
;
2125 wxSize
*arg1
= (wxSize
*) 0 ;
2129 PyObject
* obj0
= 0 ;
2130 PyObject
* obj1
= 0 ;
2132 (char *) "self",(char *) "sz", NULL
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2140 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2151 resultptr
= new wxSize((wxSize
&) result
);
2152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2160 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
*resultobj
;
2162 wxSize
*arg1
= (wxSize
*) 0 ;
2165 PyObject
* obj0
= 0 ;
2166 PyObject
* obj1
= 0 ;
2168 (char *) "self",(char *) "sz", NULL
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2176 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 (arg1
)->IncTo((wxSize
const &)*arg2
);
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) SWIG_fail
;
2185 Py_INCREF(Py_None
); resultobj
= Py_None
;
2192 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
*resultobj
;
2194 wxSize
*arg1
= (wxSize
*) 0 ;
2197 PyObject
* obj0
= 0 ;
2198 PyObject
* obj1
= 0 ;
2200 (char *) "self",(char *) "sz", NULL
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2208 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 (arg1
)->DecTo((wxSize
const &)*arg2
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2217 Py_INCREF(Py_None
); resultobj
= Py_None
;
2224 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2226 wxSize
*arg1
= (wxSize
*) 0 ;
2229 PyObject
* obj0
= 0 ;
2230 PyObject
* obj1
= 0 ;
2231 PyObject
* obj2
= 0 ;
2233 (char *) "self",(char *) "w",(char *) "h", NULL
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2239 arg2
= (int) SWIG_AsInt(obj1
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2241 arg3
= (int) SWIG_AsInt(obj2
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 (arg1
)->Set(arg2
,arg3
);
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2250 Py_INCREF(Py_None
); resultobj
= Py_None
;
2257 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
*resultobj
;
2259 wxSize
*arg1
= (wxSize
*) 0 ;
2261 PyObject
* obj0
= 0 ;
2262 PyObject
* obj1
= 0 ;
2264 (char *) "self",(char *) "w", NULL
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2270 arg2
= (int) SWIG_AsInt(obj1
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 (arg1
)->SetWidth(arg2
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 Py_INCREF(Py_None
); resultobj
= Py_None
;
2286 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2288 wxSize
*arg1
= (wxSize
*) 0 ;
2290 PyObject
* obj0
= 0 ;
2291 PyObject
* obj1
= 0 ;
2293 (char *) "self",(char *) "h", NULL
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2299 arg2
= (int) SWIG_AsInt(obj1
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 (arg1
)->SetHeight(arg2
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2308 Py_INCREF(Py_None
); resultobj
= Py_None
;
2315 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
*resultobj
;
2317 wxSize
*arg1
= (wxSize
*) 0 ;
2319 PyObject
* obj0
= 0 ;
2321 (char *) "self", NULL
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 resultobj
= SWIG_FromInt((int)result
);
2341 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 wxSize
*arg1
= (wxSize
*) 0 ;
2345 PyObject
* obj0
= 0 ;
2347 (char *) "self", NULL
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2360 resultobj
= SWIG_FromInt((int)result
);
2367 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
*resultobj
;
2369 wxSize
*arg1
= (wxSize
*) 0 ;
2371 PyObject
* obj0
= 0 ;
2373 (char *) "self", NULL
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2395 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2397 wxSize
*arg1
= (wxSize
*) 0 ;
2400 PyObject
* obj0
= 0 ;
2401 PyObject
* obj1
= 0 ;
2403 (char *) "self",(char *) "size", NULL
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2411 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2420 Py_INCREF(Py_None
); resultobj
= Py_None
;
2427 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2429 wxSize
*arg1
= (wxSize
*) 0 ;
2431 PyObject
* obj0
= 0 ;
2433 (char *) "self", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 result
= (PyObject
*)wxSize_Get(arg1
);
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2453 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2456 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2458 return Py_BuildValue((char *)"");
2460 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
*resultobj
;
2462 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2464 PyObject
* obj0
= 0 ;
2465 PyObject
* obj1
= 0 ;
2467 (char *) "self",(char *) "x", NULL
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2473 arg2
= (double) SWIG_AsDouble(obj1
);
2474 if (PyErr_Occurred()) SWIG_fail
;
2475 if (arg1
) (arg1
)->x
= arg2
;
2477 Py_INCREF(Py_None
); resultobj
= Py_None
;
2484 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
*resultobj
;
2486 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2488 PyObject
* obj0
= 0 ;
2490 (char *) "self", NULL
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2496 result
= (double) ((arg1
)->x
);
2498 resultobj
= SWIG_FromDouble((double)result
);
2505 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2507 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2509 PyObject
* obj0
= 0 ;
2510 PyObject
* obj1
= 0 ;
2512 (char *) "self",(char *) "y", NULL
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2518 arg2
= (double) SWIG_AsDouble(obj1
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2520 if (arg1
) (arg1
)->y
= arg2
;
2522 Py_INCREF(Py_None
); resultobj
= Py_None
;
2529 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2533 PyObject
* obj0
= 0 ;
2535 (char *) "self", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2541 result
= (double) ((arg1
)->y
);
2543 resultobj
= SWIG_FromDouble((double)result
);
2550 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2552 double arg1
= (double) 0.0 ;
2553 double arg2
= (double) 0.0 ;
2554 wxRealPoint
*result
;
2555 PyObject
* obj0
= 0 ;
2556 PyObject
* obj1
= 0 ;
2558 (char *) "x",(char *) "y", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2563 arg1
= (double) SWIG_AsDouble(obj0
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2567 arg2
= (double) SWIG_AsDouble(obj1
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2584 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2587 PyObject
* obj0
= 0 ;
2589 (char *) "self", NULL
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2602 Py_INCREF(Py_None
); resultobj
= Py_None
;
2609 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
*resultobj
;
2611 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2612 wxRealPoint
*arg2
= 0 ;
2615 PyObject
* obj0
= 0 ;
2616 PyObject
* obj1
= 0 ;
2618 (char *) "self",(char *) "pt", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2626 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2644 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
*resultobj
;
2646 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2647 wxRealPoint
*arg2
= 0 ;
2650 PyObject
* obj0
= 0 ;
2651 PyObject
* obj1
= 0 ;
2653 (char *) "self",(char *) "pt", NULL
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2661 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2665 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2667 wxPyEndAllowThreads(__tstate
);
2668 if (PyErr_Occurred()) SWIG_fail
;
2671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2679 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2682 wxRealPoint
*arg2
= 0 ;
2685 PyObject
* obj0
= 0 ;
2686 PyObject
* obj1
= 0 ;
2688 (char *) "self",(char *) "pt", NULL
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2696 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2706 wxRealPoint
* resultptr
;
2707 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2716 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
*resultobj
;
2718 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2719 wxRealPoint
*arg2
= 0 ;
2722 PyObject
* obj0
= 0 ;
2723 PyObject
* obj1
= 0 ;
2725 (char *) "self",(char *) "pt", NULL
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2733 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2743 wxRealPoint
* resultptr
;
2744 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2753 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2758 PyObject
* obj0
= 0 ;
2759 PyObject
* obj1
= 0 ;
2760 PyObject
* obj2
= 0 ;
2762 (char *) "self",(char *) "x",(char *) "y", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2768 arg2
= (double) SWIG_AsDouble(obj1
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2770 arg3
= (double) SWIG_AsDouble(obj2
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 wxRealPoint_Set(arg1
,arg2
,arg3
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 Py_INCREF(Py_None
); resultobj
= Py_None
;
2786 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
*resultobj
;
2788 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2790 PyObject
* obj0
= 0 ;
2792 (char *) "self", NULL
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2812 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2815 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2817 return Py_BuildValue((char *)"");
2819 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2821 wxPoint
*arg1
= (wxPoint
*) 0 ;
2823 PyObject
* obj0
= 0 ;
2824 PyObject
* obj1
= 0 ;
2826 (char *) "self",(char *) "x", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2832 arg2
= (int) SWIG_AsInt(obj1
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2834 if (arg1
) (arg1
)->x
= arg2
;
2836 Py_INCREF(Py_None
); resultobj
= Py_None
;
2843 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
*resultobj
;
2845 wxPoint
*arg1
= (wxPoint
*) 0 ;
2847 PyObject
* obj0
= 0 ;
2849 (char *) "self", NULL
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2855 result
= (int) ((arg1
)->x
);
2857 resultobj
= SWIG_FromInt((int)result
);
2864 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
*resultobj
;
2866 wxPoint
*arg1
= (wxPoint
*) 0 ;
2868 PyObject
* obj0
= 0 ;
2869 PyObject
* obj1
= 0 ;
2871 (char *) "self",(char *) "y", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2877 arg2
= (int) SWIG_AsInt(obj1
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2879 if (arg1
) (arg1
)->y
= arg2
;
2881 Py_INCREF(Py_None
); resultobj
= Py_None
;
2888 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
*resultobj
;
2890 wxPoint
*arg1
= (wxPoint
*) 0 ;
2892 PyObject
* obj0
= 0 ;
2894 (char *) "self", NULL
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2900 result
= (int) ((arg1
)->y
);
2902 resultobj
= SWIG_FromInt((int)result
);
2909 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 int arg1
= (int) 0 ;
2912 int arg2
= (int) 0 ;
2914 PyObject
* obj0
= 0 ;
2915 PyObject
* obj1
= 0 ;
2917 (char *) "x",(char *) "y", NULL
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2922 arg1
= (int) SWIG_AsInt(obj0
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2926 arg2
= (int) SWIG_AsInt(obj1
);
2927 if (PyErr_Occurred()) SWIG_fail
;
2930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2931 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2933 wxPyEndAllowThreads(__tstate
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2943 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2945 wxPoint
*arg1
= (wxPoint
*) 0 ;
2946 PyObject
* obj0
= 0 ;
2948 (char *) "self", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2961 Py_INCREF(Py_None
); resultobj
= Py_None
;
2968 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxPoint
*arg1
= (wxPoint
*) 0 ;
2974 PyObject
* obj0
= 0 ;
2975 PyObject
* obj1
= 0 ;
2977 (char *) "self",(char *) "pt", NULL
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2985 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3003 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxPoint
*arg1
= (wxPoint
*) 0 ;
3009 PyObject
* obj0
= 0 ;
3010 PyObject
* obj1
= 0 ;
3012 (char *) "self",(char *) "pt", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3020 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3038 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
*resultobj
;
3040 wxPoint
*arg1
= (wxPoint
*) 0 ;
3044 PyObject
* obj0
= 0 ;
3045 PyObject
* obj1
= 0 ;
3047 (char *) "self",(char *) "pt", NULL
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3059 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3061 wxPyEndAllowThreads(__tstate
);
3062 if (PyErr_Occurred()) SWIG_fail
;
3065 wxPoint
* resultptr
;
3066 resultptr
= new wxPoint((wxPoint
&) result
);
3067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3075 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
;
3077 wxPoint
*arg1
= (wxPoint
*) 0 ;
3081 PyObject
* obj0
= 0 ;
3082 PyObject
* obj1
= 0 ;
3084 (char *) "self",(char *) "pt", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3092 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3102 wxPoint
* resultptr
;
3103 resultptr
= new wxPoint((wxPoint
&) result
);
3104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3112 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
*resultobj
;
3114 wxPoint
*arg1
= (wxPoint
*) 0 ;
3118 PyObject
* obj0
= 0 ;
3119 PyObject
* obj1
= 0 ;
3121 (char *) "self",(char *) "pt", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3129 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3135 result
= (wxPoint
*) &_result_ref
;
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3148 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
;
3150 wxPoint
*arg1
= (wxPoint
*) 0 ;
3154 PyObject
* obj0
= 0 ;
3155 PyObject
* obj1
= 0 ;
3157 (char *) "self",(char *) "pt", NULL
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3165 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3171 result
= (wxPoint
*) &_result_ref
;
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3184 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
*resultobj
;
3186 wxPoint
*arg1
= (wxPoint
*) 0 ;
3189 PyObject
* obj0
= 0 ;
3190 PyObject
* obj1
= 0 ;
3191 PyObject
* obj2
= 0 ;
3193 (char *) "self",(char *) "x",(char *) "y", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3199 arg2
= (long) SWIG_AsLong(obj1
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3201 arg3
= (long) SWIG_AsLong(obj2
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 wxPoint_Set(arg1
,arg2
,arg3
);
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3210 Py_INCREF(Py_None
); resultobj
= Py_None
;
3217 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxPoint
*arg1
= (wxPoint
*) 0 ;
3221 PyObject
* obj0
= 0 ;
3223 (char *) "self", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 result
= (PyObject
*)wxPoint_Get(arg1
);
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3243 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3246 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3248 return Py_BuildValue((char *)"");
3250 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 int arg1
= (int) 0 ;
3253 int arg2
= (int) 0 ;
3254 int arg3
= (int) 0 ;
3255 int arg4
= (int) 0 ;
3257 PyObject
* obj0
= 0 ;
3258 PyObject
* obj1
= 0 ;
3259 PyObject
* obj2
= 0 ;
3260 PyObject
* obj3
= 0 ;
3262 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3267 arg1
= (int) SWIG_AsInt(obj0
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3271 arg2
= (int) SWIG_AsInt(obj1
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3275 arg3
= (int) SWIG_AsInt(obj2
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3279 arg4
= (int) SWIG_AsInt(obj3
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3296 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3303 PyObject
* obj0
= 0 ;
3304 PyObject
* obj1
= 0 ;
3306 (char *) "topLeft",(char *) "bottomRight", NULL
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3312 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3316 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3332 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
*resultobj
;
3339 PyObject
* obj0
= 0 ;
3340 PyObject
* obj1
= 0 ;
3342 (char *) "pos",(char *) "size", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3348 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3352 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3368 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxRect
*arg1
= (wxRect
*) 0 ;
3371 PyObject
* obj0
= 0 ;
3373 (char *) "self", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3386 Py_INCREF(Py_None
); resultobj
= Py_None
;
3393 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
*resultobj
;
3395 wxRect
*arg1
= (wxRect
*) 0 ;
3397 PyObject
* obj0
= 0 ;
3399 (char *) "self", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 result
= (int)((wxRect
const *)arg1
)->GetX();
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= SWIG_FromInt((int)result
);
3419 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
*resultobj
;
3421 wxRect
*arg1
= (wxRect
*) 0 ;
3423 PyObject
* obj0
= 0 ;
3424 PyObject
* obj1
= 0 ;
3426 (char *) "self",(char *) "x", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3432 arg2
= (int) SWIG_AsInt(obj1
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 Py_INCREF(Py_None
); resultobj
= Py_None
;
3448 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxRect
*arg1
= (wxRect
*) 0 ;
3452 PyObject
* obj0
= 0 ;
3454 (char *) "self", NULL
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 result
= (int)(arg1
)->GetY();
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3467 resultobj
= SWIG_FromInt((int)result
);
3474 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3476 wxRect
*arg1
= (wxRect
*) 0 ;
3478 PyObject
* obj0
= 0 ;
3479 PyObject
* obj1
= 0 ;
3481 (char *) "self",(char *) "y", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3487 arg2
= (int) SWIG_AsInt(obj1
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3496 Py_INCREF(Py_None
); resultobj
= Py_None
;
3503 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxRect
*arg1
= (wxRect
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3509 (char *) "self", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 resultobj
= SWIG_FromInt((int)result
);
3529 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxRect
*arg1
= (wxRect
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3536 (char *) "self",(char *) "w", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3542 arg2
= (int) SWIG_AsInt(obj1
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 (arg1
)->SetWidth(arg2
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 Py_INCREF(Py_None
); resultobj
= Py_None
;
3558 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxRect
*arg1
= (wxRect
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3564 (char *) "self", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_FromInt((int)result
);
3584 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxRect
*arg1
= (wxRect
*) 0 ;
3588 PyObject
* obj0
= 0 ;
3589 PyObject
* obj1
= 0 ;
3591 (char *) "self",(char *) "h", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3597 arg2
= (int) SWIG_AsInt(obj1
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 (arg1
)->SetHeight(arg2
);
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 Py_INCREF(Py_None
); resultobj
= Py_None
;
3613 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxRect
*arg1
= (wxRect
*) 0 ;
3617 PyObject
* obj0
= 0 ;
3619 (char *) "self", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= ((wxRect
const *)arg1
)->GetPosition();
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3633 wxPoint
* resultptr
;
3634 resultptr
= new wxPoint((wxPoint
&) result
);
3635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3643 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3645 wxRect
*arg1
= (wxRect
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3649 PyObject
* obj1
= 0 ;
3651 (char *) "self",(char *) "p", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 Py_INCREF(Py_None
); resultobj
= Py_None
;
3675 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxRect
*arg1
= (wxRect
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3681 (char *) "self", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 result
= ((wxRect
const *)arg1
)->GetSize();
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3696 resultptr
= new wxSize((wxSize
&) result
);
3697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3705 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
*resultobj
;
3707 wxRect
*arg1
= (wxRect
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3711 PyObject
* obj1
= 0 ;
3713 (char *) "self",(char *) "s", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3721 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 (arg1
)->SetSize((wxSize
const &)*arg2
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 Py_INCREF(Py_None
); resultobj
= Py_None
;
3737 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3739 wxRect
*arg1
= (wxRect
*) 0 ;
3741 PyObject
* obj0
= 0 ;
3743 (char *) "self", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3757 wxPoint
* resultptr
;
3758 resultptr
= new wxPoint((wxPoint
&) result
);
3759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3767 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 wxRect
*arg1
= (wxRect
*) 0 ;
3772 PyObject
* obj0
= 0 ;
3773 PyObject
* obj1
= 0 ;
3775 (char *) "self",(char *) "p", NULL
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3783 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 Py_INCREF(Py_None
); resultobj
= Py_None
;
3799 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3801 wxRect
*arg1
= (wxRect
*) 0 ;
3803 PyObject
* obj0
= 0 ;
3805 (char *) "self", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3819 wxPoint
* resultptr
;
3820 resultptr
= new wxPoint((wxPoint
&) result
);
3821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3829 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
*resultobj
;
3831 wxRect
*arg1
= (wxRect
*) 0 ;
3834 PyObject
* obj0
= 0 ;
3835 PyObject
* obj1
= 0 ;
3837 (char *) "self",(char *) "p", NULL
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3845 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 Py_INCREF(Py_None
); resultobj
= Py_None
;
3861 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 wxRect
*arg1
= (wxRect
*) 0 ;
3865 PyObject
* obj0
= 0 ;
3867 (char *) "self", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3880 resultobj
= SWIG_FromInt((int)result
);
3887 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxRect
*arg1
= (wxRect
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3893 (char *) "self", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (int)((wxRect
const *)arg1
)->GetTop();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_FromInt((int)result
);
3913 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxRect
*arg1
= (wxRect
*) 0 ;
3917 PyObject
* obj0
= 0 ;
3919 (char *) "self", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_FromInt((int)result
);
3939 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxRect
*arg1
= (wxRect
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "self", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 result
= (int)((wxRect
const *)arg1
)->GetRight();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 resultobj
= SWIG_FromInt((int)result
);
3965 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxRect
*arg1
= (wxRect
*) 0 ;
3969 PyObject
* obj0
= 0 ;
3970 PyObject
* obj1
= 0 ;
3972 (char *) "self",(char *) "left", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 arg2
= (int) SWIG_AsInt(obj1
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 (arg1
)->SetLeft(arg2
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 Py_INCREF(Py_None
); resultobj
= Py_None
;
3994 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxRect
*arg1
= (wxRect
*) 0 ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4001 (char *) "self",(char *) "right", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4007 arg2
= (int) SWIG_AsInt(obj1
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 (arg1
)->SetRight(arg2
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 Py_INCREF(Py_None
); resultobj
= Py_None
;
4023 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxRect
*arg1
= (wxRect
*) 0 ;
4027 PyObject
* obj0
= 0 ;
4028 PyObject
* obj1
= 0 ;
4030 (char *) "self",(char *) "top", NULL
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4036 arg2
= (int) SWIG_AsInt(obj1
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 (arg1
)->SetTop(arg2
);
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4045 Py_INCREF(Py_None
); resultobj
= Py_None
;
4052 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxRect
*arg1
= (wxRect
*) 0 ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4059 (char *) "self",(char *) "bottom", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 arg2
= (int) SWIG_AsInt(obj1
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 (arg1
)->SetBottom(arg2
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 Py_INCREF(Py_None
); resultobj
= Py_None
;
4081 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxRect
*arg1
= (wxRect
*) 0 ;
4087 PyObject
* obj0
= 0 ;
4088 PyObject
* obj1
= 0 ;
4089 PyObject
* obj2
= 0 ;
4091 (char *) "self",(char *) "dx",(char *) "dy", NULL
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4097 arg2
= (int) SWIG_AsInt(obj1
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4099 arg3
= (int) SWIG_AsInt(obj2
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4105 result
= (wxRect
*) &_result_ref
;
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4118 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
;
4120 wxRect
*arg1
= (wxRect
*) 0 ;
4124 PyObject
* obj0
= 0 ;
4125 PyObject
* obj1
= 0 ;
4126 PyObject
* obj2
= 0 ;
4128 (char *) "self",(char *) "dx",(char *) "dy", NULL
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4134 arg2
= (int) SWIG_AsInt(obj1
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4136 arg3
= (int) SWIG_AsInt(obj2
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4142 result
= (wxRect
*) &_result_ref
;
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4155 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 wxRect
*arg1
= (wxRect
*) 0 ;
4160 PyObject
* obj0
= 0 ;
4161 PyObject
* obj1
= 0 ;
4162 PyObject
* obj2
= 0 ;
4164 (char *) "self",(char *) "dx",(char *) "dy", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4170 arg2
= (int) SWIG_AsInt(obj1
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4172 arg3
= (int) SWIG_AsInt(obj2
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 (arg1
)->Offset(arg2
,arg3
);
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 Py_INCREF(Py_None
); resultobj
= Py_None
;
4188 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxRect
*arg1
= (wxRect
*) 0 ;
4193 PyObject
* obj0
= 0 ;
4194 PyObject
* obj1
= 0 ;
4196 (char *) "self",(char *) "pt", NULL
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 (arg1
)->Offset((wxPoint
const &)*arg2
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 Py_INCREF(Py_None
); resultobj
= Py_None
;
4220 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxRect
*arg1
= (wxRect
*) 0 ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4229 (char *) "self",(char *) "rect", NULL
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4237 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4243 result
= (wxRect
*) &_result_ref
;
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4256 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4258 wxRect
*arg1
= (wxRect
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4265 (char *) "self",(char *) "rect", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4273 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4284 resultptr
= new wxRect((wxRect
&) result
);
4285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4293 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
*resultobj
;
4295 wxRect
*arg1
= (wxRect
*) 0 ;
4299 PyObject
* obj0
= 0 ;
4300 PyObject
* obj1
= 0 ;
4302 (char *) "self",(char *) "rect", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4310 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4316 result
= (wxRect
*) &_result_ref
;
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4329 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
*resultobj
;
4331 wxRect
*arg1
= (wxRect
*) 0 ;
4335 PyObject
* obj0
= 0 ;
4336 PyObject
* obj1
= 0 ;
4338 (char *) "self",(char *) "rect", NULL
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4346 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4364 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
*resultobj
;
4366 wxRect
*arg1
= (wxRect
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4371 PyObject
* obj1
= 0 ;
4373 (char *) "self",(char *) "rect", NULL
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4381 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4399 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4401 wxRect
*arg1
= (wxRect
*) 0 ;
4405 PyObject
* obj0
= 0 ;
4406 PyObject
* obj1
= 0 ;
4407 PyObject
* obj2
= 0 ;
4409 (char *) "self",(char *) "x",(char *) "y", NULL
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4415 arg2
= (int) SWIG_AsInt(obj1
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4417 arg3
= (int) SWIG_AsInt(obj2
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4435 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxRect
*arg1
= (wxRect
*) 0 ;
4441 PyObject
* obj0
= 0 ;
4442 PyObject
* obj1
= 0 ;
4444 (char *) "self",(char *) "pt", NULL
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4452 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4470 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
*resultobj
;
4472 wxRect
*arg1
= (wxRect
*) 0 ;
4476 PyObject
* obj0
= 0 ;
4477 PyObject
* obj1
= 0 ;
4479 (char *) "self",(char *) "rect", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4487 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4505 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4507 wxRect
*arg1
= (wxRect
*) 0 ;
4509 PyObject
* obj0
= 0 ;
4510 PyObject
* obj1
= 0 ;
4512 (char *) "self",(char *) "x", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4518 arg2
= (int) SWIG_AsInt(obj1
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4520 if (arg1
) (arg1
)->x
= arg2
;
4522 Py_INCREF(Py_None
); resultobj
= Py_None
;
4529 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxRect
*arg1
= (wxRect
*) 0 ;
4533 PyObject
* obj0
= 0 ;
4535 (char *) "self", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4541 result
= (int) ((arg1
)->x
);
4543 resultobj
= SWIG_FromInt((int)result
);
4550 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxRect
*arg1
= (wxRect
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4555 PyObject
* obj1
= 0 ;
4557 (char *) "self",(char *) "y", NULL
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4563 arg2
= (int) SWIG_AsInt(obj1
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4565 if (arg1
) (arg1
)->y
= arg2
;
4567 Py_INCREF(Py_None
); resultobj
= Py_None
;
4574 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
;
4576 wxRect
*arg1
= (wxRect
*) 0 ;
4578 PyObject
* obj0
= 0 ;
4580 (char *) "self", NULL
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4586 result
= (int) ((arg1
)->y
);
4588 resultobj
= SWIG_FromInt((int)result
);
4595 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
;
4597 wxRect
*arg1
= (wxRect
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4602 (char *) "self",(char *) "width", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4608 arg2
= (int) SWIG_AsInt(obj1
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4610 if (arg1
) (arg1
)->width
= arg2
;
4612 Py_INCREF(Py_None
); resultobj
= Py_None
;
4619 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxRect
*arg1
= (wxRect
*) 0 ;
4623 PyObject
* obj0
= 0 ;
4625 (char *) "self", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4631 result
= (int) ((arg1
)->width
);
4633 resultobj
= SWIG_FromInt((int)result
);
4640 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4642 wxRect
*arg1
= (wxRect
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4647 (char *) "self",(char *) "height", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4653 arg2
= (int) SWIG_AsInt(obj1
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4655 if (arg1
) (arg1
)->height
= arg2
;
4657 Py_INCREF(Py_None
); resultobj
= Py_None
;
4664 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 wxRect
*arg1
= (wxRect
*) 0 ;
4668 PyObject
* obj0
= 0 ;
4670 (char *) "self", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4676 result
= (int) ((arg1
)->height
);
4678 resultobj
= SWIG_FromInt((int)result
);
4685 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
;
4687 wxRect
*arg1
= (wxRect
*) 0 ;
4688 int arg2
= (int) 0 ;
4689 int arg3
= (int) 0 ;
4690 int arg4
= (int) 0 ;
4691 int arg5
= (int) 0 ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4694 PyObject
* obj2
= 0 ;
4695 PyObject
* obj3
= 0 ;
4696 PyObject
* obj4
= 0 ;
4698 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4705 arg2
= (int) SWIG_AsInt(obj1
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4709 arg3
= (int) SWIG_AsInt(obj2
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4713 arg4
= (int) SWIG_AsInt(obj3
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4717 arg5
= (int) SWIG_AsInt(obj4
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 Py_INCREF(Py_None
); resultobj
= Py_None
;
4734 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
*resultobj
;
4736 wxRect
*arg1
= (wxRect
*) 0 ;
4738 PyObject
* obj0
= 0 ;
4740 (char *) "self", NULL
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (PyObject
*)wxRect_Get(arg1
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4760 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4763 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4765 return Py_BuildValue((char *)"");
4767 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4769 wxRect
*arg1
= (wxRect
*) 0 ;
4770 wxRect
*arg2
= (wxRect
*) 0 ;
4772 PyObject
* obj0
= 0 ;
4773 PyObject
* obj1
= 0 ;
4775 (char *) "r1",(char *) "r2", NULL
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4797 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 double arg1
= (double) 0.0 ;
4800 double arg2
= (double) 0.0 ;
4802 PyObject
* obj0
= 0 ;
4803 PyObject
* obj1
= 0 ;
4805 (char *) "x",(char *) "y", NULL
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4810 arg1
= (double) SWIG_AsDouble(obj0
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4814 arg2
= (double) SWIG_AsDouble(obj1
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4831 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4833 wxPoint2D
*arg1
= 0 ;
4836 PyObject
* obj0
= 0 ;
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4844 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4860 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
;
4865 PyObject
* obj0
= 0 ;
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4873 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4889 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4892 int *arg2
= (int *) 0 ;
4893 int *arg3
= (int *) 0 ;
4896 PyObject
* obj0
= 0 ;
4898 (char *) "self", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4908 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 Py_INCREF(Py_None
); resultobj
= Py_None
;
4915 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4916 resultobj
= t_output_helper(resultobj
,o
);
4919 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4920 resultobj
= t_output_helper(resultobj
,o
);
4928 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4931 int *arg2
= (int *) 0 ;
4932 int *arg3
= (int *) 0 ;
4935 PyObject
* obj0
= 0 ;
4937 (char *) "self", NULL
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 Py_INCREF(Py_None
); resultobj
= Py_None
;
4954 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4955 resultobj
= t_output_helper(resultobj
,o
);
4958 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4959 resultobj
= t_output_helper(resultobj
,o
);
4967 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
;
4969 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4971 PyObject
* obj0
= 0 ;
4973 (char *) "self", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= SWIG_FromDouble((double)result
);
4993 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4997 PyObject
* obj0
= 0 ;
4999 (char *) "self", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_FromDouble((double)result
);
5019 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5023 PyObject
* obj0
= 0 ;
5024 PyObject
* obj1
= 0 ;
5026 (char *) "self",(char *) "length", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5032 arg2
= (double) SWIG_AsDouble(obj1
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 (arg1
)->SetVectorLength(arg2
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 Py_INCREF(Py_None
); resultobj
= Py_None
;
5048 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5053 PyObject
* obj1
= 0 ;
5055 (char *) "self",(char *) "degrees", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5061 arg2
= (double) SWIG_AsDouble(obj1
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 (arg1
)->SetVectorAngle(arg2
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 Py_INCREF(Py_None
); resultobj
= Py_None
;
5077 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
;
5079 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5080 wxPoint2D
*arg2
= 0 ;
5083 PyObject
* obj0
= 0 ;
5084 PyObject
* obj1
= 0 ;
5086 (char *) "self",(char *) "pt", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5094 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_FromDouble((double)result
);
5110 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5113 wxPoint2D
*arg2
= 0 ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5119 (char *) "self",(char *) "pt", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5127 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= SWIG_FromDouble((double)result
);
5143 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5146 wxPoint2D
*arg2
= 0 ;
5149 PyObject
* obj0
= 0 ;
5150 PyObject
* obj1
= 0 ;
5152 (char *) "self",(char *) "vec", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5160 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= SWIG_FromDouble((double)result
);
5176 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
;
5178 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5179 wxPoint2D
*arg2
= 0 ;
5182 PyObject
* obj0
= 0 ;
5183 PyObject
* obj1
= 0 ;
5185 (char *) "self",(char *) "vec", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5193 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5202 resultobj
= SWIG_FromDouble((double)result
);
5209 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
*resultobj
;
5211 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5213 PyObject
* obj0
= 0 ;
5215 (char *) "self", NULL
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 result
= (arg1
)->operator -();
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5229 wxPoint2D
* resultptr
;
5230 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5239 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5242 wxPoint2D
*arg2
= 0 ;
5245 PyObject
* obj0
= 0 ;
5246 PyObject
* obj1
= 0 ;
5248 (char *) "self",(char *) "pt", NULL
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5256 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5262 result
= (wxPoint2D
*) &_result_ref
;
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5275 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5278 wxPoint2D
*arg2
= 0 ;
5281 PyObject
* obj0
= 0 ;
5282 PyObject
* obj1
= 0 ;
5284 (char *) "self",(char *) "pt", NULL
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5292 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5298 result
= (wxPoint2D
*) &_result_ref
;
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5311 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5314 wxPoint2D
*arg2
= 0 ;
5317 PyObject
* obj0
= 0 ;
5318 PyObject
* obj1
= 0 ;
5320 (char *) "self",(char *) "pt", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5328 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5334 result
= (wxPoint2D
*) &_result_ref
;
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5347 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5350 wxPoint2D
*arg2
= 0 ;
5353 PyObject
* obj0
= 0 ;
5354 PyObject
* obj1
= 0 ;
5356 (char *) "self",(char *) "pt", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5364 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5370 result
= (wxPoint2D
*) &_result_ref
;
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5383 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
;
5385 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5386 wxPoint2D
*arg2
= 0 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5392 (char *) "self",(char *) "pt", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5400 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5418 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5421 wxPoint2D
*arg2
= 0 ;
5424 PyObject
* obj0
= 0 ;
5425 PyObject
* obj1
= 0 ;
5427 (char *) "self",(char *) "pt", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5435 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5453 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5457 PyObject
* obj0
= 0 ;
5458 PyObject
* obj1
= 0 ;
5460 (char *) "self",(char *) "m_x", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5466 arg2
= (double) SWIG_AsDouble(obj1
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5468 if (arg1
) (arg1
)->m_x
= arg2
;
5470 Py_INCREF(Py_None
); resultobj
= Py_None
;
5477 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5483 (char *) "self", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5489 result
= (double) ((arg1
)->m_x
);
5491 resultobj
= SWIG_FromDouble((double)result
);
5498 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
;
5500 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5502 PyObject
* obj0
= 0 ;
5503 PyObject
* obj1
= 0 ;
5505 (char *) "self",(char *) "m_y", NULL
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5511 arg2
= (double) SWIG_AsDouble(obj1
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5513 if (arg1
) (arg1
)->m_y
= arg2
;
5515 Py_INCREF(Py_None
); resultobj
= Py_None
;
5522 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
*resultobj
;
5524 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5526 PyObject
* obj0
= 0 ;
5528 (char *) "self", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5534 result
= (double) ((arg1
)->m_y
);
5536 resultobj
= SWIG_FromDouble((double)result
);
5543 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5546 double arg2
= (double) 0 ;
5547 double arg3
= (double) 0 ;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5550 PyObject
* obj2
= 0 ;
5552 (char *) "self",(char *) "x",(char *) "y", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5559 arg2
= (double) SWIG_AsDouble(obj1
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5563 arg3
= (double) SWIG_AsDouble(obj2
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 wxPoint2D_Set(arg1
,arg2
,arg3
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 Py_INCREF(Py_None
); resultobj
= Py_None
;
5580 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5586 (char *) "self", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5606 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5609 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5611 return Py_BuildValue((char *)"");
5613 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5614 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5619 static PyObject
*_wrap_DefaultPosition_get() {
5622 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5627 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5628 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5633 static PyObject
*_wrap_DefaultSize_get() {
5636 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5641 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 PyObject
*arg1
= (PyObject
*) 0 ;
5644 wxPyInputStream
*result
;
5645 PyObject
* obj0
= 0 ;
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5666 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5669 PyObject
* obj0
= 0 ;
5671 (char *) "self", NULL
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 Py_INCREF(Py_None
); resultobj
= Py_None
;
5691 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
*resultobj
;
5693 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5694 PyObject
* obj0
= 0 ;
5696 (char *) "self", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5709 Py_INCREF(Py_None
); resultobj
= Py_None
;
5716 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5720 PyObject
* obj0
= 0 ;
5722 (char *) "self", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 result
= (bool)(arg1
)->eof();
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5744 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
;
5746 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5747 int arg2
= (int) -1 ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5752 (char *) "self",(char *) "size", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5759 arg2
= (int) SWIG_AsInt(obj1
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 result
= (PyObject
*)(arg1
)->read(arg2
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5776 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
;
5778 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5779 int arg2
= (int) -1 ;
5781 PyObject
* obj0
= 0 ;
5782 PyObject
* obj1
= 0 ;
5784 (char *) "self",(char *) "size", NULL
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5791 arg2
= (int) SWIG_AsInt(obj1
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= (PyObject
*)(arg1
)->readline(arg2
);
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5808 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
;
5810 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5811 int arg2
= (int) -1 ;
5813 PyObject
* obj0
= 0 ;
5814 PyObject
* obj1
= 0 ;
5816 (char *) "self",(char *) "sizehint", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5823 arg2
= (int) SWIG_AsInt(obj1
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5840 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5844 int arg3
= (int) 0 ;
5845 PyObject
* obj0
= 0 ;
5846 PyObject
* obj1
= 0 ;
5847 PyObject
* obj2
= 0 ;
5849 (char *) "self",(char *) "offset",(char *) "whence", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5855 arg2
= (int) SWIG_AsInt(obj1
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 arg3
= (int) SWIG_AsInt(obj2
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 (arg1
)->seek(arg2
,arg3
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 Py_INCREF(Py_None
); resultobj
= Py_None
;
5875 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5879 PyObject
* obj0
= 0 ;
5881 (char *) "self", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 result
= (int)(arg1
)->tell();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= SWIG_FromInt((int)result
);
5901 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5905 PyObject
* obj0
= 0 ;
5907 (char *) "self", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= (char)(arg1
)->Peek();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_FromChar((char)result
);
5927 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5931 PyObject
* obj0
= 0 ;
5933 (char *) "self", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 result
= (char)(arg1
)->GetC();
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= SWIG_FromChar((char)result
);
5953 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5957 PyObject
* obj0
= 0 ;
5959 (char *) "self", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 result
= (size_t)(arg1
)->LastRead();
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5979 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
*resultobj
;
5981 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5983 PyObject
* obj0
= 0 ;
5985 (char *) "self", NULL
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 result
= (bool)(arg1
)->CanRead();
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6007 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6011 PyObject
* obj0
= 0 ;
6013 (char *) "self", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (bool)(arg1
)->Eof();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6035 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6043 (char *) "self",(char *) "c", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6049 arg2
= (char) SWIG_AsChar(obj1
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 result
= (bool)(arg1
)->Ungetch(arg2
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6067 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6069 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6071 int arg3
= (int) wxFromStart
;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6075 PyObject
* obj2
= 0 ;
6077 (char *) "self",(char *) "pos",(char *) "mode", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6083 arg2
= (long) SWIG_AsLong(obj1
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6086 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_FromLong((long)result
);
6103 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
;
6105 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6107 PyObject
* obj0
= 0 ;
6109 (char *) "self", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 result
= (long)(arg1
)->TellI();
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= SWIG_FromLong((long)result
);
6129 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6132 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6134 return Py_BuildValue((char *)"");
6136 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6139 PyObject
*arg2
= (PyObject
*) 0 ;
6140 PyObject
* obj0
= 0 ;
6141 PyObject
* obj1
= 0 ;
6143 (char *) "self",(char *) "obj", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 wxOutputStream_write(arg1
,arg2
);
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6157 Py_INCREF(Py_None
); resultobj
= Py_None
;
6164 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6167 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6169 return Py_BuildValue((char *)"");
6171 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6172 PyObject
*resultobj
;
6173 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6174 wxString
*arg2
= 0 ;
6175 wxString
*arg3
= 0 ;
6176 wxString
*arg4
= 0 ;
6179 wxPyInputStream
*temp1
;
6181 bool temp2
= False
;
6182 bool temp3
= False
;
6183 bool temp4
= False
;
6185 PyObject
* obj0
= 0 ;
6186 PyObject
* obj1
= 0 ;
6187 PyObject
* obj2
= 0 ;
6188 PyObject
* obj3
= 0 ;
6189 PyObject
* obj4
= 0 ;
6191 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6196 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6197 arg1
= temp1
->m_wxis
;
6200 PyErr_Clear(); // clear the failure of the wxPyConvert above
6201 arg1
= wxPyCBInputStream_create(obj0
, False
);
6203 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6210 arg2
= wxString_in_helper(obj1
);
6211 if (arg2
== NULL
) SWIG_fail
;
6215 arg3
= wxString_in_helper(obj2
);
6216 if (arg3
== NULL
) SWIG_fail
;
6220 arg4
= wxString_in_helper(obj3
);
6221 if (arg4
== NULL
) SWIG_fail
;
6224 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6225 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6235 resultobj
= wxPyMake_wxObject(result
);
6275 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
;
6277 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6278 PyObject
* obj0
= 0 ;
6280 (char *) "self", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 Py_INCREF(Py_None
); resultobj
= Py_None
;
6300 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6302 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6303 wxInputStream
*result
;
6304 PyObject
* obj0
= 0 ;
6306 (char *) "self", NULL
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 result
= (wxInputStream
*)(arg1
)->GetStream();
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6320 wxPyInputStream
* _ptr
= NULL
;
6323 _ptr
= new wxPyInputStream(result
);
6325 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6333 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "self", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6349 result
= (wxString
*) &_result_ref
;
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6359 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6368 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
;
6370 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6372 PyObject
* obj0
= 0 ;
6374 (char *) "self", NULL
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 wxString
const &_result_ref
= (arg1
)->GetLocation();
6384 result
= (wxString
*) &_result_ref
;
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6394 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6403 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6409 (char *) "self", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6419 result
= (wxString
*) &_result_ref
;
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6429 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6438 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "self", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 result
= (arg1
)->GetModificationTime();
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6458 wxDateTime
* resultptr
;
6459 resultptr
= new wxDateTime((wxDateTime
&) result
);
6460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6468 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6471 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6473 return Py_BuildValue((char *)"");
6475 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6478 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6480 return Py_BuildValue((char *)"");
6482 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
*resultobj
;
6484 wxPyFileSystemHandler
*result
;
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6504 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
*resultobj
;
6506 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6507 PyObject
*arg2
= (PyObject
*) 0 ;
6508 PyObject
*arg3
= (PyObject
*) 0 ;
6509 PyObject
* obj0
= 0 ;
6510 PyObject
* obj1
= 0 ;
6511 PyObject
* obj2
= 0 ;
6513 (char *) "self",(char *) "self",(char *) "_class", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 Py_INCREF(Py_None
); resultobj
= Py_None
;
6535 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6538 wxString
*arg2
= 0 ;
6540 bool temp2
= False
;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6544 (char *) "self",(char *) "location", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6551 arg2
= wxString_in_helper(obj1
);
6552 if (arg2
== NULL
) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6579 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6582 wxFileSystem
*arg2
= 0 ;
6583 wxString
*arg3
= 0 ;
6585 bool temp3
= False
;
6586 PyObject
* obj0
= 0 ;
6587 PyObject
* obj1
= 0 ;
6588 PyObject
* obj2
= 0 ;
6590 (char *) "self",(char *) "fs",(char *) "location", NULL
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6600 PyErr_SetString(PyExc_TypeError
,"null reference");
6604 arg3
= wxString_in_helper(obj2
);
6605 if (arg3
== NULL
) SWIG_fail
;
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= wxPyMake_wxObject(result
);
6632 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6634 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6635 wxString
*arg2
= 0 ;
6636 int arg3
= (int) 0 ;
6638 bool temp2
= False
;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6641 PyObject
* obj2
= 0 ;
6643 (char *) "self",(char *) "spec",(char *) "flags", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6650 arg2
= wxString_in_helper(obj1
);
6651 if (arg2
== NULL
) SWIG_fail
;
6655 arg3
= (int) SWIG_AsInt(obj2
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6686 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6690 PyObject
* obj0
= 0 ;
6692 (char *) "self", NULL
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 result
= (arg1
)->FindNext();
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6718 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
;
6720 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6721 wxString
*arg2
= 0 ;
6723 bool temp2
= False
;
6724 PyObject
* obj0
= 0 ;
6725 PyObject
* obj1
= 0 ;
6727 (char *) "self",(char *) "location", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6734 arg2
= wxString_in_helper(obj1
);
6735 if (arg2
== NULL
) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6766 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
*resultobj
;
6768 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6769 wxString
*arg2
= 0 ;
6771 bool temp2
= False
;
6772 PyObject
* obj0
= 0 ;
6773 PyObject
* obj1
= 0 ;
6775 (char *) "self",(char *) "location", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6782 arg2
= wxString_in_helper(obj1
);
6783 if (arg2
== NULL
) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6814 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
;
6816 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6817 wxString
*arg2
= 0 ;
6819 bool temp2
= False
;
6820 PyObject
* obj0
= 0 ;
6821 PyObject
* obj1
= 0 ;
6823 (char *) "self",(char *) "location", NULL
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6830 arg2
= wxString_in_helper(obj1
);
6831 if (arg2
== NULL
) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6862 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6864 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6865 wxString
*arg2
= 0 ;
6867 bool temp2
= False
;
6868 PyObject
* obj0
= 0 ;
6869 PyObject
* obj1
= 0 ;
6871 (char *) "self",(char *) "location", NULL
6874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6878 arg2
= wxString_in_helper(obj1
);
6879 if (arg2
== NULL
) SWIG_fail
;
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6910 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6913 wxString
*arg2
= 0 ;
6915 bool temp2
= False
;
6916 PyObject
* obj0
= 0 ;
6917 PyObject
* obj1
= 0 ;
6919 (char *) "self",(char *) "location", NULL
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6926 arg2
= wxString_in_helper(obj1
);
6927 if (arg2
== NULL
) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6958 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6961 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6963 return Py_BuildValue((char *)"");
6965 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxFileSystem
*result
;
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 result
= (wxFileSystem
*)new wxFileSystem();
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= wxPyMake_wxObject(result
);
6989 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
;
6991 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6992 PyObject
* obj0
= 0 ;
6994 (char *) "self", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 Py_INCREF(Py_None
); resultobj
= Py_None
;
7014 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
;
7016 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7017 wxString
*arg2
= 0 ;
7018 bool arg3
= (bool) False
;
7019 bool temp2
= False
;
7020 PyObject
* obj0
= 0 ;
7021 PyObject
* obj1
= 0 ;
7022 PyObject
* obj2
= 0 ;
7024 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7031 arg2
= wxString_in_helper(obj1
);
7032 if (arg2
== NULL
) SWIG_fail
;
7036 arg3
= (bool) SWIG_AsBool(obj2
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 Py_INCREF(Py_None
); resultobj
= Py_None
;
7061 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
;
7063 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7065 PyObject
* obj0
= 0 ;
7067 (char *) "self", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 result
= (arg1
)->GetPath();
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7093 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7096 wxString
*arg2
= 0 ;
7098 bool temp2
= False
;
7099 PyObject
* obj0
= 0 ;
7100 PyObject
* obj1
= 0 ;
7102 (char *) "self",(char *) "location", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7109 arg2
= wxString_in_helper(obj1
);
7110 if (arg2
== NULL
) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= wxPyMake_wxObject(result
);
7137 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7139 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7140 wxString
*arg2
= 0 ;
7141 int arg3
= (int) 0 ;
7143 bool temp2
= False
;
7144 PyObject
* obj0
= 0 ;
7145 PyObject
* obj1
= 0 ;
7146 PyObject
* obj2
= 0 ;
7148 (char *) "self",(char *) "spec",(char *) "flags", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7155 arg2
= wxString_in_helper(obj1
);
7156 if (arg2
== NULL
) SWIG_fail
;
7160 arg3
= (int) SWIG_AsInt(obj2
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7191 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7195 PyObject
* obj0
= 0 ;
7197 (char *) "self", NULL
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= (arg1
)->FindNext();
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7223 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7226 PyObject
* obj0
= 0 ;
7228 (char *) "handler", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 wxFileSystem::AddHandler(arg1
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 Py_INCREF(Py_None
); resultobj
= Py_None
;
7248 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 wxFileSystem::CleanUpHandlers();
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 Py_INCREF(Py_None
); resultobj
= Py_None
;
7269 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7271 wxString
*arg1
= 0 ;
7273 bool temp1
= False
;
7274 PyObject
* obj0
= 0 ;
7276 (char *) "filename", NULL
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7281 arg1
= wxString_in_helper(obj0
);
7282 if (arg1
== NULL
) SWIG_fail
;
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7313 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7316 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7318 return Py_BuildValue((char *)"");
7320 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxString
*arg1
= 0 ;
7324 bool temp1
= False
;
7325 PyObject
* obj0
= 0 ;
7327 (char *) "url", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7332 arg1
= wxString_in_helper(obj0
);
7333 if (arg1
== NULL
) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7364 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
;
7366 wxInternetFSHandler
*result
;
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7386 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7388 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7389 wxString
*arg2
= 0 ;
7391 bool temp2
= False
;
7392 PyObject
* obj0
= 0 ;
7393 PyObject
* obj1
= 0 ;
7395 (char *) "self",(char *) "location", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7402 arg2
= wxString_in_helper(obj1
);
7403 if (arg2
== NULL
) SWIG_fail
;
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7430 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7433 wxFileSystem
*arg2
= 0 ;
7434 wxString
*arg3
= 0 ;
7436 bool temp3
= False
;
7437 PyObject
* obj0
= 0 ;
7438 PyObject
* obj1
= 0 ;
7439 PyObject
* obj2
= 0 ;
7441 (char *) "self",(char *) "fs",(char *) "location", NULL
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7451 PyErr_SetString(PyExc_TypeError
,"null reference");
7455 arg3
= wxString_in_helper(obj2
);
7456 if (arg3
== NULL
) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= wxPyMake_wxObject(result
);
7483 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7486 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7488 return Py_BuildValue((char *)"");
7490 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7492 wxZipFSHandler
*result
;
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7512 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7515 wxString
*arg2
= 0 ;
7517 bool temp2
= False
;
7518 PyObject
* obj0
= 0 ;
7519 PyObject
* obj1
= 0 ;
7521 (char *) "self",(char *) "location", NULL
7524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7528 arg2
= wxString_in_helper(obj1
);
7529 if (arg2
== NULL
) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7556 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7559 wxFileSystem
*arg2
= 0 ;
7560 wxString
*arg3
= 0 ;
7562 bool temp3
= False
;
7563 PyObject
* obj0
= 0 ;
7564 PyObject
* obj1
= 0 ;
7565 PyObject
* obj2
= 0 ;
7567 (char *) "self",(char *) "fs",(char *) "location", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7577 PyErr_SetString(PyExc_TypeError
,"null reference");
7581 arg3
= wxString_in_helper(obj2
);
7582 if (arg3
== NULL
) SWIG_fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= wxPyMake_wxObject(result
);
7609 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7612 wxString
*arg2
= 0 ;
7613 int arg3
= (int) 0 ;
7615 bool temp2
= False
;
7616 PyObject
* obj0
= 0 ;
7617 PyObject
* obj1
= 0 ;
7618 PyObject
* obj2
= 0 ;
7620 (char *) "self",(char *) "spec",(char *) "flags", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7627 arg2
= wxString_in_helper(obj1
);
7628 if (arg2
== NULL
) SWIG_fail
;
7632 arg3
= (int) SWIG_AsInt(obj2
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7646 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7663 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7667 PyObject
* obj0
= 0 ;
7669 (char *) "self", NULL
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 result
= (arg1
)->FindNext();
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7695 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7698 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7700 return Py_BuildValue((char *)"");
7702 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7704 wxString
*arg1
= 0 ;
7707 bool temp1
= False
;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj1
= 0 ;
7710 PyObject
* obj2
= 0 ;
7712 (char *) "filename",(char *) "image",(char *) "type", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7717 arg1
= wxString_in_helper(obj0
);
7718 if (arg1
== NULL
) SWIG_fail
;
7721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7725 PyErr_SetString(PyExc_TypeError
,"null reference");
7728 arg3
= (long) SWIG_AsLong(obj2
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 Py_INCREF(Py_None
); resultobj
= Py_None
;
7752 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxString
*arg1
= 0 ;
7755 wxBitmap
*arg2
= 0 ;
7757 bool temp1
= False
;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7760 PyObject
* obj2
= 0 ;
7762 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7767 arg1
= wxString_in_helper(obj0
);
7768 if (arg1
== NULL
) SWIG_fail
;
7771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7775 PyErr_SetString(PyExc_TypeError
,"null reference");
7778 arg3
= (long) SWIG_AsLong(obj2
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 Py_INCREF(Py_None
); resultobj
= Py_None
;
7802 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxString
*arg1
= 0 ;
7805 PyObject
*arg2
= (PyObject
*) 0 ;
7806 bool temp1
= False
;
7807 PyObject
* obj0
= 0 ;
7808 PyObject
* obj1
= 0 ;
7810 (char *) "filename",(char *) "data", NULL
7813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7815 arg1
= wxString_in_helper(obj0
);
7816 if (arg1
== NULL
) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 Py_INCREF(Py_None
); resultobj
= Py_None
;
7842 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxMemoryFSHandler
*result
;
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7864 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxString
*arg1
= 0 ;
7867 bool temp1
= False
;
7868 PyObject
* obj0
= 0 ;
7870 (char *) "filename", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7875 arg1
= wxString_in_helper(obj0
);
7876 if (arg1
== NULL
) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 Py_INCREF(Py_None
); resultobj
= Py_None
;
7901 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7904 wxString
*arg2
= 0 ;
7906 bool temp2
= False
;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7910 (char *) "self",(char *) "location", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7917 arg2
= wxString_in_helper(obj1
);
7918 if (arg2
== NULL
) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7945 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7948 wxFileSystem
*arg2
= 0 ;
7949 wxString
*arg3
= 0 ;
7951 bool temp3
= False
;
7952 PyObject
* obj0
= 0 ;
7953 PyObject
* obj1
= 0 ;
7954 PyObject
* obj2
= 0 ;
7956 (char *) "self",(char *) "fs",(char *) "location", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7966 PyErr_SetString(PyExc_TypeError
,"null reference");
7970 arg3
= wxString_in_helper(obj2
);
7971 if (arg3
== NULL
) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= wxPyMake_wxObject(result
);
7998 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8001 wxString
*arg2
= 0 ;
8002 int arg3
= (int) 0 ;
8004 bool temp2
= False
;
8005 PyObject
* obj0
= 0 ;
8006 PyObject
* obj1
= 0 ;
8007 PyObject
* obj2
= 0 ;
8009 (char *) "self",(char *) "spec",(char *) "flags", NULL
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8016 arg2
= wxString_in_helper(obj1
);
8017 if (arg2
== NULL
) SWIG_fail
;
8021 arg3
= (int) SWIG_AsInt(obj2
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8052 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8056 PyObject
* obj0
= 0 ;
8058 (char *) "self", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= (arg1
)->FindNext();
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8084 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8087 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8089 return Py_BuildValue((char *)"");
8091 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8092 PyObject
*resultobj
;
8093 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8095 PyObject
* obj0
= 0 ;
8097 (char *) "self", NULL
8100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 result
= (arg1
)->GetName();
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8123 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
;
8125 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8127 PyObject
* obj0
= 0 ;
8129 (char *) "self", NULL
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= (arg1
)->GetExtension();
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8155 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8159 PyObject
* obj0
= 0 ;
8161 (char *) "self", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 result
= (long)(arg1
)->GetType();
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 resultobj
= SWIG_FromLong((long)result
);
8181 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
*resultobj
;
8183 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8185 PyObject
* obj0
= 0 ;
8187 (char *) "self", NULL
8190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 result
= (arg1
)->GetMimeType();
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8213 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
;
8215 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8216 wxString
*arg2
= 0 ;
8218 bool temp2
= False
;
8219 PyObject
* obj0
= 0 ;
8220 PyObject
* obj1
= 0 ;
8222 (char *) "self",(char *) "name", NULL
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8229 arg2
= wxString_in_helper(obj1
);
8230 if (arg2
== NULL
) SWIG_fail
;
8234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8235 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8257 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
;
8259 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8260 wxString
*arg2
= 0 ;
8261 bool temp2
= False
;
8262 PyObject
* obj0
= 0 ;
8263 PyObject
* obj1
= 0 ;
8265 (char *) "self",(char *) "name", NULL
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8272 arg2
= wxString_in_helper(obj1
);
8273 if (arg2
== NULL
) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 (arg1
)->SetName((wxString
const &)*arg2
);
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 Py_INCREF(Py_None
); resultobj
= Py_None
;
8298 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8301 wxString
*arg2
= 0 ;
8302 bool temp2
= False
;
8303 PyObject
* obj0
= 0 ;
8304 PyObject
* obj1
= 0 ;
8306 (char *) "self",(char *) "extension", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8313 arg2
= wxString_in_helper(obj1
);
8314 if (arg2
== NULL
) SWIG_fail
;
8318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8319 (arg1
)->SetExtension((wxString
const &)*arg2
);
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 Py_INCREF(Py_None
); resultobj
= Py_None
;
8339 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8343 PyObject
* obj0
= 0 ;
8344 PyObject
* obj1
= 0 ;
8346 (char *) "self",(char *) "type", NULL
8349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8352 arg2
= (long) SWIG_AsLong(obj1
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 (arg1
)->SetType(arg2
);
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 Py_INCREF(Py_None
); resultobj
= Py_None
;
8368 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8371 wxString
*arg2
= 0 ;
8372 bool temp2
= False
;
8373 PyObject
* obj0
= 0 ;
8374 PyObject
* obj1
= 0 ;
8376 (char *) "self",(char *) "mimetype", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8383 arg2
= wxString_in_helper(obj1
);
8384 if (arg2
== NULL
) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 Py_INCREF(Py_None
); resultobj
= Py_None
;
8409 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8412 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8414 return Py_BuildValue((char *)"");
8416 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxImageHistogram
*result
;
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 result
= (wxImageHistogram
*)new wxImageHistogram();
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8438 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 unsigned char arg1
;
8441 unsigned char arg2
;
8442 unsigned char arg3
;
8443 unsigned long result
;
8444 PyObject
* obj0
= 0 ;
8445 PyObject
* obj1
= 0 ;
8446 PyObject
* obj2
= 0 ;
8448 (char *) "r",(char *) "g",(char *) "b", NULL
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8452 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8454 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8456 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8472 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8475 unsigned char *arg2
= (unsigned char *) 0 ;
8476 unsigned char *arg3
= (unsigned char *) 0 ;
8477 unsigned char *arg4
= (unsigned char *) 0 ;
8478 unsigned char arg5
= (unsigned char) 1 ;
8479 unsigned char arg6
= (unsigned char) 0 ;
8480 unsigned char arg7
= (unsigned char) 0 ;
8482 unsigned char temp2
;
8483 unsigned char temp3
;
8484 unsigned char temp4
;
8485 PyObject
* obj0
= 0 ;
8486 PyObject
* obj1
= 0 ;
8487 PyObject
* obj2
= 0 ;
8488 PyObject
* obj3
= 0 ;
8490 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8500 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8504 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8508 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8522 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8523 resultobj
= t_output_helper(resultobj
,o
);
8526 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8527 resultobj
= t_output_helper(resultobj
,o
);
8530 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8531 resultobj
= t_output_helper(resultobj
,o
);
8539 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8542 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8544 return Py_BuildValue((char *)"");
8546 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
;
8548 wxString
*arg1
= 0 ;
8549 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8550 int arg3
= (int) -1 ;
8552 bool temp1
= False
;
8553 PyObject
* obj0
= 0 ;
8554 PyObject
* obj1
= 0 ;
8555 PyObject
* obj2
= 0 ;
8557 (char *) "name",(char *) "type",(char *) "index", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8562 arg1
= wxString_in_helper(obj0
);
8563 if (arg1
== NULL
) SWIG_fail
;
8567 arg2
= (long) SWIG_AsLong(obj1
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 arg3
= (int) SWIG_AsInt(obj2
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8596 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8598 wxImage
*arg1
= (wxImage
*) 0 ;
8599 PyObject
* obj0
= 0 ;
8601 (char *) "self", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 Py_INCREF(Py_None
); resultobj
= Py_None
;
8621 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
*resultobj
;
8623 wxString
*arg1
= 0 ;
8624 wxString
*arg2
= 0 ;
8625 int arg3
= (int) -1 ;
8627 bool temp1
= False
;
8628 bool temp2
= False
;
8629 PyObject
* obj0
= 0 ;
8630 PyObject
* obj1
= 0 ;
8631 PyObject
* obj2
= 0 ;
8633 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8638 arg1
= wxString_in_helper(obj0
);
8639 if (arg1
== NULL
) SWIG_fail
;
8643 arg2
= wxString_in_helper(obj1
);
8644 if (arg2
== NULL
) SWIG_fail
;
8648 arg3
= (int) SWIG_AsInt(obj2
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8681 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxInputStream
*arg1
= 0 ;
8684 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8685 int arg3
= (int) -1 ;
8687 wxPyInputStream
*temp1
;
8689 PyObject
* obj0
= 0 ;
8690 PyObject
* obj1
= 0 ;
8691 PyObject
* obj2
= 0 ;
8693 (char *) "stream",(char *) "type",(char *) "index", NULL
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8698 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8699 arg1
= temp1
->m_wxis
;
8702 PyErr_Clear(); // clear the failure of the wxPyConvert above
8703 arg1
= wxPyCBInputStream_create(obj0
, False
);
8705 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8712 arg2
= (long) SWIG_AsLong(obj1
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8716 arg3
= (int) SWIG_AsInt(obj2
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8741 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
*resultobj
;
8743 wxInputStream
*arg1
= 0 ;
8744 wxString
*arg2
= 0 ;
8745 int arg3
= (int) -1 ;
8747 wxPyInputStream
*temp1
;
8749 bool temp2
= False
;
8750 PyObject
* obj0
= 0 ;
8751 PyObject
* obj1
= 0 ;
8752 PyObject
* obj2
= 0 ;
8754 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8759 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8760 arg1
= temp1
->m_wxis
;
8763 PyErr_Clear(); // clear the failure of the wxPyConvert above
8764 arg1
= wxPyCBInputStream_create(obj0
, False
);
8766 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8773 arg2
= wxString_in_helper(obj1
);
8774 if (arg2
== NULL
) SWIG_fail
;
8778 arg3
= (int) SWIG_AsInt(obj2
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8811 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 int arg1
= (int) 0 ;
8814 int arg2
= (int) 0 ;
8815 bool arg3
= (bool) True
;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8819 PyObject
* obj2
= 0 ;
8821 (char *) "width",(char *) "height",(char *) "clear", NULL
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8826 arg1
= (int) SWIG_AsInt(obj0
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8830 arg2
= (int) SWIG_AsInt(obj1
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8834 arg3
= (bool) SWIG_AsBool(obj2
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8851 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8853 wxBitmap
*arg1
= 0 ;
8855 PyObject
* obj0
= 0 ;
8857 (char *) "bitmap", NULL
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8865 PyErr_SetString(PyExc_TypeError
,"null reference");
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8882 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
;
8886 unsigned char *arg3
= (unsigned char *) 0 ;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj1
= 0 ;
8890 PyObject
* obj2
= 0 ;
8892 (char *) "width",(char *) "height",(char *) "data", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8896 arg1
= (int) SWIG_AsInt(obj0
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8898 arg2
= (int) SWIG_AsInt(obj1
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8900 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8916 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxImage
*arg1
= (wxImage
*) 0 ;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8923 PyObject
* obj2
= 0 ;
8925 (char *) "self",(char *) "width",(char *) "height", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8931 arg2
= (int) SWIG_AsInt(obj1
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8933 arg3
= (int) SWIG_AsInt(obj2
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 (arg1
)->Create(arg2
,arg3
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 Py_INCREF(Py_None
); resultobj
= Py_None
;
8949 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8951 wxImage
*arg1
= (wxImage
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8954 (char *) "self", NULL
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 Py_INCREF(Py_None
); resultobj
= Py_None
;
8974 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxImage
*arg1
= (wxImage
*) 0 ;
8979 SwigValueWrapper
< wxImage
> result
;
8980 PyObject
* obj0
= 0 ;
8981 PyObject
* obj1
= 0 ;
8982 PyObject
* obj2
= 0 ;
8984 (char *) "self",(char *) "width",(char *) "height", NULL
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8990 arg2
= (int) SWIG_AsInt(obj1
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8992 arg3
= (int) SWIG_AsInt(obj2
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (arg1
)->Scale(arg2
,arg3
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9002 wxImage
* resultptr
;
9003 resultptr
= new wxImage((wxImage
&) result
);
9004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9012 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxImage
*arg1
= (wxImage
*) 0 ;
9017 SwigValueWrapper
< wxImage
> result
;
9018 PyObject
* obj0
= 0 ;
9019 PyObject
* obj1
= 0 ;
9020 PyObject
* obj2
= 0 ;
9022 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9028 arg2
= (int) SWIG_AsInt(obj1
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9030 arg3
= (int) SWIG_AsInt(obj2
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9040 wxImage
* resultptr
;
9041 resultptr
= new wxImage((wxImage
&) result
);
9042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9050 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
;
9052 wxImage
*arg1
= (wxImage
*) 0 ;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9058 PyObject
* obj2
= 0 ;
9060 (char *) "self",(char *) "width",(char *) "height", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9066 arg2
= (int) SWIG_AsInt(obj1
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9068 arg3
= (int) SWIG_AsInt(obj2
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9074 result
= (wxImage
*) &_result_ref
;
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9087 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxImage
*arg1
= (wxImage
*) 0 ;
9092 unsigned char arg4
;
9093 unsigned char arg5
;
9094 unsigned char arg6
;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9097 PyObject
* obj2
= 0 ;
9098 PyObject
* obj3
= 0 ;
9099 PyObject
* obj4
= 0 ;
9100 PyObject
* obj5
= 0 ;
9102 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9108 arg2
= (int) SWIG_AsInt(obj1
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9110 arg3
= (int) SWIG_AsInt(obj2
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9112 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9114 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9116 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 Py_INCREF(Py_None
); resultobj
= Py_None
;
9132 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
;
9134 wxImage
*arg1
= (wxImage
*) 0 ;
9137 unsigned char result
;
9138 PyObject
* obj0
= 0 ;
9139 PyObject
* obj1
= 0 ;
9140 PyObject
* obj2
= 0 ;
9142 (char *) "self",(char *) "x",(char *) "y", NULL
9145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9148 arg2
= (int) SWIG_AsInt(obj1
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9150 arg3
= (int) SWIG_AsInt(obj2
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9166 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
;
9168 wxImage
*arg1
= (wxImage
*) 0 ;
9171 unsigned char result
;
9172 PyObject
* obj0
= 0 ;
9173 PyObject
* obj1
= 0 ;
9174 PyObject
* obj2
= 0 ;
9176 (char *) "self",(char *) "x",(char *) "y", NULL
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9182 arg2
= (int) SWIG_AsInt(obj1
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9184 arg3
= (int) SWIG_AsInt(obj2
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9200 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxImage
*arg1
= (wxImage
*) 0 ;
9205 unsigned char result
;
9206 PyObject
* obj0
= 0 ;
9207 PyObject
* obj1
= 0 ;
9208 PyObject
* obj2
= 0 ;
9210 (char *) "self",(char *) "x",(char *) "y", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9216 arg2
= (int) SWIG_AsInt(obj1
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9218 arg3
= (int) SWIG_AsInt(obj2
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9234 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxImage
*arg1
= (wxImage
*) 0 ;
9239 unsigned char arg4
;
9240 PyObject
* obj0
= 0 ;
9241 PyObject
* obj1
= 0 ;
9242 PyObject
* obj2
= 0 ;
9243 PyObject
* obj3
= 0 ;
9245 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9251 arg2
= (int) SWIG_AsInt(obj1
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9253 arg3
= (int) SWIG_AsInt(obj2
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9255 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 Py_INCREF(Py_None
); resultobj
= Py_None
;
9271 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxImage
*arg1
= (wxImage
*) 0 ;
9276 unsigned char result
;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9279 PyObject
* obj2
= 0 ;
9281 (char *) "self",(char *) "x",(char *) "y", NULL
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9287 arg2
= (int) SWIG_AsInt(obj1
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9289 arg3
= (int) SWIG_AsInt(obj2
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9305 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxImage
*arg1
= (wxImage
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9311 (char *) "self", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 result
= (bool)(arg1
)->HasAlpha();
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9333 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxImage
*arg1
= (wxImage
*) 0 ;
9336 byte
*arg2
= (byte
*) 0 ;
9337 byte
*arg3
= (byte
*) 0 ;
9338 byte
*arg4
= (byte
*) 0 ;
9339 byte arg5
= (byte
) 0 ;
9340 byte arg6
= (byte
) 0 ;
9341 byte arg7
= (byte
) 0 ;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9348 PyObject
* obj2
= 0 ;
9349 PyObject
* obj3
= 0 ;
9351 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9361 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9365 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9369 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9383 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9384 resultobj
= t_output_helper(resultobj
,o
);
9387 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9388 resultobj
= t_output_helper(resultobj
,o
);
9391 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9392 resultobj
= t_output_helper(resultobj
,o
);
9400 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxImage
*arg1
= (wxImage
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9409 PyObject
* obj1
= 0 ;
9410 PyObject
* obj2
= 0 ;
9411 PyObject
* obj3
= 0 ;
9412 PyObject
* obj4
= 0 ;
9414 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9424 PyErr_SetString(PyExc_TypeError
,"null reference");
9427 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9429 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9431 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9449 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxString
*arg1
= 0 ;
9453 bool temp1
= False
;
9454 PyObject
* obj0
= 0 ;
9456 (char *) "name", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9461 arg1
= wxString_in_helper(obj0
);
9462 if (arg1
== NULL
) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9489 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxString
*arg1
= 0 ;
9492 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9494 bool temp1
= False
;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9498 (char *) "name",(char *) "type", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9503 arg1
= wxString_in_helper(obj0
);
9504 if (arg1
== NULL
) SWIG_fail
;
9508 arg2
= (long) SWIG_AsLong(obj1
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= SWIG_FromInt((int)result
);
9533 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxImage
*arg1
= (wxImage
*) 0 ;
9536 wxString
*arg2
= 0 ;
9537 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9538 int arg4
= (int) -1 ;
9540 bool temp2
= False
;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9543 PyObject
* obj2
= 0 ;
9544 PyObject
* obj3
= 0 ;
9546 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9553 arg2
= wxString_in_helper(obj1
);
9554 if (arg2
== NULL
) SWIG_fail
;
9558 arg3
= (long) SWIG_AsLong(obj2
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9562 arg4
= (int) SWIG_AsInt(obj3
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9589 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxImage
*arg1
= (wxImage
*) 0 ;
9592 wxString
*arg2
= 0 ;
9593 wxString
*arg3
= 0 ;
9594 int arg4
= (int) -1 ;
9596 bool temp2
= False
;
9597 bool temp3
= False
;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 PyObject
* obj2
= 0 ;
9601 PyObject
* obj3
= 0 ;
9603 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 arg2
= wxString_in_helper(obj1
);
9611 if (arg2
== NULL
) SWIG_fail
;
9615 arg3
= wxString_in_helper(obj2
);
9616 if (arg3
== NULL
) SWIG_fail
;
9620 arg4
= (int) SWIG_AsInt(obj3
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9655 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxImage
*arg1
= (wxImage
*) 0 ;
9658 wxString
*arg2
= 0 ;
9661 bool temp2
= False
;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9664 PyObject
* obj2
= 0 ;
9666 (char *) "self",(char *) "name",(char *) "type", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9673 arg2
= wxString_in_helper(obj1
);
9674 if (arg2
== NULL
) SWIG_fail
;
9677 arg3
= (int) SWIG_AsInt(obj2
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9703 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
;
9705 wxImage
*arg1
= (wxImage
*) 0 ;
9706 wxString
*arg2
= 0 ;
9707 wxString
*arg3
= 0 ;
9709 bool temp2
= False
;
9710 bool temp3
= False
;
9711 PyObject
* obj0
= 0 ;
9712 PyObject
* obj1
= 0 ;
9713 PyObject
* obj2
= 0 ;
9715 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9722 arg2
= wxString_in_helper(obj1
);
9723 if (arg2
== NULL
) SWIG_fail
;
9727 arg3
= wxString_in_helper(obj2
);
9728 if (arg3
== NULL
) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9763 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 wxInputStream
*arg1
= 0 ;
9767 wxPyInputStream
*temp1
;
9769 PyObject
* obj0
= 0 ;
9771 (char *) "stream", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9776 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9777 arg1
= temp1
->m_wxis
;
9780 PyErr_Clear(); // clear the failure of the wxPyConvert above
9781 arg1
= wxPyCBInputStream_create(obj0
, False
);
9783 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (bool)wxImage::CanRead(*arg1
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9813 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
;
9815 wxImage
*arg1
= (wxImage
*) 0 ;
9816 wxInputStream
*arg2
= 0 ;
9817 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9818 int arg4
= (int) -1 ;
9820 wxPyInputStream
*temp2
;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9824 PyObject
* obj2
= 0 ;
9825 PyObject
* obj3
= 0 ;
9827 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9834 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9835 arg2
= temp2
->m_wxis
;
9838 PyErr_Clear(); // clear the failure of the wxPyConvert above
9839 arg2
= wxPyCBInputStream_create(obj1
, False
);
9841 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9848 arg3
= (long) SWIG_AsLong(obj2
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 arg4
= (int) SWIG_AsInt(obj3
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9879 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxImage
*arg1
= (wxImage
*) 0 ;
9882 wxInputStream
*arg2
= 0 ;
9883 wxString
*arg3
= 0 ;
9884 int arg4
= (int) -1 ;
9886 wxPyInputStream
*temp2
;
9888 bool temp3
= False
;
9889 PyObject
* obj0
= 0 ;
9890 PyObject
* obj1
= 0 ;
9891 PyObject
* obj2
= 0 ;
9892 PyObject
* obj3
= 0 ;
9894 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9901 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9902 arg2
= temp2
->m_wxis
;
9905 PyErr_Clear(); // clear the failure of the wxPyConvert above
9906 arg2
= wxPyCBInputStream_create(obj1
, False
);
9908 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9915 arg3
= wxString_in_helper(obj2
);
9916 if (arg3
== NULL
) SWIG_fail
;
9920 arg4
= (int) SWIG_AsInt(obj3
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9955 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
;
9957 wxImage
*arg1
= (wxImage
*) 0 ;
9959 PyObject
* obj0
= 0 ;
9961 (char *) "self", NULL
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 result
= (bool)(arg1
)->Ok();
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9983 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxImage
*arg1
= (wxImage
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9989 (char *) "self", NULL
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (int)(arg1
)->GetWidth();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= SWIG_FromInt((int)result
);
10009 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxImage
*arg1
= (wxImage
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "self", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (int)(arg1
)->GetHeight();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= SWIG_FromInt((int)result
);
10035 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxImage
*arg1
= (wxImage
*) 0 ;
10039 PyObject
* obj0
= 0 ;
10040 char *kwnames
[] = {
10041 (char *) "self", NULL
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 result
= wxImage_GetSize(arg1
);
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10055 wxSize
* resultptr
;
10056 resultptr
= new wxSize((wxSize
&) result
);
10057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10065 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10067 wxImage
*arg1
= (wxImage
*) 0 ;
10069 SwigValueWrapper
< wxImage
> result
;
10071 PyObject
* obj0
= 0 ;
10072 PyObject
* obj1
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self",(char *) "rect", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10082 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10092 wxImage
* resultptr
;
10093 resultptr
= new wxImage((wxImage
&) result
);
10094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10102 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
;
10104 wxImage
*arg1
= (wxImage
*) 0 ;
10105 SwigValueWrapper
< wxImage
> result
;
10106 PyObject
* obj0
= 0 ;
10107 char *kwnames
[] = {
10108 (char *) "self", NULL
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 result
= (arg1
)->Copy();
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10122 wxImage
* resultptr
;
10123 resultptr
= new wxImage((wxImage
&) result
);
10124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10132 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxImage
*arg1
= (wxImage
*) 0 ;
10135 wxImage
*arg2
= 0 ;
10138 PyObject
* obj0
= 0 ;
10139 PyObject
* obj1
= 0 ;
10140 PyObject
* obj2
= 0 ;
10141 PyObject
* obj3
= 0 ;
10142 char *kwnames
[] = {
10143 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10152 if (arg2
== NULL
) {
10153 PyErr_SetString(PyExc_TypeError
,"null reference");
10156 arg3
= (int) SWIG_AsInt(obj2
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10158 arg4
= (int) SWIG_AsInt(obj3
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 Py_INCREF(Py_None
); resultobj
= Py_None
;
10174 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
;
10176 wxImage
*arg1
= (wxImage
*) 0 ;
10178 PyObject
* obj0
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "self", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 result
= (PyObject
*)wxImage_GetData(arg1
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 resultobj
= result
;
10200 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxImage
*arg1
= (wxImage
*) 0 ;
10203 PyObject
*arg2
= (PyObject
*) 0 ;
10204 PyObject
* obj0
= 0 ;
10205 PyObject
* obj1
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "self",(char *) "data", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 wxImage_SetData(arg1
,arg2
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 Py_INCREF(Py_None
); resultobj
= Py_None
;
10228 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxImage
*arg1
= (wxImage
*) 0 ;
10232 PyObject
* obj0
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= result
;
10254 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxImage
*arg1
= (wxImage
*) 0 ;
10257 PyObject
*arg2
= (PyObject
*) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self",(char *) "data", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 wxImage_SetDataBuffer(arg1
,arg2
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 Py_INCREF(Py_None
); resultobj
= Py_None
;
10282 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxImage
*arg1
= (wxImage
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= result
;
10308 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxImage
*arg1
= (wxImage
*) 0 ;
10311 PyObject
*arg2
= (PyObject
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 char *kwnames
[] = {
10315 (char *) "self",(char *) "data", NULL
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 wxImage_SetAlphaData(arg1
,arg2
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 Py_INCREF(Py_None
); resultobj
= Py_None
;
10336 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxImage
*arg1
= (wxImage
*) 0 ;
10340 PyObject
* obj0
= 0 ;
10341 char *kwnames
[] = {
10342 (char *) "self", NULL
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= result
;
10362 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxImage
*arg1
= (wxImage
*) 0 ;
10365 PyObject
*arg2
= (PyObject
*) 0 ;
10366 PyObject
* obj0
= 0 ;
10367 PyObject
* obj1
= 0 ;
10368 char *kwnames
[] = {
10369 (char *) "self",(char *) "data", NULL
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 wxImage_SetAlphaBuffer(arg1
,arg2
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 Py_INCREF(Py_None
); resultobj
= Py_None
;
10390 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxImage
*arg1
= (wxImage
*) 0 ;
10393 unsigned char arg2
;
10394 unsigned char arg3
;
10395 unsigned char arg4
;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10398 PyObject
* obj2
= 0 ;
10399 PyObject
* obj3
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10407 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10409 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10411 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 Py_INCREF(Py_None
); resultobj
= Py_None
;
10427 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
;
10429 wxImage
*arg1
= (wxImage
*) 0 ;
10430 unsigned char result
;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (unsigned char)(arg1
)->GetMaskRed();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10453 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxImage
*arg1
= (wxImage
*) 0 ;
10456 unsigned char result
;
10457 PyObject
* obj0
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (unsigned char)(arg1
)->GetMaskGreen();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10479 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxImage
*arg1
= (wxImage
*) 0 ;
10482 unsigned char result
;
10483 PyObject
* obj0
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 result
= (unsigned char)(arg1
)->GetMaskBlue();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10505 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxImage
*arg1
= (wxImage
*) 0 ;
10508 bool arg2
= (bool) True
;
10509 PyObject
* obj0
= 0 ;
10510 PyObject
* obj1
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self",(char *) "mask", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10519 arg2
= (bool) SWIG_AsBool(obj1
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 (arg1
)->SetMask(arg2
);
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 Py_INCREF(Py_None
); resultobj
= Py_None
;
10536 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxImage
*arg1
= (wxImage
*) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (bool)(arg1
)->HasMask();
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10564 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxImage
*arg1
= (wxImage
*) 0 ;
10568 wxPoint
*arg3
= 0 ;
10569 bool arg4
= (bool) True
;
10570 wxPoint
*arg5
= (wxPoint
*) NULL
;
10571 SwigValueWrapper
< wxImage
> result
;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 PyObject
* obj2
= 0 ;
10576 PyObject
* obj3
= 0 ;
10577 PyObject
* obj4
= 0 ;
10578 char *kwnames
[] = {
10579 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 arg2
= (double) SWIG_AsDouble(obj1
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10589 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10592 arg4
= (bool) SWIG_AsBool(obj3
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10596 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10607 wxImage
* resultptr
;
10608 resultptr
= new wxImage((wxImage
&) result
);
10609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10617 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxImage
*arg1
= (wxImage
*) 0 ;
10620 bool arg2
= (bool) True
;
10621 SwigValueWrapper
< wxImage
> result
;
10622 PyObject
* obj0
= 0 ;
10623 PyObject
* obj1
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "self",(char *) "clockwise", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10632 arg2
= (bool) SWIG_AsBool(obj1
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= (arg1
)->Rotate90(arg2
);
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10643 wxImage
* resultptr
;
10644 resultptr
= new wxImage((wxImage
&) result
);
10645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10653 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxImage
*arg1
= (wxImage
*) 0 ;
10656 bool arg2
= (bool) True
;
10657 SwigValueWrapper
< wxImage
> result
;
10658 PyObject
* obj0
= 0 ;
10659 PyObject
* obj1
= 0 ;
10660 char *kwnames
[] = {
10661 (char *) "self",(char *) "horizontally", NULL
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10668 arg2
= (bool) SWIG_AsBool(obj1
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (arg1
)->Mirror(arg2
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10679 wxImage
* resultptr
;
10680 resultptr
= new wxImage((wxImage
&) result
);
10681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10689 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
;
10691 wxImage
*arg1
= (wxImage
*) 0 ;
10692 unsigned char arg2
;
10693 unsigned char arg3
;
10694 unsigned char arg4
;
10695 unsigned char arg5
;
10696 unsigned char arg6
;
10697 unsigned char arg7
;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 PyObject
* obj2
= 0 ;
10701 PyObject
* obj3
= 0 ;
10702 PyObject
* obj4
= 0 ;
10703 PyObject
* obj5
= 0 ;
10704 PyObject
* obj6
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10712 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10714 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10716 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10718 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10720 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10722 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 Py_INCREF(Py_None
); resultobj
= Py_None
;
10738 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 wxImage
*arg1
= (wxImage
*) 0 ;
10741 unsigned char arg2
;
10742 unsigned char arg3
;
10743 unsigned char arg4
;
10744 SwigValueWrapper
< wxImage
> result
;
10745 PyObject
* obj0
= 0 ;
10746 PyObject
* obj1
= 0 ;
10747 PyObject
* obj2
= 0 ;
10748 PyObject
* obj3
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10756 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10758 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10760 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10770 wxImage
* resultptr
;
10771 resultptr
= new wxImage((wxImage
&) result
);
10772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10780 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxImage
*arg1
= (wxImage
*) 0 ;
10783 wxString
*arg2
= 0 ;
10784 wxString
*arg3
= 0 ;
10785 bool temp2
= False
;
10786 bool temp3
= False
;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 PyObject
* obj2
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self",(char *) "name",(char *) "value", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10798 arg2
= wxString_in_helper(obj1
);
10799 if (arg2
== NULL
) SWIG_fail
;
10803 arg3
= wxString_in_helper(obj2
);
10804 if (arg3
== NULL
) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 Py_INCREF(Py_None
); resultobj
= Py_None
;
10837 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxImage
*arg1
= (wxImage
*) 0 ;
10840 wxString
*arg2
= 0 ;
10842 bool temp2
= False
;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 PyObject
* obj2
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self",(char *) "name",(char *) "value", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10854 arg2
= wxString_in_helper(obj1
);
10855 if (arg2
== NULL
) SWIG_fail
;
10858 arg3
= (int) SWIG_AsInt(obj2
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 Py_INCREF(Py_None
); resultobj
= Py_None
;
10882 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxImage
*arg1
= (wxImage
*) 0 ;
10885 wxString
*arg2
= 0 ;
10887 bool temp2
= False
;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 char *kwnames
[] = {
10891 (char *) "self",(char *) "name", NULL
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10898 arg2
= wxString_in_helper(obj1
);
10899 if (arg2
== NULL
) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10930 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxImage
*arg1
= (wxImage
*) 0 ;
10933 wxString
*arg2
= 0 ;
10935 bool temp2
= False
;
10936 PyObject
* obj0
= 0 ;
10937 PyObject
* obj1
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self",(char *) "name", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10946 arg2
= wxString_in_helper(obj1
);
10947 if (arg2
== NULL
) SWIG_fail
;
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10957 resultobj
= SWIG_FromInt((int)result
);
10972 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxImage
*arg1
= (wxImage
*) 0 ;
10975 wxString
*arg2
= 0 ;
10977 bool temp2
= False
;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "self",(char *) "name", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10988 arg2
= wxString_in_helper(obj1
);
10989 if (arg2
== NULL
) SWIG_fail
;
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11016 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxImage
*arg1
= (wxImage
*) 0 ;
11019 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11020 unsigned long result
;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self",(char *) "stopafter", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11031 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11048 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
;
11050 wxImage
*arg1
= (wxImage
*) 0 ;
11051 wxImageHistogram
*arg2
= 0 ;
11052 unsigned long result
;
11053 PyObject
* obj0
= 0 ;
11054 PyObject
* obj1
= 0 ;
11055 char *kwnames
[] = {
11056 (char *) "self",(char *) "h", NULL
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11065 if (arg2
== NULL
) {
11066 PyErr_SetString(PyExc_TypeError
,"null reference");
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11076 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11083 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
;
11085 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11086 PyObject
* obj0
= 0 ;
11087 char *kwnames
[] = {
11088 (char *) "handler", NULL
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 wxImage::AddHandler(arg1
);
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11101 Py_INCREF(Py_None
); resultobj
= Py_None
;
11108 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "handler", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 wxImage::InsertHandler(arg1
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 Py_INCREF(Py_None
); resultobj
= Py_None
;
11133 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
*resultobj
;
11135 wxString
*arg1
= 0 ;
11137 bool temp1
= False
;
11138 PyObject
* obj0
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "name", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11145 arg1
= wxString_in_helper(obj0
);
11146 if (arg1
== NULL
) SWIG_fail
;
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11173 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
;
11176 char *kwnames
[] = {
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= wxImage::GetImageExtWildcard();
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11201 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxImage
*arg1
= (wxImage
*) 0 ;
11205 PyObject
* obj0
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 result
= wxImage_ConvertToBitmap(arg1
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 wxBitmap
* resultptr
;
11222 resultptr
= new wxBitmap((wxBitmap
&) result
);
11223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11231 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxImage
*arg1
= (wxImage
*) 0 ;
11234 unsigned char arg2
;
11235 unsigned char arg3
;
11236 unsigned char arg4
;
11238 PyObject
* obj0
= 0 ;
11239 PyObject
* obj1
= 0 ;
11240 PyObject
* obj2
= 0 ;
11241 PyObject
* obj3
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11249 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11251 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11253 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11263 wxBitmap
* resultptr
;
11264 resultptr
= new wxBitmap((wxBitmap
&) result
);
11265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11273 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11276 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11278 return Py_BuildValue((char *)"");
11280 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 char *kwnames
[] = {
11286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 wxInitAllImageHandlers();
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 Py_INCREF(Py_None
); resultobj
= Py_None
;
11301 static int _wrap_NullImage_set(PyObject
*_val
) {
11302 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11307 static PyObject
*_wrap_NullImage_get() {
11310 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11315 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11316 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11321 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11326 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11328 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11335 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11336 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11341 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11346 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11348 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11355 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11356 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11361 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11366 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11368 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11375 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11376 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11381 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11386 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11388 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11395 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11396 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11401 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11406 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11408 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11415 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxBMPHandler
*result
;
11418 char *kwnames
[] = {
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 result
= (wxBMPHandler
*)new wxBMPHandler();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11437 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11440 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11442 return Py_BuildValue((char *)"");
11444 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
;
11446 wxICOHandler
*result
;
11447 char *kwnames
[] = {
11451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (wxICOHandler
*)new wxICOHandler();
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11466 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11469 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11471 return Py_BuildValue((char *)"");
11473 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxCURHandler
*result
;
11476 char *kwnames
[] = {
11480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (wxCURHandler
*)new wxCURHandler();
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11495 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11498 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11500 return Py_BuildValue((char *)"");
11502 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxANIHandler
*result
;
11505 char *kwnames
[] = {
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= (wxANIHandler
*)new wxANIHandler();
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11524 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11527 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11529 return Py_BuildValue((char *)"");
11531 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
*resultobj
;
11533 wxPNGHandler
*result
;
11534 char *kwnames
[] = {
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (wxPNGHandler
*)new wxPNGHandler();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11553 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11556 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11558 return Py_BuildValue((char *)"");
11560 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
;
11562 wxGIFHandler
*result
;
11563 char *kwnames
[] = {
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= (wxGIFHandler
*)new wxGIFHandler();
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11582 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11585 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11587 return Py_BuildValue((char *)"");
11589 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxPCXHandler
*result
;
11592 char *kwnames
[] = {
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= (wxPCXHandler
*)new wxPCXHandler();
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11611 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11614 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11616 return Py_BuildValue((char *)"");
11618 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11619 PyObject
*resultobj
;
11620 wxJPEGHandler
*result
;
11621 char *kwnames
[] = {
11625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11640 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11643 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11645 return Py_BuildValue((char *)"");
11647 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11648 PyObject
*resultobj
;
11649 wxPNMHandler
*result
;
11650 char *kwnames
[] = {
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 result
= (wxPNMHandler
*)new wxPNMHandler();
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11669 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11672 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11674 return Py_BuildValue((char *)"");
11676 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
;
11678 wxXPMHandler
*result
;
11679 char *kwnames
[] = {
11683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 result
= (wxXPMHandler
*)new wxXPMHandler();
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11698 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11701 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11703 return Py_BuildValue((char *)"");
11705 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
;
11707 wxTIFFHandler
*result
;
11708 char *kwnames
[] = {
11712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11727 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11730 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11732 return Py_BuildValue((char *)"");
11734 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
*resultobj
;
11736 wxEvtHandler
*result
;
11737 char *kwnames
[] = {
11741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 result
= (wxEvtHandler
*)new wxEvtHandler();
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= wxPyMake_wxObject(result
);
11758 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11761 wxEvtHandler
*result
;
11762 PyObject
* obj0
= 0 ;
11763 char *kwnames
[] = {
11764 (char *) "self", NULL
11767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= wxPyMake_wxObject(result
);
11786 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11789 wxEvtHandler
*result
;
11790 PyObject
* obj0
= 0 ;
11791 char *kwnames
[] = {
11792 (char *) "self", NULL
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= wxPyMake_wxObject(result
);
11814 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11815 PyObject
*resultobj
;
11816 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11817 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 char *kwnames
[] = {
11821 (char *) "self",(char *) "handler", NULL
11824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11831 (arg1
)->SetNextHandler(arg2
);
11833 wxPyEndAllowThreads(__tstate
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11836 Py_INCREF(Py_None
); resultobj
= Py_None
;
11843 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11844 PyObject
*resultobj
;
11845 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11846 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11847 PyObject
* obj0
= 0 ;
11848 PyObject
* obj1
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self",(char *) "handler", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 (arg1
)->SetPreviousHandler(arg2
);
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11865 Py_INCREF(Py_None
); resultobj
= Py_None
;
11872 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11873 PyObject
*resultobj
;
11874 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11876 PyObject
* obj0
= 0 ;
11877 char *kwnames
[] = {
11878 (char *) "self", NULL
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11900 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 PyObject
* obj1
= 0 ;
11906 char *kwnames
[] = {
11907 (char *) "self",(char *) "enabled", NULL
11910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11913 arg2
= (bool) SWIG_AsBool(obj1
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 (arg1
)->SetEvtHandlerEnabled(arg2
);
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 Py_INCREF(Py_None
); resultobj
= Py_None
;
11929 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
;
11931 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11932 wxEvent
*arg2
= 0 ;
11934 PyObject
* obj0
= 0 ;
11935 PyObject
* obj1
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self",(char *) "event", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11946 if (arg2
== NULL
) {
11947 PyErr_SetString(PyExc_TypeError
,"null reference");
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11966 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11969 wxEvent
*arg2
= 0 ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self",(char *) "event", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11982 if (arg2
== NULL
) {
11983 PyErr_SetString(PyExc_TypeError
,"null reference");
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 (arg1
)->AddPendingEvent(*arg2
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 Py_INCREF(Py_None
); resultobj
= Py_None
;
12000 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
;
12002 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 (arg1
)->ProcessPendingEvents();
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 Py_INCREF(Py_None
); resultobj
= Py_None
;
12025 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12031 PyObject
*arg5
= (PyObject
*) 0 ;
12032 PyObject
* obj0
= 0 ;
12033 PyObject
* obj1
= 0 ;
12034 PyObject
* obj2
= 0 ;
12035 PyObject
* obj3
= 0 ;
12036 PyObject
* obj4
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12044 arg2
= (int) SWIG_AsInt(obj1
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12046 arg3
= (int) SWIG_AsInt(obj2
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12048 arg4
= (int) SWIG_AsInt(obj3
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12058 Py_INCREF(Py_None
); resultobj
= Py_None
;
12065 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12069 int arg3
= (int) -1 ;
12070 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12072 PyObject
* obj0
= 0 ;
12073 PyObject
* obj1
= 0 ;
12074 PyObject
* obj2
= 0 ;
12075 PyObject
* obj3
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12083 arg2
= (int) SWIG_AsInt(obj1
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 arg3
= (int) SWIG_AsInt(obj2
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12090 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12109 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12112 PyObject
*arg2
= (PyObject
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 PyObject
* obj1
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "self",(char *) "_self", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 wxEvtHandler__setOORInfo(arg1
,arg2
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 Py_INCREF(Py_None
); resultobj
= Py_None
;
12137 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12140 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12142 return Py_BuildValue((char *)"");
12144 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
;
12146 wxEventType result
;
12147 char *kwnames
[] = {
12151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 result
= (wxEventType
)wxNewEventType();
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_FromInt((int)result
);
12166 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12168 wxEvent
*arg1
= (wxEvent
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 Py_INCREF(Py_None
); resultobj
= Py_None
;
12191 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxEvent
*arg1
= (wxEvent
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 PyObject
* obj1
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self",(char *) "typ", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12204 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 (arg1
)->SetEventType(arg2
);
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 Py_INCREF(Py_None
); resultobj
= Py_None
;
12220 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxEvent
*arg1
= (wxEvent
*) 0 ;
12223 wxEventType result
;
12224 PyObject
* obj0
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "self", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_FromInt((int)result
);
12246 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxEvent
*arg1
= (wxEvent
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 char *kwnames
[] = {
12252 (char *) "self", NULL
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= wxPyMake_wxObject(result
);
12274 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxEvent
*arg1
= (wxEvent
*) 0 ;
12277 wxObject
*arg2
= (wxObject
*) 0 ;
12278 PyObject
* obj0
= 0 ;
12279 PyObject
* obj1
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self",(char *) "obj", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 (arg1
)->SetEventObject(arg2
);
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 Py_INCREF(Py_None
); resultobj
= Py_None
;
12303 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxEvent
*arg1
= (wxEvent
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_FromLong((long)result
);
12329 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxEvent
*arg1
= (wxEvent
*) 0 ;
12332 long arg2
= (long) 0 ;
12333 PyObject
* obj0
= 0 ;
12334 PyObject
* obj1
= 0 ;
12335 char *kwnames
[] = {
12336 (char *) "self",(char *) "ts", NULL
12339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12343 arg2
= (long) SWIG_AsLong(obj1
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 (arg1
)->SetTimestamp(arg2
);
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 Py_INCREF(Py_None
); resultobj
= Py_None
;
12360 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxEvent
*arg1
= (wxEvent
*) 0 ;
12364 PyObject
* obj0
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 result
= (int)((wxEvent
const *)arg1
)->GetId();
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= SWIG_FromInt((int)result
);
12386 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxEvent
*arg1
= (wxEvent
*) 0 ;
12390 PyObject
* obj0
= 0 ;
12391 PyObject
* obj1
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "self",(char *) "Id", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12399 arg2
= (int) SWIG_AsInt(obj1
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 (arg1
)->SetId(arg2
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 Py_INCREF(Py_None
); resultobj
= Py_None
;
12415 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxEvent
*arg1
= (wxEvent
*) 0 ;
12419 PyObject
* obj0
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12443 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
;
12445 wxEvent
*arg1
= (wxEvent
*) 0 ;
12446 bool arg2
= (bool) True
;
12447 PyObject
* obj0
= 0 ;
12448 PyObject
* obj1
= 0 ;
12449 char *kwnames
[] = {
12450 (char *) "self",(char *) "skip", NULL
12453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12457 arg2
= (bool) SWIG_AsBool(obj1
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 (arg1
)->Skip(arg2
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 Py_INCREF(Py_None
); resultobj
= Py_None
;
12474 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxEvent
*arg1
= (wxEvent
*) 0 ;
12478 PyObject
* obj0
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12502 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxEvent
*arg1
= (wxEvent
*) 0 ;
12506 PyObject
* obj0
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "self", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12530 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
;
12532 wxEvent
*arg1
= (wxEvent
*) 0 ;
12534 PyObject
* obj0
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "self", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 result
= (int)(arg1
)->StopPropagation();
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= SWIG_FromInt((int)result
);
12556 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxEvent
*arg1
= (wxEvent
*) 0 ;
12560 PyObject
* obj0
= 0 ;
12561 PyObject
* obj1
= 0 ;
12562 char *kwnames
[] = {
12563 (char *) "self",(char *) "propagationLevel", NULL
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12569 arg2
= (int) SWIG_AsInt(obj1
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 (arg1
)->ResumePropagation(arg2
);
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 Py_INCREF(Py_None
); resultobj
= Py_None
;
12585 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxEvent
*arg1
= (wxEvent
*) 0 ;
12589 PyObject
* obj0
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (wxEvent
*)(arg1
)->Clone();
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12611 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12614 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12616 return Py_BuildValue((char *)"");
12618 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxEvent
*arg1
= 0 ;
12621 wxPropagationDisabler
*result
;
12622 PyObject
* obj0
= 0 ;
12623 char *kwnames
[] = {
12624 (char *) "event", NULL
12627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12631 if (arg1
== NULL
) {
12632 PyErr_SetString(PyExc_TypeError
,"null reference");
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12649 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12650 PyObject
*resultobj
;
12651 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12652 PyObject
* obj0
= 0 ;
12653 char *kwnames
[] = {
12654 (char *) "self", NULL
12657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 Py_INCREF(Py_None
); resultobj
= Py_None
;
12674 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12677 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12679 return Py_BuildValue((char *)"");
12681 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxEvent
*arg1
= 0 ;
12684 wxPropagateOnce
*result
;
12685 PyObject
* obj0
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "event", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12694 if (arg1
== NULL
) {
12695 PyErr_SetString(PyExc_TypeError
,"null reference");
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12712 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12715 PyObject
* obj0
= 0 ;
12716 char *kwnames
[] = {
12717 (char *) "self", NULL
12720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 Py_INCREF(Py_None
); resultobj
= Py_None
;
12737 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12740 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12742 return Py_BuildValue((char *)"");
12744 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
;
12746 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12747 int arg2
= (int) 0 ;
12748 wxCommandEvent
*result
;
12749 PyObject
* obj0
= 0 ;
12750 PyObject
* obj1
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "commandType",(char *) "winid", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12757 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12761 arg2
= (int) SWIG_AsInt(obj1
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12778 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
;
12780 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12782 PyObject
* obj0
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= SWIG_FromInt((int)result
);
12804 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12807 wxString
*arg2
= 0 ;
12808 bool temp2
= False
;
12809 PyObject
* obj0
= 0 ;
12810 PyObject
* obj1
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self",(char *) "s", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12819 arg2
= wxString_in_helper(obj1
);
12820 if (arg2
== NULL
) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 (arg1
)->SetString((wxString
const &)*arg2
);
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 Py_INCREF(Py_None
); resultobj
= Py_None
;
12845 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
;
12847 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12849 PyObject
* obj0
= 0 ;
12850 char *kwnames
[] = {
12851 (char *) "self", NULL
12854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12877 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
;
12879 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12881 PyObject
* obj0
= 0 ;
12882 char *kwnames
[] = {
12883 (char *) "self", NULL
12886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12905 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
;
12907 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12909 PyObject
* obj0
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "self", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12933 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 PyObject
* obj1
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self",(char *) "extraLong", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12946 arg2
= (long) SWIG_AsLong(obj1
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 (arg1
)->SetExtraLong(arg2
);
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12955 Py_INCREF(Py_None
); resultobj
= Py_None
;
12962 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
;
12964 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12966 PyObject
* obj0
= 0 ;
12967 char *kwnames
[] = {
12968 (char *) "self", NULL
12971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_FromLong((long)result
);
12988 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
;
12990 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12992 PyObject
* obj0
= 0 ;
12993 PyObject
* obj1
= 0 ;
12994 char *kwnames
[] = {
12995 (char *) "self",(char *) "i", NULL
12998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13001 arg2
= (int) SWIG_AsInt(obj1
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 (arg1
)->SetInt(arg2
);
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13010 Py_INCREF(Py_None
); resultobj
= Py_None
;
13017 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= SWIG_FromLong((long)result
);
13043 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13069 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13072 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13074 return Py_BuildValue((char *)"");
13076 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13079 int arg2
= (int) 0 ;
13080 wxNotifyEvent
*result
;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "commandType",(char *) "winid", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13089 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 arg2
= (int) SWIG_AsInt(obj1
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13110 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13113 PyObject
* obj0
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 Py_INCREF(Py_None
); resultobj
= Py_None
;
13135 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
;
13137 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13138 PyObject
* obj0
= 0 ;
13139 char *kwnames
[] = {
13140 (char *) "self", NULL
13143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 Py_INCREF(Py_None
); resultobj
= Py_None
;
13160 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13161 PyObject
*resultobj
;
13162 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13164 PyObject
* obj0
= 0 ;
13165 char *kwnames
[] = {
13166 (char *) "self", NULL
13169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 result
= (bool)(arg1
)->IsAllowed();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13188 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13191 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13193 return Py_BuildValue((char *)"");
13195 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13198 int arg2
= (int) 0 ;
13199 int arg3
= (int) 0 ;
13200 int arg4
= (int) 0 ;
13201 wxScrollEvent
*result
;
13202 PyObject
* obj0
= 0 ;
13203 PyObject
* obj1
= 0 ;
13204 PyObject
* obj2
= 0 ;
13205 PyObject
* obj3
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13212 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13216 arg2
= (int) SWIG_AsInt(obj1
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13220 arg3
= (int) SWIG_AsInt(obj2
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13224 arg4
= (int) SWIG_AsInt(obj3
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13241 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13245 PyObject
* obj0
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 resultobj
= SWIG_FromInt((int)result
);
13267 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13271 PyObject
* obj0
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= SWIG_FromInt((int)result
);
13293 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
;
13295 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13297 PyObject
* obj0
= 0 ;
13298 PyObject
* obj1
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self",(char *) "orient", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13306 arg2
= (int) SWIG_AsInt(obj1
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 (arg1
)->SetOrientation(arg2
);
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 Py_INCREF(Py_None
); resultobj
= Py_None
;
13322 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 PyObject
* obj1
= 0 ;
13328 char *kwnames
[] = {
13329 (char *) "self",(char *) "pos", NULL
13332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13335 arg2
= (int) SWIG_AsInt(obj1
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 (arg1
)->SetPosition(arg2
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 Py_INCREF(Py_None
); resultobj
= Py_None
;
13351 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13354 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13356 return Py_BuildValue((char *)"");
13358 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13361 int arg2
= (int) 0 ;
13362 int arg3
= (int) 0 ;
13363 wxScrollWinEvent
*result
;
13364 PyObject
* obj0
= 0 ;
13365 PyObject
* obj1
= 0 ;
13366 PyObject
* obj2
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13373 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13377 arg2
= (int) SWIG_AsInt(obj1
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13381 arg3
= (int) SWIG_AsInt(obj2
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13398 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13402 PyObject
* obj0
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "self", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= SWIG_FromInt((int)result
);
13424 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13425 PyObject
*resultobj
;
13426 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13428 PyObject
* obj0
= 0 ;
13429 char *kwnames
[] = {
13430 (char *) "self", NULL
13433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= SWIG_FromInt((int)result
);
13450 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
;
13452 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13454 PyObject
* obj0
= 0 ;
13455 PyObject
* obj1
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self",(char *) "orient", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13463 arg2
= (int) SWIG_AsInt(obj1
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 (arg1
)->SetOrientation(arg2
);
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13472 Py_INCREF(Py_None
); resultobj
= Py_None
;
13479 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
*resultobj
;
13481 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13483 PyObject
* obj0
= 0 ;
13484 PyObject
* obj1
= 0 ;
13485 char *kwnames
[] = {
13486 (char *) "self",(char *) "pos", NULL
13489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13492 arg2
= (int) SWIG_AsInt(obj1
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 (arg1
)->SetPosition(arg2
);
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 Py_INCREF(Py_None
); resultobj
= Py_None
;
13508 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13511 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13513 return Py_BuildValue((char *)"");
13515 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
;
13517 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13518 wxMouseEvent
*result
;
13519 PyObject
* obj0
= 0 ;
13520 char *kwnames
[] = {
13521 (char *) "mouseType", NULL
13524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13526 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= wxPyMake_wxObject(result
);
13545 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13546 PyObject
*resultobj
;
13547 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13549 PyObject
* obj0
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "self", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13573 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
;
13575 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13576 int arg2
= (int) wxMOUSE_BTN_ANY
;
13578 PyObject
* obj0
= 0 ;
13579 PyObject
* obj1
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self",(char *) "but", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13588 arg2
= (int) SWIG_AsInt(obj1
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13607 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
;
13609 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13610 int arg2
= (int) wxMOUSE_BTN_ANY
;
13612 PyObject
* obj0
= 0 ;
13613 PyObject
* obj1
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self",(char *) "but", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13622 arg2
= (int) SWIG_AsInt(obj1
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13641 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13644 int arg2
= (int) wxMOUSE_BTN_ANY
;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 char *kwnames
[] = {
13649 (char *) "self",(char *) "but", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13656 arg2
= (int) SWIG_AsInt(obj1
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13675 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 PyObject
* obj1
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self",(char *) "but", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13689 arg2
= (int) SWIG_AsInt(obj1
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13707 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "self",(char *) "but", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13721 arg2
= (int) SWIG_AsInt(obj1
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13739 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13743 PyObject
* obj0
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "self", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_FromInt((int)result
);
13765 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
;
13767 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13769 PyObject
* obj0
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13793 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13797 PyObject
* obj0
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13821 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
;
13823 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13825 PyObject
* obj0
= 0 ;
13826 char *kwnames
[] = {
13827 (char *) "self", NULL
13830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13849 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13853 PyObject
* obj0
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13877 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13905 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13909 PyObject
* obj0
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "self", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13933 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13961 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
;
13963 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 char *kwnames
[] = {
13967 (char *) "self", NULL
13970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13989 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13990 PyObject
*resultobj
;
13991 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13993 PyObject
* obj0
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14017 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
;
14019 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14021 PyObject
* obj0
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14045 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14049 PyObject
* obj0
= 0 ;
14050 char *kwnames
[] = {
14051 (char *) "self", NULL
14054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14073 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
;
14075 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14077 PyObject
* obj0
= 0 ;
14078 char *kwnames
[] = {
14079 (char *) "self", NULL
14082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14101 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14102 PyObject
*resultobj
;
14103 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14105 PyObject
* obj0
= 0 ;
14106 char *kwnames
[] = {
14107 (char *) "self", NULL
14110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14129 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14133 PyObject
* obj0
= 0 ;
14134 char *kwnames
[] = {
14135 (char *) "self", NULL
14138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (bool)(arg1
)->LeftIsDown();
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14157 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14161 PyObject
* obj0
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (bool)(arg1
)->MiddleIsDown();
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14185 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14187 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14189 PyObject
* obj0
= 0 ;
14190 char *kwnames
[] = {
14191 (char *) "self", NULL
14194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (bool)(arg1
)->RightIsDown();
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14213 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14217 PyObject
* obj0
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14241 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14245 PyObject
* obj0
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14269 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14297 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14301 PyObject
* obj0
= 0 ;
14302 char *kwnames
[] = {
14303 (char *) "self", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14325 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
;
14327 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 char *kwnames
[] = {
14331 (char *) "self", NULL
14334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (arg1
)->GetPosition();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14345 wxPoint
* resultptr
;
14346 resultptr
= new wxPoint((wxPoint
&) result
);
14347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14355 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
;
14357 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14358 long *arg2
= (long *) 0 ;
14359 long *arg3
= (long *) 0 ;
14362 PyObject
* obj0
= 0 ;
14363 char *kwnames
[] = {
14364 (char *) "self", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 (arg1
)->GetPosition(arg2
,arg3
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 Py_INCREF(Py_None
); resultobj
= Py_None
;
14381 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14382 resultobj
= t_output_helper(resultobj
,o
);
14385 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14386 resultobj
= t_output_helper(resultobj
,o
);
14394 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14399 PyObject
* obj0
= 0 ;
14400 PyObject
* obj1
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "self",(char *) "dc", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14411 if (arg2
== NULL
) {
14412 PyErr_SetString(PyExc_TypeError
,"null reference");
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14423 wxPoint
* resultptr
;
14424 resultptr
= new wxPoint((wxPoint
&) result
);
14425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14433 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= SWIG_FromInt((int)result
);
14459 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "self", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= SWIG_FromInt((int)result
);
14485 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14486 PyObject
*resultobj
;
14487 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14489 PyObject
* obj0
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "self", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14499 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= SWIG_FromInt((int)result
);
14511 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
;
14513 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14515 PyObject
* obj0
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "self", NULL
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= SWIG_FromInt((int)result
);
14537 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14541 PyObject
* obj0
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "self", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14556 resultobj
= SWIG_FromInt((int)result
);
14563 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14567 PyObject
* obj0
= 0 ;
14568 char *kwnames
[] = {
14569 (char *) "self", NULL
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14591 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14595 PyObject
* obj0
= 0 ;
14596 PyObject
* obj1
= 0 ;
14597 char *kwnames
[] = {
14598 (char *) "self",(char *) "m_x", NULL
14601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14604 arg2
= (int) SWIG_AsInt(obj1
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14606 if (arg1
) (arg1
)->m_x
= arg2
;
14608 Py_INCREF(Py_None
); resultobj
= Py_None
;
14615 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14619 PyObject
* obj0
= 0 ;
14620 char *kwnames
[] = {
14621 (char *) "self", NULL
14624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14627 result
= (int) ((arg1
)->m_x
);
14629 resultobj
= SWIG_FromInt((int)result
);
14636 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 PyObject
* obj1
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self",(char *) "m_y", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14649 arg2
= (int) SWIG_AsInt(obj1
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14651 if (arg1
) (arg1
)->m_y
= arg2
;
14653 Py_INCREF(Py_None
); resultobj
= Py_None
;
14660 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14664 PyObject
* obj0
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "self", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14672 result
= (int) ((arg1
)->m_y
);
14674 resultobj
= SWIG_FromInt((int)result
);
14681 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14682 PyObject
*resultobj
;
14683 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14685 PyObject
* obj0
= 0 ;
14686 PyObject
* obj1
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "self",(char *) "m_leftDown", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14694 arg2
= (bool) SWIG_AsBool(obj1
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14696 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14698 Py_INCREF(Py_None
); resultobj
= Py_None
;
14705 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14709 PyObject
* obj0
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "self", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14717 result
= (bool) ((arg1
)->m_leftDown
);
14720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14728 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14732 PyObject
* obj0
= 0 ;
14733 PyObject
* obj1
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self",(char *) "m_middleDown", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14741 arg2
= (bool) SWIG_AsBool(obj1
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14743 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14745 Py_INCREF(Py_None
); resultobj
= Py_None
;
14752 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 char *kwnames
[] = {
14758 (char *) "self", NULL
14761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14764 result
= (bool) ((arg1
)->m_middleDown
);
14767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14775 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14779 PyObject
* obj0
= 0 ;
14780 PyObject
* obj1
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self",(char *) "m_rightDown", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14788 arg2
= (bool) SWIG_AsBool(obj1
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14790 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14792 Py_INCREF(Py_None
); resultobj
= Py_None
;
14799 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
;
14801 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14803 PyObject
* obj0
= 0 ;
14804 char *kwnames
[] = {
14805 (char *) "self", NULL
14808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14811 result
= (bool) ((arg1
)->m_rightDown
);
14814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14822 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
;
14824 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14826 PyObject
* obj0
= 0 ;
14827 PyObject
* obj1
= 0 ;
14828 char *kwnames
[] = {
14829 (char *) "self",(char *) "m_controlDown", NULL
14832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14835 arg2
= (bool) SWIG_AsBool(obj1
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14837 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14839 Py_INCREF(Py_None
); resultobj
= Py_None
;
14846 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14847 PyObject
*resultobj
;
14848 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 char *kwnames
[] = {
14852 (char *) "self", NULL
14855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14858 result
= (bool) ((arg1
)->m_controlDown
);
14861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14869 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14873 PyObject
* obj0
= 0 ;
14874 PyObject
* obj1
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self",(char *) "m_shiftDown", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14882 arg2
= (bool) SWIG_AsBool(obj1
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14884 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14886 Py_INCREF(Py_None
); resultobj
= Py_None
;
14893 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 char *kwnames
[] = {
14899 (char *) "self", NULL
14902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14905 result
= (bool) ((arg1
)->m_shiftDown
);
14908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14916 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
;
14918 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self",(char *) "m_altDown", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14929 arg2
= (bool) SWIG_AsBool(obj1
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14931 if (arg1
) (arg1
)->m_altDown
= arg2
;
14933 Py_INCREF(Py_None
); resultobj
= Py_None
;
14940 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
;
14942 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14944 PyObject
* obj0
= 0 ;
14945 char *kwnames
[] = {
14946 (char *) "self", NULL
14949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14952 result
= (bool) ((arg1
)->m_altDown
);
14955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14963 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
;
14965 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14967 PyObject
* obj0
= 0 ;
14968 PyObject
* obj1
= 0 ;
14969 char *kwnames
[] = {
14970 (char *) "self",(char *) "m_metaDown", NULL
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14976 arg2
= (bool) SWIG_AsBool(obj1
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14978 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14980 Py_INCREF(Py_None
); resultobj
= Py_None
;
14987 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14991 PyObject
* obj0
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14999 result
= (bool) ((arg1
)->m_metaDown
);
15002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15010 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 PyObject
* obj1
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self",(char *) "m_wheelRotation", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15023 arg2
= (int) SWIG_AsInt(obj1
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15025 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15027 Py_INCREF(Py_None
); resultobj
= Py_None
;
15034 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
;
15036 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15038 PyObject
* obj0
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "self", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15046 result
= (int) ((arg1
)->m_wheelRotation
);
15048 resultobj
= SWIG_FromInt((int)result
);
15055 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15059 PyObject
* obj0
= 0 ;
15060 PyObject
* obj1
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self",(char *) "m_wheelDelta", NULL
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15068 arg2
= (int) SWIG_AsInt(obj1
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15070 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15072 Py_INCREF(Py_None
); resultobj
= Py_None
;
15079 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15083 PyObject
* obj0
= 0 ;
15084 char *kwnames
[] = {
15085 (char *) "self", NULL
15088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15091 result
= (int) ((arg1
)->m_wheelDelta
);
15093 resultobj
= SWIG_FromInt((int)result
);
15100 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 PyObject
* obj1
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self",(char *) "m_linesPerAction", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15113 arg2
= (int) SWIG_AsInt(obj1
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15115 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15117 Py_INCREF(Py_None
); resultobj
= Py_None
;
15124 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15128 PyObject
* obj0
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "self", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15136 result
= (int) ((arg1
)->m_linesPerAction
);
15138 resultobj
= SWIG_FromInt((int)result
);
15145 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15148 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15150 return Py_BuildValue((char *)"");
15152 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 int arg1
= (int) 0 ;
15155 int arg2
= (int) 0 ;
15156 wxSetCursorEvent
*result
;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "x",(char *) "y", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15165 arg1
= (int) SWIG_AsInt(obj0
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15169 arg2
= (int) SWIG_AsInt(obj1
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15186 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
;
15188 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15190 PyObject
* obj0
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= SWIG_FromInt((int)result
);
15212 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15213 PyObject
*resultobj
;
15214 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15216 PyObject
* obj0
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= SWIG_FromInt((int)result
);
15238 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15241 wxCursor
*arg2
= 0 ;
15242 PyObject
* obj0
= 0 ;
15243 PyObject
* obj1
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "self",(char *) "cursor", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15254 if (arg2
== NULL
) {
15255 PyErr_SetString(PyExc_TypeError
,"null reference");
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 Py_INCREF(Py_None
); resultobj
= Py_None
;
15272 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15288 result
= (wxCursor
*) &_result_ref
;
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15295 wxCursor
* resultptr
= new wxCursor(*result
);
15296 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15304 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
;
15306 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15308 PyObject
* obj0
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15332 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15335 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15337 return Py_BuildValue((char *)"");
15339 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15342 wxKeyEvent
*result
;
15343 PyObject
* obj0
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "keyType", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15350 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15367 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
;
15369 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15371 PyObject
* obj0
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15395 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15396 PyObject
*resultobj
;
15397 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15399 PyObject
* obj0
= 0 ;
15400 char *kwnames
[] = {
15401 (char *) "self", NULL
15404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15423 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15427 PyObject
* obj0
= 0 ;
15428 char *kwnames
[] = {
15429 (char *) "self", NULL
15432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15451 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
;
15453 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15455 PyObject
* obj0
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15479 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15480 PyObject
*resultobj
;
15481 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15483 PyObject
* obj0
= 0 ;
15484 char *kwnames
[] = {
15485 (char *) "self", NULL
15488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15507 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
;
15509 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "self", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 resultobj
= SWIG_FromInt((int)result
);
15533 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15535 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15537 PyObject
* obj0
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "self", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= SWIG_FromInt((int)result
);
15559 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15562 unsigned int result
;
15563 PyObject
* obj0
= 0 ;
15564 char *kwnames
[] = {
15565 (char *) "self", NULL
15568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15573 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15578 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15585 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
;
15587 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15588 unsigned int result
;
15589 PyObject
* obj0
= 0 ;
15590 char *kwnames
[] = {
15591 (char *) "self", NULL
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15604 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15611 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
;
15613 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15615 PyObject
* obj0
= 0 ;
15616 char *kwnames
[] = {
15617 (char *) "self", NULL
15620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 result
= (arg1
)->GetPosition();
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15631 wxPoint
* resultptr
;
15632 resultptr
= new wxPoint((wxPoint
&) result
);
15633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15641 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15642 PyObject
*resultobj
;
15643 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15644 long *arg2
= (long *) 0 ;
15645 long *arg3
= (long *) 0 ;
15648 PyObject
* obj0
= 0 ;
15649 char *kwnames
[] = {
15650 (char *) "self", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15660 (arg1
)->GetPosition(arg2
,arg3
);
15662 wxPyEndAllowThreads(__tstate
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15665 Py_INCREF(Py_None
); resultobj
= Py_None
;
15667 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15668 resultobj
= t_output_helper(resultobj
,o
);
15671 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15672 resultobj
= t_output_helper(resultobj
,o
);
15680 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
;
15682 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15684 PyObject
* obj0
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_FromInt((int)result
);
15706 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 char *kwnames
[] = {
15712 (char *) "self", NULL
15715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= SWIG_FromInt((int)result
);
15732 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15736 PyObject
* obj0
= 0 ;
15737 PyObject
* obj1
= 0 ;
15738 char *kwnames
[] = {
15739 (char *) "self",(char *) "m_x", NULL
15742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15745 arg2
= (int) SWIG_AsInt(obj1
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15747 if (arg1
) (arg1
)->m_x
= arg2
;
15749 Py_INCREF(Py_None
); resultobj
= Py_None
;
15756 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15760 PyObject
* obj0
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15768 result
= (int) ((arg1
)->m_x
);
15770 resultobj
= SWIG_FromInt((int)result
);
15777 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
;
15779 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15781 PyObject
* obj0
= 0 ;
15782 PyObject
* obj1
= 0 ;
15783 char *kwnames
[] = {
15784 (char *) "self",(char *) "m_y", NULL
15787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15790 arg2
= (int) SWIG_AsInt(obj1
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15792 if (arg1
) (arg1
)->m_y
= arg2
;
15794 Py_INCREF(Py_None
); resultobj
= Py_None
;
15801 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15803 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 char *kwnames
[] = {
15807 (char *) "self", NULL
15810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15813 result
= (int) ((arg1
)->m_y
);
15815 resultobj
= SWIG_FromInt((int)result
);
15822 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15826 PyObject
* obj0
= 0 ;
15827 PyObject
* obj1
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "self",(char *) "m_keyCode", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15835 arg2
= (long) SWIG_AsLong(obj1
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15837 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15839 Py_INCREF(Py_None
); resultobj
= Py_None
;
15846 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15858 result
= (long) ((arg1
)->m_keyCode
);
15860 resultobj
= SWIG_FromLong((long)result
);
15867 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 PyObject
* obj1
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self",(char *) "m_controlDown", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 arg2
= (bool) SWIG_AsBool(obj1
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15882 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15884 Py_INCREF(Py_None
); resultobj
= Py_None
;
15891 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15903 result
= (bool) ((arg1
)->m_controlDown
);
15906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15914 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15918 PyObject
* obj0
= 0 ;
15919 PyObject
* obj1
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self",(char *) "m_shiftDown", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15927 arg2
= (bool) SWIG_AsBool(obj1
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15929 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15950 result
= (bool) ((arg1
)->m_shiftDown
);
15953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15961 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
;
15963 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15965 PyObject
* obj0
= 0 ;
15966 PyObject
* obj1
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self",(char *) "m_altDown", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15974 arg2
= (bool) SWIG_AsBool(obj1
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15976 if (arg1
) (arg1
)->m_altDown
= arg2
;
15978 Py_INCREF(Py_None
); resultobj
= Py_None
;
15985 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15986 PyObject
*resultobj
;
15987 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15989 PyObject
* obj0
= 0 ;
15990 char *kwnames
[] = {
15991 (char *) "self", NULL
15994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15997 result
= (bool) ((arg1
)->m_altDown
);
16000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16008 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
;
16010 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16012 PyObject
* obj0
= 0 ;
16013 PyObject
* obj1
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self",(char *) "m_metaDown", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16021 arg2
= (bool) SWIG_AsBool(obj1
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16023 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16025 Py_INCREF(Py_None
); resultobj
= Py_None
;
16032 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16036 PyObject
* obj0
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16044 result
= (bool) ((arg1
)->m_metaDown
);
16047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16055 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16059 PyObject
* obj0
= 0 ;
16060 PyObject
* obj1
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self",(char *) "m_scanCode", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16068 arg2
= (bool) SWIG_AsBool(obj1
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16070 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16072 Py_INCREF(Py_None
); resultobj
= Py_None
;
16079 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16083 PyObject
* obj0
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16091 result
= (bool) ((arg1
)->m_scanCode
);
16094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16102 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
;
16104 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16105 unsigned int arg2
;
16106 PyObject
* obj0
= 0 ;
16107 PyObject
* obj1
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self",(char *) "m_rawCode", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16115 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16117 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16119 Py_INCREF(Py_None
); resultobj
= Py_None
;
16126 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16129 unsigned int result
;
16130 PyObject
* obj0
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16138 result
= (unsigned int) ((arg1
)->m_rawCode
);
16140 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16147 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16150 unsigned int arg2
;
16151 PyObject
* obj0
= 0 ;
16152 PyObject
* obj1
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self",(char *) "m_rawFlags", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16160 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16162 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16164 Py_INCREF(Py_None
); resultobj
= Py_None
;
16171 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16174 unsigned int result
;
16175 PyObject
* obj0
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16183 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16185 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16192 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16195 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16197 return Py_BuildValue((char *)"");
16199 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16202 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16203 int arg2
= (int) 0 ;
16204 wxSizeEvent
*result
;
16206 PyObject
* obj0
= 0 ;
16207 PyObject
* obj1
= 0 ;
16208 char *kwnames
[] = {
16209 (char *) "sz",(char *) "winid", NULL
16212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16216 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16220 arg2
= (int) SWIG_AsInt(obj1
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16237 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
;
16239 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16241 PyObject
* obj0
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16257 wxSize
* resultptr
;
16258 resultptr
= new wxSize((wxSize
&) result
);
16259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16267 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16287 wxRect
* resultptr
;
16288 resultptr
= new wxRect((wxRect
&) result
);
16289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16297 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
;
16299 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16302 PyObject
* obj0
= 0 ;
16303 PyObject
* obj1
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self",(char *) "rect", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16312 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 (arg1
)->SetRect(arg2
);
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 Py_INCREF(Py_None
); resultobj
= Py_None
;
16328 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 PyObject
* obj1
= 0 ;
16335 char *kwnames
[] = {
16336 (char *) "self",(char *) "size", NULL
16339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16342 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16343 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 wxSizeEvent_SetSize(arg1
,arg2
);
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16352 Py_INCREF(Py_None
); resultobj
= Py_None
;
16359 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16362 wxSize
*arg2
= (wxSize
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 PyObject
* obj1
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self",(char *) "m_size", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16374 if (arg1
) (arg1
)->m_size
= *arg2
;
16376 Py_INCREF(Py_None
); resultobj
= Py_None
;
16383 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16387 PyObject
* obj0
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "self", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16395 result
= (wxSize
*)& ((arg1
)->m_size
);
16397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16404 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16407 wxRect
*arg2
= (wxRect
*) 0 ;
16408 PyObject
* obj0
= 0 ;
16409 PyObject
* obj1
= 0 ;
16410 char *kwnames
[] = {
16411 (char *) "self",(char *) "m_rect", NULL
16414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16419 if (arg1
) (arg1
)->m_rect
= *arg2
;
16421 Py_INCREF(Py_None
); resultobj
= Py_None
;
16428 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16432 PyObject
* obj0
= 0 ;
16433 char *kwnames
[] = {
16434 (char *) "self", NULL
16437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16440 result
= (wxRect
*)& ((arg1
)->m_rect
);
16442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16449 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16452 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16454 return Py_BuildValue((char *)"");
16456 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16459 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16460 int arg2
= (int) 0 ;
16461 wxMoveEvent
*result
;
16463 PyObject
* obj0
= 0 ;
16464 PyObject
* obj1
= 0 ;
16465 char *kwnames
[] = {
16466 (char *) "pos",(char *) "winid", NULL
16469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16473 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16477 arg2
= (int) SWIG_AsInt(obj1
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16494 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16514 wxPoint
* resultptr
;
16515 resultptr
= new wxPoint((wxPoint
&) result
);
16516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16524 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16528 PyObject
* obj0
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16544 wxRect
* resultptr
;
16545 resultptr
= new wxRect((wxRect
&) result
);
16546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16554 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16555 PyObject
*resultobj
;
16556 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self",(char *) "rect", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16568 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16569 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 (arg1
)->SetRect(arg2
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 Py_INCREF(Py_None
); resultobj
= Py_None
;
16585 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 PyObject
* obj1
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self",(char *) "pos", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16599 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16600 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 wxMoveEvent_SetPosition(arg1
,arg2
);
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 Py_INCREF(Py_None
); resultobj
= Py_None
;
16616 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16619 wxPoint
*arg2
= (wxPoint
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 PyObject
* obj1
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self",(char *) "m_pos", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16631 if (arg1
) (arg1
)->m_pos
= *arg2
;
16633 Py_INCREF(Py_None
); resultobj
= Py_None
;
16640 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16644 PyObject
* obj0
= 0 ;
16645 char *kwnames
[] = {
16646 (char *) "self", NULL
16649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16652 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16661 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16663 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16664 wxRect
*arg2
= (wxRect
*) 0 ;
16665 PyObject
* obj0
= 0 ;
16666 PyObject
* obj1
= 0 ;
16667 char *kwnames
[] = {
16668 (char *) "self",(char *) "m_rect", NULL
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16676 if (arg1
) (arg1
)->m_rect
= *arg2
;
16678 Py_INCREF(Py_None
); resultobj
= Py_None
;
16685 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
;
16687 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16689 PyObject
* obj0
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16697 result
= (wxRect
*)& ((arg1
)->m_rect
);
16699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16706 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16709 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16711 return Py_BuildValue((char *)"");
16713 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 int arg1
= (int) 0 ;
16716 wxPaintEvent
*result
;
16717 PyObject
* obj0
= 0 ;
16718 char *kwnames
[] = {
16719 (char *) "Id", NULL
16722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16724 arg1
= (int) SWIG_AsInt(obj0
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16741 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16744 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16746 return Py_BuildValue((char *)"");
16748 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
;
16750 int arg1
= (int) 0 ;
16751 wxNcPaintEvent
*result
;
16752 PyObject
* obj0
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "winid", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16759 arg1
= (int) SWIG_AsInt(obj0
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16776 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16779 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16781 return Py_BuildValue((char *)"");
16783 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
;
16785 int arg1
= (int) 0 ;
16786 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16787 wxEraseEvent
*result
;
16788 PyObject
* obj0
= 0 ;
16789 PyObject
* obj1
= 0 ;
16790 char *kwnames
[] = {
16791 (char *) "Id",(char *) "dc", NULL
16794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16796 arg1
= (int) SWIG_AsInt(obj0
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16817 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16818 PyObject
*resultobj
;
16819 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16821 PyObject
* obj0
= 0 ;
16822 char *kwnames
[] = {
16823 (char *) "self", NULL
16826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16831 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16837 resultobj
= wxPyMake_wxObject(result
);
16845 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16848 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16850 return Py_BuildValue((char *)"");
16852 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16853 PyObject
*resultobj
;
16854 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16855 int arg2
= (int) 0 ;
16856 wxFocusEvent
*result
;
16857 PyObject
* obj0
= 0 ;
16858 PyObject
* obj1
= 0 ;
16859 char *kwnames
[] = {
16860 (char *) "type",(char *) "winid", NULL
16863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16865 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16869 arg2
= (int) SWIG_AsInt(obj1
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16886 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
;
16888 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16890 PyObject
* obj0
= 0 ;
16891 char *kwnames
[] = {
16892 (char *) "self", NULL
16895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= wxPyMake_wxObject(result
);
16914 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16916 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16917 wxWindow
*arg2
= (wxWindow
*) 0 ;
16918 PyObject
* obj0
= 0 ;
16919 PyObject
* obj1
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self",(char *) "win", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 (arg1
)->SetWindow(arg2
);
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 Py_INCREF(Py_None
); resultobj
= Py_None
;
16943 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16946 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16948 return Py_BuildValue((char *)"");
16950 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxWindow
*arg1
= (wxWindow
*) NULL
;
16953 wxChildFocusEvent
*result
;
16954 PyObject
* obj0
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "win", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16978 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16980 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16982 PyObject
* obj0
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= wxPyMake_wxObject(result
);
17006 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17009 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17011 return Py_BuildValue((char *)"");
17013 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
;
17015 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17016 bool arg2
= (bool) True
;
17017 int arg3
= (int) 0 ;
17018 wxActivateEvent
*result
;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 PyObject
* obj2
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "type",(char *) "active",(char *) "Id", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17028 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17032 arg2
= (bool) SWIG_AsBool(obj1
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 arg3
= (int) SWIG_AsInt(obj2
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17053 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
;
17055 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17057 PyObject
* obj0
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17069 wxPyEndAllowThreads(__tstate
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17081 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17084 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17086 return Py_BuildValue((char *)"");
17088 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
;
17090 int arg1
= (int) 0 ;
17091 wxInitDialogEvent
*result
;
17092 PyObject
* obj0
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "Id", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17099 arg1
= (int) SWIG_AsInt(obj0
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17116 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17119 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17121 return Py_BuildValue((char *)"");
17123 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
;
17125 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17126 int arg2
= (int) 0 ;
17127 wxMenu
*arg3
= (wxMenu
*) NULL
;
17128 wxMenuEvent
*result
;
17129 PyObject
* obj0
= 0 ;
17130 PyObject
* obj1
= 0 ;
17131 PyObject
* obj2
= 0 ;
17132 char *kwnames
[] = {
17133 (char *) "type",(char *) "winid",(char *) "menu", NULL
17136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17138 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17142 arg2
= (int) SWIG_AsInt(obj1
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17146 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17163 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
;
17165 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17167 PyObject
* obj0
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17182 resultobj
= SWIG_FromInt((int)result
);
17189 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17193 PyObject
* obj0
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17217 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "self", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= wxPyMake_wxObject(result
);
17245 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17248 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17250 return Py_BuildValue((char *)"");
17252 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17255 int arg2
= (int) 0 ;
17256 wxCloseEvent
*result
;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj1
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "type",(char *) "winid", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17265 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17269 arg2
= (int) SWIG_AsInt(obj1
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17286 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
;
17288 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 char *kwnames
[] = {
17293 (char *) "self",(char *) "logOff", NULL
17296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17299 arg2
= (bool) SWIG_AsBool(obj1
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 (arg1
)->SetLoggingOff(arg2
);
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 Py_INCREF(Py_None
); resultobj
= Py_None
;
17315 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17317 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17319 PyObject
* obj0
= 0 ;
17320 char *kwnames
[] = {
17321 (char *) "self", NULL
17324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17343 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
;
17345 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17346 bool arg2
= (bool) True
;
17347 PyObject
* obj0
= 0 ;
17348 PyObject
* obj1
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "self",(char *) "veto", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17357 arg2
= (bool) SWIG_AsBool(obj1
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 (arg1
)->Veto(arg2
);
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 Py_INCREF(Py_None
); resultobj
= Py_None
;
17374 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17378 PyObject
* obj0
= 0 ;
17379 PyObject
* obj1
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self",(char *) "canVeto", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17387 arg2
= (bool) SWIG_AsBool(obj1
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 (arg1
)->SetCanVeto(arg2
);
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17396 Py_INCREF(Py_None
); resultobj
= Py_None
;
17403 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
;
17405 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17407 PyObject
* obj0
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17431 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17435 PyObject
* obj0
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "self", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17459 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17462 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17464 return Py_BuildValue((char *)"");
17466 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 int arg1
= (int) 0 ;
17469 bool arg2
= (bool) False
;
17470 wxShowEvent
*result
;
17471 PyObject
* obj0
= 0 ;
17472 PyObject
* obj1
= 0 ;
17473 char *kwnames
[] = {
17474 (char *) "winid",(char *) "show", NULL
17477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17479 arg1
= (int) SWIG_AsInt(obj0
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17483 arg2
= (bool) SWIG_AsBool(obj1
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17500 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
;
17502 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17504 PyObject
* obj0
= 0 ;
17505 PyObject
* obj1
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self",(char *) "show", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17513 arg2
= (bool) SWIG_AsBool(obj1
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 (arg1
)->SetShow(arg2
);
17519 wxPyEndAllowThreads(__tstate
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 Py_INCREF(Py_None
); resultobj
= Py_None
;
17529 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
;
17531 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17533 PyObject
* obj0
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17545 wxPyEndAllowThreads(__tstate
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17557 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17560 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17562 return Py_BuildValue((char *)"");
17564 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 int arg1
= (int) 0 ;
17567 bool arg2
= (bool) True
;
17568 wxIconizeEvent
*result
;
17569 PyObject
* obj0
= 0 ;
17570 PyObject
* obj1
= 0 ;
17571 char *kwnames
[] = {
17572 (char *) "id",(char *) "iconized", NULL
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17577 arg1
= (int) SWIG_AsInt(obj0
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17581 arg2
= (bool) SWIG_AsBool(obj1
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17598 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
;
17600 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17602 PyObject
* obj0
= 0 ;
17603 char *kwnames
[] = {
17604 (char *) "self", NULL
17607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 result
= (bool)(arg1
)->Iconized();
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17626 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17629 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17631 return Py_BuildValue((char *)"");
17633 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 int arg1
= (int) 0 ;
17636 wxMaximizeEvent
*result
;
17637 PyObject
* obj0
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "id", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17644 arg1
= (int) SWIG_AsInt(obj0
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17661 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17664 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17666 return Py_BuildValue((char *)"");
17668 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17672 PyObject
* obj0
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 result
= (arg1
)->GetPosition();
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17688 wxPoint
* resultptr
;
17689 resultptr
= new wxPoint((wxPoint
&) result
);
17690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17698 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17699 PyObject
*resultobj
;
17700 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17702 PyObject
* obj0
= 0 ;
17703 char *kwnames
[] = {
17704 (char *) "self", NULL
17707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 result
= (int)(arg1
)->GetNumberOfFiles();
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= SWIG_FromInt((int)result
);
17724 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17728 PyObject
* obj0
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "self", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= result
;
17750 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17753 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17755 return Py_BuildValue((char *)"");
17757 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
;
17759 int arg1
= (int) 0 ;
17760 wxUpdateUIEvent
*result
;
17761 PyObject
* obj0
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "commandId", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17768 arg1
= (int) SWIG_AsInt(obj0
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17785 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
;
17787 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17789 PyObject
* obj0
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17813 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17815 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17817 PyObject
* obj0
= 0 ;
17818 char *kwnames
[] = {
17819 (char *) "self", NULL
17822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17841 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
;
17843 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17845 PyObject
* obj0
= 0 ;
17846 char *kwnames
[] = {
17847 (char *) "self", NULL
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17873 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17874 PyObject
*resultobj
;
17875 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17877 PyObject
* obj0
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17901 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17929 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
;
17931 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17933 PyObject
* obj0
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17957 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
;
17959 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17961 PyObject
* obj0
= 0 ;
17962 PyObject
* obj1
= 0 ;
17963 char *kwnames
[] = {
17964 (char *) "self",(char *) "check", NULL
17967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17970 arg2
= (bool) SWIG_AsBool(obj1
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 (arg1
)->Check(arg2
);
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 Py_INCREF(Py_None
); resultobj
= Py_None
;
17986 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
;
17988 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "self",(char *) "enable", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17999 arg2
= (bool) SWIG_AsBool(obj1
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 (arg1
)->Enable(arg2
);
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 Py_INCREF(Py_None
); resultobj
= Py_None
;
18015 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18018 wxString
*arg2
= 0 ;
18019 bool temp2
= False
;
18020 PyObject
* obj0
= 0 ;
18021 PyObject
* obj1
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self",(char *) "text", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 arg2
= wxString_in_helper(obj1
);
18031 if (arg2
== NULL
) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 (arg1
)->SetText((wxString
const &)*arg2
);
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 Py_INCREF(Py_None
); resultobj
= Py_None
;
18056 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18059 PyObject
* obj0
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "updateInterval", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18065 arg1
= (long) SWIG_AsLong(obj0
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 Py_INCREF(Py_None
); resultobj
= Py_None
;
18081 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
;
18084 char *kwnames
[] = {
18088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 resultobj
= SWIG_FromLong((long)result
);
18103 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxWindow
*arg1
= (wxWindow
*) 0 ;
18107 PyObject
* obj0
= 0 ;
18108 char *kwnames
[] = {
18109 (char *) "win", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18131 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
;
18133 char *kwnames
[] = {
18137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 wxUpdateUIEvent::ResetUpdateTime();
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 Py_INCREF(Py_None
); resultobj
= Py_None
;
18152 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18155 PyObject
* obj0
= 0 ;
18156 char *kwnames
[] = {
18157 (char *) "mode", NULL
18160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18161 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 Py_INCREF(Py_None
); resultobj
= Py_None
;
18177 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
;
18180 char *kwnames
[] = {
18184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 result
= (int)wxUpdateUIEvent::GetMode();
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_FromInt((int)result
);
18199 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18202 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18204 return Py_BuildValue((char *)"");
18206 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxSysColourChangedEvent
*result
;
18209 char *kwnames
[] = {
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18228 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18231 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18233 return Py_BuildValue((char *)"");
18235 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 int arg1
= (int) 0 ;
18238 wxWindow
*arg2
= (wxWindow
*) NULL
;
18239 wxMouseCaptureChangedEvent
*result
;
18240 PyObject
* obj0
= 0 ;
18241 PyObject
* obj1
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "winid",(char *) "gainedCapture", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18248 arg1
= (int) SWIG_AsInt(obj0
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18269 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18273 PyObject
* obj0
= 0 ;
18274 char *kwnames
[] = {
18275 (char *) "self", NULL
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= wxPyMake_wxObject(result
);
18297 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18300 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18302 return Py_BuildValue((char *)"");
18304 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
;
18306 wxDisplayChangedEvent
*result
;
18307 char *kwnames
[] = {
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18326 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18329 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18331 return Py_BuildValue((char *)"");
18333 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
;
18335 int arg1
= (int) 0 ;
18336 wxPaletteChangedEvent
*result
;
18337 PyObject
* obj0
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "id", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18344 arg1
= (int) SWIG_AsInt(obj0
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18361 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18364 wxWindow
*arg2
= (wxWindow
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 PyObject
* obj1
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self",(char *) "win", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 (arg1
)->SetChangedWindow(arg2
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 Py_INCREF(Py_None
); resultobj
= Py_None
;
18390 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18394 PyObject
* obj0
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "self", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= wxPyMake_wxObject(result
);
18418 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18421 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18423 return Py_BuildValue((char *)"");
18425 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 int arg1
= (int) 0 ;
18428 wxQueryNewPaletteEvent
*result
;
18429 PyObject
* obj0
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "winid", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18436 arg1
= (int) SWIG_AsInt(obj0
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18453 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self",(char *) "realized", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18466 arg2
= (bool) SWIG_AsBool(obj1
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 (arg1
)->SetPaletteRealized(arg2
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 Py_INCREF(Py_None
); resultobj
= Py_None
;
18482 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18510 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18513 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18515 return Py_BuildValue((char *)"");
18517 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxNavigationKeyEvent
*result
;
18520 char *kwnames
[] = {
18524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18539 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18540 PyObject
*resultobj
;
18541 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18543 PyObject
* obj0
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "self", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18553 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18567 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
;
18569 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18571 PyObject
* obj0
= 0 ;
18572 PyObject
* obj1
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "self",(char *) "bForward", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18580 arg2
= (bool) SWIG_AsBool(obj1
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 (arg1
)->SetDirection(arg2
);
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 Py_INCREF(Py_None
); resultobj
= Py_None
;
18596 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18624 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
;
18626 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self",(char *) "bIs", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18637 arg2
= (bool) SWIG_AsBool(obj1
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 (arg1
)->SetWindowChange(arg2
);
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 Py_INCREF(Py_None
); resultobj
= Py_None
;
18653 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18657 PyObject
* obj0
= 0 ;
18658 char *kwnames
[] = {
18659 (char *) "self", NULL
18662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= wxPyMake_wxObject(result
);
18681 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18684 wxWindow
*arg2
= (wxWindow
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 PyObject
* obj1
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self",(char *) "win", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18698 (arg1
)->SetCurrentFocus(arg2
);
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 Py_INCREF(Py_None
); resultobj
= Py_None
;
18710 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18713 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18715 return Py_BuildValue((char *)"");
18717 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18719 wxWindow
*arg1
= (wxWindow
*) NULL
;
18720 wxWindowCreateEvent
*result
;
18721 PyObject
* obj0
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "win", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18745 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18749 PyObject
* obj0
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= wxPyMake_wxObject(result
);
18773 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18776 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18778 return Py_BuildValue((char *)"");
18780 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxWindow
*arg1
= (wxWindow
*) NULL
;
18783 wxWindowDestroyEvent
*result
;
18784 PyObject
* obj0
= 0 ;
18785 char *kwnames
[] = {
18786 (char *) "win", NULL
18789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18808 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18812 PyObject
* obj0
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= wxPyMake_wxObject(result
);
18836 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18839 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18841 return Py_BuildValue((char *)"");
18843 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18846 int arg2
= (int) 0 ;
18847 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18848 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18849 wxContextMenuEvent
*result
;
18851 PyObject
* obj0
= 0 ;
18852 PyObject
* obj1
= 0 ;
18853 PyObject
* obj2
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "type",(char *) "winid",(char *) "pt", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18860 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18864 arg2
= (int) SWIG_AsInt(obj1
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18870 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18887 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18888 PyObject
*resultobj
;
18889 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18891 PyObject
* obj0
= 0 ;
18892 char *kwnames
[] = {
18893 (char *) "self", NULL
18896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18903 result
= (wxPoint
*) &_result_ref
;
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18916 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
;
18918 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18919 wxPoint
*arg2
= 0 ;
18921 PyObject
* obj0
= 0 ;
18922 PyObject
* obj1
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self",(char *) "pos", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18932 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 Py_INCREF(Py_None
); resultobj
= Py_None
;
18948 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18951 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18953 return Py_BuildValue((char *)"");
18955 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxIdleEvent
*result
;
18958 char *kwnames
[] = {
18962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 result
= (wxIdleEvent
*)new wxIdleEvent();
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18977 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18980 bool arg2
= (bool) True
;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj1
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self",(char *) "needMore", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18991 arg2
= (bool) SWIG_AsBool(obj1
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 (arg1
)->RequestMore(arg2
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 Py_INCREF(Py_None
); resultobj
= Py_None
;
19008 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19012 PyObject
* obj0
= 0 ;
19013 char *kwnames
[] = {
19014 (char *) "self", NULL
19017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19022 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19036 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19039 PyObject
* obj0
= 0 ;
19040 char *kwnames
[] = {
19041 (char *) "mode", NULL
19044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19045 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19049 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19051 wxPyEndAllowThreads(__tstate
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19054 Py_INCREF(Py_None
); resultobj
= Py_None
;
19061 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19062 PyObject
*resultobj
;
19064 char *kwnames
[] = {
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 result
= (int)wxIdleEvent::GetMode();
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19076 resultobj
= SWIG_FromInt((int)result
);
19083 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19084 PyObject
*resultobj
;
19085 wxWindow
*arg1
= (wxWindow
*) 0 ;
19087 PyObject
* obj0
= 0 ;
19088 char *kwnames
[] = {
19089 (char *) "win", NULL
19092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19097 result
= (bool)wxIdleEvent::CanSend(arg1
);
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19111 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19114 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19116 return Py_BuildValue((char *)"");
19118 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19119 PyObject
*resultobj
;
19120 int arg1
= (int) 0 ;
19121 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19123 PyObject
* obj0
= 0 ;
19124 PyObject
* obj1
= 0 ;
19125 char *kwnames
[] = {
19126 (char *) "winid",(char *) "commandType", NULL
19129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19131 arg1
= (int) SWIG_AsInt(obj0
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19135 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19152 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
;
19154 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 Py_INCREF(Py_None
); resultobj
= Py_None
;
19177 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
;
19179 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19180 PyObject
*arg2
= (PyObject
*) 0 ;
19181 PyObject
* obj0
= 0 ;
19182 PyObject
* obj1
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self",(char *) "self", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 (arg1
)->SetSelf(arg2
);
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19198 Py_INCREF(Py_None
); resultobj
= Py_None
;
19205 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
;
19207 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19209 PyObject
* obj0
= 0 ;
19210 char *kwnames
[] = {
19211 (char *) "self", NULL
19214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 result
= (PyObject
*)(arg1
)->GetSelf();
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 resultobj
= result
;
19231 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19234 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19236 return Py_BuildValue((char *)"");
19238 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19241 int arg2
= (int) 0 ;
19242 wxPyCommandEvent
*result
;
19243 PyObject
* obj0
= 0 ;
19244 PyObject
* obj1
= 0 ;
19245 char *kwnames
[] = {
19246 (char *) "commandType",(char *) "id", NULL
19249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19251 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19255 arg2
= (int) SWIG_AsInt(obj1
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19260 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19272 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19275 PyObject
* obj0
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 Py_INCREF(Py_None
); resultobj
= Py_None
;
19297 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
;
19299 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19300 PyObject
*arg2
= (PyObject
*) 0 ;
19301 PyObject
* obj0
= 0 ;
19302 PyObject
* obj1
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self",(char *) "self", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 (arg1
)->SetSelf(arg2
);
19315 wxPyEndAllowThreads(__tstate
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19318 Py_INCREF(Py_None
); resultobj
= Py_None
;
19325 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19326 PyObject
*resultobj
;
19327 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19329 PyObject
* obj0
= 0 ;
19330 char *kwnames
[] = {
19331 (char *) "self", NULL
19334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 result
= (PyObject
*)(arg1
)->GetSelf();
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 resultobj
= result
;
19351 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19354 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19356 return Py_BuildValue((char *)"");
19358 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19361 char *kwnames
[] = {
19365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 result
= (wxPyApp
*)new_wxPyApp();
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19374 resultobj
= wxPyMake_wxObject(result
);
19382 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19385 PyObject
* obj0
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "self", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 Py_INCREF(Py_None
); resultobj
= Py_None
;
19407 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19408 PyObject
*resultobj
;
19409 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19410 PyObject
*arg2
= (PyObject
*) 0 ;
19411 PyObject
*arg3
= (PyObject
*) 0 ;
19412 PyObject
* obj0
= 0 ;
19413 PyObject
* obj1
= 0 ;
19414 PyObject
* obj2
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self",(char *) "self",(char *) "_class", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 Py_INCREF(Py_None
); resultobj
= Py_None
;
19438 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
;
19440 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19442 PyObject
* obj0
= 0 ;
19443 char *kwnames
[] = {
19444 (char *) "self", NULL
19447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19452 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19454 wxPyEndAllowThreads(__tstate
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19470 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19473 wxString
*arg2
= 0 ;
19474 bool temp2
= False
;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "name", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19485 arg2
= wxString_in_helper(obj1
);
19486 if (arg2
== NULL
) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 (arg1
)->SetAppName((wxString
const &)*arg2
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 Py_INCREF(Py_None
); resultobj
= Py_None
;
19511 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19513 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19515 PyObject
* obj0
= 0 ;
19516 char *kwnames
[] = {
19517 (char *) "self", NULL
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19543 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
;
19545 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19546 wxString
*arg2
= 0 ;
19547 bool temp2
= False
;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self",(char *) "name", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19558 arg2
= wxString_in_helper(obj1
);
19559 if (arg2
== NULL
) SWIG_fail
;
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 (arg1
)->SetClassName((wxString
const &)*arg2
);
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 Py_INCREF(Py_None
); resultobj
= Py_None
;
19584 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19588 PyObject
* obj0
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "self", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19600 result
= (wxString
*) &_result_ref
;
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19608 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19610 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19619 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
;
19621 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19622 wxString
*arg2
= 0 ;
19623 bool temp2
= False
;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 char *kwnames
[] = {
19627 (char *) "self",(char *) "name", NULL
19630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19634 arg2
= wxString_in_helper(obj1
);
19635 if (arg2
== NULL
) SWIG_fail
;
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 Py_INCREF(Py_None
); resultobj
= Py_None
;
19660 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19663 wxAppTraits
*result
;
19664 PyObject
* obj0
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19686 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19689 PyObject
* obj0
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 (arg1
)->ProcessPendingEvents();
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 Py_INCREF(Py_None
); resultobj
= Py_None
;
19711 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19714 bool arg2
= (bool) False
;
19716 PyObject
* obj0
= 0 ;
19717 PyObject
* obj1
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self",(char *) "onlyIfNeeded", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19726 arg2
= (bool) SWIG_AsBool(obj1
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= (bool)(arg1
)->Yield(arg2
);
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19745 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
;
19747 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19748 PyObject
* obj0
= 0 ;
19749 char *kwnames
[] = {
19750 (char *) "self", NULL
19753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 (arg1
)->WakeUpIdle();
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 Py_INCREF(Py_None
); resultobj
= Py_None
;
19770 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 char *kwnames
[] = {
19776 (char *) "self", NULL
19779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 result
= (int)(arg1
)->MainLoop();
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_FromInt((int)result
);
19796 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19799 PyObject
* obj0
= 0 ;
19800 char *kwnames
[] = {
19801 (char *) "self", NULL
19804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 Py_INCREF(Py_None
); resultobj
= Py_None
;
19821 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
;
19823 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19824 PyObject
* obj0
= 0 ;
19825 char *kwnames
[] = {
19826 (char *) "self", NULL
19829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 (arg1
)->ExitMainLoop();
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19839 Py_INCREF(Py_None
); resultobj
= Py_None
;
19846 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 result
= (bool)(arg1
)->Pending();
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19874 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
;
19876 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (bool)(arg1
)->Dispatch();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19902 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 result
= (bool)(arg1
)->ProcessIdle();
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19930 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19933 wxWindow
*arg2
= (wxWindow
*) 0 ;
19934 wxIdleEvent
*arg3
= 0 ;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19938 PyObject
* obj2
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "self",(char *) "win",(char *) "event", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19948 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19951 if (arg3
== NULL
) {
19952 PyErr_SetString(PyExc_TypeError
,"null reference");
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19971 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
;
19973 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19975 PyObject
* obj0
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19999 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20002 wxWindow
*arg2
= (wxWindow
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 PyObject
* obj1
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self",(char *) "win", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 (arg1
)->SetTopWindow(arg2
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 Py_INCREF(Py_None
); resultobj
= Py_None
;
20028 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20032 PyObject
* obj0
= 0 ;
20033 char *kwnames
[] = {
20034 (char *) "self", NULL
20037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20048 resultobj
= wxPyMake_wxObject(result
);
20056 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20058 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20060 PyObject
* obj0
= 0 ;
20061 PyObject
* obj1
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "self",(char *) "flag", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20069 arg2
= (bool) SWIG_AsBool(obj1
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 (arg1
)->SetExitOnFrameDelete(arg2
);
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 Py_INCREF(Py_None
); resultobj
= Py_None
;
20085 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20086 PyObject
*resultobj
;
20087 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20089 PyObject
* obj0
= 0 ;
20090 char *kwnames
[] = {
20091 (char *) "self", NULL
20094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20113 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
;
20115 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 char *kwnames
[] = {
20120 (char *) "self",(char *) "flag", NULL
20123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20126 arg2
= (bool) SWIG_AsBool(obj1
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 (arg1
)->SetUseBestVisual(arg2
);
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20135 Py_INCREF(Py_None
); resultobj
= Py_None
;
20142 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20143 PyObject
*resultobj
;
20144 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20146 PyObject
* obj0
= 0 ;
20147 char *kwnames
[] = {
20148 (char *) "self", NULL
20151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20156 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20170 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20171 PyObject
*resultobj
;
20172 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20174 PyObject
* obj0
= 0 ;
20175 PyObject
* obj1
= 0 ;
20176 char *kwnames
[] = {
20177 (char *) "self",(char *) "mode", NULL
20180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20183 arg2
= (int) SWIG_AsInt(obj1
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20187 (arg1
)->SetPrintMode(arg2
);
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20192 Py_INCREF(Py_None
); resultobj
= Py_None
;
20199 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20200 PyObject
*resultobj
;
20201 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20203 PyObject
* obj0
= 0 ;
20204 char *kwnames
[] = {
20205 (char *) "self", NULL
20208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20213 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= SWIG_FromInt((int)result
);
20225 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
;
20227 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20231 char *kwnames
[] = {
20232 (char *) "self",(char *) "mode", NULL
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20238 arg2
= (int) SWIG_AsInt(obj1
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 (arg1
)->SetAssertMode(arg2
);
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20247 Py_INCREF(Py_None
); resultobj
= Py_None
;
20254 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 result
= (int)(arg1
)->GetAssertMode();
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 resultobj
= SWIG_FromInt((int)result
);
20280 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20283 char *kwnames
[] = {
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20304 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20307 char *kwnames
[] = {
20311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20319 resultobj
= SWIG_FromLong((long)result
);
20326 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
;
20329 char *kwnames
[] = {
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 resultobj
= SWIG_FromLong((long)result
);
20348 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20351 char *kwnames
[] = {
20355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (long)wxPyApp::GetMacExitMenuItemId();
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 resultobj
= SWIG_FromLong((long)result
);
20370 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20371 PyObject
*resultobj
;
20373 char *kwnames
[] = {
20377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 result
= wxPyApp::GetMacHelpMenuTitleName();
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20398 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20401 PyObject
* obj0
= 0 ;
20402 char *kwnames
[] = {
20403 (char *) "val", NULL
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20407 arg1
= (bool) SWIG_AsBool(obj0
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 Py_INCREF(Py_None
); resultobj
= Py_None
;
20423 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20426 PyObject
* obj0
= 0 ;
20427 char *kwnames
[] = {
20428 (char *) "val", NULL
20431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20432 arg1
= (long) SWIG_AsLong(obj0
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 wxPyApp::SetMacAboutMenuItemId(arg1
);
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 Py_INCREF(Py_None
); resultobj
= Py_None
;
20448 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20451 PyObject
* obj0
= 0 ;
20452 char *kwnames
[] = {
20453 (char *) "val", NULL
20456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20457 arg1
= (long) SWIG_AsLong(obj0
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20466 Py_INCREF(Py_None
); resultobj
= Py_None
;
20473 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
;
20476 PyObject
* obj0
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "val", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20482 arg1
= (long) SWIG_AsLong(obj0
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 wxPyApp::SetMacExitMenuItemId(arg1
);
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 Py_INCREF(Py_None
); resultobj
= Py_None
;
20498 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxString
*arg1
= 0 ;
20501 bool temp1
= False
;
20502 PyObject
* obj0
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "val", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20509 arg1
= wxString_in_helper(obj0
);
20510 if (arg1
== NULL
) SWIG_fail
;
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 Py_INCREF(Py_None
); resultobj
= Py_None
;
20535 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20537 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20538 PyObject
* obj0
= 0 ;
20539 char *kwnames
[] = {
20540 (char *) "self", NULL
20543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 (arg1
)->_BootstrapApp();
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 Py_INCREF(Py_None
); resultobj
= Py_None
;
20560 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20563 char *kwnames
[] = {
20567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= (int)PyApp_GetComCtl32Version();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= SWIG_FromInt((int)result
);
20582 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20585 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20587 return Py_BuildValue((char *)"");
20589 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
;
20591 char *kwnames
[] = {
20595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20603 Py_INCREF(Py_None
); resultobj
= Py_None
;
20610 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
;
20613 char *kwnames
[] = {
20617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 result
= (bool)wxYield();
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20634 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
;
20637 char *kwnames
[] = {
20641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 result
= (bool)wxYieldIfNeeded();
20646 wxPyEndAllowThreads(__tstate
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20658 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
;
20660 wxWindow
*arg1
= (wxWindow
*) NULL
;
20661 bool arg2
= (bool) False
;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 char *kwnames
[] = {
20666 (char *) "win",(char *) "onlyIfNeeded", NULL
20669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20675 arg2
= (bool) SWIG_AsBool(obj1
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= (bool)wxSafeYield(arg1
,arg2
);
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20694 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
;
20696 char *kwnames
[] = {
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 Py_INCREF(Py_None
); resultobj
= Py_None
;
20715 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20718 wxEvent
*arg2
= 0 ;
20719 PyObject
* obj0
= 0 ;
20720 PyObject
* obj1
= 0 ;
20721 char *kwnames
[] = {
20722 (char *) "dest",(char *) "event", NULL
20725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20731 if (arg2
== NULL
) {
20732 PyErr_SetString(PyExc_TypeError
,"null reference");
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 wxPostEvent(arg1
,*arg2
);
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20742 Py_INCREF(Py_None
); resultobj
= Py_None
;
20749 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
;
20751 char *kwnames
[] = {
20755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 Py_INCREF(Py_None
); resultobj
= Py_None
;
20770 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20771 PyObject
*resultobj
;
20773 char *kwnames
[] = {
20777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 result
= (wxPyApp
*)wxGetApp();
20782 wxPyEndAllowThreads(__tstate
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20786 resultobj
= wxPyMake_wxObject(result
);
20794 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20796 int arg1
= (int) 0 ;
20797 int arg2
= (int) 0 ;
20798 int arg3
= (int) 0 ;
20799 wxAcceleratorEntry
*result
;
20800 PyObject
* obj0
= 0 ;
20801 PyObject
* obj1
= 0 ;
20802 PyObject
* obj2
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20809 arg1
= (int) SWIG_AsInt(obj0
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20813 arg2
= (int) SWIG_AsInt(obj1
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20817 arg3
= (int) SWIG_AsInt(obj2
);
20818 if (PyErr_Occurred()) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20834 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "self", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 wxPyEndAllowThreads(__tstate
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20852 Py_INCREF(Py_None
); resultobj
= Py_None
;
20859 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
;
20861 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20865 PyObject
* obj0
= 0 ;
20866 PyObject
* obj1
= 0 ;
20867 PyObject
* obj2
= 0 ;
20868 PyObject
* obj3
= 0 ;
20869 char *kwnames
[] = {
20870 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20876 arg2
= (int) SWIG_AsInt(obj1
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20878 arg3
= (int) SWIG_AsInt(obj2
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20880 arg4
= (int) SWIG_AsInt(obj3
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 (arg1
)->Set(arg2
,arg3
,arg4
);
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20889 Py_INCREF(Py_None
); resultobj
= Py_None
;
20896 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20898 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20900 PyObject
* obj0
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (int)(arg1
)->GetFlags();
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 resultobj
= SWIG_FromInt((int)result
);
20922 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20923 PyObject
*resultobj
;
20924 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20926 PyObject
* obj0
= 0 ;
20927 char *kwnames
[] = {
20928 (char *) "self", NULL
20931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= (int)(arg1
)->GetKeyCode();
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= SWIG_FromInt((int)result
);
20948 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (int)(arg1
)->GetCommand();
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= SWIG_FromInt((int)result
);
20974 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20977 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20979 return Py_BuildValue((char *)"");
20981 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20984 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20985 wxAcceleratorTable
*result
;
20986 PyObject
* obj0
= 0 ;
20987 char *kwnames
[] = {
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20993 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20994 if (arg2
) arg1
= PyList_Size(obj0
);
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21017 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
;
21019 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21020 PyObject
* obj0
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 Py_INCREF(Py_None
); resultobj
= Py_None
;
21042 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21046 PyObject
* obj0
= 0 ;
21047 char *kwnames
[] = {
21048 (char *) "self", NULL
21051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21070 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21073 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21075 return Py_BuildValue((char *)"");
21077 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21078 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21083 static PyObject
*_wrap_NullAcceleratorTable_get() {
21086 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21091 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21092 PyObject
*resultobj
;
21093 wxString
*arg1
= 0 ;
21094 wxAcceleratorEntry
*result
;
21095 bool temp1
= False
;
21096 PyObject
* obj0
= 0 ;
21097 char *kwnames
[] = {
21098 (char *) "label", NULL
21101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21103 arg1
= wxString_in_helper(obj0
);
21104 if (arg1
== NULL
) SWIG_fail
;
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21129 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21130 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21135 static PyObject
*_wrap_PanelNameStr_get() {
21140 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21142 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21149 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21151 wxVisualAttributes
*result
;
21152 char *kwnames
[] = {
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21171 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21174 PyObject
* obj0
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "self", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 delete_wxVisualAttributes(arg1
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 Py_INCREF(Py_None
); resultobj
= Py_None
;
21196 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
;
21198 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21199 wxFont
*arg2
= (wxFont
*) 0 ;
21200 PyObject
* obj0
= 0 ;
21201 PyObject
* obj1
= 0 ;
21202 char *kwnames
[] = {
21203 (char *) "self",(char *) "font", NULL
21206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21211 if (arg1
) (arg1
)->font
= *arg2
;
21213 Py_INCREF(Py_None
); resultobj
= Py_None
;
21220 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21222 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21224 PyObject
* obj0
= 0 ;
21225 char *kwnames
[] = {
21226 (char *) "self", NULL
21229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21232 result
= (wxFont
*)& ((arg1
)->font
);
21234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21241 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21242 PyObject
*resultobj
;
21243 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21244 wxColour
*arg2
= (wxColour
*) 0 ;
21245 PyObject
* obj0
= 0 ;
21246 PyObject
* obj1
= 0 ;
21247 char *kwnames
[] = {
21248 (char *) "self",(char *) "colFg", NULL
21251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21256 if (arg1
) (arg1
)->colFg
= *arg2
;
21258 Py_INCREF(Py_None
); resultobj
= Py_None
;
21265 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21269 PyObject
* obj0
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "self", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21277 result
= (wxColour
*)& ((arg1
)->colFg
);
21279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21286 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21289 wxColour
*arg2
= (wxColour
*) 0 ;
21290 PyObject
* obj0
= 0 ;
21291 PyObject
* obj1
= 0 ;
21292 char *kwnames
[] = {
21293 (char *) "self",(char *) "colBg", NULL
21296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21301 if (arg1
) (arg1
)->colBg
= *arg2
;
21303 Py_INCREF(Py_None
); resultobj
= Py_None
;
21310 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21314 PyObject
* obj0
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21322 result
= (wxColour
*)& ((arg1
)->colBg
);
21324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21331 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21334 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21336 return Py_BuildValue((char *)"");
21338 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxWindow
*arg1
= (wxWindow
*) 0 ;
21341 int arg2
= (int) (int)-1 ;
21342 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21343 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21344 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21345 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21346 long arg5
= (long) 0 ;
21347 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21348 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21352 bool temp6
= False
;
21353 PyObject
* obj0
= 0 ;
21354 PyObject
* obj1
= 0 ;
21355 PyObject
* obj2
= 0 ;
21356 PyObject
* obj3
= 0 ;
21357 PyObject
* obj4
= 0 ;
21358 PyObject
* obj5
= 0 ;
21359 char *kwnames
[] = {
21360 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21367 arg2
= (int const) SWIG_AsInt(obj1
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21373 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21379 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21383 arg5
= (long) SWIG_AsLong(obj4
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21388 arg6
= wxString_in_helper(obj5
);
21389 if (arg6
== NULL
) SWIG_fail
;
21394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21395 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21397 wxPyEndAllowThreads(__tstate
);
21398 if (PyErr_Occurred()) SWIG_fail
;
21401 resultobj
= wxPyMake_wxObject(result
);
21417 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
;
21420 char *kwnames
[] = {
21424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (wxWindow
*)new wxWindow();
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= wxPyMake_wxObject(result
);
21441 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
;
21443 wxWindow
*arg1
= (wxWindow
*) 0 ;
21444 wxWindow
*arg2
= (wxWindow
*) 0 ;
21445 int arg3
= (int) (int)-1 ;
21446 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21447 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21448 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21449 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21450 long arg6
= (long) 0 ;
21451 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21452 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21456 bool temp7
= False
;
21457 PyObject
* obj0
= 0 ;
21458 PyObject
* obj1
= 0 ;
21459 PyObject
* obj2
= 0 ;
21460 PyObject
* obj3
= 0 ;
21461 PyObject
* obj4
= 0 ;
21462 PyObject
* obj5
= 0 ;
21463 PyObject
* obj6
= 0 ;
21464 char *kwnames
[] = {
21465 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21474 arg3
= (int const) SWIG_AsInt(obj2
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21480 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21486 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21490 arg6
= (long) SWIG_AsLong(obj5
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21495 arg7
= wxString_in_helper(obj6
);
21496 if (arg7
== NULL
) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21524 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
;
21526 wxWindow
*arg1
= (wxWindow
*) 0 ;
21527 bool arg2
= (bool) False
;
21529 PyObject
* obj0
= 0 ;
21530 PyObject
* obj1
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self",(char *) "force", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21539 arg2
= (bool) SWIG_AsBool(obj1
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (bool)(arg1
)->Close(arg2
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21558 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxWindow
*arg1
= (wxWindow
*) 0 ;
21562 PyObject
* obj0
= 0 ;
21563 char *kwnames
[] = {
21564 (char *) "self", NULL
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= (bool)(arg1
)->Destroy();
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21586 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21588 wxWindow
*arg1
= (wxWindow
*) 0 ;
21590 PyObject
* obj0
= 0 ;
21591 char *kwnames
[] = {
21592 (char *) "self", NULL
21595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= (bool)(arg1
)->DestroyChildren();
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21614 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 wxWindow
*arg1
= (wxWindow
*) 0 ;
21618 PyObject
* obj0
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21642 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
;
21644 wxWindow
*arg1
= (wxWindow
*) 0 ;
21645 wxString
*arg2
= 0 ;
21646 bool temp2
= False
;
21647 PyObject
* obj0
= 0 ;
21648 PyObject
* obj1
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self",(char *) "title", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21657 arg2
= wxString_in_helper(obj1
);
21658 if (arg2
== NULL
) SWIG_fail
;
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 (arg1
)->SetTitle((wxString
const &)*arg2
);
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 Py_INCREF(Py_None
); resultobj
= Py_None
;
21683 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
;
21685 wxWindow
*arg1
= (wxWindow
*) 0 ;
21687 PyObject
* obj0
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= ((wxWindow
const *)arg1
)->GetTitle();
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21715 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxWindow
*arg1
= (wxWindow
*) 0 ;
21718 wxString
*arg2
= 0 ;
21719 bool temp2
= False
;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self",(char *) "label", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21730 arg2
= wxString_in_helper(obj1
);
21731 if (arg2
== NULL
) SWIG_fail
;
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 (arg1
)->SetLabel((wxString
const &)*arg2
);
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21741 Py_INCREF(Py_None
); resultobj
= Py_None
;
21756 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxWindow
*arg1
= (wxWindow
*) 0 ;
21760 PyObject
* obj0
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 result
= ((wxWindow
const *)arg1
)->GetLabel();
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21788 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21789 PyObject
*resultobj
;
21790 wxWindow
*arg1
= (wxWindow
*) 0 ;
21791 wxString
*arg2
= 0 ;
21792 bool temp2
= False
;
21793 PyObject
* obj0
= 0 ;
21794 PyObject
* obj1
= 0 ;
21795 char *kwnames
[] = {
21796 (char *) "self",(char *) "name", NULL
21799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21803 arg2
= wxString_in_helper(obj1
);
21804 if (arg2
== NULL
) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 (arg1
)->SetName((wxString
const &)*arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 Py_INCREF(Py_None
); resultobj
= Py_None
;
21829 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21831 wxWindow
*arg1
= (wxWindow
*) 0 ;
21833 PyObject
* obj0
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21843 result
= ((wxWindow
const *)arg1
)->GetName();
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21861 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21863 wxWindow
*arg1
= (wxWindow
*) 0 ;
21865 PyObject
* obj0
= 0 ;
21866 PyObject
* obj1
= 0 ;
21867 char *kwnames
[] = {
21868 (char *) "self",(char *) "variant", NULL
21871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21874 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 Py_INCREF(Py_None
); resultobj
= Py_None
;
21890 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21891 PyObject
*resultobj
;
21892 wxWindow
*arg1
= (wxWindow
*) 0 ;
21894 PyObject
* obj0
= 0 ;
21895 char *kwnames
[] = {
21896 (char *) "self", NULL
21899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= SWIG_FromInt((int)result
);
21916 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxWindow
*arg1
= (wxWindow
*) 0 ;
21920 PyObject
* obj0
= 0 ;
21921 PyObject
* obj1
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self",(char *) "winid", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21929 arg2
= (int) SWIG_AsInt(obj1
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 (arg1
)->SetId(arg2
);
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21938 Py_INCREF(Py_None
); resultobj
= Py_None
;
21945 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
;
21947 wxWindow
*arg1
= (wxWindow
*) 0 ;
21949 PyObject
* obj0
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "self", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 result
= (int)((wxWindow
const *)arg1
)->GetId();
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= SWIG_FromInt((int)result
);
21971 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21974 char *kwnames
[] = {
21978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 result
= (int)wxWindow::NewControlId();
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= SWIG_FromInt((int)result
);
21993 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21997 PyObject
* obj0
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "winid", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22003 arg1
= (int) SWIG_AsInt(obj0
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (int)wxWindow::NextControlId(arg1
);
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= SWIG_FromInt((int)result
);
22019 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22020 PyObject
*resultobj
;
22023 PyObject
* obj0
= 0 ;
22024 char *kwnames
[] = {
22025 (char *) "winid", NULL
22028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22029 arg1
= (int) SWIG_AsInt(obj0
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 result
= (int)wxWindow::PrevControlId(arg1
);
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 resultobj
= SWIG_FromInt((int)result
);
22045 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
;
22047 wxWindow
*arg1
= (wxWindow
*) 0 ;
22050 PyObject
* obj0
= 0 ;
22051 PyObject
* obj1
= 0 ;
22052 char *kwnames
[] = {
22053 (char *) "self",(char *) "size", NULL
22056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 (arg1
)->SetSize((wxSize
const &)*arg2
);
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 Py_INCREF(Py_None
); resultobj
= Py_None
;
22077 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
;
22079 wxWindow
*arg1
= (wxWindow
*) 0 ;
22084 int arg6
= (int) wxSIZE_AUTO
;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 PyObject
* obj2
= 0 ;
22088 PyObject
* obj3
= 0 ;
22089 PyObject
* obj4
= 0 ;
22090 PyObject
* obj5
= 0 ;
22091 char *kwnames
[] = {
22092 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22098 arg2
= (int) SWIG_AsInt(obj1
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22100 arg3
= (int) SWIG_AsInt(obj2
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22102 arg4
= (int) SWIG_AsInt(obj3
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22104 arg5
= (int) SWIG_AsInt(obj4
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 arg6
= (int) SWIG_AsInt(obj5
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 Py_INCREF(Py_None
); resultobj
= Py_None
;
22124 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
;
22126 wxWindow
*arg1
= (wxWindow
*) 0 ;
22128 int arg3
= (int) wxSIZE_AUTO
;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 PyObject
* obj2
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22142 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22145 arg3
= (int) SWIG_AsInt(obj2
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 Py_INCREF(Py_None
); resultobj
= Py_None
;
22162 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
;
22164 wxWindow
*arg1
= (wxWindow
*) 0 ;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 PyObject
* obj2
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self",(char *) "width",(char *) "height", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22177 arg2
= (int) SWIG_AsInt(obj1
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22179 arg3
= (int) SWIG_AsInt(obj2
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 (arg1
)->SetSize(arg2
,arg3
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 Py_INCREF(Py_None
); resultobj
= Py_None
;
22195 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
;
22197 wxWindow
*arg1
= (wxWindow
*) 0 ;
22198 wxPoint
*arg2
= 0 ;
22199 int arg3
= (int) wxSIZE_USE_EXISTING
;
22201 PyObject
* obj0
= 0 ;
22202 PyObject
* obj1
= 0 ;
22203 PyObject
* obj2
= 0 ;
22204 char *kwnames
[] = {
22205 (char *) "self",(char *) "pt",(char *) "flags", NULL
22208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22216 arg3
= (int) SWIG_AsInt(obj2
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 Py_INCREF(Py_None
); resultobj
= Py_None
;
22233 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxWindow
*arg1
= (wxWindow
*) 0 ;
22238 int arg4
= (int) wxSIZE_USE_EXISTING
;
22239 PyObject
* obj0
= 0 ;
22240 PyObject
* obj1
= 0 ;
22241 PyObject
* obj2
= 0 ;
22242 PyObject
* obj3
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 arg2
= (int) SWIG_AsInt(obj1
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22252 arg3
= (int) SWIG_AsInt(obj2
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 arg4
= (int) SWIG_AsInt(obj3
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 (arg1
)->Move(arg2
,arg3
,arg4
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 Py_INCREF(Py_None
); resultobj
= Py_None
;
22272 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxWindow
*arg1
= (wxWindow
*) 0 ;
22275 PyObject
* obj0
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self", NULL
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 Py_INCREF(Py_None
); resultobj
= Py_None
;
22297 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
;
22299 wxWindow
*arg1
= (wxWindow
*) 0 ;
22300 PyObject
* obj0
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 Py_INCREF(Py_None
); resultobj
= Py_None
;
22322 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
;
22324 wxWindow
*arg1
= (wxWindow
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 PyObject
* obj1
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self",(char *) "size", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22338 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22347 Py_INCREF(Py_None
); resultobj
= Py_None
;
22354 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxWindow
*arg1
= (wxWindow
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 PyObject
* obj1
= 0 ;
22361 PyObject
* obj2
= 0 ;
22362 char *kwnames
[] = {
22363 (char *) "self",(char *) "width",(char *) "height", NULL
22366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22369 arg2
= (int) SWIG_AsInt(obj1
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22371 arg3
= (int) SWIG_AsInt(obj2
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 (arg1
)->SetClientSize(arg2
,arg3
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 Py_INCREF(Py_None
); resultobj
= Py_None
;
22387 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
;
22389 wxWindow
*arg1
= (wxWindow
*) 0 ;
22392 PyObject
* obj0
= 0 ;
22393 PyObject
* obj1
= 0 ;
22394 char *kwnames
[] = {
22395 (char *) "self",(char *) "rect", NULL
22398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22403 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 Py_INCREF(Py_None
); resultobj
= Py_None
;
22419 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxWindow
*arg1
= (wxWindow
*) 0 ;
22423 PyObject
* obj0
= 0 ;
22424 char *kwnames
[] = {
22425 (char *) "self", NULL
22428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22433 result
= (arg1
)->GetPosition();
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22439 wxPoint
* resultptr
;
22440 resultptr
= new wxPoint((wxPoint
&) result
);
22441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22449 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxWindow
*arg1
= (wxWindow
*) 0 ;
22452 int *arg2
= (int *) 0 ;
22453 int *arg3
= (int *) 0 ;
22456 PyObject
* obj0
= 0 ;
22457 char *kwnames
[] = {
22458 (char *) "self", NULL
22463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 (arg1
)->GetPosition(arg2
,arg3
);
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 Py_INCREF(Py_None
); resultobj
= Py_None
;
22475 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22476 resultobj
= t_output_helper(resultobj
,o
);
22479 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22480 resultobj
= t_output_helper(resultobj
,o
);
22488 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxWindow
*arg1
= (wxWindow
*) 0 ;
22492 PyObject
* obj0
= 0 ;
22493 char *kwnames
[] = {
22494 (char *) "self", NULL
22497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 result
= ((wxWindow
const *)arg1
)->GetSize();
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22508 wxSize
* resultptr
;
22509 resultptr
= new wxSize((wxSize
&) result
);
22510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22518 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxWindow
*arg1
= (wxWindow
*) 0 ;
22521 int *arg2
= (int *) 0 ;
22522 int *arg3
= (int *) 0 ;
22525 PyObject
* obj0
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "self", NULL
22532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 Py_INCREF(Py_None
); resultobj
= Py_None
;
22544 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22545 resultobj
= t_output_helper(resultobj
,o
);
22548 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22549 resultobj
= t_output_helper(resultobj
,o
);
22557 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
;
22559 wxWindow
*arg1
= (wxWindow
*) 0 ;
22561 PyObject
* obj0
= 0 ;
22562 char *kwnames
[] = {
22563 (char *) "self", NULL
22566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 result
= ((wxWindow
const *)arg1
)->GetRect();
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22577 wxRect
* resultptr
;
22578 resultptr
= new wxRect((wxRect
&) result
);
22579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22587 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
;
22589 wxWindow
*arg1
= (wxWindow
*) 0 ;
22591 PyObject
* obj0
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22607 wxSize
* resultptr
;
22608 resultptr
= new wxSize((wxSize
&) result
);
22609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22617 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22618 PyObject
*resultobj
;
22619 wxWindow
*arg1
= (wxWindow
*) 0 ;
22620 int *arg2
= (int *) 0 ;
22621 int *arg3
= (int *) 0 ;
22624 PyObject
* obj0
= 0 ;
22625 char *kwnames
[] = {
22626 (char *) "self", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22638 wxPyEndAllowThreads(__tstate
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22641 Py_INCREF(Py_None
); resultobj
= Py_None
;
22643 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22644 resultobj
= t_output_helper(resultobj
,o
);
22647 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22648 resultobj
= t_output_helper(resultobj
,o
);
22656 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
;
22658 wxWindow
*arg1
= (wxWindow
*) 0 ;
22660 PyObject
* obj0
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22676 wxPoint
* resultptr
;
22677 resultptr
= new wxPoint((wxPoint
&) result
);
22678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22686 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
;
22688 wxWindow
*arg1
= (wxWindow
*) 0 ;
22690 PyObject
* obj0
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22706 wxRect
* resultptr
;
22707 resultptr
= new wxRect((wxRect
&) result
);
22708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22716 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
;
22718 wxWindow
*arg1
= (wxWindow
*) 0 ;
22720 PyObject
* obj0
= 0 ;
22721 char *kwnames
[] = {
22722 (char *) "self", NULL
22725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22730 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22736 wxSize
* resultptr
;
22737 resultptr
= new wxSize((wxSize
&) result
);
22738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22746 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22747 PyObject
*resultobj
;
22748 wxWindow
*arg1
= (wxWindow
*) 0 ;
22749 int *arg2
= (int *) 0 ;
22750 int *arg3
= (int *) 0 ;
22753 PyObject
* obj0
= 0 ;
22754 char *kwnames
[] = {
22755 (char *) "self", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 Py_INCREF(Py_None
); resultobj
= Py_None
;
22772 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22773 resultobj
= t_output_helper(resultobj
,o
);
22776 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22777 resultobj
= t_output_helper(resultobj
,o
);
22785 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22786 PyObject
*resultobj
;
22787 wxWindow
*arg1
= (wxWindow
*) 0 ;
22789 PyObject
* obj0
= 0 ;
22790 char *kwnames
[] = {
22791 (char *) "self", NULL
22794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22805 wxSize
* resultptr
;
22806 resultptr
= new wxSize((wxSize
&) result
);
22807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22815 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22816 PyObject
*resultobj
;
22817 wxWindow
*arg1
= (wxWindow
*) 0 ;
22818 int arg2
= (int) wxBOTH
;
22819 PyObject
* obj0
= 0 ;
22820 PyObject
* obj1
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "self",(char *) "direction", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22829 arg2
= (int) SWIG_AsInt(obj1
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 (arg1
)->Center(arg2
);
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 Py_INCREF(Py_None
); resultobj
= Py_None
;
22846 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
;
22848 wxWindow
*arg1
= (wxWindow
*) 0 ;
22849 int arg2
= (int) wxBOTH
;
22850 PyObject
* obj0
= 0 ;
22851 PyObject
* obj1
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "self",(char *) "dir", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22860 arg2
= (int) SWIG_AsInt(obj1
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 (arg1
)->CenterOnScreen(arg2
);
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22870 Py_INCREF(Py_None
); resultobj
= Py_None
;
22877 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22878 PyObject
*resultobj
;
22879 wxWindow
*arg1
= (wxWindow
*) 0 ;
22880 int arg2
= (int) wxBOTH
;
22881 PyObject
* obj0
= 0 ;
22882 PyObject
* obj1
= 0 ;
22883 char *kwnames
[] = {
22884 (char *) "self",(char *) "dir", NULL
22887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22891 arg2
= (int) SWIG_AsInt(obj1
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 (arg1
)->CenterOnParent(arg2
);
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 Py_INCREF(Py_None
); resultobj
= Py_None
;
22908 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22909 PyObject
*resultobj
;
22910 wxWindow
*arg1
= (wxWindow
*) 0 ;
22911 PyObject
* obj0
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 Py_INCREF(Py_None
); resultobj
= Py_None
;
22933 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22934 PyObject
*resultobj
;
22935 wxWindow
*arg1
= (wxWindow
*) 0 ;
22936 PyObject
* obj0
= 0 ;
22937 char *kwnames
[] = {
22938 (char *) "self", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 (arg1
)->FitInside();
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 Py_INCREF(Py_None
); resultobj
= Py_None
;
22958 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22959 PyObject
*resultobj
;
22960 wxWindow
*arg1
= (wxWindow
*) 0 ;
22963 int arg4
= (int) -1 ;
22964 int arg5
= (int) -1 ;
22965 int arg6
= (int) -1 ;
22966 int arg7
= (int) -1 ;
22967 PyObject
* obj0
= 0 ;
22968 PyObject
* obj1
= 0 ;
22969 PyObject
* obj2
= 0 ;
22970 PyObject
* obj3
= 0 ;
22971 PyObject
* obj4
= 0 ;
22972 PyObject
* obj5
= 0 ;
22973 PyObject
* obj6
= 0 ;
22975 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22978 arg2
= (int) SWIG_AsInt(obj1
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22980 arg3
= (int) SWIG_AsInt(obj2
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22983 arg4
= (int) SWIG_AsInt(obj3
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22987 arg5
= (int) SWIG_AsInt(obj4
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22991 arg6
= (int) SWIG_AsInt(obj5
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22995 arg7
= (int) SWIG_AsInt(obj6
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 Py_INCREF(Py_None
); resultobj
= Py_None
;
23012 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23013 PyObject
*resultobj
;
23014 wxWindow
*arg1
= (wxWindow
*) 0 ;
23016 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23017 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23018 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23019 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23023 PyObject
* obj0
= 0 ;
23024 PyObject
* obj1
= 0 ;
23025 PyObject
* obj2
= 0 ;
23026 PyObject
* obj3
= 0 ;
23028 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23033 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23038 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23044 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 Py_INCREF(Py_None
); resultobj
= Py_None
;
23061 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23066 argc
= PyObject_Length(args
);
23067 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23068 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23070 if ((argc
>= 2) && (argc
<= 4)) {
23074 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23083 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23087 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23090 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23094 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23097 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23100 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23106 if ((argc
>= 3) && (argc
<= 7)) {
23110 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23118 _v
= SWIG_CheckInt(argv
[1]);
23120 _v
= SWIG_CheckInt(argv
[2]);
23123 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23125 _v
= SWIG_CheckInt(argv
[3]);
23128 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23130 _v
= SWIG_CheckInt(argv
[4]);
23133 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23135 _v
= SWIG_CheckInt(argv
[5]);
23138 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23140 _v
= SWIG_CheckInt(argv
[6]);
23142 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23152 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23157 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23158 PyObject
*resultobj
;
23159 wxWindow
*arg1
= (wxWindow
*) 0 ;
23162 int arg4
= (int) -1 ;
23163 int arg5
= (int) -1 ;
23164 PyObject
* obj0
= 0 ;
23165 PyObject
* obj1
= 0 ;
23166 PyObject
* obj2
= 0 ;
23167 PyObject
* obj3
= 0 ;
23168 PyObject
* obj4
= 0 ;
23170 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23173 arg2
= (int) SWIG_AsInt(obj1
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23175 arg3
= (int) SWIG_AsInt(obj2
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 arg4
= (int) SWIG_AsInt(obj3
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23182 arg5
= (int) SWIG_AsInt(obj4
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 Py_INCREF(Py_None
); resultobj
= Py_None
;
23199 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23200 PyObject
*resultobj
;
23201 wxWindow
*arg1
= (wxWindow
*) 0 ;
23203 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23204 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23207 PyObject
* obj0
= 0 ;
23208 PyObject
* obj1
= 0 ;
23209 PyObject
* obj2
= 0 ;
23211 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23216 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23221 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 Py_INCREF(Py_None
); resultobj
= Py_None
;
23238 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23243 argc
= PyObject_Length(args
);
23244 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23245 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23247 if ((argc
>= 2) && (argc
<= 3)) {
23251 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23260 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23264 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23267 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23270 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23275 if ((argc
>= 3) && (argc
<= 5)) {
23279 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23287 _v
= SWIG_CheckInt(argv
[1]);
23289 _v
= SWIG_CheckInt(argv
[2]);
23292 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23294 _v
= SWIG_CheckInt(argv
[3]);
23297 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23299 _v
= SWIG_CheckInt(argv
[4]);
23301 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23309 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23314 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
;
23316 wxWindow
*arg1
= (wxWindow
*) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self", NULL
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= SWIG_FromInt((int)result
);
23340 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
;
23342 wxWindow
*arg1
= (wxWindow
*) 0 ;
23344 PyObject
* obj0
= 0 ;
23345 char *kwnames
[] = {
23346 (char *) "self", NULL
23349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 resultobj
= SWIG_FromInt((int)result
);
23366 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
;
23368 wxWindow
*arg1
= (wxWindow
*) 0 ;
23370 PyObject
* obj0
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23382 wxPyEndAllowThreads(__tstate
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23385 resultobj
= SWIG_FromInt((int)result
);
23392 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23393 PyObject
*resultobj
;
23394 wxWindow
*arg1
= (wxWindow
*) 0 ;
23396 PyObject
* obj0
= 0 ;
23397 char *kwnames
[] = {
23398 (char *) "self", NULL
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= SWIG_FromInt((int)result
);
23418 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
;
23420 wxWindow
*arg1
= (wxWindow
*) 0 ;
23422 PyObject
* obj0
= 0 ;
23423 char *kwnames
[] = {
23424 (char *) "self", NULL
23427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23438 wxSize
* resultptr
;
23439 resultptr
= new wxSize((wxSize
&) result
);
23440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23448 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxWindow
*arg1
= (wxWindow
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23468 wxSize
* resultptr
;
23469 resultptr
= new wxSize((wxSize
&) result
);
23470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23478 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxWindow
*arg1
= (wxWindow
*) 0 ;
23483 PyObject
* obj0
= 0 ;
23484 PyObject
* obj1
= 0 ;
23485 char *kwnames
[] = {
23486 (char *) "self",(char *) "size", NULL
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23494 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23503 Py_INCREF(Py_None
); resultobj
= Py_None
;
23510 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23511 PyObject
*resultobj
;
23512 wxWindow
*arg1
= (wxWindow
*) 0 ;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 PyObject
* obj2
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self",(char *) "w",(char *) "h", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23525 arg2
= (int) SWIG_AsInt(obj1
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23527 arg3
= (int) SWIG_AsInt(obj2
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 (arg1
)->SetVirtualSize(arg2
,arg3
);
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 Py_INCREF(Py_None
); resultobj
= Py_None
;
23543 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxWindow
*arg1
= (wxWindow
*) 0 ;
23547 PyObject
* obj0
= 0 ;
23548 char *kwnames
[] = {
23549 (char *) "self", NULL
23552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23563 wxSize
* resultptr
;
23564 resultptr
= new wxSize((wxSize
&) result
);
23565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23573 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23575 wxWindow
*arg1
= (wxWindow
*) 0 ;
23576 int *arg2
= (int *) 0 ;
23577 int *arg3
= (int *) 0 ;
23580 PyObject
* obj0
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self", NULL
23587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23597 Py_INCREF(Py_None
); resultobj
= Py_None
;
23599 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23600 resultobj
= t_output_helper(resultobj
,o
);
23603 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23604 resultobj
= t_output_helper(resultobj
,o
);
23612 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23614 wxWindow
*arg1
= (wxWindow
*) 0 ;
23616 PyObject
* obj0
= 0 ;
23617 char *kwnames
[] = {
23618 (char *) "self", NULL
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23632 wxSize
* resultptr
;
23633 resultptr
= new wxSize((wxSize
&) result
);
23634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23642 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
;
23644 wxWindow
*arg1
= (wxWindow
*) 0 ;
23645 bool arg2
= (bool) True
;
23647 PyObject
* obj0
= 0 ;
23648 PyObject
* obj1
= 0 ;
23649 char *kwnames
[] = {
23650 (char *) "self",(char *) "show", NULL
23653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23657 arg2
= (bool) SWIG_AsBool(obj1
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 result
= (bool)(arg1
)->Show(arg2
);
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23676 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
;
23678 wxWindow
*arg1
= (wxWindow
*) 0 ;
23680 PyObject
* obj0
= 0 ;
23681 char *kwnames
[] = {
23682 (char *) "self", NULL
23685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 result
= (bool)(arg1
)->Hide();
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23704 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
;
23706 wxWindow
*arg1
= (wxWindow
*) 0 ;
23707 bool arg2
= (bool) True
;
23709 PyObject
* obj0
= 0 ;
23710 PyObject
* obj1
= 0 ;
23711 char *kwnames
[] = {
23712 (char *) "self",(char *) "enable", NULL
23715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23719 arg2
= (bool) SWIG_AsBool(obj1
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 result
= (bool)(arg1
)->Enable(arg2
);
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23738 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
;
23740 wxWindow
*arg1
= (wxWindow
*) 0 ;
23742 PyObject
* obj0
= 0 ;
23743 char *kwnames
[] = {
23744 (char *) "self", NULL
23747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23752 result
= (bool)(arg1
)->Disable();
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23766 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23767 PyObject
*resultobj
;
23768 wxWindow
*arg1
= (wxWindow
*) 0 ;
23770 PyObject
* obj0
= 0 ;
23771 char *kwnames
[] = {
23772 (char *) "self", NULL
23775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23794 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23795 PyObject
*resultobj
;
23796 wxWindow
*arg1
= (wxWindow
*) 0 ;
23798 PyObject
* obj0
= 0 ;
23799 char *kwnames
[] = {
23800 (char *) "self", NULL
23803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23822 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23823 PyObject
*resultobj
;
23824 wxWindow
*arg1
= (wxWindow
*) 0 ;
23826 PyObject
* obj0
= 0 ;
23827 PyObject
* obj1
= 0 ;
23828 char *kwnames
[] = {
23829 (char *) "self",(char *) "style", NULL
23832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23835 arg2
= (long) SWIG_AsLong(obj1
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 (arg1
)->SetWindowStyleFlag(arg2
);
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 Py_INCREF(Py_None
); resultobj
= Py_None
;
23851 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23853 wxWindow
*arg1
= (wxWindow
*) 0 ;
23855 PyObject
* obj0
= 0 ;
23856 char *kwnames
[] = {
23857 (char *) "self", NULL
23860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= SWIG_FromLong((long)result
);
23877 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
;
23879 wxWindow
*arg1
= (wxWindow
*) 0 ;
23882 PyObject
* obj0
= 0 ;
23883 PyObject
* obj1
= 0 ;
23884 char *kwnames
[] = {
23885 (char *) "self",(char *) "flag", NULL
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23891 arg2
= (int) SWIG_AsInt(obj1
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23909 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxWindow
*arg1
= (wxWindow
*) 0 ;
23913 PyObject
* obj0
= 0 ;
23914 char *kwnames
[] = {
23915 (char *) "self", NULL
23918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23937 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
;
23939 wxWindow
*arg1
= (wxWindow
*) 0 ;
23941 PyObject
* obj0
= 0 ;
23942 PyObject
* obj1
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self",(char *) "exStyle", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23950 arg2
= (long) SWIG_AsLong(obj1
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 (arg1
)->SetExtraStyle(arg2
);
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23959 Py_INCREF(Py_None
); resultobj
= Py_None
;
23966 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
;
23968 wxWindow
*arg1
= (wxWindow
*) 0 ;
23970 PyObject
* obj0
= 0 ;
23971 char *kwnames
[] = {
23972 (char *) "self", NULL
23975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= SWIG_FromLong((long)result
);
23992 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
;
23994 wxWindow
*arg1
= (wxWindow
*) 0 ;
23995 bool arg2
= (bool) True
;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 char *kwnames
[] = {
23999 (char *) "self",(char *) "modal", NULL
24002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24006 arg2
= (bool) SWIG_AsBool(obj1
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 (arg1
)->MakeModal(arg2
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 Py_INCREF(Py_None
); resultobj
= Py_None
;
24023 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24025 wxWindow
*arg1
= (wxWindow
*) 0 ;
24027 PyObject
* obj0
= 0 ;
24028 PyObject
* obj1
= 0 ;
24029 char *kwnames
[] = {
24030 (char *) "self",(char *) "enableTheme", NULL
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24036 arg2
= (bool) SWIG_AsBool(obj1
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 (arg1
)->SetThemeEnabled(arg2
);
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24045 Py_INCREF(Py_None
); resultobj
= Py_None
;
24052 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
;
24054 wxWindow
*arg1
= (wxWindow
*) 0 ;
24056 PyObject
* obj0
= 0 ;
24057 char *kwnames
[] = {
24058 (char *) "self", NULL
24061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24080 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24081 PyObject
*resultobj
;
24082 wxWindow
*arg1
= (wxWindow
*) 0 ;
24083 PyObject
* obj0
= 0 ;
24084 char *kwnames
[] = {
24085 (char *) "self", NULL
24088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 (arg1
)->SetFocus();
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 Py_INCREF(Py_None
); resultobj
= Py_None
;
24105 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24106 PyObject
*resultobj
;
24107 wxWindow
*arg1
= (wxWindow
*) 0 ;
24108 PyObject
* obj0
= 0 ;
24109 char *kwnames
[] = {
24110 (char *) "self", NULL
24113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 (arg1
)->SetFocusFromKbd();
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24123 Py_INCREF(Py_None
); resultobj
= Py_None
;
24130 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24133 char *kwnames
[] = {
24137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 result
= (wxWindow
*)wxWindow::FindFocus();
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= wxPyMake_wxObject(result
);
24154 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24156 wxWindow
*arg1
= (wxWindow
*) 0 ;
24158 PyObject
* obj0
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24182 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxWindow
*arg1
= (wxWindow
*) 0 ;
24186 PyObject
* obj0
= 0 ;
24187 char *kwnames
[] = {
24188 (char *) "self", NULL
24191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24210 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24211 PyObject
*resultobj
;
24212 wxWindow
*arg1
= (wxWindow
*) 0 ;
24214 PyObject
* obj0
= 0 ;
24215 char *kwnames
[] = {
24216 (char *) "self", NULL
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= wxPyMake_wxObject(result
);
24238 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24240 wxWindow
*arg1
= (wxWindow
*) 0 ;
24241 wxWindow
*arg2
= (wxWindow
*) 0 ;
24243 PyObject
* obj0
= 0 ;
24244 PyObject
* obj1
= 0 ;
24245 char *kwnames
[] = {
24246 (char *) "self",(char *) "child", NULL
24249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24262 resultobj
= wxPyMake_wxObject(result
);
24270 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
;
24272 wxWindow
*arg1
= (wxWindow
*) 0 ;
24273 wxWindow
*arg2
= (wxWindow
*) 0 ;
24274 PyObject
* obj0
= 0 ;
24275 PyObject
* obj1
= 0 ;
24276 char *kwnames
[] = {
24277 (char *) "self",(char *) "win", NULL
24280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 (arg1
)->SetTmpDefaultItem(arg2
);
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24292 Py_INCREF(Py_None
); resultobj
= Py_None
;
24299 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
;
24301 wxWindow
*arg1
= (wxWindow
*) 0 ;
24303 PyObject
* obj0
= 0 ;
24304 char *kwnames
[] = {
24305 (char *) "self", NULL
24308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24318 resultobj
= result
;
24325 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24326 PyObject
*resultobj
;
24327 wxWindow
*arg1
= (wxWindow
*) 0 ;
24329 PyObject
* obj0
= 0 ;
24330 char *kwnames
[] = {
24331 (char *) "self", NULL
24334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24345 resultobj
= wxPyMake_wxObject(result
);
24353 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxWindow
*arg1
= (wxWindow
*) 0 ;
24357 PyObject
* obj0
= 0 ;
24358 char *kwnames
[] = {
24359 (char *) "self", NULL
24362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= wxPyMake_wxObject(result
);
24381 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24383 wxWindow
*arg1
= (wxWindow
*) 0 ;
24385 PyObject
* obj0
= 0 ;
24386 char *kwnames
[] = {
24387 (char *) "self", NULL
24390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24409 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24410 PyObject
*resultobj
;
24411 wxWindow
*arg1
= (wxWindow
*) 0 ;
24412 wxWindow
*arg2
= (wxWindow
*) 0 ;
24414 PyObject
* obj0
= 0 ;
24415 PyObject
* obj1
= 0 ;
24416 char *kwnames
[] = {
24417 (char *) "self",(char *) "newParent", NULL
24420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24427 result
= (bool)(arg1
)->Reparent(arg2
);
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24441 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxWindow
*arg1
= (wxWindow
*) 0 ;
24444 wxWindow
*arg2
= (wxWindow
*) 0 ;
24445 PyObject
* obj0
= 0 ;
24446 PyObject
* obj1
= 0 ;
24447 char *kwnames
[] = {
24448 (char *) "self",(char *) "child", NULL
24451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 (arg1
)->AddChild(arg2
);
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 Py_INCREF(Py_None
); resultobj
= Py_None
;
24470 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
;
24472 wxWindow
*arg1
= (wxWindow
*) 0 ;
24473 wxWindow
*arg2
= (wxWindow
*) 0 ;
24474 PyObject
* obj0
= 0 ;
24475 PyObject
* obj1
= 0 ;
24476 char *kwnames
[] = {
24477 (char *) "self",(char *) "child", NULL
24480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 (arg1
)->RemoveChild(arg2
);
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24492 Py_INCREF(Py_None
); resultobj
= Py_None
;
24499 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxWindow
*arg1
= (wxWindow
*) 0 ;
24504 PyObject
* obj0
= 0 ;
24505 PyObject
* obj1
= 0 ;
24506 char *kwnames
[] = {
24507 (char *) "self",(char *) "winid", NULL
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24513 arg2
= (long) SWIG_AsLong(obj1
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= wxPyMake_wxObject(result
);
24531 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
;
24533 wxWindow
*arg1
= (wxWindow
*) 0 ;
24534 wxString
*arg2
= 0 ;
24536 bool temp2
= False
;
24537 PyObject
* obj0
= 0 ;
24538 PyObject
* obj1
= 0 ;
24539 char *kwnames
[] = {
24540 (char *) "self",(char *) "name", NULL
24543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24547 arg2
= wxString_in_helper(obj1
);
24548 if (arg2
== NULL
) SWIG_fail
;
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24559 resultobj
= wxPyMake_wxObject(result
);
24575 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxWindow
*arg1
= (wxWindow
*) 0 ;
24578 wxEvtHandler
*result
;
24579 PyObject
* obj0
= 0 ;
24580 char *kwnames
[] = {
24581 (char *) "self", NULL
24584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= wxPyMake_wxObject(result
);
24603 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxWindow
*arg1
= (wxWindow
*) 0 ;
24606 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24607 PyObject
* obj0
= 0 ;
24608 PyObject
* obj1
= 0 ;
24609 char *kwnames
[] = {
24610 (char *) "self",(char *) "handler", NULL
24613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 (arg1
)->SetEventHandler(arg2
);
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 Py_INCREF(Py_None
); resultobj
= Py_None
;
24632 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
;
24634 wxWindow
*arg1
= (wxWindow
*) 0 ;
24635 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24636 PyObject
* obj0
= 0 ;
24637 PyObject
* obj1
= 0 ;
24638 char *kwnames
[] = {
24639 (char *) "self",(char *) "handler", NULL
24642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 (arg1
)->PushEventHandler(arg2
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 Py_INCREF(Py_None
); resultobj
= Py_None
;
24661 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
;
24663 wxWindow
*arg1
= (wxWindow
*) 0 ;
24664 bool arg2
= (bool) False
;
24665 wxEvtHandler
*result
;
24666 PyObject
* obj0
= 0 ;
24667 PyObject
* obj1
= 0 ;
24668 char *kwnames
[] = {
24669 (char *) "self",(char *) "deleteHandler", NULL
24672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24676 arg2
= (bool) SWIG_AsBool(obj1
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= wxPyMake_wxObject(result
);
24695 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
;
24697 wxWindow
*arg1
= (wxWindow
*) 0 ;
24698 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24700 PyObject
* obj0
= 0 ;
24701 PyObject
* obj1
= 0 ;
24702 char *kwnames
[] = {
24703 (char *) "self",(char *) "handler", NULL
24706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24727 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
;
24729 wxWindow
*arg1
= (wxWindow
*) 0 ;
24730 wxValidator
*arg2
= 0 ;
24731 PyObject
* obj0
= 0 ;
24732 PyObject
* obj1
= 0 ;
24733 char *kwnames
[] = {
24734 (char *) "self",(char *) "validator", NULL
24737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24743 if (arg2
== NULL
) {
24744 PyErr_SetString(PyExc_TypeError
,"null reference");
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 Py_INCREF(Py_None
); resultobj
= Py_None
;
24761 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24762 PyObject
*resultobj
;
24763 wxWindow
*arg1
= (wxWindow
*) 0 ;
24764 wxValidator
*result
;
24765 PyObject
* obj0
= 0 ;
24766 char *kwnames
[] = {
24767 (char *) "self", NULL
24770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24775 result
= (wxValidator
*)(arg1
)->GetValidator();
24777 wxPyEndAllowThreads(__tstate
);
24778 if (PyErr_Occurred()) SWIG_fail
;
24781 resultobj
= wxPyMake_wxObject(result
);
24789 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
;
24791 wxWindow
*arg1
= (wxWindow
*) 0 ;
24793 PyObject
* obj0
= 0 ;
24794 char *kwnames
[] = {
24795 (char *) "self", NULL
24798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 result
= (bool)(arg1
)->Validate();
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24817 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxWindow
*arg1
= (wxWindow
*) 0 ;
24821 PyObject
* obj0
= 0 ;
24822 char *kwnames
[] = {
24823 (char *) "self", NULL
24826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 result
= (bool)(arg1
)->TransferDataToWindow();
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24845 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
;
24847 wxWindow
*arg1
= (wxWindow
*) 0 ;
24849 PyObject
* obj0
= 0 ;
24850 char *kwnames
[] = {
24851 (char *) "self", NULL
24854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (bool)(arg1
)->TransferDataFromWindow();
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24873 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
;
24875 wxWindow
*arg1
= (wxWindow
*) 0 ;
24876 PyObject
* obj0
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 (arg1
)->InitDialog();
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24891 Py_INCREF(Py_None
); resultobj
= Py_None
;
24898 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24899 PyObject
*resultobj
;
24900 wxWindow
*arg1
= (wxWindow
*) 0 ;
24901 wxAcceleratorTable
*arg2
= 0 ;
24902 PyObject
* obj0
= 0 ;
24903 PyObject
* obj1
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self",(char *) "accel", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24914 if (arg2
== NULL
) {
24915 PyErr_SetString(PyExc_TypeError
,"null reference");
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 Py_INCREF(Py_None
); resultobj
= Py_None
;
24932 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
;
24934 wxWindow
*arg1
= (wxWindow
*) 0 ;
24935 wxAcceleratorTable
*result
;
24936 PyObject
* obj0
= 0 ;
24937 char *kwnames
[] = {
24938 (char *) "self", NULL
24941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24958 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24959 PyObject
*resultobj
;
24960 wxWindow
*arg1
= (wxWindow
*) 0 ;
24965 PyObject
* obj0
= 0 ;
24966 PyObject
* obj1
= 0 ;
24967 PyObject
* obj2
= 0 ;
24968 PyObject
* obj3
= 0 ;
24969 char *kwnames
[] = {
24970 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24976 arg2
= (int) SWIG_AsInt(obj1
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24978 arg3
= (int) SWIG_AsInt(obj2
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24980 arg4
= (int) SWIG_AsInt(obj3
);
24981 if (PyErr_Occurred()) SWIG_fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24998 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
;
25000 wxWindow
*arg1
= (wxWindow
*) 0 ;
25003 PyObject
* obj0
= 0 ;
25004 PyObject
* obj1
= 0 ;
25005 char *kwnames
[] = {
25006 (char *) "self",(char *) "hotkeyId", NULL
25009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25012 arg2
= (int) SWIG_AsInt(obj1
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25030 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25032 wxWindow
*arg1
= (wxWindow
*) 0 ;
25033 wxPoint
*arg2
= 0 ;
25036 PyObject
* obj0
= 0 ;
25037 PyObject
* obj1
= 0 ;
25038 char *kwnames
[] = {
25039 (char *) "self",(char *) "pt", NULL
25042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25053 wxPyEndAllowThreads(__tstate
);
25054 if (PyErr_Occurred()) SWIG_fail
;
25057 wxPoint
* resultptr
;
25058 resultptr
= new wxPoint((wxPoint
&) result
);
25059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25067 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25068 PyObject
*resultobj
;
25069 wxWindow
*arg1
= (wxWindow
*) 0 ;
25073 PyObject
* obj0
= 0 ;
25074 PyObject
* obj1
= 0 ;
25075 char *kwnames
[] = {
25076 (char *) "self",(char *) "sz", NULL
25079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25084 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25088 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25090 wxPyEndAllowThreads(__tstate
);
25091 if (PyErr_Occurred()) SWIG_fail
;
25094 wxSize
* resultptr
;
25095 resultptr
= new wxSize((wxSize
&) result
);
25096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25104 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25105 PyObject
*resultobj
;
25106 wxWindow
*arg1
= (wxWindow
*) 0 ;
25107 wxPoint
*arg2
= 0 ;
25110 PyObject
* obj0
= 0 ;
25111 PyObject
* obj1
= 0 ;
25112 char *kwnames
[] = {
25113 (char *) "self",(char *) "pt", NULL
25116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25121 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25131 wxPoint
* resultptr
;
25132 resultptr
= new wxPoint((wxPoint
&) result
);
25133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25141 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25142 PyObject
*resultobj
;
25143 wxWindow
*arg1
= (wxWindow
*) 0 ;
25147 PyObject
* obj0
= 0 ;
25148 PyObject
* obj1
= 0 ;
25149 char *kwnames
[] = {
25150 (char *) "self",(char *) "sz", NULL
25153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25158 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25162 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25164 wxPyEndAllowThreads(__tstate
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25168 wxSize
* resultptr
;
25169 resultptr
= new wxSize((wxSize
&) result
);
25170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25178 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25179 PyObject
*resultobj
;
25180 wxWindow
*arg1
= (wxWindow
*) 0 ;
25181 wxPoint
*arg2
= 0 ;
25184 PyObject
* obj0
= 0 ;
25185 PyObject
* obj1
= 0 ;
25186 char *kwnames
[] = {
25187 (char *) "self",(char *) "pt", NULL
25190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25205 wxPoint
* resultptr
;
25206 resultptr
= new wxPoint((wxPoint
&) result
);
25207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25215 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25216 PyObject
*resultobj
;
25217 wxWindow
*arg1
= (wxWindow
*) 0 ;
25221 PyObject
* obj0
= 0 ;
25222 PyObject
* obj1
= 0 ;
25223 char *kwnames
[] = {
25224 (char *) "self",(char *) "sz", NULL
25227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25232 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25238 wxPyEndAllowThreads(__tstate
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25242 wxSize
* resultptr
;
25243 resultptr
= new wxSize((wxSize
&) result
);
25244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25252 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
;
25254 wxWindow
*arg1
= (wxWindow
*) 0 ;
25257 PyObject
* obj0
= 0 ;
25258 PyObject
* obj1
= 0 ;
25259 PyObject
* obj2
= 0 ;
25260 char *kwnames
[] = {
25261 (char *) "self",(char *) "x",(char *) "y", NULL
25264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25267 arg2
= (int) SWIG_AsInt(obj1
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25269 arg3
= (int) SWIG_AsInt(obj2
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 (arg1
)->WarpPointer(arg2
,arg3
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 Py_INCREF(Py_None
); resultobj
= Py_None
;
25285 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
;
25287 wxWindow
*arg1
= (wxWindow
*) 0 ;
25288 PyObject
* obj0
= 0 ;
25289 char *kwnames
[] = {
25290 (char *) "self", NULL
25293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 (arg1
)->CaptureMouse();
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 Py_INCREF(Py_None
); resultobj
= Py_None
;
25310 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25312 wxWindow
*arg1
= (wxWindow
*) 0 ;
25313 PyObject
* obj0
= 0 ;
25314 char *kwnames
[] = {
25315 (char *) "self", NULL
25318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25323 (arg1
)->ReleaseMouse();
25325 wxPyEndAllowThreads(__tstate
);
25326 if (PyErr_Occurred()) SWIG_fail
;
25328 Py_INCREF(Py_None
); resultobj
= Py_None
;
25335 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25336 PyObject
*resultobj
;
25338 char *kwnames
[] = {
25342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (wxWindow
*)wxWindow::GetCapture();
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= wxPyMake_wxObject(result
);
25359 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxWindow
*arg1
= (wxWindow
*) 0 ;
25363 PyObject
* obj0
= 0 ;
25364 char *kwnames
[] = {
25365 (char *) "self", NULL
25368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25387 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25388 PyObject
*resultobj
;
25389 wxWindow
*arg1
= (wxWindow
*) 0 ;
25390 bool arg2
= (bool) True
;
25391 wxRect
*arg3
= (wxRect
*) NULL
;
25392 PyObject
* obj0
= 0 ;
25393 PyObject
* obj1
= 0 ;
25394 PyObject
* obj2
= 0 ;
25395 char *kwnames
[] = {
25396 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25403 arg2
= (bool) SWIG_AsBool(obj1
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25407 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 Py_INCREF(Py_None
); resultobj
= Py_None
;
25424 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
;
25426 wxWindow
*arg1
= (wxWindow
*) 0 ;
25429 PyObject
* obj0
= 0 ;
25430 PyObject
* obj1
= 0 ;
25431 char *kwnames
[] = {
25432 (char *) "self",(char *) "rect", NULL
25435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25440 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25449 Py_INCREF(Py_None
); resultobj
= Py_None
;
25456 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25458 wxWindow
*arg1
= (wxWindow
*) 0 ;
25459 PyObject
* obj0
= 0 ;
25460 char *kwnames
[] = {
25461 (char *) "self", NULL
25464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 Py_INCREF(Py_None
); resultobj
= Py_None
;
25481 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
;
25483 wxWindow
*arg1
= (wxWindow
*) 0 ;
25484 PyObject
* obj0
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "self", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 (arg1
)->ClearBackground();
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25499 Py_INCREF(Py_None
); resultobj
= Py_None
;
25506 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25507 PyObject
*resultobj
;
25508 wxWindow
*arg1
= (wxWindow
*) 0 ;
25509 PyObject
* obj0
= 0 ;
25510 char *kwnames
[] = {
25511 (char *) "self", NULL
25514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 wxPyEndAllowThreads(__tstate
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25524 Py_INCREF(Py_None
); resultobj
= Py_None
;
25531 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25532 PyObject
*resultobj
;
25533 wxWindow
*arg1
= (wxWindow
*) 0 ;
25534 PyObject
* obj0
= 0 ;
25535 char *kwnames
[] = {
25536 (char *) "self", NULL
25539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 Py_INCREF(Py_None
); resultobj
= Py_None
;
25556 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
;
25558 wxWindow
*arg1
= (wxWindow
*) 0 ;
25560 PyObject
* obj0
= 0 ;
25561 PyObject
* obj1
= 0 ;
25562 char *kwnames
[] = {
25563 (char *) "self",(char *) "dc", NULL
25566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25572 if (arg2
== NULL
) {
25573 PyErr_SetString(PyExc_TypeError
,"null reference");
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 (arg1
)->PrepareDC(*arg2
);
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 Py_INCREF(Py_None
); resultobj
= Py_None
;
25590 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
;
25592 wxWindow
*arg1
= (wxWindow
*) 0 ;
25594 PyObject
* obj0
= 0 ;
25595 char *kwnames
[] = {
25596 (char *) "self", NULL
25599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25606 result
= (wxRegion
*) &_result_ref
;
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25619 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25620 PyObject
*resultobj
;
25621 wxWindow
*arg1
= (wxWindow
*) 0 ;
25623 PyObject
* obj0
= 0 ;
25624 char *kwnames
[] = {
25625 (char *) "self", NULL
25628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25639 wxRect
* resultptr
;
25640 resultptr
= new wxRect((wxRect
&) result
);
25641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25649 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25650 PyObject
*resultobj
;
25651 wxWindow
*arg1
= (wxWindow
*) 0 ;
25654 int arg4
= (int) 1 ;
25655 int arg5
= (int) 1 ;
25657 PyObject
* obj0
= 0 ;
25658 PyObject
* obj1
= 0 ;
25659 PyObject
* obj2
= 0 ;
25660 PyObject
* obj3
= 0 ;
25661 PyObject
* obj4
= 0 ;
25662 char *kwnames
[] = {
25663 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25669 arg2
= (int) SWIG_AsInt(obj1
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25671 arg3
= (int) SWIG_AsInt(obj2
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25674 arg4
= (int) SWIG_AsInt(obj3
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25678 arg5
= (int) SWIG_AsInt(obj4
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25697 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25698 PyObject
*resultobj
;
25699 wxWindow
*arg1
= (wxWindow
*) 0 ;
25700 wxPoint
*arg2
= 0 ;
25703 PyObject
* obj0
= 0 ;
25704 PyObject
* obj1
= 0 ;
25705 char *kwnames
[] = {
25706 (char *) "self",(char *) "pt", NULL
25709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25714 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25718 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25732 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25733 PyObject
*resultobj
;
25734 wxWindow
*arg1
= (wxWindow
*) 0 ;
25738 PyObject
* obj0
= 0 ;
25739 PyObject
* obj1
= 0 ;
25740 char *kwnames
[] = {
25741 (char *) "self",(char *) "rect", NULL
25744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25749 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25767 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxWindow
*arg1
= (wxWindow
*) 0 ;
25770 wxVisualAttributes result
;
25771 PyObject
* obj0
= 0 ;
25772 char *kwnames
[] = {
25773 (char *) "self", NULL
25776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25787 wxVisualAttributes
* resultptr
;
25788 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25797 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
;
25799 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25800 wxVisualAttributes result
;
25801 PyObject
* obj0
= 0 ;
25802 char *kwnames
[] = {
25803 (char *) "variant", NULL
25806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25808 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25819 wxVisualAttributes
* resultptr
;
25820 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25829 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
;
25831 wxWindow
*arg1
= (wxWindow
*) 0 ;
25832 wxColour
*arg2
= 0 ;
25835 PyObject
* obj0
= 0 ;
25836 PyObject
* obj1
= 0 ;
25837 char *kwnames
[] = {
25838 (char *) "self",(char *) "colour", NULL
25841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25846 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25864 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25865 PyObject
*resultobj
;
25866 wxWindow
*arg1
= (wxWindow
*) 0 ;
25867 wxColour
*arg2
= 0 ;
25869 PyObject
* obj0
= 0 ;
25870 PyObject
* obj1
= 0 ;
25871 char *kwnames
[] = {
25872 (char *) "self",(char *) "colour", NULL
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25880 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 Py_INCREF(Py_None
); resultobj
= Py_None
;
25896 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
;
25898 wxWindow
*arg1
= (wxWindow
*) 0 ;
25899 wxColour
*arg2
= 0 ;
25902 PyObject
* obj0
= 0 ;
25903 PyObject
* obj1
= 0 ;
25904 char *kwnames
[] = {
25905 (char *) "self",(char *) "colour", NULL
25908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25913 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25919 wxPyEndAllowThreads(__tstate
);
25920 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25931 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25932 PyObject
*resultobj
;
25933 wxWindow
*arg1
= (wxWindow
*) 0 ;
25934 wxColour
*arg2
= 0 ;
25936 PyObject
* obj0
= 0 ;
25937 PyObject
* obj1
= 0 ;
25938 char *kwnames
[] = {
25939 (char *) "self",(char *) "colour", NULL
25942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25947 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 Py_INCREF(Py_None
); resultobj
= Py_None
;
25963 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25964 PyObject
*resultobj
;
25965 wxWindow
*arg1
= (wxWindow
*) 0 ;
25967 PyObject
* obj0
= 0 ;
25968 char *kwnames
[] = {
25969 (char *) "self", NULL
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25983 wxColour
* resultptr
;
25984 resultptr
= new wxColour((wxColour
&) result
);
25985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25993 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
;
25995 wxWindow
*arg1
= (wxWindow
*) 0 ;
25997 PyObject
* obj0
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26013 wxColour
* resultptr
;
26014 resultptr
= new wxColour((wxColour
&) result
);
26015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26023 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
;
26025 wxWindow
*arg1
= (wxWindow
*) 0 ;
26026 wxCursor
*arg2
= 0 ;
26028 PyObject
* obj0
= 0 ;
26029 PyObject
* obj1
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self",(char *) "cursor", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26040 if (arg2
== NULL
) {
26041 PyErr_SetString(PyExc_TypeError
,"null reference");
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26060 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxWindow
*arg1
= (wxWindow
*) 0 ;
26064 PyObject
* obj0
= 0 ;
26065 char *kwnames
[] = {
26066 (char *) "self", NULL
26069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26076 result
= (wxCursor
*) &_result_ref
;
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26083 wxCursor
* resultptr
= new wxCursor(*result
);
26084 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26092 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxWindow
*arg1
= (wxWindow
*) 0 ;
26097 PyObject
* obj0
= 0 ;
26098 PyObject
* obj1
= 0 ;
26099 char *kwnames
[] = {
26100 (char *) "self",(char *) "font", NULL
26103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26109 if (arg2
== NULL
) {
26110 PyErr_SetString(PyExc_TypeError
,"null reference");
26114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26117 wxPyEndAllowThreads(__tstate
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26129 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26130 PyObject
*resultobj
;
26131 wxWindow
*arg1
= (wxWindow
*) 0 ;
26133 PyObject
* obj0
= 0 ;
26134 PyObject
* obj1
= 0 ;
26135 char *kwnames
[] = {
26136 (char *) "self",(char *) "font", NULL
26139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26145 if (arg2
== NULL
) {
26146 PyErr_SetString(PyExc_TypeError
,"null reference");
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26156 Py_INCREF(Py_None
); resultobj
= Py_None
;
26163 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
;
26165 wxWindow
*arg1
= (wxWindow
*) 0 ;
26167 PyObject
* obj0
= 0 ;
26168 char *kwnames
[] = {
26169 (char *) "self", NULL
26172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 wxFont
&_result_ref
= (arg1
)->GetFont();
26179 result
= (wxFont
*) &_result_ref
;
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26186 wxFont
* resultptr
= new wxFont(*result
);
26187 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26195 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
;
26197 wxWindow
*arg1
= (wxWindow
*) 0 ;
26198 wxCaret
*arg2
= (wxCaret
*) 0 ;
26199 PyObject
* obj0
= 0 ;
26200 PyObject
* obj1
= 0 ;
26201 char *kwnames
[] = {
26202 (char *) "self",(char *) "caret", NULL
26205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 (arg1
)->SetCaret(arg2
);
26214 wxPyEndAllowThreads(__tstate
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 Py_INCREF(Py_None
); resultobj
= Py_None
;
26224 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
;
26226 wxWindow
*arg1
= (wxWindow
*) 0 ;
26228 PyObject
* obj0
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26250 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26251 PyObject
*resultobj
;
26252 wxWindow
*arg1
= (wxWindow
*) 0 ;
26254 PyObject
* obj0
= 0 ;
26255 char *kwnames
[] = {
26256 (char *) "self", NULL
26259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26266 wxPyEndAllowThreads(__tstate
);
26267 if (PyErr_Occurred()) SWIG_fail
;
26269 resultobj
= SWIG_FromInt((int)result
);
26276 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26277 PyObject
*resultobj
;
26278 wxWindow
*arg1
= (wxWindow
*) 0 ;
26280 PyObject
* obj0
= 0 ;
26281 char *kwnames
[] = {
26282 (char *) "self", NULL
26285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= SWIG_FromInt((int)result
);
26302 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
;
26304 wxWindow
*arg1
= (wxWindow
*) 0 ;
26305 wxString
*arg2
= 0 ;
26306 int *arg3
= (int *) 0 ;
26307 int *arg4
= (int *) 0 ;
26308 bool temp2
= False
;
26311 PyObject
* obj0
= 0 ;
26312 PyObject
* obj1
= 0 ;
26313 char *kwnames
[] = {
26314 (char *) "self",(char *) "string", NULL
26319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26323 arg2
= wxString_in_helper(obj1
);
26324 if (arg2
== NULL
) SWIG_fail
;
26328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26329 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26331 wxPyEndAllowThreads(__tstate
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26334 Py_INCREF(Py_None
); resultobj
= Py_None
;
26336 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26337 resultobj
= t_output_helper(resultobj
,o
);
26340 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26341 resultobj
= t_output_helper(resultobj
,o
);
26357 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
;
26359 wxWindow
*arg1
= (wxWindow
*) 0 ;
26360 wxString
*arg2
= 0 ;
26361 int *arg3
= (int *) 0 ;
26362 int *arg4
= (int *) 0 ;
26363 int *arg5
= (int *) 0 ;
26364 int *arg6
= (int *) 0 ;
26365 wxFont
*arg7
= (wxFont
*) NULL
;
26366 bool temp2
= False
;
26371 PyObject
* obj0
= 0 ;
26372 PyObject
* obj1
= 0 ;
26373 PyObject
* obj2
= 0 ;
26374 char *kwnames
[] = {
26375 (char *) "self",(char *) "string",(char *) "font", NULL
26382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26386 arg2
= wxString_in_helper(obj1
);
26387 if (arg2
== NULL
) SWIG_fail
;
26391 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26396 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26398 wxPyEndAllowThreads(__tstate
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 Py_INCREF(Py_None
); resultobj
= Py_None
;
26403 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26404 resultobj
= t_output_helper(resultobj
,o
);
26407 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26408 resultobj
= t_output_helper(resultobj
,o
);
26411 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26412 resultobj
= t_output_helper(resultobj
,o
);
26415 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26416 resultobj
= t_output_helper(resultobj
,o
);
26432 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26433 PyObject
*resultobj
;
26434 wxWindow
*arg1
= (wxWindow
*) 0 ;
26435 int *arg2
= (int *) 0 ;
26436 int *arg3
= (int *) 0 ;
26439 PyObject
* obj0
= 0 ;
26440 PyObject
* obj1
= 0 ;
26441 PyObject
* obj2
= 0 ;
26442 char *kwnames
[] = {
26443 (char *) "self",(char *) "x",(char *) "y", NULL
26446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26450 temp2
= PyInt_AsLong(obj1
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26455 temp3
= PyInt_AsLong(obj2
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26466 Py_INCREF(Py_None
); resultobj
= Py_None
;
26468 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26469 resultobj
= t_output_helper(resultobj
,o
);
26472 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26473 resultobj
= t_output_helper(resultobj
,o
);
26481 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26482 PyObject
*resultobj
;
26483 wxWindow
*arg1
= (wxWindow
*) 0 ;
26484 int *arg2
= (int *) 0 ;
26485 int *arg3
= (int *) 0 ;
26488 PyObject
* obj0
= 0 ;
26489 PyObject
* obj1
= 0 ;
26490 PyObject
* obj2
= 0 ;
26491 char *kwnames
[] = {
26492 (char *) "self",(char *) "x",(char *) "y", NULL
26495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26499 temp2
= PyInt_AsLong(obj1
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26504 temp3
= PyInt_AsLong(obj2
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 Py_INCREF(Py_None
); resultobj
= Py_None
;
26517 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26518 resultobj
= t_output_helper(resultobj
,o
);
26521 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26522 resultobj
= t_output_helper(resultobj
,o
);
26530 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxWindow
*arg1
= (wxWindow
*) 0 ;
26533 wxPoint
*arg2
= 0 ;
26536 PyObject
* obj0
= 0 ;
26537 PyObject
* obj1
= 0 ;
26538 char *kwnames
[] = {
26539 (char *) "self",(char *) "pt", NULL
26542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26547 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26557 wxPoint
* resultptr
;
26558 resultptr
= new wxPoint((wxPoint
&) result
);
26559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26567 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
;
26569 wxWindow
*arg1
= (wxWindow
*) 0 ;
26570 wxPoint
*arg2
= 0 ;
26573 PyObject
* obj0
= 0 ;
26574 PyObject
* obj1
= 0 ;
26575 char *kwnames
[] = {
26576 (char *) "self",(char *) "pt", NULL
26579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26584 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26594 wxPoint
* resultptr
;
26595 resultptr
= new wxPoint((wxPoint
&) result
);
26596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26604 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
;
26606 wxWindow
*arg1
= (wxWindow
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 PyObject
* obj2
= 0 ;
26613 char *kwnames
[] = {
26614 (char *) "self",(char *) "x",(char *) "y", NULL
26617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26620 arg2
= (int) SWIG_AsInt(obj1
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26622 arg3
= (int) SWIG_AsInt(obj2
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26626 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26628 wxPyEndAllowThreads(__tstate
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= SWIG_FromInt((int)result
);
26638 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26639 PyObject
*resultobj
;
26640 wxWindow
*arg1
= (wxWindow
*) 0 ;
26641 wxPoint
*arg2
= 0 ;
26644 PyObject
* obj0
= 0 ;
26645 PyObject
* obj1
= 0 ;
26646 char *kwnames
[] = {
26647 (char *) "self",(char *) "pt", NULL
26650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26655 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26659 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26664 resultobj
= SWIG_FromInt((int)result
);
26671 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26672 PyObject
*resultobj
;
26673 wxWindow
*arg1
= (wxWindow
*) 0 ;
26676 PyObject
* obj0
= 0 ;
26677 PyObject
* obj1
= 0 ;
26679 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26682 arg2
= (long) SWIG_AsLong(obj1
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_FromInt((int)result
);
26698 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26699 PyObject
*resultobj
;
26700 wxWindow
*arg1
= (wxWindow
*) 0 ;
26702 PyObject
* obj0
= 0 ;
26704 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 resultobj
= SWIG_FromInt((int)result
);
26721 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26726 argc
= PyObject_Length(args
);
26727 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26728 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26734 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26742 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26749 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26757 _v
= SWIG_CheckLong(argv
[1]);
26759 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26764 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26769 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
;
26771 wxWindow
*arg1
= (wxWindow
*) 0 ;
26772 long arg2
= (long) wxUPDATE_UI_NONE
;
26773 PyObject
* obj0
= 0 ;
26774 PyObject
* obj1
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "flags", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26783 arg2
= (long) SWIG_AsLong(obj1
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 (arg1
)->UpdateWindowUI(arg2
);
26790 wxPyEndAllowThreads(__tstate
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26793 Py_INCREF(Py_None
); resultobj
= Py_None
;
26800 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxWindow
*arg1
= (wxWindow
*) 0 ;
26803 wxMenu
*arg2
= (wxMenu
*) 0 ;
26807 PyObject
* obj0
= 0 ;
26808 PyObject
* obj1
= 0 ;
26809 PyObject
* obj2
= 0 ;
26810 PyObject
* obj3
= 0 ;
26811 char *kwnames
[] = {
26812 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26820 arg3
= (int) SWIG_AsInt(obj2
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26822 arg4
= (int) SWIG_AsInt(obj3
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26826 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26828 wxPyEndAllowThreads(__tstate
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26840 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26841 PyObject
*resultobj
;
26842 wxWindow
*arg1
= (wxWindow
*) 0 ;
26843 wxMenu
*arg2
= (wxMenu
*) 0 ;
26844 wxPoint
*arg3
= 0 ;
26847 PyObject
* obj0
= 0 ;
26848 PyObject
* obj1
= 0 ;
26849 PyObject
* obj2
= 0 ;
26850 char *kwnames
[] = {
26851 (char *) "self",(char *) "menu",(char *) "pos", NULL
26854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26861 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26865 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26879 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26880 PyObject
*resultobj
;
26881 wxWindow
*arg1
= (wxWindow
*) 0 ;
26883 PyObject
* obj0
= 0 ;
26884 char *kwnames
[] = {
26885 (char *) "self", NULL
26888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26893 result
= (long)wxWindow_GetHandle(arg1
);
26895 wxPyEndAllowThreads(__tstate
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26898 resultobj
= SWIG_FromLong((long)result
);
26905 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26906 PyObject
*resultobj
;
26907 wxWindow
*arg1
= (wxWindow
*) 0 ;
26910 PyObject
* obj0
= 0 ;
26911 PyObject
* obj1
= 0 ;
26912 char *kwnames
[] = {
26913 (char *) "self",(char *) "orient", NULL
26916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26919 arg2
= (int) SWIG_AsInt(obj1
);
26920 if (PyErr_Occurred()) SWIG_fail
;
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26937 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxWindow
*arg1
= (wxWindow
*) 0 ;
26944 bool arg6
= (bool) True
;
26945 PyObject
* obj0
= 0 ;
26946 PyObject
* obj1
= 0 ;
26947 PyObject
* obj2
= 0 ;
26948 PyObject
* obj3
= 0 ;
26949 PyObject
* obj4
= 0 ;
26950 PyObject
* obj5
= 0 ;
26951 char *kwnames
[] = {
26952 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
26955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26958 arg2
= (int) SWIG_AsInt(obj1
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26960 arg3
= (int) SWIG_AsInt(obj2
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26962 arg4
= (int) SWIG_AsInt(obj3
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26964 arg5
= (int) SWIG_AsInt(obj4
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26967 arg6
= (bool) SWIG_AsBool(obj5
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26972 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26974 wxPyEndAllowThreads(__tstate
);
26975 if (PyErr_Occurred()) SWIG_fail
;
26977 Py_INCREF(Py_None
); resultobj
= Py_None
;
26984 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
;
26986 wxWindow
*arg1
= (wxWindow
*) 0 ;
26989 bool arg4
= (bool) True
;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 PyObject
* obj2
= 0 ;
26993 PyObject
* obj3
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27001 arg2
= (int) SWIG_AsInt(obj1
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27003 arg3
= (int) SWIG_AsInt(obj2
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27006 arg4
= (bool) SWIG_AsBool(obj3
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27016 Py_INCREF(Py_None
); resultobj
= Py_None
;
27023 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27024 PyObject
*resultobj
;
27025 wxWindow
*arg1
= (wxWindow
*) 0 ;
27028 PyObject
* obj0
= 0 ;
27029 PyObject
* obj1
= 0 ;
27030 char *kwnames
[] = {
27031 (char *) "self",(char *) "orientation", NULL
27034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27037 arg2
= (int) SWIG_AsInt(obj1
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27041 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= SWIG_FromInt((int)result
);
27053 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
;
27055 wxWindow
*arg1
= (wxWindow
*) 0 ;
27058 PyObject
* obj0
= 0 ;
27059 PyObject
* obj1
= 0 ;
27060 char *kwnames
[] = {
27061 (char *) "self",(char *) "orientation", NULL
27064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27067 arg2
= (int) SWIG_AsInt(obj1
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_FromInt((int)result
);
27083 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
;
27085 wxWindow
*arg1
= (wxWindow
*) 0 ;
27088 PyObject
* obj0
= 0 ;
27089 PyObject
* obj1
= 0 ;
27090 char *kwnames
[] = {
27091 (char *) "self",(char *) "orientation", NULL
27094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27097 arg2
= (int) SWIG_AsInt(obj1
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27103 wxPyEndAllowThreads(__tstate
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27106 resultobj
= SWIG_FromInt((int)result
);
27113 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
;
27115 wxWindow
*arg1
= (wxWindow
*) 0 ;
27118 wxRect
*arg4
= (wxRect
*) NULL
;
27119 PyObject
* obj0
= 0 ;
27120 PyObject
* obj1
= 0 ;
27121 PyObject
* obj2
= 0 ;
27122 PyObject
* obj3
= 0 ;
27123 char *kwnames
[] = {
27124 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27130 arg2
= (int) SWIG_AsInt(obj1
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27132 arg3
= (int) SWIG_AsInt(obj2
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27135 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27142 wxPyEndAllowThreads(__tstate
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 Py_INCREF(Py_None
); resultobj
= Py_None
;
27152 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxWindow
*arg1
= (wxWindow
*) 0 ;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 char *kwnames
[] = {
27160 (char *) "self",(char *) "lines", NULL
27163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27166 arg2
= (int) SWIG_AsInt(obj1
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 result
= (bool)(arg1
)->ScrollLines(arg2
);
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27184 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
;
27186 wxWindow
*arg1
= (wxWindow
*) 0 ;
27189 PyObject
* obj0
= 0 ;
27190 PyObject
* obj1
= 0 ;
27191 char *kwnames
[] = {
27192 (char *) "self",(char *) "pages", NULL
27195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27198 arg2
= (int) SWIG_AsInt(obj1
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27202 result
= (bool)(arg1
)->ScrollPages(arg2
);
27204 wxPyEndAllowThreads(__tstate
);
27205 if (PyErr_Occurred()) SWIG_fail
;
27208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27216 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
;
27218 wxWindow
*arg1
= (wxWindow
*) 0 ;
27220 PyObject
* obj0
= 0 ;
27221 char *kwnames
[] = {
27222 (char *) "self", NULL
27225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 result
= (bool)(arg1
)->LineUp();
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27244 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27245 PyObject
*resultobj
;
27246 wxWindow
*arg1
= (wxWindow
*) 0 ;
27248 PyObject
* obj0
= 0 ;
27249 char *kwnames
[] = {
27250 (char *) "self", NULL
27253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 result
= (bool)(arg1
)->LineDown();
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27272 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27273 PyObject
*resultobj
;
27274 wxWindow
*arg1
= (wxWindow
*) 0 ;
27276 PyObject
* obj0
= 0 ;
27277 char *kwnames
[] = {
27278 (char *) "self", NULL
27281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 result
= (bool)(arg1
)->PageUp();
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27300 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27301 PyObject
*resultobj
;
27302 wxWindow
*arg1
= (wxWindow
*) 0 ;
27304 PyObject
* obj0
= 0 ;
27305 char *kwnames
[] = {
27306 (char *) "self", NULL
27309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27314 result
= (bool)(arg1
)->PageDown();
27316 wxPyEndAllowThreads(__tstate
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27328 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27329 PyObject
*resultobj
;
27330 wxWindow
*arg1
= (wxWindow
*) 0 ;
27331 wxString
*arg2
= 0 ;
27332 bool temp2
= False
;
27333 PyObject
* obj0
= 0 ;
27334 PyObject
* obj1
= 0 ;
27335 char *kwnames
[] = {
27336 (char *) "self",(char *) "text", NULL
27339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27343 arg2
= wxString_in_helper(obj1
);
27344 if (arg2
== NULL
) SWIG_fail
;
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 Py_INCREF(Py_None
); resultobj
= Py_None
;
27369 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27370 PyObject
*resultobj
;
27371 wxWindow
*arg1
= (wxWindow
*) 0 ;
27372 wxString
*arg2
= 0 ;
27373 bool temp2
= False
;
27374 PyObject
* obj0
= 0 ;
27375 PyObject
* obj1
= 0 ;
27376 char *kwnames
[] = {
27377 (char *) "self",(char *) "text", NULL
27380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27384 arg2
= wxString_in_helper(obj1
);
27385 if (arg2
== NULL
) SWIG_fail
;
27389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27390 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27392 wxPyEndAllowThreads(__tstate
);
27393 if (PyErr_Occurred()) SWIG_fail
;
27395 Py_INCREF(Py_None
); resultobj
= Py_None
;
27410 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27411 PyObject
*resultobj
;
27412 wxWindow
*arg1
= (wxWindow
*) 0 ;
27414 PyObject
* obj0
= 0 ;
27415 char *kwnames
[] = {
27416 (char *) "self", NULL
27419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27424 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27442 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27443 PyObject
*resultobj
;
27444 wxWindow
*arg1
= (wxWindow
*) 0 ;
27445 wxString
*arg2
= 0 ;
27446 bool temp2
= False
;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 char *kwnames
[] = {
27450 (char *) "self",(char *) "tip", NULL
27453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27457 arg2
= wxString_in_helper(obj1
);
27458 if (arg2
== NULL
) SWIG_fail
;
27462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27463 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27465 wxPyEndAllowThreads(__tstate
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27468 Py_INCREF(Py_None
); resultobj
= Py_None
;
27483 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27484 PyObject
*resultobj
;
27485 wxWindow
*arg1
= (wxWindow
*) 0 ;
27486 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27487 PyObject
* obj0
= 0 ;
27488 PyObject
* obj1
= 0 ;
27489 char *kwnames
[] = {
27490 (char *) "self",(char *) "tip", NULL
27493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 (arg1
)->SetToolTip(arg2
);
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 Py_INCREF(Py_None
); resultobj
= Py_None
;
27512 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxWindow
*arg1
= (wxWindow
*) 0 ;
27516 PyObject
* obj0
= 0 ;
27517 char *kwnames
[] = {
27518 (char *) "self", NULL
27521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27532 resultobj
= wxPyMake_wxObject(result
);
27540 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27541 PyObject
*resultobj
;
27542 wxWindow
*arg1
= (wxWindow
*) 0 ;
27543 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27544 PyObject
* obj0
= 0 ;
27545 PyObject
* obj1
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self",(char *) "dropTarget", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27554 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 (arg1
)->SetDropTarget(arg2
);
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27562 Py_INCREF(Py_None
); resultobj
= Py_None
;
27569 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27570 PyObject
*resultobj
;
27571 wxWindow
*arg1
= (wxWindow
*) 0 ;
27572 wxPyDropTarget
*result
;
27573 PyObject
* obj0
= 0 ;
27574 char *kwnames
[] = {
27575 (char *) "self", NULL
27578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27583 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27585 wxPyEndAllowThreads(__tstate
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27595 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27596 PyObject
*resultobj
;
27597 wxWindow
*arg1
= (wxWindow
*) 0 ;
27598 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27599 PyObject
* obj0
= 0 ;
27600 PyObject
* obj1
= 0 ;
27601 char *kwnames
[] = {
27602 (char *) "self",(char *) "constraints", NULL
27605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 (arg1
)->SetConstraints(arg2
);
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27617 Py_INCREF(Py_None
); resultobj
= Py_None
;
27624 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
;
27626 wxWindow
*arg1
= (wxWindow
*) 0 ;
27627 wxLayoutConstraints
*result
;
27628 PyObject
* obj0
= 0 ;
27629 char *kwnames
[] = {
27630 (char *) "self", NULL
27633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27640 wxPyEndAllowThreads(__tstate
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27650 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
;
27652 wxWindow
*arg1
= (wxWindow
*) 0 ;
27654 PyObject
* obj0
= 0 ;
27655 PyObject
* obj1
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self",(char *) "autoLayout", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27663 arg2
= (bool) SWIG_AsBool(obj1
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 (arg1
)->SetAutoLayout(arg2
);
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27672 Py_INCREF(Py_None
); resultobj
= Py_None
;
27679 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
;
27681 wxWindow
*arg1
= (wxWindow
*) 0 ;
27683 PyObject
* obj0
= 0 ;
27684 char *kwnames
[] = {
27685 (char *) "self", NULL
27688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27695 wxPyEndAllowThreads(__tstate
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27707 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27708 PyObject
*resultobj
;
27709 wxWindow
*arg1
= (wxWindow
*) 0 ;
27711 PyObject
* obj0
= 0 ;
27712 char *kwnames
[] = {
27713 (char *) "self", NULL
27716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27721 result
= (bool)(arg1
)->Layout();
27723 wxPyEndAllowThreads(__tstate
);
27724 if (PyErr_Occurred()) SWIG_fail
;
27727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27735 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27736 PyObject
*resultobj
;
27737 wxWindow
*arg1
= (wxWindow
*) 0 ;
27738 wxSizer
*arg2
= (wxSizer
*) 0 ;
27739 bool arg3
= (bool) True
;
27740 PyObject
* obj0
= 0 ;
27741 PyObject
* obj1
= 0 ;
27742 PyObject
* obj2
= 0 ;
27743 char *kwnames
[] = {
27744 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27753 arg3
= (bool) SWIG_AsBool(obj2
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 (arg1
)->SetSizer(arg2
,arg3
);
27760 wxPyEndAllowThreads(__tstate
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27763 Py_INCREF(Py_None
); resultobj
= Py_None
;
27770 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
;
27772 wxWindow
*arg1
= (wxWindow
*) 0 ;
27773 wxSizer
*arg2
= (wxSizer
*) 0 ;
27774 bool arg3
= (bool) True
;
27775 PyObject
* obj0
= 0 ;
27776 PyObject
* obj1
= 0 ;
27777 PyObject
* obj2
= 0 ;
27778 char *kwnames
[] = {
27779 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27788 arg3
= (bool) SWIG_AsBool(obj2
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27798 Py_INCREF(Py_None
); resultobj
= Py_None
;
27805 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27806 PyObject
*resultobj
;
27807 wxWindow
*arg1
= (wxWindow
*) 0 ;
27809 PyObject
* obj0
= 0 ;
27810 char *kwnames
[] = {
27811 (char *) "self", NULL
27814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27819 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= wxPyMake_wxSizer(result
);
27833 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27834 PyObject
*resultobj
;
27835 wxWindow
*arg1
= (wxWindow
*) 0 ;
27836 wxSizer
*arg2
= (wxSizer
*) 0 ;
27837 PyObject
* obj0
= 0 ;
27838 PyObject
* obj1
= 0 ;
27839 char *kwnames
[] = {
27840 (char *) "self",(char *) "sizer", NULL
27843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 (arg1
)->SetContainingSizer(arg2
);
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 Py_INCREF(Py_None
); resultobj
= Py_None
;
27862 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27863 PyObject
*resultobj
;
27864 wxWindow
*arg1
= (wxWindow
*) 0 ;
27866 PyObject
* obj0
= 0 ;
27867 char *kwnames
[] = {
27868 (char *) "self", NULL
27871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27882 resultobj
= wxPyMake_wxSizer(result
);
27890 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27891 PyObject
*resultobj
;
27892 wxWindow
*arg1
= (wxWindow
*) 0 ;
27893 PyObject
* obj0
= 0 ;
27894 char *kwnames
[] = {
27895 (char *) "self", NULL
27898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
27899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27903 (arg1
)->InheritAttributes();
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 Py_INCREF(Py_None
); resultobj
= Py_None
;
27915 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
;
27917 wxWindow
*arg1
= (wxWindow
*) 0 ;
27919 PyObject
* obj0
= 0 ;
27920 char *kwnames
[] = {
27921 (char *) "self", NULL
27924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
27925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27929 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
27931 wxPyEndAllowThreads(__tstate
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27943 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
27945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27946 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27948 return Py_BuildValue((char *)"");
27950 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27951 PyObject
*resultobj
;
27953 wxWindow
*arg2
= (wxWindow
*) NULL
;
27955 PyObject
* obj0
= 0 ;
27956 PyObject
* obj1
= 0 ;
27957 char *kwnames
[] = {
27958 (char *) "id",(char *) "parent", NULL
27961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27962 arg1
= (long) SWIG_AsLong(obj0
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27970 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
27972 wxPyEndAllowThreads(__tstate
);
27973 if (PyErr_Occurred()) SWIG_fail
;
27976 resultobj
= wxPyMake_wxObject(result
);
27984 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
;
27986 wxString
*arg1
= 0 ;
27987 wxWindow
*arg2
= (wxWindow
*) NULL
;
27989 bool temp1
= False
;
27990 PyObject
* obj0
= 0 ;
27991 PyObject
* obj1
= 0 ;
27992 char *kwnames
[] = {
27993 (char *) "name",(char *) "parent", NULL
27996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27998 arg1
= wxString_in_helper(obj0
);
27999 if (arg1
== NULL
) SWIG_fail
;
28003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28008 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28010 wxPyEndAllowThreads(__tstate
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28014 resultobj
= wxPyMake_wxObject(result
);
28030 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28031 PyObject
*resultobj
;
28032 wxString
*arg1
= 0 ;
28033 wxWindow
*arg2
= (wxWindow
*) NULL
;
28035 bool temp1
= False
;
28036 PyObject
* obj0
= 0 ;
28037 PyObject
* obj1
= 0 ;
28038 char *kwnames
[] = {
28039 (char *) "label",(char *) "parent", NULL
28042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28044 arg1
= wxString_in_helper(obj0
);
28045 if (arg1
== NULL
) SWIG_fail
;
28049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28054 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28056 wxPyEndAllowThreads(__tstate
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28060 resultobj
= wxPyMake_wxObject(result
);
28076 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28077 PyObject
*resultobj
;
28078 wxWindow
*arg1
= (wxWindow
*) 0 ;
28079 unsigned long arg2
;
28081 PyObject
* obj0
= 0 ;
28082 PyObject
* obj1
= 0 ;
28083 char *kwnames
[] = {
28084 (char *) "parent",(char *) "_hWnd", NULL
28087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28090 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28091 if (PyErr_Occurred()) SWIG_fail
;
28093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28094 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28096 wxPyEndAllowThreads(__tstate
);
28097 if (PyErr_Occurred()) SWIG_fail
;
28100 resultobj
= wxPyMake_wxObject(result
);
28108 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
;
28110 wxValidator
*result
;
28111 char *kwnames
[] = {
28115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28118 result
= (wxValidator
*)new wxValidator();
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= wxPyMake_wxObject(result
);
28132 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28133 PyObject
*resultobj
;
28134 wxValidator
*arg1
= (wxValidator
*) 0 ;
28135 wxValidator
*result
;
28136 PyObject
* obj0
= 0 ;
28137 char *kwnames
[] = {
28138 (char *) "self", NULL
28141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 result
= (wxValidator
*)(arg1
)->Clone();
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= wxPyMake_wxObject(result
);
28160 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
;
28162 wxValidator
*arg1
= (wxValidator
*) 0 ;
28163 wxWindow
*arg2
= (wxWindow
*) 0 ;
28165 PyObject
* obj0
= 0 ;
28166 PyObject
* obj1
= 0 ;
28167 char *kwnames
[] = {
28168 (char *) "self",(char *) "parent", NULL
28171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28178 result
= (bool)(arg1
)->Validate(arg2
);
28180 wxPyEndAllowThreads(__tstate
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28192 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28193 PyObject
*resultobj
;
28194 wxValidator
*arg1
= (wxValidator
*) 0 ;
28196 PyObject
* obj0
= 0 ;
28197 char *kwnames
[] = {
28198 (char *) "self", NULL
28201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28206 result
= (bool)(arg1
)->TransferToWindow();
28208 wxPyEndAllowThreads(__tstate
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28220 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28221 PyObject
*resultobj
;
28222 wxValidator
*arg1
= (wxValidator
*) 0 ;
28224 PyObject
* obj0
= 0 ;
28225 char *kwnames
[] = {
28226 (char *) "self", NULL
28229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28234 result
= (bool)(arg1
)->TransferFromWindow();
28236 wxPyEndAllowThreads(__tstate
);
28237 if (PyErr_Occurred()) SWIG_fail
;
28240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28248 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28249 PyObject
*resultobj
;
28250 wxValidator
*arg1
= (wxValidator
*) 0 ;
28252 PyObject
* obj0
= 0 ;
28253 char *kwnames
[] = {
28254 (char *) "self", NULL
28257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28262 result
= (wxWindow
*)(arg1
)->GetWindow();
28264 wxPyEndAllowThreads(__tstate
);
28265 if (PyErr_Occurred()) SWIG_fail
;
28268 resultobj
= wxPyMake_wxObject(result
);
28276 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28277 PyObject
*resultobj
;
28278 wxValidator
*arg1
= (wxValidator
*) 0 ;
28279 wxWindow
*arg2
= (wxWindow
*) 0 ;
28280 PyObject
* obj0
= 0 ;
28281 PyObject
* obj1
= 0 ;
28282 char *kwnames
[] = {
28283 (char *) "self",(char *) "window", NULL
28286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 (arg1
)->SetWindow(arg2
);
28295 wxPyEndAllowThreads(__tstate
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28298 Py_INCREF(Py_None
); resultobj
= Py_None
;
28305 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28306 PyObject
*resultobj
;
28308 char *kwnames
[] = {
28312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 result
= (bool)wxValidator::IsSilent();
28317 wxPyEndAllowThreads(__tstate
);
28318 if (PyErr_Occurred()) SWIG_fail
;
28321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28329 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28330 PyObject
*resultobj
;
28331 int arg1
= (int) True
;
28332 PyObject
* obj0
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "doIt", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28339 arg1
= (int) SWIG_AsInt(obj0
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28344 wxValidator::SetBellOnError(arg1
);
28346 wxPyEndAllowThreads(__tstate
);
28347 if (PyErr_Occurred()) SWIG_fail
;
28349 Py_INCREF(Py_None
); resultobj
= Py_None
;
28356 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28359 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28361 return Py_BuildValue((char *)"");
28363 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28364 PyObject
*resultobj
;
28365 wxPyValidator
*result
;
28366 char *kwnames
[] = {
28370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28373 result
= (wxPyValidator
*)new wxPyValidator();
28375 wxPyEndAllowThreads(__tstate
);
28376 if (PyErr_Occurred()) SWIG_fail
;
28378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28385 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28386 PyObject
*resultobj
;
28387 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28388 PyObject
*arg2
= (PyObject
*) 0 ;
28389 PyObject
*arg3
= (PyObject
*) 0 ;
28390 int arg4
= (int) True
;
28391 PyObject
* obj0
= 0 ;
28392 PyObject
* obj1
= 0 ;
28393 PyObject
* obj2
= 0 ;
28394 PyObject
* obj3
= 0 ;
28395 char *kwnames
[] = {
28396 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28405 arg4
= (int) SWIG_AsInt(obj3
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28410 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28412 wxPyEndAllowThreads(__tstate
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28415 Py_INCREF(Py_None
); resultobj
= Py_None
;
28422 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28425 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28427 return Py_BuildValue((char *)"");
28429 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28430 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28435 static PyObject
*_wrap_DefaultValidator_get() {
28438 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28443 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
;
28445 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28446 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28447 long arg2
= (long) 0 ;
28449 bool temp1
= False
;
28450 PyObject
* obj0
= 0 ;
28451 PyObject
* obj1
= 0 ;
28452 char *kwnames
[] = {
28453 (char *) "title",(char *) "style", NULL
28456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28459 arg1
= wxString_in_helper(obj0
);
28460 if (arg1
== NULL
) SWIG_fail
;
28465 arg2
= (long) SWIG_AsLong(obj1
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28476 resultobj
= wxPyMake_wxObject(result
);
28492 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28493 PyObject
*resultobj
;
28494 wxMenu
*arg1
= (wxMenu
*) 0 ;
28496 wxString
*arg3
= 0 ;
28497 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28498 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28499 int arg5
= (int) wxITEM_NORMAL
;
28500 wxMenuItem
*result
;
28501 bool temp3
= False
;
28502 bool temp4
= False
;
28503 PyObject
* obj0
= 0 ;
28504 PyObject
* obj1
= 0 ;
28505 PyObject
* obj2
= 0 ;
28506 PyObject
* obj3
= 0 ;
28507 PyObject
* obj4
= 0 ;
28508 char *kwnames
[] = {
28509 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28515 arg2
= (int) SWIG_AsInt(obj1
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28518 arg3
= wxString_in_helper(obj2
);
28519 if (arg3
== NULL
) SWIG_fail
;
28524 arg4
= wxString_in_helper(obj3
);
28525 if (arg4
== NULL
) SWIG_fail
;
28530 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28535 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28537 wxPyEndAllowThreads(__tstate
);
28538 if (PyErr_Occurred()) SWIG_fail
;
28541 resultobj
= wxPyMake_wxObject(result
);
28565 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28566 PyObject
*resultobj
;
28567 wxMenu
*arg1
= (wxMenu
*) 0 ;
28568 wxMenuItem
*result
;
28569 PyObject
* obj0
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "self", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= wxPyMake_wxObject(result
);
28593 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28594 PyObject
*resultobj
;
28595 wxMenu
*arg1
= (wxMenu
*) 0 ;
28597 wxString
*arg3
= 0 ;
28598 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28599 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28600 wxMenuItem
*result
;
28601 bool temp3
= False
;
28602 bool temp4
= False
;
28603 PyObject
* obj0
= 0 ;
28604 PyObject
* obj1
= 0 ;
28605 PyObject
* obj2
= 0 ;
28606 PyObject
* obj3
= 0 ;
28607 char *kwnames
[] = {
28608 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28614 arg2
= (int) SWIG_AsInt(obj1
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28617 arg3
= wxString_in_helper(obj2
);
28618 if (arg3
== NULL
) SWIG_fail
;
28623 arg4
= wxString_in_helper(obj3
);
28624 if (arg4
== NULL
) SWIG_fail
;
28629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28630 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28632 wxPyEndAllowThreads(__tstate
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28636 resultobj
= wxPyMake_wxObject(result
);
28660 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28661 PyObject
*resultobj
;
28662 wxMenu
*arg1
= (wxMenu
*) 0 ;
28664 wxString
*arg3
= 0 ;
28665 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28666 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28667 wxMenuItem
*result
;
28668 bool temp3
= False
;
28669 bool temp4
= False
;
28670 PyObject
* obj0
= 0 ;
28671 PyObject
* obj1
= 0 ;
28672 PyObject
* obj2
= 0 ;
28673 PyObject
* obj3
= 0 ;
28674 char *kwnames
[] = {
28675 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28681 arg2
= (int) SWIG_AsInt(obj1
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 arg3
= wxString_in_helper(obj2
);
28685 if (arg3
== NULL
) SWIG_fail
;
28690 arg4
= wxString_in_helper(obj3
);
28691 if (arg4
== NULL
) SWIG_fail
;
28696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28697 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28699 wxPyEndAllowThreads(__tstate
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28703 resultobj
= wxPyMake_wxObject(result
);
28727 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28728 PyObject
*resultobj
;
28729 wxMenu
*arg1
= (wxMenu
*) 0 ;
28731 wxString
*arg3
= 0 ;
28732 wxMenu
*arg4
= (wxMenu
*) 0 ;
28733 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28734 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28735 wxMenuItem
*result
;
28736 bool temp3
= False
;
28737 bool temp5
= False
;
28738 PyObject
* obj0
= 0 ;
28739 PyObject
* obj1
= 0 ;
28740 PyObject
* obj2
= 0 ;
28741 PyObject
* obj3
= 0 ;
28742 PyObject
* obj4
= 0 ;
28743 char *kwnames
[] = {
28744 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28750 arg2
= (int) SWIG_AsInt(obj1
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28753 arg3
= wxString_in_helper(obj2
);
28754 if (arg3
== NULL
) SWIG_fail
;
28757 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28761 arg5
= wxString_in_helper(obj4
);
28762 if (arg5
== NULL
) SWIG_fail
;
28767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28768 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28770 wxPyEndAllowThreads(__tstate
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= wxPyMake_wxObject(result
);
28798 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28799 PyObject
*resultobj
;
28800 wxMenu
*arg1
= (wxMenu
*) 0 ;
28801 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28802 wxMenuItem
*result
;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 char *kwnames
[] = {
28806 (char *) "self",(char *) "item", NULL
28809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28816 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28822 resultobj
= wxPyMake_wxObject(result
);
28830 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28831 PyObject
*resultobj
;
28832 wxMenu
*arg1
= (wxMenu
*) 0 ;
28833 PyObject
* obj0
= 0 ;
28834 char *kwnames
[] = {
28835 (char *) "self", NULL
28838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 wxPyEndAllowThreads(__tstate
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28848 Py_INCREF(Py_None
); resultobj
= Py_None
;
28855 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
;
28857 wxMenu
*arg1
= (wxMenu
*) 0 ;
28859 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28860 wxMenuItem
*result
;
28861 PyObject
* obj0
= 0 ;
28862 PyObject
* obj1
= 0 ;
28863 PyObject
* obj2
= 0 ;
28864 char *kwnames
[] = {
28865 (char *) "self",(char *) "pos",(char *) "item", NULL
28868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28871 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28873 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28877 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28879 wxPyEndAllowThreads(__tstate
);
28880 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= wxPyMake_wxObject(result
);
28891 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28892 PyObject
*resultobj
;
28893 wxMenu
*arg1
= (wxMenu
*) 0 ;
28896 wxString
*arg4
= 0 ;
28897 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28898 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28899 int arg6
= (int) wxITEM_NORMAL
;
28900 wxMenuItem
*result
;
28901 bool temp4
= False
;
28902 bool temp5
= False
;
28903 PyObject
* obj0
= 0 ;
28904 PyObject
* obj1
= 0 ;
28905 PyObject
* obj2
= 0 ;
28906 PyObject
* obj3
= 0 ;
28907 PyObject
* obj4
= 0 ;
28908 PyObject
* obj5
= 0 ;
28909 char *kwnames
[] = {
28910 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28916 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28918 arg3
= (int) SWIG_AsInt(obj2
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28921 arg4
= wxString_in_helper(obj3
);
28922 if (arg4
== NULL
) SWIG_fail
;
28927 arg5
= wxString_in_helper(obj4
);
28928 if (arg5
== NULL
) SWIG_fail
;
28933 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28934 if (PyErr_Occurred()) SWIG_fail
;
28937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28944 resultobj
= wxPyMake_wxObject(result
);
28968 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28969 PyObject
*resultobj
;
28970 wxMenu
*arg1
= (wxMenu
*) 0 ;
28972 wxMenuItem
*result
;
28973 PyObject
* obj0
= 0 ;
28974 PyObject
* obj1
= 0 ;
28975 char *kwnames
[] = {
28976 (char *) "self",(char *) "pos", NULL
28979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
28980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28982 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
28988 wxPyEndAllowThreads(__tstate
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28992 resultobj
= wxPyMake_wxObject(result
);
29000 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29001 PyObject
*resultobj
;
29002 wxMenu
*arg1
= (wxMenu
*) 0 ;
29005 wxString
*arg4
= 0 ;
29006 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29007 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29008 wxMenuItem
*result
;
29009 bool temp4
= False
;
29010 bool temp5
= False
;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 PyObject
* obj2
= 0 ;
29014 PyObject
* obj3
= 0 ;
29015 PyObject
* obj4
= 0 ;
29016 char *kwnames
[] = {
29017 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29023 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29025 arg3
= (int) SWIG_AsInt(obj2
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29028 arg4
= wxString_in_helper(obj3
);
29029 if (arg4
== NULL
) SWIG_fail
;
29034 arg5
= wxString_in_helper(obj4
);
29035 if (arg5
== NULL
) SWIG_fail
;
29040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29041 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= wxPyMake_wxObject(result
);
29071 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
;
29073 wxMenu
*arg1
= (wxMenu
*) 0 ;
29076 wxString
*arg4
= 0 ;
29077 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29078 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29079 wxMenuItem
*result
;
29080 bool temp4
= False
;
29081 bool temp5
= False
;
29082 PyObject
* obj0
= 0 ;
29083 PyObject
* obj1
= 0 ;
29084 PyObject
* obj2
= 0 ;
29085 PyObject
* obj3
= 0 ;
29086 PyObject
* obj4
= 0 ;
29087 char *kwnames
[] = {
29088 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29094 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29096 arg3
= (int) SWIG_AsInt(obj2
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29099 arg4
= wxString_in_helper(obj3
);
29100 if (arg4
== NULL
) SWIG_fail
;
29105 arg5
= wxString_in_helper(obj4
);
29106 if (arg5
== NULL
) SWIG_fail
;
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29118 resultobj
= wxPyMake_wxObject(result
);
29142 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29143 PyObject
*resultobj
;
29144 wxMenu
*arg1
= (wxMenu
*) 0 ;
29147 wxString
*arg4
= 0 ;
29148 wxMenu
*arg5
= (wxMenu
*) 0 ;
29149 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29150 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29151 wxMenuItem
*result
;
29152 bool temp4
= False
;
29153 bool temp6
= False
;
29154 PyObject
* obj0
= 0 ;
29155 PyObject
* obj1
= 0 ;
29156 PyObject
* obj2
= 0 ;
29157 PyObject
* obj3
= 0 ;
29158 PyObject
* obj4
= 0 ;
29159 PyObject
* obj5
= 0 ;
29160 char *kwnames
[] = {
29161 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29167 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29169 arg3
= (int) SWIG_AsInt(obj2
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29172 arg4
= wxString_in_helper(obj3
);
29173 if (arg4
== NULL
) SWIG_fail
;
29176 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29180 arg6
= wxString_in_helper(obj5
);
29181 if (arg6
== NULL
) SWIG_fail
;
29186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29187 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29189 wxPyEndAllowThreads(__tstate
);
29190 if (PyErr_Occurred()) SWIG_fail
;
29193 resultobj
= wxPyMake_wxObject(result
);
29217 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29218 PyObject
*resultobj
;
29219 wxMenu
*arg1
= (wxMenu
*) 0 ;
29220 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29221 wxMenuItem
*result
;
29222 PyObject
* obj0
= 0 ;
29223 PyObject
* obj1
= 0 ;
29224 char *kwnames
[] = {
29225 (char *) "self",(char *) "item", NULL
29228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29235 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29237 wxPyEndAllowThreads(__tstate
);
29238 if (PyErr_Occurred()) SWIG_fail
;
29241 resultobj
= wxPyMake_wxObject(result
);
29249 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29250 PyObject
*resultobj
;
29251 wxMenu
*arg1
= (wxMenu
*) 0 ;
29253 wxString
*arg3
= 0 ;
29254 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29255 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29256 int arg5
= (int) wxITEM_NORMAL
;
29257 wxMenuItem
*result
;
29258 bool temp3
= False
;
29259 bool temp4
= False
;
29260 PyObject
* obj0
= 0 ;
29261 PyObject
* obj1
= 0 ;
29262 PyObject
* obj2
= 0 ;
29263 PyObject
* obj3
= 0 ;
29264 PyObject
* obj4
= 0 ;
29265 char *kwnames
[] = {
29266 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29272 arg2
= (int) SWIG_AsInt(obj1
);
29273 if (PyErr_Occurred()) SWIG_fail
;
29275 arg3
= wxString_in_helper(obj2
);
29276 if (arg3
== NULL
) SWIG_fail
;
29281 arg4
= wxString_in_helper(obj3
);
29282 if (arg4
== NULL
) SWIG_fail
;
29287 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29292 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29294 wxPyEndAllowThreads(__tstate
);
29295 if (PyErr_Occurred()) SWIG_fail
;
29298 resultobj
= wxPyMake_wxObject(result
);
29322 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29323 PyObject
*resultobj
;
29324 wxMenu
*arg1
= (wxMenu
*) 0 ;
29325 wxMenuItem
*result
;
29326 PyObject
* obj0
= 0 ;
29327 char *kwnames
[] = {
29328 (char *) "self", NULL
29331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29336 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29338 wxPyEndAllowThreads(__tstate
);
29339 if (PyErr_Occurred()) SWIG_fail
;
29342 resultobj
= wxPyMake_wxObject(result
);
29350 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29351 PyObject
*resultobj
;
29352 wxMenu
*arg1
= (wxMenu
*) 0 ;
29354 wxString
*arg3
= 0 ;
29355 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29356 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29357 wxMenuItem
*result
;
29358 bool temp3
= False
;
29359 bool temp4
= False
;
29360 PyObject
* obj0
= 0 ;
29361 PyObject
* obj1
= 0 ;
29362 PyObject
* obj2
= 0 ;
29363 PyObject
* obj3
= 0 ;
29364 char *kwnames
[] = {
29365 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29371 arg2
= (int) SWIG_AsInt(obj1
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29374 arg3
= wxString_in_helper(obj2
);
29375 if (arg3
== NULL
) SWIG_fail
;
29380 arg4
= wxString_in_helper(obj3
);
29381 if (arg4
== NULL
) SWIG_fail
;
29386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29387 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29389 wxPyEndAllowThreads(__tstate
);
29390 if (PyErr_Occurred()) SWIG_fail
;
29393 resultobj
= wxPyMake_wxObject(result
);
29417 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29418 PyObject
*resultobj
;
29419 wxMenu
*arg1
= (wxMenu
*) 0 ;
29421 wxString
*arg3
= 0 ;
29422 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29423 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29424 wxMenuItem
*result
;
29425 bool temp3
= False
;
29426 bool temp4
= False
;
29427 PyObject
* obj0
= 0 ;
29428 PyObject
* obj1
= 0 ;
29429 PyObject
* obj2
= 0 ;
29430 PyObject
* obj3
= 0 ;
29431 char *kwnames
[] = {
29432 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29438 arg2
= (int) SWIG_AsInt(obj1
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29441 arg3
= wxString_in_helper(obj2
);
29442 if (arg3
== NULL
) SWIG_fail
;
29447 arg4
= wxString_in_helper(obj3
);
29448 if (arg4
== NULL
) SWIG_fail
;
29453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29454 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29456 wxPyEndAllowThreads(__tstate
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29460 resultobj
= wxPyMake_wxObject(result
);
29484 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29485 PyObject
*resultobj
;
29486 wxMenu
*arg1
= (wxMenu
*) 0 ;
29488 wxString
*arg3
= 0 ;
29489 wxMenu
*arg4
= (wxMenu
*) 0 ;
29490 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29491 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29492 wxMenuItem
*result
;
29493 bool temp3
= False
;
29494 bool temp5
= False
;
29495 PyObject
* obj0
= 0 ;
29496 PyObject
* obj1
= 0 ;
29497 PyObject
* obj2
= 0 ;
29498 PyObject
* obj3
= 0 ;
29499 PyObject
* obj4
= 0 ;
29500 char *kwnames
[] = {
29501 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29507 arg2
= (int) SWIG_AsInt(obj1
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29510 arg3
= wxString_in_helper(obj2
);
29511 if (arg3
== NULL
) SWIG_fail
;
29514 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29518 arg5
= wxString_in_helper(obj4
);
29519 if (arg5
== NULL
) SWIG_fail
;
29524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29525 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29527 wxPyEndAllowThreads(__tstate
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29531 resultobj
= wxPyMake_wxObject(result
);
29555 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
;
29557 wxMenu
*arg1
= (wxMenu
*) 0 ;
29559 wxMenuItem
*result
;
29560 PyObject
* obj0
= 0 ;
29561 PyObject
* obj1
= 0 ;
29562 char *kwnames
[] = {
29563 (char *) "self",(char *) "id", NULL
29566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29569 arg2
= (int) SWIG_AsInt(obj1
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= wxPyMake_wxObject(result
);
29587 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29588 PyObject
*resultobj
;
29589 wxMenu
*arg1
= (wxMenu
*) 0 ;
29590 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29591 wxMenuItem
*result
;
29592 PyObject
* obj0
= 0 ;
29593 PyObject
* obj1
= 0 ;
29594 char *kwnames
[] = {
29595 (char *) "self",(char *) "item", NULL
29598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29605 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29607 wxPyEndAllowThreads(__tstate
);
29608 if (PyErr_Occurred()) SWIG_fail
;
29611 resultobj
= wxPyMake_wxObject(result
);
29619 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29620 PyObject
*resultobj
;
29621 wxMenu
*arg1
= (wxMenu
*) 0 ;
29624 PyObject
* obj0
= 0 ;
29625 PyObject
* obj1
= 0 ;
29626 char *kwnames
[] = {
29627 (char *) "self",(char *) "id", NULL
29630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29633 arg2
= (int) SWIG_AsInt(obj1
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29637 result
= (bool)(arg1
)->Delete(arg2
);
29639 wxPyEndAllowThreads(__tstate
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29651 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29652 PyObject
*resultobj
;
29653 wxMenu
*arg1
= (wxMenu
*) 0 ;
29654 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29656 PyObject
* obj0
= 0 ;
29657 PyObject
* obj1
= 0 ;
29658 char *kwnames
[] = {
29659 (char *) "self",(char *) "item", NULL
29662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29669 result
= (bool)(arg1
)->Delete(arg2
);
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29683 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
;
29685 wxMenu
*arg1
= (wxMenu
*) 0 ;
29686 PyObject
* obj0
= 0 ;
29687 char *kwnames
[] = {
29688 (char *) "self", NULL
29691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29696 wxMenu_Destroy(arg1
);
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29701 Py_INCREF(Py_None
); resultobj
= Py_None
;
29708 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29709 PyObject
*resultobj
;
29710 wxMenu
*arg1
= (wxMenu
*) 0 ;
29713 PyObject
* obj0
= 0 ;
29714 PyObject
* obj1
= 0 ;
29715 char *kwnames
[] = {
29716 (char *) "self",(char *) "id", NULL
29719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29722 arg2
= (int) SWIG_AsInt(obj1
);
29723 if (PyErr_Occurred()) SWIG_fail
;
29725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29726 result
= (bool)(arg1
)->Destroy(arg2
);
29728 wxPyEndAllowThreads(__tstate
);
29729 if (PyErr_Occurred()) SWIG_fail
;
29732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29740 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29741 PyObject
*resultobj
;
29742 wxMenu
*arg1
= (wxMenu
*) 0 ;
29743 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29745 PyObject
* obj0
= 0 ;
29746 PyObject
* obj1
= 0 ;
29747 char *kwnames
[] = {
29748 (char *) "self",(char *) "item", NULL
29751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29758 result
= (bool)(arg1
)->Destroy(arg2
);
29760 wxPyEndAllowThreads(__tstate
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29772 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29773 PyObject
*resultobj
;
29774 wxMenu
*arg1
= (wxMenu
*) 0 ;
29776 PyObject
* obj0
= 0 ;
29777 char *kwnames
[] = {
29778 (char *) "self", NULL
29781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29798 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29799 PyObject
*resultobj
;
29800 wxMenu
*arg1
= (wxMenu
*) 0 ;
29802 PyObject
* obj0
= 0 ;
29803 char *kwnames
[] = {
29804 (char *) "self", NULL
29807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29814 wxPyEndAllowThreads(__tstate
);
29815 if (PyErr_Occurred()) SWIG_fail
;
29817 resultobj
= result
;
29824 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29825 PyObject
*resultobj
;
29826 wxMenu
*arg1
= (wxMenu
*) 0 ;
29827 wxString
*arg2
= 0 ;
29829 bool temp2
= False
;
29830 PyObject
* obj0
= 0 ;
29831 PyObject
* obj1
= 0 ;
29832 char *kwnames
[] = {
29833 (char *) "self",(char *) "item", NULL
29836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29840 arg2
= wxString_in_helper(obj1
);
29841 if (arg2
== NULL
) SWIG_fail
;
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 resultobj
= SWIG_FromInt((int)result
);
29866 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
;
29868 wxMenu
*arg1
= (wxMenu
*) 0 ;
29870 wxMenuItem
*result
;
29871 PyObject
* obj0
= 0 ;
29872 PyObject
* obj1
= 0 ;
29873 char *kwnames
[] = {
29874 (char *) "self",(char *) "id", NULL
29877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29880 arg2
= (int) SWIG_AsInt(obj1
);
29881 if (PyErr_Occurred()) SWIG_fail
;
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29890 resultobj
= wxPyMake_wxObject(result
);
29898 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29899 PyObject
*resultobj
;
29900 wxMenu
*arg1
= (wxMenu
*) 0 ;
29902 wxMenuItem
*result
;
29903 PyObject
* obj0
= 0 ;
29904 PyObject
* obj1
= 0 ;
29905 char *kwnames
[] = {
29906 (char *) "self",(char *) "position", NULL
29909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29912 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29922 resultobj
= wxPyMake_wxObject(result
);
29930 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29931 PyObject
*resultobj
;
29932 wxMenu
*arg1
= (wxMenu
*) 0 ;
29935 PyObject
* obj0
= 0 ;
29936 PyObject
* obj1
= 0 ;
29937 PyObject
* obj2
= 0 ;
29938 char *kwnames
[] = {
29939 (char *) "self",(char *) "id",(char *) "enable", NULL
29942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29945 arg2
= (int) SWIG_AsInt(obj1
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29947 arg3
= (bool) SWIG_AsBool(obj2
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 (arg1
)->Enable(arg2
,arg3
);
29953 wxPyEndAllowThreads(__tstate
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29956 Py_INCREF(Py_None
); resultobj
= Py_None
;
29963 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29964 PyObject
*resultobj
;
29965 wxMenu
*arg1
= (wxMenu
*) 0 ;
29968 PyObject
* obj0
= 0 ;
29969 PyObject
* obj1
= 0 ;
29970 char *kwnames
[] = {
29971 (char *) "self",(char *) "id", NULL
29974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29977 arg2
= (int) SWIG_AsInt(obj1
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29981 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29995 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
;
29997 wxMenu
*arg1
= (wxMenu
*) 0 ;
30000 PyObject
* obj0
= 0 ;
30001 PyObject
* obj1
= 0 ;
30002 PyObject
* obj2
= 0 ;
30003 char *kwnames
[] = {
30004 (char *) "self",(char *) "id",(char *) "check", NULL
30007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30010 arg2
= (int) SWIG_AsInt(obj1
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30012 arg3
= (bool) SWIG_AsBool(obj2
);
30013 if (PyErr_Occurred()) SWIG_fail
;
30015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30016 (arg1
)->Check(arg2
,arg3
);
30018 wxPyEndAllowThreads(__tstate
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30021 Py_INCREF(Py_None
); resultobj
= Py_None
;
30028 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
;
30030 wxMenu
*arg1
= (wxMenu
*) 0 ;
30033 PyObject
* obj0
= 0 ;
30034 PyObject
* obj1
= 0 ;
30035 char *kwnames
[] = {
30036 (char *) "self",(char *) "id", NULL
30039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30042 arg2
= (int) SWIG_AsInt(obj1
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30046 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30060 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
;
30062 wxMenu
*arg1
= (wxMenu
*) 0 ;
30064 wxString
*arg3
= 0 ;
30065 bool temp3
= False
;
30066 PyObject
* obj0
= 0 ;
30067 PyObject
* obj1
= 0 ;
30068 PyObject
* obj2
= 0 ;
30069 char *kwnames
[] = {
30070 (char *) "self",(char *) "id",(char *) "label", NULL
30073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30076 arg2
= (int) SWIG_AsInt(obj1
);
30077 if (PyErr_Occurred()) SWIG_fail
;
30079 arg3
= wxString_in_helper(obj2
);
30080 if (arg3
== NULL
) SWIG_fail
;
30084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30085 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30087 wxPyEndAllowThreads(__tstate
);
30088 if (PyErr_Occurred()) SWIG_fail
;
30090 Py_INCREF(Py_None
); resultobj
= Py_None
;
30105 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30106 PyObject
*resultobj
;
30107 wxMenu
*arg1
= (wxMenu
*) 0 ;
30110 PyObject
* obj0
= 0 ;
30111 PyObject
* obj1
= 0 ;
30112 char *kwnames
[] = {
30113 (char *) "self",(char *) "id", NULL
30116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30119 arg2
= (int) SWIG_AsInt(obj1
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30141 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30142 PyObject
*resultobj
;
30143 wxMenu
*arg1
= (wxMenu
*) 0 ;
30145 wxString
*arg3
= 0 ;
30146 bool temp3
= False
;
30147 PyObject
* obj0
= 0 ;
30148 PyObject
* obj1
= 0 ;
30149 PyObject
* obj2
= 0 ;
30150 char *kwnames
[] = {
30151 (char *) "self",(char *) "id",(char *) "helpString", NULL
30154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30157 arg2
= (int) SWIG_AsInt(obj1
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 arg3
= wxString_in_helper(obj2
);
30161 if (arg3
== NULL
) SWIG_fail
;
30165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30166 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30168 wxPyEndAllowThreads(__tstate
);
30169 if (PyErr_Occurred()) SWIG_fail
;
30171 Py_INCREF(Py_None
); resultobj
= Py_None
;
30186 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30187 PyObject
*resultobj
;
30188 wxMenu
*arg1
= (wxMenu
*) 0 ;
30191 PyObject
* obj0
= 0 ;
30192 PyObject
* obj1
= 0 ;
30193 char *kwnames
[] = {
30194 (char *) "self",(char *) "id", NULL
30197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30200 arg2
= (int) SWIG_AsInt(obj1
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30204 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30222 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30223 PyObject
*resultobj
;
30224 wxMenu
*arg1
= (wxMenu
*) 0 ;
30225 wxString
*arg2
= 0 ;
30226 bool temp2
= False
;
30227 PyObject
* obj0
= 0 ;
30228 PyObject
* obj1
= 0 ;
30229 char *kwnames
[] = {
30230 (char *) "self",(char *) "title", NULL
30233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30237 arg2
= wxString_in_helper(obj1
);
30238 if (arg2
== NULL
) SWIG_fail
;
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 (arg1
)->SetTitle((wxString
const &)*arg2
);
30245 wxPyEndAllowThreads(__tstate
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30248 Py_INCREF(Py_None
); resultobj
= Py_None
;
30263 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30264 PyObject
*resultobj
;
30265 wxMenu
*arg1
= (wxMenu
*) 0 ;
30267 PyObject
* obj0
= 0 ;
30268 char *kwnames
[] = {
30269 (char *) "self", NULL
30272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 result
= ((wxMenu
const *)arg1
)->GetTitle();
30279 wxPyEndAllowThreads(__tstate
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30295 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
;
30297 wxMenu
*arg1
= (wxMenu
*) 0 ;
30298 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30299 PyObject
* obj0
= 0 ;
30300 PyObject
* obj1
= 0 ;
30301 char *kwnames
[] = {
30302 (char *) "self",(char *) "handler", NULL
30305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 (arg1
)->SetEventHandler(arg2
);
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 Py_INCREF(Py_None
); resultobj
= Py_None
;
30324 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
;
30326 wxMenu
*arg1
= (wxMenu
*) 0 ;
30327 wxEvtHandler
*result
;
30328 PyObject
* obj0
= 0 ;
30329 char *kwnames
[] = {
30330 (char *) "self", NULL
30333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30344 resultobj
= wxPyMake_wxObject(result
);
30352 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30353 PyObject
*resultobj
;
30354 wxMenu
*arg1
= (wxMenu
*) 0 ;
30355 wxWindow
*arg2
= (wxWindow
*) 0 ;
30356 PyObject
* obj0
= 0 ;
30357 PyObject
* obj1
= 0 ;
30358 char *kwnames
[] = {
30359 (char *) "self",(char *) "win", NULL
30362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30369 (arg1
)->SetInvokingWindow(arg2
);
30371 wxPyEndAllowThreads(__tstate
);
30372 if (PyErr_Occurred()) SWIG_fail
;
30374 Py_INCREF(Py_None
); resultobj
= Py_None
;
30381 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30382 PyObject
*resultobj
;
30383 wxMenu
*arg1
= (wxMenu
*) 0 ;
30385 PyObject
* obj0
= 0 ;
30386 char *kwnames
[] = {
30387 (char *) "self", NULL
30390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30395 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30397 wxPyEndAllowThreads(__tstate
);
30398 if (PyErr_Occurred()) SWIG_fail
;
30401 resultobj
= wxPyMake_wxObject(result
);
30409 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30410 PyObject
*resultobj
;
30411 wxMenu
*arg1
= (wxMenu
*) 0 ;
30413 PyObject
* obj0
= 0 ;
30414 char *kwnames
[] = {
30415 (char *) "self", NULL
30418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30423 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30428 resultobj
= SWIG_FromLong((long)result
);
30435 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30436 PyObject
*resultobj
;
30437 wxMenu
*arg1
= (wxMenu
*) 0 ;
30438 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30439 PyObject
* obj0
= 0 ;
30440 PyObject
* obj1
= 0 ;
30441 char *kwnames
[] = {
30442 (char *) "self",(char *) "source", NULL
30445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30454 (arg1
)->UpdateUI(arg2
);
30456 wxPyEndAllowThreads(__tstate
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30459 Py_INCREF(Py_None
); resultobj
= Py_None
;
30466 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30467 PyObject
*resultobj
;
30468 wxMenu
*arg1
= (wxMenu
*) 0 ;
30470 PyObject
* obj0
= 0 ;
30471 char *kwnames
[] = {
30472 (char *) "self", NULL
30475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30480 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30482 wxPyEndAllowThreads(__tstate
);
30483 if (PyErr_Occurred()) SWIG_fail
;
30486 resultobj
= wxPyMake_wxObject(result
);
30494 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30495 PyObject
*resultobj
;
30496 wxMenu
*arg1
= (wxMenu
*) 0 ;
30497 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30498 PyObject
* obj0
= 0 ;
30499 PyObject
* obj1
= 0 ;
30500 char *kwnames
[] = {
30501 (char *) "self",(char *) "menubar", NULL
30504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30511 (arg1
)->Attach(arg2
);
30513 wxPyEndAllowThreads(__tstate
);
30514 if (PyErr_Occurred()) SWIG_fail
;
30516 Py_INCREF(Py_None
); resultobj
= Py_None
;
30523 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30524 PyObject
*resultobj
;
30525 wxMenu
*arg1
= (wxMenu
*) 0 ;
30526 PyObject
* obj0
= 0 ;
30527 char *kwnames
[] = {
30528 (char *) "self", NULL
30531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30538 wxPyEndAllowThreads(__tstate
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30541 Py_INCREF(Py_None
); resultobj
= Py_None
;
30548 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
;
30550 wxMenu
*arg1
= (wxMenu
*) 0 ;
30552 PyObject
* obj0
= 0 ;
30553 char *kwnames
[] = {
30554 (char *) "self", NULL
30557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30562 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30576 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
;
30578 wxMenu
*arg1
= (wxMenu
*) 0 ;
30579 wxMenu
*arg2
= (wxMenu
*) 0 ;
30580 PyObject
* obj0
= 0 ;
30581 PyObject
* obj1
= 0 ;
30582 char *kwnames
[] = {
30583 (char *) "self",(char *) "parent", NULL
30586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30593 (arg1
)->SetParent(arg2
);
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30598 Py_INCREF(Py_None
); resultobj
= Py_None
;
30605 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30606 PyObject
*resultobj
;
30607 wxMenu
*arg1
= (wxMenu
*) 0 ;
30609 PyObject
* obj0
= 0 ;
30610 char *kwnames
[] = {
30611 (char *) "self", NULL
30614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30625 resultobj
= wxPyMake_wxObject(result
);
30633 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30636 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30638 return Py_BuildValue((char *)"");
30640 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30641 PyObject
*resultobj
;
30642 long arg1
= (long) 0 ;
30644 PyObject
* obj0
= 0 ;
30645 char *kwnames
[] = {
30646 (char *) "style", NULL
30649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30651 arg1
= (long) SWIG_AsLong(obj0
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30662 resultobj
= wxPyMake_wxObject(result
);
30670 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30671 PyObject
*resultobj
;
30672 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30673 wxMenu
*arg2
= (wxMenu
*) 0 ;
30674 wxString
*arg3
= 0 ;
30676 bool temp3
= False
;
30677 PyObject
* obj0
= 0 ;
30678 PyObject
* obj1
= 0 ;
30679 PyObject
* obj2
= 0 ;
30680 char *kwnames
[] = {
30681 (char *) "self",(char *) "menu",(char *) "title", NULL
30684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30690 arg3
= wxString_in_helper(obj2
);
30691 if (arg3
== NULL
) SWIG_fail
;
30695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30696 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30718 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30719 PyObject
*resultobj
;
30720 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30722 wxMenu
*arg3
= (wxMenu
*) 0 ;
30723 wxString
*arg4
= 0 ;
30725 bool temp4
= False
;
30726 PyObject
* obj0
= 0 ;
30727 PyObject
* obj1
= 0 ;
30728 PyObject
* obj2
= 0 ;
30729 PyObject
* obj3
= 0 ;
30730 char *kwnames
[] = {
30731 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30737 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30738 if (PyErr_Occurred()) SWIG_fail
;
30739 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30742 arg4
= wxString_in_helper(obj3
);
30743 if (arg4
== NULL
) SWIG_fail
;
30747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30748 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30750 wxPyEndAllowThreads(__tstate
);
30751 if (PyErr_Occurred()) SWIG_fail
;
30754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30770 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30771 PyObject
*resultobj
;
30772 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30774 PyObject
* obj0
= 0 ;
30775 char *kwnames
[] = {
30776 (char *) "self", NULL
30779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30784 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30786 wxPyEndAllowThreads(__tstate
);
30787 if (PyErr_Occurred()) SWIG_fail
;
30789 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30796 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30797 PyObject
*resultobj
;
30798 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30801 PyObject
* obj0
= 0 ;
30802 PyObject
* obj1
= 0 ;
30803 char *kwnames
[] = {
30804 (char *) "self",(char *) "pos", NULL
30807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30810 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30814 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30816 wxPyEndAllowThreads(__tstate
);
30817 if (PyErr_Occurred()) SWIG_fail
;
30820 resultobj
= wxPyMake_wxObject(result
);
30828 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30829 PyObject
*resultobj
;
30830 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30832 wxMenu
*arg3
= (wxMenu
*) 0 ;
30833 wxString
*arg4
= 0 ;
30835 bool temp4
= False
;
30836 PyObject
* obj0
= 0 ;
30837 PyObject
* obj1
= 0 ;
30838 PyObject
* obj2
= 0 ;
30839 PyObject
* obj3
= 0 ;
30840 char *kwnames
[] = {
30841 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30847 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30849 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30852 arg4
= wxString_in_helper(obj3
);
30853 if (arg4
== NULL
) SWIG_fail
;
30857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30858 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30860 wxPyEndAllowThreads(__tstate
);
30861 if (PyErr_Occurred()) SWIG_fail
;
30864 resultobj
= wxPyMake_wxObject(result
);
30880 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30881 PyObject
*resultobj
;
30882 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30885 PyObject
* obj0
= 0 ;
30886 PyObject
* obj1
= 0 ;
30887 char *kwnames
[] = {
30888 (char *) "self",(char *) "pos", NULL
30891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30894 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30898 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30900 wxPyEndAllowThreads(__tstate
);
30901 if (PyErr_Occurred()) SWIG_fail
;
30904 resultobj
= wxPyMake_wxObject(result
);
30912 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30913 PyObject
*resultobj
;
30914 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30917 PyObject
* obj0
= 0 ;
30918 PyObject
* obj1
= 0 ;
30919 PyObject
* obj2
= 0 ;
30920 char *kwnames
[] = {
30921 (char *) "self",(char *) "pos",(char *) "enable", NULL
30924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30927 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30928 if (PyErr_Occurred()) SWIG_fail
;
30929 arg3
= (bool) SWIG_AsBool(obj2
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30933 (arg1
)->EnableTop(arg2
,arg3
);
30935 wxPyEndAllowThreads(__tstate
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30938 Py_INCREF(Py_None
); resultobj
= Py_None
;
30945 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30946 PyObject
*resultobj
;
30947 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30950 PyObject
* obj0
= 0 ;
30951 PyObject
* obj1
= 0 ;
30952 char *kwnames
[] = {
30953 (char *) "self",(char *) "pos", NULL
30956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30959 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30960 if (PyErr_Occurred()) SWIG_fail
;
30962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30963 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
30965 wxPyEndAllowThreads(__tstate
);
30966 if (PyErr_Occurred()) SWIG_fail
;
30969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30977 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30978 PyObject
*resultobj
;
30979 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30981 wxString
*arg3
= 0 ;
30982 bool temp3
= False
;
30983 PyObject
* obj0
= 0 ;
30984 PyObject
* obj1
= 0 ;
30985 PyObject
* obj2
= 0 ;
30986 char *kwnames
[] = {
30987 (char *) "self",(char *) "pos",(char *) "label", NULL
30990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30993 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30994 if (PyErr_Occurred()) SWIG_fail
;
30996 arg3
= wxString_in_helper(obj2
);
30997 if (arg3
== NULL
) SWIG_fail
;
31001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31007 Py_INCREF(Py_None
); resultobj
= Py_None
;
31022 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31023 PyObject
*resultobj
;
31024 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31027 PyObject
* obj0
= 0 ;
31028 PyObject
* obj1
= 0 ;
31029 char *kwnames
[] = {
31030 (char *) "self",(char *) "pos", NULL
31033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31036 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31037 if (PyErr_Occurred()) SWIG_fail
;
31039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31040 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31042 wxPyEndAllowThreads(__tstate
);
31043 if (PyErr_Occurred()) SWIG_fail
;
31047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31058 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31059 PyObject
*resultobj
;
31060 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31061 wxString
*arg2
= 0 ;
31062 wxString
*arg3
= 0 ;
31064 bool temp2
= False
;
31065 bool temp3
= False
;
31066 PyObject
* obj0
= 0 ;
31067 PyObject
* obj1
= 0 ;
31068 PyObject
* obj2
= 0 ;
31069 char *kwnames
[] = {
31070 (char *) "self",(char *) "menu",(char *) "item", NULL
31073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31077 arg2
= wxString_in_helper(obj1
);
31078 if (arg2
== NULL
) SWIG_fail
;
31082 arg3
= wxString_in_helper(obj2
);
31083 if (arg3
== NULL
) SWIG_fail
;
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31090 wxPyEndAllowThreads(__tstate
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31093 resultobj
= SWIG_FromInt((int)result
);
31116 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31117 PyObject
*resultobj
;
31118 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31120 wxMenuItem
*result
;
31121 PyObject
* obj0
= 0 ;
31122 PyObject
* obj1
= 0 ;
31123 char *kwnames
[] = {
31124 (char *) "self",(char *) "id", NULL
31127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31130 arg2
= (int) SWIG_AsInt(obj1
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31134 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31140 resultobj
= wxPyMake_wxObject(result
);
31148 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31149 PyObject
*resultobj
;
31150 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31151 wxString
*arg2
= 0 ;
31153 bool temp2
= False
;
31154 PyObject
* obj0
= 0 ;
31155 PyObject
* obj1
= 0 ;
31156 char *kwnames
[] = {
31157 (char *) "self",(char *) "title", NULL
31160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31164 arg2
= wxString_in_helper(obj1
);
31165 if (arg2
== NULL
) SWIG_fail
;
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31172 wxPyEndAllowThreads(__tstate
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31175 resultobj
= SWIG_FromInt((int)result
);
31190 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31191 PyObject
*resultobj
;
31192 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31195 PyObject
* obj0
= 0 ;
31196 PyObject
* obj1
= 0 ;
31197 PyObject
* obj2
= 0 ;
31198 char *kwnames
[] = {
31199 (char *) "self",(char *) "id",(char *) "enable", NULL
31202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31205 arg2
= (int) SWIG_AsInt(obj1
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31207 arg3
= (bool) SWIG_AsBool(obj2
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31211 (arg1
)->Enable(arg2
,arg3
);
31213 wxPyEndAllowThreads(__tstate
);
31214 if (PyErr_Occurred()) SWIG_fail
;
31216 Py_INCREF(Py_None
); resultobj
= Py_None
;
31223 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31224 PyObject
*resultobj
;
31225 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31228 PyObject
* obj0
= 0 ;
31229 PyObject
* obj1
= 0 ;
31230 PyObject
* obj2
= 0 ;
31231 char *kwnames
[] = {
31232 (char *) "self",(char *) "id",(char *) "check", NULL
31235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31238 arg2
= (int) SWIG_AsInt(obj1
);
31239 if (PyErr_Occurred()) SWIG_fail
;
31240 arg3
= (bool) SWIG_AsBool(obj2
);
31241 if (PyErr_Occurred()) SWIG_fail
;
31243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31244 (arg1
)->Check(arg2
,arg3
);
31246 wxPyEndAllowThreads(__tstate
);
31247 if (PyErr_Occurred()) SWIG_fail
;
31249 Py_INCREF(Py_None
); resultobj
= Py_None
;
31256 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31257 PyObject
*resultobj
;
31258 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31261 PyObject
* obj0
= 0 ;
31262 PyObject
* obj1
= 0 ;
31263 char *kwnames
[] = {
31264 (char *) "self",(char *) "id", NULL
31267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31270 arg2
= (int) SWIG_AsInt(obj1
);
31271 if (PyErr_Occurred()) SWIG_fail
;
31273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31274 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31276 wxPyEndAllowThreads(__tstate
);
31277 if (PyErr_Occurred()) SWIG_fail
;
31280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31288 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31289 PyObject
*resultobj
;
31290 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31293 PyObject
* obj0
= 0 ;
31294 PyObject
* obj1
= 0 ;
31295 char *kwnames
[] = {
31296 (char *) "self",(char *) "id", NULL
31299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31302 arg2
= (int) SWIG_AsInt(obj1
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31320 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31321 PyObject
*resultobj
;
31322 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31324 wxString
*arg3
= 0 ;
31325 bool temp3
= False
;
31326 PyObject
* obj0
= 0 ;
31327 PyObject
* obj1
= 0 ;
31328 PyObject
* obj2
= 0 ;
31329 char *kwnames
[] = {
31330 (char *) "self",(char *) "id",(char *) "label", NULL
31333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31336 arg2
= (int) SWIG_AsInt(obj1
);
31337 if (PyErr_Occurred()) SWIG_fail
;
31339 arg3
= wxString_in_helper(obj2
);
31340 if (arg3
== NULL
) SWIG_fail
;
31344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31345 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31347 wxPyEndAllowThreads(__tstate
);
31348 if (PyErr_Occurred()) SWIG_fail
;
31350 Py_INCREF(Py_None
); resultobj
= Py_None
;
31365 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31366 PyObject
*resultobj
;
31367 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31370 PyObject
* obj0
= 0 ;
31371 PyObject
* obj1
= 0 ;
31372 char *kwnames
[] = {
31373 (char *) "self",(char *) "id", NULL
31376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31379 arg2
= (int) SWIG_AsInt(obj1
);
31380 if (PyErr_Occurred()) SWIG_fail
;
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31383 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31385 wxPyEndAllowThreads(__tstate
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31401 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31402 PyObject
*resultobj
;
31403 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31405 wxString
*arg3
= 0 ;
31406 bool temp3
= False
;
31407 PyObject
* obj0
= 0 ;
31408 PyObject
* obj1
= 0 ;
31409 PyObject
* obj2
= 0 ;
31410 char *kwnames
[] = {
31411 (char *) "self",(char *) "id",(char *) "helpString", NULL
31414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31417 arg2
= (int) SWIG_AsInt(obj1
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31420 arg3
= wxString_in_helper(obj2
);
31421 if (arg3
== NULL
) SWIG_fail
;
31425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31426 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31428 wxPyEndAllowThreads(__tstate
);
31429 if (PyErr_Occurred()) SWIG_fail
;
31431 Py_INCREF(Py_None
); resultobj
= Py_None
;
31446 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31447 PyObject
*resultobj
;
31448 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31451 PyObject
* obj0
= 0 ;
31452 PyObject
* obj1
= 0 ;
31453 char *kwnames
[] = {
31454 (char *) "self",(char *) "id", NULL
31457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31460 arg2
= (int) SWIG_AsInt(obj1
);
31461 if (PyErr_Occurred()) SWIG_fail
;
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31464 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31466 wxPyEndAllowThreads(__tstate
);
31467 if (PyErr_Occurred()) SWIG_fail
;
31471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31482 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31483 PyObject
*resultobj
;
31484 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31486 PyObject
* obj0
= 0 ;
31487 char *kwnames
[] = {
31488 (char *) "self", NULL
31491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31496 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= wxPyMake_wxObject(result
);
31510 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31511 PyObject
*resultobj
;
31512 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31514 PyObject
* obj0
= 0 ;
31515 char *kwnames
[] = {
31516 (char *) "self", NULL
31519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31524 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31526 wxPyEndAllowThreads(__tstate
);
31527 if (PyErr_Occurred()) SWIG_fail
;
31530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31538 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31539 PyObject
*resultobj
;
31540 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31541 wxFrame
*arg2
= (wxFrame
*) 0 ;
31542 PyObject
* obj0
= 0 ;
31543 PyObject
* obj1
= 0 ;
31544 char *kwnames
[] = {
31545 (char *) "self",(char *) "frame", NULL
31548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31555 (arg1
)->Attach(arg2
);
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31560 Py_INCREF(Py_None
); resultobj
= Py_None
;
31567 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31568 PyObject
*resultobj
;
31569 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31570 PyObject
* obj0
= 0 ;
31571 char *kwnames
[] = {
31572 (char *) "self", NULL
31575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31582 wxPyEndAllowThreads(__tstate
);
31583 if (PyErr_Occurred()) SWIG_fail
;
31585 Py_INCREF(Py_None
); resultobj
= Py_None
;
31592 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31595 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31597 return Py_BuildValue((char *)"");
31599 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31600 PyObject
*resultobj
;
31601 wxMenu
*arg1
= (wxMenu
*) NULL
;
31602 int arg2
= (int) wxID_ANY
;
31603 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31604 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31605 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31606 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31607 int arg5
= (int) wxITEM_NORMAL
;
31608 wxMenu
*arg6
= (wxMenu
*) NULL
;
31609 wxMenuItem
*result
;
31610 bool temp3
= False
;
31611 bool temp4
= False
;
31612 PyObject
* obj0
= 0 ;
31613 PyObject
* obj1
= 0 ;
31614 PyObject
* obj2
= 0 ;
31615 PyObject
* obj3
= 0 ;
31616 PyObject
* obj4
= 0 ;
31617 PyObject
* obj5
= 0 ;
31618 char *kwnames
[] = {
31619 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31628 arg2
= (int) SWIG_AsInt(obj1
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31633 arg3
= wxString_in_helper(obj2
);
31634 if (arg3
== NULL
) SWIG_fail
;
31640 arg4
= wxString_in_helper(obj3
);
31641 if (arg4
== NULL
) SWIG_fail
;
31646 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31647 if (PyErr_Occurred()) SWIG_fail
;
31650 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31661 resultobj
= wxPyMake_wxObject(result
);
31685 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31686 PyObject
*resultobj
;
31687 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31689 PyObject
* obj0
= 0 ;
31690 char *kwnames
[] = {
31691 (char *) "self", NULL
31694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31699 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31701 wxPyEndAllowThreads(__tstate
);
31702 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= wxPyMake_wxObject(result
);
31713 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31714 PyObject
*resultobj
;
31715 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31716 wxMenu
*arg2
= (wxMenu
*) 0 ;
31717 PyObject
* obj0
= 0 ;
31718 PyObject
* obj1
= 0 ;
31719 char *kwnames
[] = {
31720 (char *) "self",(char *) "menu", NULL
31723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31730 (arg1
)->SetMenu(arg2
);
31732 wxPyEndAllowThreads(__tstate
);
31733 if (PyErr_Occurred()) SWIG_fail
;
31735 Py_INCREF(Py_None
); resultobj
= Py_None
;
31742 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31743 PyObject
*resultobj
;
31744 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31746 PyObject
* obj0
= 0 ;
31747 PyObject
* obj1
= 0 ;
31748 char *kwnames
[] = {
31749 (char *) "self",(char *) "id", NULL
31752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31755 arg2
= (int) SWIG_AsInt(obj1
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31759 (arg1
)->SetId(arg2
);
31761 wxPyEndAllowThreads(__tstate
);
31762 if (PyErr_Occurred()) SWIG_fail
;
31764 Py_INCREF(Py_None
); resultobj
= Py_None
;
31771 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31772 PyObject
*resultobj
;
31773 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31775 PyObject
* obj0
= 0 ;
31776 char *kwnames
[] = {
31777 (char *) "self", NULL
31780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31785 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31787 wxPyEndAllowThreads(__tstate
);
31788 if (PyErr_Occurred()) SWIG_fail
;
31790 resultobj
= SWIG_FromInt((int)result
);
31797 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31798 PyObject
*resultobj
;
31799 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31801 PyObject
* obj0
= 0 ;
31802 char *kwnames
[] = {
31803 (char *) "self", NULL
31806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31811 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31825 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31826 PyObject
*resultobj
;
31827 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31828 wxString
*arg2
= 0 ;
31829 bool temp2
= False
;
31830 PyObject
* obj0
= 0 ;
31831 PyObject
* obj1
= 0 ;
31832 char *kwnames
[] = {
31833 (char *) "self",(char *) "str", NULL
31836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31840 arg2
= wxString_in_helper(obj1
);
31841 if (arg2
== NULL
) SWIG_fail
;
31845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31846 (arg1
)->SetText((wxString
const &)*arg2
);
31848 wxPyEndAllowThreads(__tstate
);
31849 if (PyErr_Occurred()) SWIG_fail
;
31851 Py_INCREF(Py_None
); resultobj
= Py_None
;
31866 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31867 PyObject
*resultobj
;
31868 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31870 PyObject
* obj0
= 0 ;
31871 char *kwnames
[] = {
31872 (char *) "self", NULL
31875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31880 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31882 wxPyEndAllowThreads(__tstate
);
31883 if (PyErr_Occurred()) SWIG_fail
;
31887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31898 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31899 PyObject
*resultobj
;
31900 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31902 PyObject
* obj0
= 0 ;
31903 char *kwnames
[] = {
31904 (char *) "self", NULL
31907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31913 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31914 result
= (wxString
*) &_result_ref
;
31917 wxPyEndAllowThreads(__tstate
);
31918 if (PyErr_Occurred()) SWIG_fail
;
31922 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31924 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31933 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31934 PyObject
*resultobj
;
31935 wxString
*arg1
= 0 ;
31937 bool temp1
= False
;
31938 PyObject
* obj0
= 0 ;
31939 char *kwnames
[] = {
31940 (char *) "text", NULL
31943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31945 arg1
= wxString_in_helper(obj0
);
31946 if (arg1
== NULL
) SWIG_fail
;
31950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31951 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
31953 wxPyEndAllowThreads(__tstate
);
31954 if (PyErr_Occurred()) SWIG_fail
;
31958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31977 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31978 PyObject
*resultobj
;
31979 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31981 PyObject
* obj0
= 0 ;
31982 char *kwnames
[] = {
31983 (char *) "self", NULL
31986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
31987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31991 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
31993 wxPyEndAllowThreads(__tstate
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31996 resultobj
= SWIG_FromInt((int)result
);
32003 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32004 PyObject
*resultobj
;
32005 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32007 PyObject
* obj0
= 0 ;
32008 PyObject
* obj1
= 0 ;
32009 char *kwnames
[] = {
32010 (char *) "self",(char *) "kind", NULL
32013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32016 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32020 (arg1
)->SetKind((wxItemKind
)arg2
);
32022 wxPyEndAllowThreads(__tstate
);
32023 if (PyErr_Occurred()) SWIG_fail
;
32025 Py_INCREF(Py_None
); resultobj
= Py_None
;
32032 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32033 PyObject
*resultobj
;
32034 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32036 PyObject
* obj0
= 0 ;
32037 PyObject
* obj1
= 0 ;
32038 char *kwnames
[] = {
32039 (char *) "self",(char *) "checkable", NULL
32042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32045 arg2
= (bool) SWIG_AsBool(obj1
);
32046 if (PyErr_Occurred()) SWIG_fail
;
32048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32049 (arg1
)->SetCheckable(arg2
);
32051 wxPyEndAllowThreads(__tstate
);
32052 if (PyErr_Occurred()) SWIG_fail
;
32054 Py_INCREF(Py_None
); resultobj
= Py_None
;
32061 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32062 PyObject
*resultobj
;
32063 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32065 PyObject
* obj0
= 0 ;
32066 char *kwnames
[] = {
32067 (char *) "self", NULL
32070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32075 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32077 wxPyEndAllowThreads(__tstate
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32089 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32090 PyObject
*resultobj
;
32091 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32093 PyObject
* obj0
= 0 ;
32094 char *kwnames
[] = {
32095 (char *) "self", NULL
32098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32103 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32105 wxPyEndAllowThreads(__tstate
);
32106 if (PyErr_Occurred()) SWIG_fail
;
32109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32117 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32118 PyObject
*resultobj
;
32119 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32120 wxMenu
*arg2
= (wxMenu
*) 0 ;
32121 PyObject
* obj0
= 0 ;
32122 PyObject
* obj1
= 0 ;
32123 char *kwnames
[] = {
32124 (char *) "self",(char *) "menu", NULL
32127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32134 (arg1
)->SetSubMenu(arg2
);
32136 wxPyEndAllowThreads(__tstate
);
32137 if (PyErr_Occurred()) SWIG_fail
;
32139 Py_INCREF(Py_None
); resultobj
= Py_None
;
32146 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32147 PyObject
*resultobj
;
32148 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32150 PyObject
* obj0
= 0 ;
32151 char *kwnames
[] = {
32152 (char *) "self", NULL
32155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32160 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32162 wxPyEndAllowThreads(__tstate
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32166 resultobj
= wxPyMake_wxObject(result
);
32174 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32175 PyObject
*resultobj
;
32176 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32177 bool arg2
= (bool) True
;
32178 PyObject
* obj0
= 0 ;
32179 PyObject
* obj1
= 0 ;
32180 char *kwnames
[] = {
32181 (char *) "self",(char *) "enable", NULL
32184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32188 arg2
= (bool) SWIG_AsBool(obj1
);
32189 if (PyErr_Occurred()) SWIG_fail
;
32192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32193 (arg1
)->Enable(arg2
);
32195 wxPyEndAllowThreads(__tstate
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32198 Py_INCREF(Py_None
); resultobj
= Py_None
;
32205 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32206 PyObject
*resultobj
;
32207 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32209 PyObject
* obj0
= 0 ;
32210 char *kwnames
[] = {
32211 (char *) "self", NULL
32214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32219 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32221 wxPyEndAllowThreads(__tstate
);
32222 if (PyErr_Occurred()) SWIG_fail
;
32225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32233 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32234 PyObject
*resultobj
;
32235 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32236 bool arg2
= (bool) True
;
32237 PyObject
* obj0
= 0 ;
32238 PyObject
* obj1
= 0 ;
32239 char *kwnames
[] = {
32240 (char *) "self",(char *) "check", NULL
32243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32247 arg2
= (bool) SWIG_AsBool(obj1
);
32248 if (PyErr_Occurred()) SWIG_fail
;
32251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32252 (arg1
)->Check(arg2
);
32254 wxPyEndAllowThreads(__tstate
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32257 Py_INCREF(Py_None
); resultobj
= Py_None
;
32264 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32265 PyObject
*resultobj
;
32266 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32268 PyObject
* obj0
= 0 ;
32269 char *kwnames
[] = {
32270 (char *) "self", NULL
32273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32278 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32280 wxPyEndAllowThreads(__tstate
);
32281 if (PyErr_Occurred()) SWIG_fail
;
32284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32292 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32293 PyObject
*resultobj
;
32294 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32295 PyObject
* obj0
= 0 ;
32296 char *kwnames
[] = {
32297 (char *) "self", NULL
32300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32307 wxPyEndAllowThreads(__tstate
);
32308 if (PyErr_Occurred()) SWIG_fail
;
32310 Py_INCREF(Py_None
); resultobj
= Py_None
;
32317 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32318 PyObject
*resultobj
;
32319 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32320 wxString
*arg2
= 0 ;
32321 bool temp2
= False
;
32322 PyObject
* obj0
= 0 ;
32323 PyObject
* obj1
= 0 ;
32324 char *kwnames
[] = {
32325 (char *) "self",(char *) "str", NULL
32328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32332 arg2
= wxString_in_helper(obj1
);
32333 if (arg2
== NULL
) SWIG_fail
;
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 (arg1
)->SetHelp((wxString
const &)*arg2
);
32340 wxPyEndAllowThreads(__tstate
);
32341 if (PyErr_Occurred()) SWIG_fail
;
32343 Py_INCREF(Py_None
); resultobj
= Py_None
;
32358 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32359 PyObject
*resultobj
;
32360 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32362 PyObject
* obj0
= 0 ;
32363 char *kwnames
[] = {
32364 (char *) "self", NULL
32367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32373 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32374 result
= (wxString
*) &_result_ref
;
32377 wxPyEndAllowThreads(__tstate
);
32378 if (PyErr_Occurred()) SWIG_fail
;
32382 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32384 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32393 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32394 PyObject
*resultobj
;
32395 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32396 wxAcceleratorEntry
*result
;
32397 PyObject
* obj0
= 0 ;
32398 char *kwnames
[] = {
32399 (char *) "self", NULL
32402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32407 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32409 wxPyEndAllowThreads(__tstate
);
32410 if (PyErr_Occurred()) SWIG_fail
;
32412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32419 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32420 PyObject
*resultobj
;
32421 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32422 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32423 PyObject
* obj0
= 0 ;
32424 PyObject
* obj1
= 0 ;
32425 char *kwnames
[] = {
32426 (char *) "self",(char *) "accel", NULL
32429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32436 (arg1
)->SetAccel(arg2
);
32438 wxPyEndAllowThreads(__tstate
);
32439 if (PyErr_Occurred()) SWIG_fail
;
32441 Py_INCREF(Py_None
); resultobj
= Py_None
;
32448 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32449 PyObject
*resultobj
;
32451 char *kwnames
[] = {
32455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32458 result
= (int)MenuItem_GetDefaultMarginWidth();
32460 wxPyEndAllowThreads(__tstate
);
32461 if (PyErr_Occurred()) SWIG_fail
;
32463 resultobj
= SWIG_FromInt((int)result
);
32470 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32471 PyObject
*resultobj
;
32472 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32473 wxBitmap
*arg2
= 0 ;
32474 PyObject
* obj0
= 0 ;
32475 PyObject
* obj1
= 0 ;
32476 char *kwnames
[] = {
32477 (char *) "self",(char *) "bitmap", NULL
32480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32486 if (arg2
== NULL
) {
32487 PyErr_SetString(PyExc_TypeError
,"null reference");
32491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32492 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32494 wxPyEndAllowThreads(__tstate
);
32495 if (PyErr_Occurred()) SWIG_fail
;
32497 Py_INCREF(Py_None
); resultobj
= Py_None
;
32504 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32505 PyObject
*resultobj
;
32506 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32508 PyObject
* obj0
= 0 ;
32509 char *kwnames
[] = {
32510 (char *) "self", NULL
32513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32519 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32520 result
= (wxBitmap
*) &_result_ref
;
32523 wxPyEndAllowThreads(__tstate
);
32524 if (PyErr_Occurred()) SWIG_fail
;
32527 wxBitmap
* resultptr
= new wxBitmap(*result
);
32528 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32536 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32539 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32541 return Py_BuildValue((char *)"");
32543 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32544 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32549 static PyObject
*_wrap_ControlNameStr_get() {
32554 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32556 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32563 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32564 PyObject
*resultobj
;
32565 wxWindow
*arg1
= (wxWindow
*) 0 ;
32567 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32568 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32569 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32570 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32571 long arg5
= (long) 0 ;
32572 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32573 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32574 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32575 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32579 bool temp7
= False
;
32580 PyObject
* obj0
= 0 ;
32581 PyObject
* obj1
= 0 ;
32582 PyObject
* obj2
= 0 ;
32583 PyObject
* obj3
= 0 ;
32584 PyObject
* obj4
= 0 ;
32585 PyObject
* obj5
= 0 ;
32586 PyObject
* obj6
= 0 ;
32587 char *kwnames
[] = {
32588 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32594 arg2
= (int) SWIG_AsInt(obj1
);
32595 if (PyErr_Occurred()) SWIG_fail
;
32599 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32605 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32609 arg5
= (long) SWIG_AsLong(obj4
);
32610 if (PyErr_Occurred()) SWIG_fail
;
32613 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32616 if (arg6
== NULL
) {
32617 PyErr_SetString(PyExc_TypeError
,"null reference");
32623 arg7
= wxString_in_helper(obj6
);
32624 if (arg7
== NULL
) SWIG_fail
;
32629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32630 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32632 wxPyEndAllowThreads(__tstate
);
32633 if (PyErr_Occurred()) SWIG_fail
;
32636 resultobj
= wxPyMake_wxObject(result
);
32652 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32653 PyObject
*resultobj
;
32655 char *kwnames
[] = {
32659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32662 result
= (wxControl
*)new wxControl();
32664 wxPyEndAllowThreads(__tstate
);
32665 if (PyErr_Occurred()) SWIG_fail
;
32668 resultobj
= wxPyMake_wxObject(result
);
32676 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32677 PyObject
*resultobj
;
32678 wxControl
*arg1
= (wxControl
*) 0 ;
32679 wxWindow
*arg2
= (wxWindow
*) 0 ;
32681 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32682 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32683 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32684 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32685 long arg6
= (long) 0 ;
32686 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32687 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32688 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
32689 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32693 bool temp8
= False
;
32694 PyObject
* obj0
= 0 ;
32695 PyObject
* obj1
= 0 ;
32696 PyObject
* obj2
= 0 ;
32697 PyObject
* obj3
= 0 ;
32698 PyObject
* obj4
= 0 ;
32699 PyObject
* obj5
= 0 ;
32700 PyObject
* obj6
= 0 ;
32701 PyObject
* obj7
= 0 ;
32702 char *kwnames
[] = {
32703 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
32707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32711 arg3
= (int) SWIG_AsInt(obj2
);
32712 if (PyErr_Occurred()) SWIG_fail
;
32716 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32722 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32726 arg6
= (long) SWIG_AsLong(obj5
);
32727 if (PyErr_Occurred()) SWIG_fail
;
32730 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
32731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32733 if (arg7
== NULL
) {
32734 PyErr_SetString(PyExc_TypeError
,"null reference");
32740 arg8
= wxString_in_helper(obj7
);
32741 if (arg8
== NULL
) SWIG_fail
;
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32747 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32769 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32770 PyObject
*resultobj
;
32771 wxControl
*arg1
= (wxControl
*) 0 ;
32772 wxCommandEvent
*arg2
= 0 ;
32773 PyObject
* obj0
= 0 ;
32774 PyObject
* obj1
= 0 ;
32775 char *kwnames
[] = {
32776 (char *) "self",(char *) "event", NULL
32779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
32780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
32783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32785 if (arg2
== NULL
) {
32786 PyErr_SetString(PyExc_TypeError
,"null reference");
32790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32791 (arg1
)->Command(*arg2
);
32793 wxPyEndAllowThreads(__tstate
);
32794 if (PyErr_Occurred()) SWIG_fail
;
32796 Py_INCREF(Py_None
); resultobj
= Py_None
;
32803 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32804 PyObject
*resultobj
;
32805 wxControl
*arg1
= (wxControl
*) 0 ;
32807 PyObject
* obj0
= 0 ;
32808 char *kwnames
[] = {
32809 (char *) "self", NULL
32812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
32813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32817 result
= (arg1
)->GetLabel();
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32835 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32836 PyObject
*resultobj
;
32837 wxControl
*arg1
= (wxControl
*) 0 ;
32838 wxString
*arg2
= 0 ;
32839 bool temp2
= False
;
32840 PyObject
* obj0
= 0 ;
32841 PyObject
* obj1
= 0 ;
32842 char *kwnames
[] = {
32843 (char *) "self",(char *) "label", NULL
32846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32850 arg2
= wxString_in_helper(obj1
);
32851 if (arg2
== NULL
) SWIG_fail
;
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32856 (arg1
)->SetLabel((wxString
const &)*arg2
);
32858 wxPyEndAllowThreads(__tstate
);
32859 if (PyErr_Occurred()) SWIG_fail
;
32861 Py_INCREF(Py_None
); resultobj
= Py_None
;
32876 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32877 PyObject
*resultobj
;
32878 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
32879 wxVisualAttributes result
;
32880 PyObject
* obj0
= 0 ;
32881 char *kwnames
[] = {
32882 (char *) "variant", NULL
32885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32887 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
32888 if (PyErr_Occurred()) SWIG_fail
;
32891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32892 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
32894 wxPyEndAllowThreads(__tstate
);
32895 if (PyErr_Occurred()) SWIG_fail
;
32898 wxVisualAttributes
* resultptr
;
32899 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
32900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32908 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
32910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32911 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
32913 return Py_BuildValue((char *)"");
32915 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32916 PyObject
*resultobj
;
32917 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32918 wxString
*arg2
= 0 ;
32919 PyObject
*arg3
= (PyObject
*) NULL
;
32921 bool temp2
= False
;
32922 PyObject
* obj0
= 0 ;
32923 PyObject
* obj1
= 0 ;
32924 PyObject
* obj2
= 0 ;
32925 char *kwnames
[] = {
32926 (char *) "self",(char *) "item",(char *) "clientData", NULL
32929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32933 arg2
= wxString_in_helper(obj1
);
32934 if (arg2
== NULL
) SWIG_fail
;
32941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32942 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32944 wxPyEndAllowThreads(__tstate
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32947 resultobj
= SWIG_FromInt((int)result
);
32962 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32963 PyObject
*resultobj
;
32964 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32965 wxArrayString
*arg2
= 0 ;
32966 bool temp2
= False
;
32967 PyObject
* obj0
= 0 ;
32968 PyObject
* obj1
= 0 ;
32969 char *kwnames
[] = {
32970 (char *) "self",(char *) "strings", NULL
32973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
32974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32977 if (! PySequence_Check(obj1
)) {
32978 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
32981 arg2
= new wxArrayString
;
32983 int i
, len
=PySequence_Length(obj1
);
32984 for (i
=0; i
<len
; i
++) {
32985 PyObject
* item
= PySequence_GetItem(obj1
, i
);
32987 PyObject
* str
= PyObject_Unicode(item
);
32989 PyObject
* str
= PyObject_Str(item
);
32991 if (PyErr_Occurred()) SWIG_fail
;
32992 arg2
->Add(Py2wxString(str
));
32998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32999 (arg1
)->Append((wxArrayString
const &)*arg2
);
33001 wxPyEndAllowThreads(__tstate
);
33002 if (PyErr_Occurred()) SWIG_fail
;
33004 Py_INCREF(Py_None
); resultobj
= Py_None
;
33006 if (temp2
) delete arg2
;
33011 if (temp2
) delete arg2
;
33017 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33018 PyObject
*resultobj
;
33019 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33020 wxString
*arg2
= 0 ;
33022 PyObject
*arg4
= (PyObject
*) NULL
;
33024 bool temp2
= False
;
33025 PyObject
* obj0
= 0 ;
33026 PyObject
* obj1
= 0 ;
33027 PyObject
* obj2
= 0 ;
33028 PyObject
* obj3
= 0 ;
33029 char *kwnames
[] = {
33030 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33037 arg2
= wxString_in_helper(obj1
);
33038 if (arg2
== NULL
) SWIG_fail
;
33041 arg3
= (int) SWIG_AsInt(obj2
);
33042 if (PyErr_Occurred()) SWIG_fail
;
33047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33048 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33050 wxPyEndAllowThreads(__tstate
);
33051 if (PyErr_Occurred()) SWIG_fail
;
33053 resultobj
= SWIG_FromInt((int)result
);
33068 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33069 PyObject
*resultobj
;
33070 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33071 PyObject
* obj0
= 0 ;
33072 char *kwnames
[] = {
33073 (char *) "self", NULL
33076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33083 wxPyEndAllowThreads(__tstate
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33086 Py_INCREF(Py_None
); resultobj
= Py_None
;
33093 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33094 PyObject
*resultobj
;
33095 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33097 PyObject
* obj0
= 0 ;
33098 PyObject
* obj1
= 0 ;
33099 char *kwnames
[] = {
33100 (char *) "self",(char *) "n", NULL
33103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33106 arg2
= (int) SWIG_AsInt(obj1
);
33107 if (PyErr_Occurred()) SWIG_fail
;
33109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33110 (arg1
)->Delete(arg2
);
33112 wxPyEndAllowThreads(__tstate
);
33113 if (PyErr_Occurred()) SWIG_fail
;
33115 Py_INCREF(Py_None
); resultobj
= Py_None
;
33122 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33123 PyObject
*resultobj
;
33124 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33126 PyObject
* obj0
= 0 ;
33127 char *kwnames
[] = {
33128 (char *) "self", NULL
33131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33136 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33138 wxPyEndAllowThreads(__tstate
);
33139 if (PyErr_Occurred()) SWIG_fail
;
33141 resultobj
= SWIG_FromInt((int)result
);
33148 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33149 PyObject
*resultobj
;
33150 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33152 PyObject
* obj0
= 0 ;
33153 char *kwnames
[] = {
33154 (char *) "self", NULL
33157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33162 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33164 wxPyEndAllowThreads(__tstate
);
33165 if (PyErr_Occurred()) SWIG_fail
;
33168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33176 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33177 PyObject
*resultobj
;
33178 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33181 PyObject
* obj0
= 0 ;
33182 PyObject
* obj1
= 0 ;
33183 char *kwnames
[] = {
33184 (char *) "self",(char *) "n", NULL
33187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33190 arg2
= (int) SWIG_AsInt(obj1
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33194 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33196 wxPyEndAllowThreads(__tstate
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33212 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33213 PyObject
*resultobj
;
33214 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33215 wxArrayString result
;
33216 PyObject
* obj0
= 0 ;
33217 char *kwnames
[] = {
33218 (char *) "self", NULL
33221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33226 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33228 wxPyEndAllowThreads(__tstate
);
33229 if (PyErr_Occurred()) SWIG_fail
;
33232 resultobj
= wxArrayString2PyList_helper(result
);
33240 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33241 PyObject
*resultobj
;
33242 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33244 wxString
*arg3
= 0 ;
33245 bool temp3
= False
;
33246 PyObject
* obj0
= 0 ;
33247 PyObject
* obj1
= 0 ;
33248 PyObject
* obj2
= 0 ;
33249 char *kwnames
[] = {
33250 (char *) "self",(char *) "n",(char *) "s", NULL
33253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33256 arg2
= (int) SWIG_AsInt(obj1
);
33257 if (PyErr_Occurred()) SWIG_fail
;
33259 arg3
= wxString_in_helper(obj2
);
33260 if (arg3
== NULL
) SWIG_fail
;
33264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33265 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33267 wxPyEndAllowThreads(__tstate
);
33268 if (PyErr_Occurred()) SWIG_fail
;
33270 Py_INCREF(Py_None
); resultobj
= Py_None
;
33285 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33286 PyObject
*resultobj
;
33287 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33288 wxString
*arg2
= 0 ;
33290 bool temp2
= False
;
33291 PyObject
* obj0
= 0 ;
33292 PyObject
* obj1
= 0 ;
33293 char *kwnames
[] = {
33294 (char *) "self",(char *) "s", NULL
33297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33301 arg2
= wxString_in_helper(obj1
);
33302 if (arg2
== NULL
) SWIG_fail
;
33306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33307 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33309 wxPyEndAllowThreads(__tstate
);
33310 if (PyErr_Occurred()) SWIG_fail
;
33312 resultobj
= SWIG_FromInt((int)result
);
33327 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33328 PyObject
*resultobj
;
33329 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33331 PyObject
* obj0
= 0 ;
33332 PyObject
* obj1
= 0 ;
33333 char *kwnames
[] = {
33334 (char *) "self",(char *) "n", NULL
33337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33340 arg2
= (int) SWIG_AsInt(obj1
);
33341 if (PyErr_Occurred()) SWIG_fail
;
33343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33344 (arg1
)->Select(arg2
);
33346 wxPyEndAllowThreads(__tstate
);
33347 if (PyErr_Occurred()) SWIG_fail
;
33349 Py_INCREF(Py_None
); resultobj
= Py_None
;
33356 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33357 PyObject
*resultobj
;
33358 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33360 PyObject
* obj0
= 0 ;
33361 char *kwnames
[] = {
33362 (char *) "self", NULL
33365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33370 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 resultobj
= SWIG_FromInt((int)result
);
33382 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33383 PyObject
*resultobj
;
33384 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33386 PyObject
* obj0
= 0 ;
33387 char *kwnames
[] = {
33388 (char *) "self", NULL
33391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33396 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33398 wxPyEndAllowThreads(__tstate
);
33399 if (PyErr_Occurred()) SWIG_fail
;
33403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33414 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33415 PyObject
*resultobj
;
33416 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33419 PyObject
* obj0
= 0 ;
33420 PyObject
* obj1
= 0 ;
33421 char *kwnames
[] = {
33422 (char *) "self",(char *) "n", NULL
33425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33428 arg2
= (int) SWIG_AsInt(obj1
);
33429 if (PyErr_Occurred()) SWIG_fail
;
33431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33432 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33434 wxPyEndAllowThreads(__tstate
);
33435 if (PyErr_Occurred()) SWIG_fail
;
33437 resultobj
= result
;
33444 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33445 PyObject
*resultobj
;
33446 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33448 PyObject
*arg3
= (PyObject
*) 0 ;
33449 PyObject
* obj0
= 0 ;
33450 PyObject
* obj1
= 0 ;
33451 PyObject
* obj2
= 0 ;
33452 char *kwnames
[] = {
33453 (char *) "self",(char *) "n",(char *) "clientData", NULL
33456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33459 arg2
= (int) SWIG_AsInt(obj1
);
33460 if (PyErr_Occurred()) SWIG_fail
;
33463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33464 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33466 wxPyEndAllowThreads(__tstate
);
33467 if (PyErr_Occurred()) SWIG_fail
;
33469 Py_INCREF(Py_None
); resultobj
= Py_None
;
33476 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33479 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33481 return Py_BuildValue((char *)"");
33483 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33486 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33488 return Py_BuildValue((char *)"");
33490 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33491 PyObject
*resultobj
;
33492 wxSizerItem
*result
;
33493 char *kwnames
[] = {
33497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33500 result
= (wxSizerItem
*)new wxSizerItem();
33502 wxPyEndAllowThreads(__tstate
);
33503 if (PyErr_Occurred()) SWIG_fail
;
33505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33512 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33513 PyObject
*resultobj
;
33519 wxObject
*arg6
= (wxObject
*) 0 ;
33520 wxSizerItem
*result
;
33521 PyObject
* obj0
= 0 ;
33522 PyObject
* obj1
= 0 ;
33523 PyObject
* obj2
= 0 ;
33524 PyObject
* obj3
= 0 ;
33525 PyObject
* obj4
= 0 ;
33526 PyObject
* obj5
= 0 ;
33527 char *kwnames
[] = {
33528 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33532 arg1
= (int) SWIG_AsInt(obj0
);
33533 if (PyErr_Occurred()) SWIG_fail
;
33534 arg2
= (int) SWIG_AsInt(obj1
);
33535 if (PyErr_Occurred()) SWIG_fail
;
33536 arg3
= (int) SWIG_AsInt(obj2
);
33537 if (PyErr_Occurred()) SWIG_fail
;
33538 arg4
= (int) SWIG_AsInt(obj3
);
33539 if (PyErr_Occurred()) SWIG_fail
;
33540 arg5
= (int) SWIG_AsInt(obj4
);
33541 if (PyErr_Occurred()) SWIG_fail
;
33542 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
33543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33546 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33548 wxPyEndAllowThreads(__tstate
);
33549 if (PyErr_Occurred()) SWIG_fail
;
33551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33558 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33559 PyObject
*resultobj
;
33560 wxWindow
*arg1
= (wxWindow
*) 0 ;
33564 wxObject
*arg5
= (wxObject
*) 0 ;
33565 wxSizerItem
*result
;
33566 PyObject
* obj0
= 0 ;
33567 PyObject
* obj1
= 0 ;
33568 PyObject
* obj2
= 0 ;
33569 PyObject
* obj3
= 0 ;
33570 PyObject
* obj4
= 0 ;
33571 char *kwnames
[] = {
33572 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33578 arg2
= (int) SWIG_AsInt(obj1
);
33579 if (PyErr_Occurred()) SWIG_fail
;
33580 arg3
= (int) SWIG_AsInt(obj2
);
33581 if (PyErr_Occurred()) SWIG_fail
;
33582 arg4
= (int) SWIG_AsInt(obj3
);
33583 if (PyErr_Occurred()) SWIG_fail
;
33584 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33588 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33590 wxPyEndAllowThreads(__tstate
);
33591 if (PyErr_Occurred()) SWIG_fail
;
33593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33600 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33601 PyObject
*resultobj
;
33602 wxSizer
*arg1
= (wxSizer
*) 0 ;
33606 wxObject
*arg5
= (wxObject
*) 0 ;
33607 wxSizerItem
*result
;
33608 PyObject
* obj0
= 0 ;
33609 PyObject
* obj1
= 0 ;
33610 PyObject
* obj2
= 0 ;
33611 PyObject
* obj3
= 0 ;
33612 PyObject
* obj4
= 0 ;
33613 char *kwnames
[] = {
33614 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33620 arg2
= (int) SWIG_AsInt(obj1
);
33621 if (PyErr_Occurred()) SWIG_fail
;
33622 arg3
= (int) SWIG_AsInt(obj2
);
33623 if (PyErr_Occurred()) SWIG_fail
;
33624 arg4
= (int) SWIG_AsInt(obj3
);
33625 if (PyErr_Occurred()) SWIG_fail
;
33626 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33630 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33632 wxPyEndAllowThreads(__tstate
);
33633 if (PyErr_Occurred()) SWIG_fail
;
33635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33642 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33643 PyObject
*resultobj
;
33644 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33645 PyObject
* obj0
= 0 ;
33646 char *kwnames
[] = {
33647 (char *) "self", NULL
33650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33655 (arg1
)->DeleteWindows();
33657 wxPyEndAllowThreads(__tstate
);
33658 if (PyErr_Occurred()) SWIG_fail
;
33660 Py_INCREF(Py_None
); resultobj
= Py_None
;
33667 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33668 PyObject
*resultobj
;
33669 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33670 PyObject
* obj0
= 0 ;
33671 char *kwnames
[] = {
33672 (char *) "self", NULL
33675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
33676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33680 (arg1
)->DetachSizer();
33682 wxPyEndAllowThreads(__tstate
);
33683 if (PyErr_Occurred()) SWIG_fail
;
33685 Py_INCREF(Py_None
); resultobj
= Py_None
;
33692 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33693 PyObject
*resultobj
;
33694 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33696 PyObject
* obj0
= 0 ;
33697 char *kwnames
[] = {
33698 (char *) "self", NULL
33701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
33702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 result
= (arg1
)->GetSize();
33708 wxPyEndAllowThreads(__tstate
);
33709 if (PyErr_Occurred()) SWIG_fail
;
33712 wxSize
* resultptr
;
33713 resultptr
= new wxSize((wxSize
&) result
);
33714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33722 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33723 PyObject
*resultobj
;
33724 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33726 PyObject
* obj0
= 0 ;
33727 char *kwnames
[] = {
33728 (char *) "self", NULL
33731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
33732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33736 result
= (arg1
)->CalcMin();
33738 wxPyEndAllowThreads(__tstate
);
33739 if (PyErr_Occurred()) SWIG_fail
;
33742 wxSize
* resultptr
;
33743 resultptr
= new wxSize((wxSize
&) result
);
33744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33752 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33753 PyObject
*resultobj
;
33754 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33759 PyObject
* obj0
= 0 ;
33760 PyObject
* obj1
= 0 ;
33761 PyObject
* obj2
= 0 ;
33762 char *kwnames
[] = {
33763 (char *) "self",(char *) "pos",(char *) "size", NULL
33766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33769 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
33770 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33772 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
33773 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33777 (arg1
)->SetDimension(arg2
,arg3
);
33779 wxPyEndAllowThreads(__tstate
);
33780 if (PyErr_Occurred()) SWIG_fail
;
33782 Py_INCREF(Py_None
); resultobj
= Py_None
;
33789 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33790 PyObject
*resultobj
;
33791 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33793 PyObject
* obj0
= 0 ;
33794 char *kwnames
[] = {
33795 (char *) "self", NULL
33798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
33799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33803 result
= (arg1
)->GetMinSize();
33805 wxPyEndAllowThreads(__tstate
);
33806 if (PyErr_Occurred()) SWIG_fail
;
33809 wxSize
* resultptr
;
33810 resultptr
= new wxSize((wxSize
&) result
);
33811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33819 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33820 PyObject
*resultobj
;
33821 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33824 PyObject
* obj0
= 0 ;
33825 PyObject
* obj1
= 0 ;
33826 PyObject
* obj2
= 0 ;
33827 char *kwnames
[] = {
33828 (char *) "self",(char *) "x",(char *) "y", NULL
33831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33834 arg2
= (int) SWIG_AsInt(obj1
);
33835 if (PyErr_Occurred()) SWIG_fail
;
33836 arg3
= (int) SWIG_AsInt(obj2
);
33837 if (PyErr_Occurred()) SWIG_fail
;
33839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33840 (arg1
)->SetInitSize(arg2
,arg3
);
33842 wxPyEndAllowThreads(__tstate
);
33843 if (PyErr_Occurred()) SWIG_fail
;
33845 Py_INCREF(Py_None
); resultobj
= Py_None
;
33852 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33853 PyObject
*resultobj
;
33854 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33857 PyObject
* obj0
= 0 ;
33858 PyObject
* obj1
= 0 ;
33859 PyObject
* obj2
= 0 ;
33860 char *kwnames
[] = {
33861 (char *) "self",(char *) "width",(char *) "height", NULL
33864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33867 arg2
= (int) SWIG_AsInt(obj1
);
33868 if (PyErr_Occurred()) SWIG_fail
;
33869 arg3
= (int) SWIG_AsInt(obj2
);
33870 if (PyErr_Occurred()) SWIG_fail
;
33872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33873 (arg1
)->SetRatio(arg2
,arg3
);
33875 wxPyEndAllowThreads(__tstate
);
33876 if (PyErr_Occurred()) SWIG_fail
;
33878 Py_INCREF(Py_None
); resultobj
= Py_None
;
33885 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33886 PyObject
*resultobj
;
33887 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33890 PyObject
* obj0
= 0 ;
33891 PyObject
* obj1
= 0 ;
33892 char *kwnames
[] = {
33893 (char *) "self",(char *) "size", NULL
33896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33899 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
33900 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33904 (arg1
)->SetRatio(arg2
);
33906 wxPyEndAllowThreads(__tstate
);
33907 if (PyErr_Occurred()) SWIG_fail
;
33909 Py_INCREF(Py_None
); resultobj
= Py_None
;
33916 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33917 PyObject
*resultobj
;
33918 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33920 PyObject
* obj0
= 0 ;
33921 PyObject
* obj1
= 0 ;
33922 char *kwnames
[] = {
33923 (char *) "self",(char *) "ratio", NULL
33926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33929 arg2
= (float) SWIG_AsFloat(obj1
);
33930 if (PyErr_Occurred()) SWIG_fail
;
33932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33933 (arg1
)->SetRatio(arg2
);
33935 wxPyEndAllowThreads(__tstate
);
33936 if (PyErr_Occurred()) SWIG_fail
;
33938 Py_INCREF(Py_None
); resultobj
= Py_None
;
33945 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33946 PyObject
*resultobj
;
33947 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33949 PyObject
* obj0
= 0 ;
33950 char *kwnames
[] = {
33951 (char *) "self", NULL
33954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
33955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33959 result
= (float)(arg1
)->GetRatio();
33961 wxPyEndAllowThreads(__tstate
);
33962 if (PyErr_Occurred()) SWIG_fail
;
33964 resultobj
= SWIG_FromFloat((float)result
);
33971 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33972 PyObject
*resultobj
;
33973 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33975 PyObject
* obj0
= 0 ;
33976 char *kwnames
[] = {
33977 (char *) "self", NULL
33980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
33981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33985 result
= (bool)(arg1
)->IsWindow();
33987 wxPyEndAllowThreads(__tstate
);
33988 if (PyErr_Occurred()) SWIG_fail
;
33991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33999 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34000 PyObject
*resultobj
;
34001 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34003 PyObject
* obj0
= 0 ;
34004 char *kwnames
[] = {
34005 (char *) "self", NULL
34008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34013 result
= (bool)(arg1
)->IsSizer();
34015 wxPyEndAllowThreads(__tstate
);
34016 if (PyErr_Occurred()) SWIG_fail
;
34019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34027 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34028 PyObject
*resultobj
;
34029 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34031 PyObject
* obj0
= 0 ;
34032 char *kwnames
[] = {
34033 (char *) "self", NULL
34036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34041 result
= (bool)(arg1
)->IsSpacer();
34043 wxPyEndAllowThreads(__tstate
);
34044 if (PyErr_Occurred()) SWIG_fail
;
34047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34055 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34056 PyObject
*resultobj
;
34057 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34059 PyObject
* obj0
= 0 ;
34060 PyObject
* obj1
= 0 ;
34061 char *kwnames
[] = {
34062 (char *) "self",(char *) "proportion", NULL
34065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34068 arg2
= (int) SWIG_AsInt(obj1
);
34069 if (PyErr_Occurred()) SWIG_fail
;
34071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34072 (arg1
)->SetProportion(arg2
);
34074 wxPyEndAllowThreads(__tstate
);
34075 if (PyErr_Occurred()) SWIG_fail
;
34077 Py_INCREF(Py_None
); resultobj
= Py_None
;
34084 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34085 PyObject
*resultobj
;
34086 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34088 PyObject
* obj0
= 0 ;
34089 char *kwnames
[] = {
34090 (char *) "self", NULL
34093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34098 result
= (int)(arg1
)->GetProportion();
34100 wxPyEndAllowThreads(__tstate
);
34101 if (PyErr_Occurred()) SWIG_fail
;
34103 resultobj
= SWIG_FromInt((int)result
);
34110 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34111 PyObject
*resultobj
;
34112 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34114 PyObject
* obj0
= 0 ;
34115 PyObject
* obj1
= 0 ;
34116 char *kwnames
[] = {
34117 (char *) "self",(char *) "flag", NULL
34120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34123 arg2
= (int) SWIG_AsInt(obj1
);
34124 if (PyErr_Occurred()) SWIG_fail
;
34126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34127 (arg1
)->SetFlag(arg2
);
34129 wxPyEndAllowThreads(__tstate
);
34130 if (PyErr_Occurred()) SWIG_fail
;
34132 Py_INCREF(Py_None
); resultobj
= Py_None
;
34139 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34140 PyObject
*resultobj
;
34141 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34143 PyObject
* obj0
= 0 ;
34144 char *kwnames
[] = {
34145 (char *) "self", NULL
34148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 result
= (int)(arg1
)->GetFlag();
34155 wxPyEndAllowThreads(__tstate
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34158 resultobj
= SWIG_FromInt((int)result
);
34165 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34166 PyObject
*resultobj
;
34167 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34169 PyObject
* obj0
= 0 ;
34170 PyObject
* obj1
= 0 ;
34171 char *kwnames
[] = {
34172 (char *) "self",(char *) "border", NULL
34175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34178 arg2
= (int) SWIG_AsInt(obj1
);
34179 if (PyErr_Occurred()) SWIG_fail
;
34181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34182 (arg1
)->SetBorder(arg2
);
34184 wxPyEndAllowThreads(__tstate
);
34185 if (PyErr_Occurred()) SWIG_fail
;
34187 Py_INCREF(Py_None
); resultobj
= Py_None
;
34194 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34195 PyObject
*resultobj
;
34196 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34198 PyObject
* obj0
= 0 ;
34199 char *kwnames
[] = {
34200 (char *) "self", NULL
34203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34208 result
= (int)(arg1
)->GetBorder();
34210 wxPyEndAllowThreads(__tstate
);
34211 if (PyErr_Occurred()) SWIG_fail
;
34213 resultobj
= SWIG_FromInt((int)result
);
34220 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34221 PyObject
*resultobj
;
34222 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34224 PyObject
* obj0
= 0 ;
34225 char *kwnames
[] = {
34226 (char *) "self", NULL
34229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34234 result
= (wxWindow
*)(arg1
)->GetWindow();
34236 wxPyEndAllowThreads(__tstate
);
34237 if (PyErr_Occurred()) SWIG_fail
;
34240 resultobj
= wxPyMake_wxObject(result
);
34248 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34249 PyObject
*resultobj
;
34250 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34251 wxWindow
*arg2
= (wxWindow
*) 0 ;
34252 PyObject
* obj0
= 0 ;
34253 PyObject
* obj1
= 0 ;
34254 char *kwnames
[] = {
34255 (char *) "self",(char *) "window", NULL
34258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34265 (arg1
)->SetWindow(arg2
);
34267 wxPyEndAllowThreads(__tstate
);
34268 if (PyErr_Occurred()) SWIG_fail
;
34270 Py_INCREF(Py_None
); resultobj
= Py_None
;
34277 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34278 PyObject
*resultobj
;
34279 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34281 PyObject
* obj0
= 0 ;
34282 char *kwnames
[] = {
34283 (char *) "self", NULL
34286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34291 result
= (wxSizer
*)(arg1
)->GetSizer();
34293 wxPyEndAllowThreads(__tstate
);
34294 if (PyErr_Occurred()) SWIG_fail
;
34297 resultobj
= wxPyMake_wxSizer(result
);
34305 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34306 PyObject
*resultobj
;
34307 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34308 wxSizer
*arg2
= (wxSizer
*) 0 ;
34309 PyObject
* obj0
= 0 ;
34310 PyObject
* obj1
= 0 ;
34311 char *kwnames
[] = {
34312 (char *) "self",(char *) "sizer", NULL
34315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34322 (arg1
)->SetSizer(arg2
);
34324 wxPyEndAllowThreads(__tstate
);
34325 if (PyErr_Occurred()) SWIG_fail
;
34327 Py_INCREF(Py_None
); resultobj
= Py_None
;
34334 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34335 PyObject
*resultobj
;
34336 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34338 PyObject
* obj0
= 0 ;
34339 char *kwnames
[] = {
34340 (char *) "self", NULL
34343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34349 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34350 result
= (wxSize
*) &_result_ref
;
34353 wxPyEndAllowThreads(__tstate
);
34354 if (PyErr_Occurred()) SWIG_fail
;
34356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34363 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34364 PyObject
*resultobj
;
34365 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34368 PyObject
* obj0
= 0 ;
34369 PyObject
* obj1
= 0 ;
34370 char *kwnames
[] = {
34371 (char *) "self",(char *) "size", NULL
34374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34379 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34383 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34385 wxPyEndAllowThreads(__tstate
);
34386 if (PyErr_Occurred()) SWIG_fail
;
34388 Py_INCREF(Py_None
); resultobj
= Py_None
;
34395 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34396 PyObject
*resultobj
;
34397 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34399 PyObject
* obj0
= 0 ;
34400 PyObject
* obj1
= 0 ;
34401 char *kwnames
[] = {
34402 (char *) "self",(char *) "show", NULL
34405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34408 arg2
= (bool) SWIG_AsBool(obj1
);
34409 if (PyErr_Occurred()) SWIG_fail
;
34411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34412 (arg1
)->Show(arg2
);
34414 wxPyEndAllowThreads(__tstate
);
34415 if (PyErr_Occurred()) SWIG_fail
;
34417 Py_INCREF(Py_None
); resultobj
= Py_None
;
34424 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34425 PyObject
*resultobj
;
34426 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34428 PyObject
* obj0
= 0 ;
34429 char *kwnames
[] = {
34430 (char *) "self", NULL
34433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34438 result
= (bool)(arg1
)->IsShown();
34440 wxPyEndAllowThreads(__tstate
);
34441 if (PyErr_Occurred()) SWIG_fail
;
34444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34452 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34453 PyObject
*resultobj
;
34454 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34456 PyObject
* obj0
= 0 ;
34457 char *kwnames
[] = {
34458 (char *) "self", NULL
34461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34466 result
= (arg1
)->GetPosition();
34468 wxPyEndAllowThreads(__tstate
);
34469 if (PyErr_Occurred()) SWIG_fail
;
34472 wxPoint
* resultptr
;
34473 resultptr
= new wxPoint((wxPoint
&) result
);
34474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34482 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34483 PyObject
*resultobj
;
34484 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34486 PyObject
* obj0
= 0 ;
34487 char *kwnames
[] = {
34488 (char *) "self", NULL
34491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34496 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34498 wxPyEndAllowThreads(__tstate
);
34499 if (PyErr_Occurred()) SWIG_fail
;
34501 resultobj
= result
;
34508 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34511 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34513 return Py_BuildValue((char *)"");
34515 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34516 PyObject
*resultobj
;
34517 wxSizer
*arg1
= (wxSizer
*) 0 ;
34518 PyObject
*arg2
= (PyObject
*) 0 ;
34519 PyObject
* obj0
= 0 ;
34520 PyObject
* obj1
= 0 ;
34521 char *kwnames
[] = {
34522 (char *) "self",(char *) "_self", NULL
34525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34531 wxSizer__setOORInfo(arg1
,arg2
);
34533 wxPyEndAllowThreads(__tstate
);
34534 if (PyErr_Occurred()) SWIG_fail
;
34536 Py_INCREF(Py_None
); resultobj
= Py_None
;
34543 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34544 PyObject
*resultobj
;
34545 wxSizer
*arg1
= (wxSizer
*) 0 ;
34546 PyObject
*arg2
= (PyObject
*) 0 ;
34547 int arg3
= (int) 0 ;
34548 int arg4
= (int) 0 ;
34549 int arg5
= (int) 0 ;
34550 PyObject
*arg6
= (PyObject
*) NULL
;
34551 PyObject
* obj0
= 0 ;
34552 PyObject
* obj1
= 0 ;
34553 PyObject
* obj2
= 0 ;
34554 PyObject
* obj3
= 0 ;
34555 PyObject
* obj4
= 0 ;
34556 PyObject
* obj5
= 0 ;
34557 char *kwnames
[] = {
34558 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34566 arg3
= (int) SWIG_AsInt(obj2
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34570 arg4
= (int) SWIG_AsInt(obj3
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34574 arg5
= (int) SWIG_AsInt(obj4
);
34575 if (PyErr_Occurred()) SWIG_fail
;
34581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34582 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34584 wxPyEndAllowThreads(__tstate
);
34585 if (PyErr_Occurred()) SWIG_fail
;
34587 Py_INCREF(Py_None
); resultobj
= Py_None
;
34594 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34595 PyObject
*resultobj
;
34596 wxSizer
*arg1
= (wxSizer
*) 0 ;
34598 PyObject
*arg3
= (PyObject
*) 0 ;
34599 int arg4
= (int) 0 ;
34600 int arg5
= (int) 0 ;
34601 int arg6
= (int) 0 ;
34602 PyObject
*arg7
= (PyObject
*) NULL
;
34603 PyObject
* obj0
= 0 ;
34604 PyObject
* obj1
= 0 ;
34605 PyObject
* obj2
= 0 ;
34606 PyObject
* obj3
= 0 ;
34607 PyObject
* obj4
= 0 ;
34608 PyObject
* obj5
= 0 ;
34609 PyObject
* obj6
= 0 ;
34610 char *kwnames
[] = {
34611 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34617 arg2
= (int) SWIG_AsInt(obj1
);
34618 if (PyErr_Occurred()) SWIG_fail
;
34621 arg4
= (int) SWIG_AsInt(obj3
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34625 arg5
= (int) SWIG_AsInt(obj4
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34629 arg6
= (int) SWIG_AsInt(obj5
);
34630 if (PyErr_Occurred()) SWIG_fail
;
34636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34637 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34639 wxPyEndAllowThreads(__tstate
);
34640 if (PyErr_Occurred()) SWIG_fail
;
34642 Py_INCREF(Py_None
); resultobj
= Py_None
;
34649 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34650 PyObject
*resultobj
;
34651 wxSizer
*arg1
= (wxSizer
*) 0 ;
34652 PyObject
*arg2
= (PyObject
*) 0 ;
34653 int arg3
= (int) 0 ;
34654 int arg4
= (int) 0 ;
34655 int arg5
= (int) 0 ;
34656 PyObject
*arg6
= (PyObject
*) NULL
;
34657 PyObject
* obj0
= 0 ;
34658 PyObject
* obj1
= 0 ;
34659 PyObject
* obj2
= 0 ;
34660 PyObject
* obj3
= 0 ;
34661 PyObject
* obj4
= 0 ;
34662 PyObject
* obj5
= 0 ;
34663 char *kwnames
[] = {
34664 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34672 arg3
= (int) SWIG_AsInt(obj2
);
34673 if (PyErr_Occurred()) SWIG_fail
;
34676 arg4
= (int) SWIG_AsInt(obj3
);
34677 if (PyErr_Occurred()) SWIG_fail
;
34680 arg5
= (int) SWIG_AsInt(obj4
);
34681 if (PyErr_Occurred()) SWIG_fail
;
34687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34688 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34690 wxPyEndAllowThreads(__tstate
);
34691 if (PyErr_Occurred()) SWIG_fail
;
34693 Py_INCREF(Py_None
); resultobj
= Py_None
;
34700 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34701 PyObject
*resultobj
;
34702 wxSizer
*arg1
= (wxSizer
*) 0 ;
34703 PyObject
*arg2
= (PyObject
*) 0 ;
34705 PyObject
* obj0
= 0 ;
34706 PyObject
* obj1
= 0 ;
34707 char *kwnames
[] = {
34708 (char *) "self",(char *) "item", NULL
34711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34717 result
= (bool)wxSizer_Remove(arg1
,arg2
);
34719 wxPyEndAllowThreads(__tstate
);
34720 if (PyErr_Occurred()) SWIG_fail
;
34723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34731 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34732 PyObject
*resultobj
;
34733 wxSizer
*arg1
= (wxSizer
*) 0 ;
34734 PyObject
*arg2
= (PyObject
*) 0 ;
34736 PyObject
* obj0
= 0 ;
34737 PyObject
* obj1
= 0 ;
34738 char *kwnames
[] = {
34739 (char *) "self",(char *) "item", NULL
34742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
34743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34748 result
= (bool)wxSizer_Detach(arg1
,arg2
);
34750 wxPyEndAllowThreads(__tstate
);
34751 if (PyErr_Occurred()) SWIG_fail
;
34754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34762 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34763 PyObject
*resultobj
;
34764 wxSizer
*arg1
= (wxSizer
*) 0 ;
34765 PyObject
*arg2
= (PyObject
*) 0 ;
34768 PyObject
* obj0
= 0 ;
34769 PyObject
* obj1
= 0 ;
34770 PyObject
* obj2
= 0 ;
34771 char *kwnames
[] = {
34772 (char *) "self",(char *) "item",(char *) "size", NULL
34775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34781 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34785 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
34787 wxPyEndAllowThreads(__tstate
);
34788 if (PyErr_Occurred()) SWIG_fail
;
34790 Py_INCREF(Py_None
); resultobj
= Py_None
;
34797 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34798 PyObject
*resultobj
;
34799 wxSizer
*arg1
= (wxSizer
*) 0 ;
34800 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34801 PyObject
* obj0
= 0 ;
34802 PyObject
* obj1
= 0 ;
34803 char *kwnames
[] = {
34804 (char *) "self",(char *) "item", NULL
34807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34816 wxPyEndAllowThreads(__tstate
);
34817 if (PyErr_Occurred()) SWIG_fail
;
34819 Py_INCREF(Py_None
); resultobj
= Py_None
;
34826 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34827 PyObject
*resultobj
;
34828 wxSizer
*arg1
= (wxSizer
*) 0 ;
34830 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
34831 PyObject
* obj0
= 0 ;
34832 PyObject
* obj1
= 0 ;
34833 PyObject
* obj2
= 0 ;
34834 char *kwnames
[] = {
34835 (char *) "self",(char *) "index",(char *) "item", NULL
34838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34841 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34842 if (PyErr_Occurred()) SWIG_fail
;
34843 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
34844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34847 (arg1
)->Insert(arg2
,arg3
);
34849 wxPyEndAllowThreads(__tstate
);
34850 if (PyErr_Occurred()) SWIG_fail
;
34852 Py_INCREF(Py_None
); resultobj
= Py_None
;
34859 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34860 PyObject
*resultobj
;
34861 wxSizer
*arg1
= (wxSizer
*) 0 ;
34862 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34863 PyObject
* obj0
= 0 ;
34864 PyObject
* obj1
= 0 ;
34865 char *kwnames
[] = {
34866 (char *) "self",(char *) "item", NULL
34869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34876 (arg1
)->Prepend(arg2
);
34878 wxPyEndAllowThreads(__tstate
);
34879 if (PyErr_Occurred()) SWIG_fail
;
34881 Py_INCREF(Py_None
); resultobj
= Py_None
;
34888 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34889 PyObject
*resultobj
;
34890 wxSizer
*arg1
= (wxSizer
*) 0 ;
34895 PyObject
* obj0
= 0 ;
34896 PyObject
* obj1
= 0 ;
34897 PyObject
* obj2
= 0 ;
34898 PyObject
* obj3
= 0 ;
34899 PyObject
* obj4
= 0 ;
34900 char *kwnames
[] = {
34901 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34907 arg2
= (int) SWIG_AsInt(obj1
);
34908 if (PyErr_Occurred()) SWIG_fail
;
34909 arg3
= (int) SWIG_AsInt(obj2
);
34910 if (PyErr_Occurred()) SWIG_fail
;
34911 arg4
= (int) SWIG_AsInt(obj3
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34913 arg5
= (int) SWIG_AsInt(obj4
);
34914 if (PyErr_Occurred()) SWIG_fail
;
34916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34917 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
34919 wxPyEndAllowThreads(__tstate
);
34920 if (PyErr_Occurred()) SWIG_fail
;
34922 Py_INCREF(Py_None
); resultobj
= Py_None
;
34929 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34930 PyObject
*resultobj
;
34931 wxSizer
*arg1
= (wxSizer
*) 0 ;
34934 PyObject
* obj0
= 0 ;
34935 PyObject
* obj1
= 0 ;
34936 char *kwnames
[] = {
34937 (char *) "self",(char *) "size", NULL
34940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34945 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34949 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34951 wxPyEndAllowThreads(__tstate
);
34952 if (PyErr_Occurred()) SWIG_fail
;
34954 Py_INCREF(Py_None
); resultobj
= Py_None
;
34961 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34962 PyObject
*resultobj
;
34963 wxSizer
*arg1
= (wxSizer
*) 0 ;
34965 PyObject
* obj0
= 0 ;
34966 char *kwnames
[] = {
34967 (char *) "self", NULL
34970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34975 result
= (arg1
)->GetSize();
34977 wxPyEndAllowThreads(__tstate
);
34978 if (PyErr_Occurred()) SWIG_fail
;
34981 wxSize
* resultptr
;
34982 resultptr
= new wxSize((wxSize
&) result
);
34983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34991 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34992 PyObject
*resultobj
;
34993 wxSizer
*arg1
= (wxSizer
*) 0 ;
34995 PyObject
* obj0
= 0 ;
34996 char *kwnames
[] = {
34997 (char *) "self", NULL
35000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35005 result
= (arg1
)->GetPosition();
35007 wxPyEndAllowThreads(__tstate
);
35008 if (PyErr_Occurred()) SWIG_fail
;
35011 wxPoint
* resultptr
;
35012 resultptr
= new wxPoint((wxPoint
&) result
);
35013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35021 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35022 PyObject
*resultobj
;
35023 wxSizer
*arg1
= (wxSizer
*) 0 ;
35025 PyObject
* obj0
= 0 ;
35026 char *kwnames
[] = {
35027 (char *) "self", NULL
35030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35035 result
= (arg1
)->GetMinSize();
35037 wxPyEndAllowThreads(__tstate
);
35038 if (PyErr_Occurred()) SWIG_fail
;
35041 wxSize
* resultptr
;
35042 resultptr
= new wxSize((wxSize
&) result
);
35043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35051 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35052 PyObject
*resultobj
;
35053 wxSizer
*arg1
= (wxSizer
*) 0 ;
35054 PyObject
* obj0
= 0 ;
35055 char *kwnames
[] = {
35056 (char *) "self", NULL
35059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35064 (arg1
)->RecalcSizes();
35066 wxPyEndAllowThreads(__tstate
);
35067 if (PyErr_Occurred()) SWIG_fail
;
35069 Py_INCREF(Py_None
); resultobj
= Py_None
;
35076 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35077 PyObject
*resultobj
;
35078 wxSizer
*arg1
= (wxSizer
*) 0 ;
35080 PyObject
* obj0
= 0 ;
35081 char *kwnames
[] = {
35082 (char *) "self", NULL
35085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35090 result
= (arg1
)->CalcMin();
35092 wxPyEndAllowThreads(__tstate
);
35093 if (PyErr_Occurred()) SWIG_fail
;
35096 wxSize
* resultptr
;
35097 resultptr
= new wxSize((wxSize
&) result
);
35098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35106 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35107 PyObject
*resultobj
;
35108 wxSizer
*arg1
= (wxSizer
*) 0 ;
35109 PyObject
* obj0
= 0 ;
35110 char *kwnames
[] = {
35111 (char *) "self", NULL
35114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35121 wxPyEndAllowThreads(__tstate
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35124 Py_INCREF(Py_None
); resultobj
= Py_None
;
35131 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35132 PyObject
*resultobj
;
35133 wxSizer
*arg1
= (wxSizer
*) 0 ;
35134 wxWindow
*arg2
= (wxWindow
*) 0 ;
35136 PyObject
* obj0
= 0 ;
35137 PyObject
* obj1
= 0 ;
35138 char *kwnames
[] = {
35139 (char *) "self",(char *) "window", NULL
35142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35149 result
= (arg1
)->Fit(arg2
);
35151 wxPyEndAllowThreads(__tstate
);
35152 if (PyErr_Occurred()) SWIG_fail
;
35155 wxSize
* resultptr
;
35156 resultptr
= new wxSize((wxSize
&) result
);
35157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35165 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35166 PyObject
*resultobj
;
35167 wxSizer
*arg1
= (wxSizer
*) 0 ;
35168 wxWindow
*arg2
= (wxWindow
*) 0 ;
35169 PyObject
* obj0
= 0 ;
35170 PyObject
* obj1
= 0 ;
35171 char *kwnames
[] = {
35172 (char *) "self",(char *) "window", NULL
35175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35182 (arg1
)->FitInside(arg2
);
35184 wxPyEndAllowThreads(__tstate
);
35185 if (PyErr_Occurred()) SWIG_fail
;
35187 Py_INCREF(Py_None
); resultobj
= Py_None
;
35194 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35195 PyObject
*resultobj
;
35196 wxSizer
*arg1
= (wxSizer
*) 0 ;
35197 wxWindow
*arg2
= (wxWindow
*) 0 ;
35198 PyObject
* obj0
= 0 ;
35199 PyObject
* obj1
= 0 ;
35200 char *kwnames
[] = {
35201 (char *) "self",(char *) "window", NULL
35204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35211 (arg1
)->SetSizeHints(arg2
);
35213 wxPyEndAllowThreads(__tstate
);
35214 if (PyErr_Occurred()) SWIG_fail
;
35216 Py_INCREF(Py_None
); resultobj
= Py_None
;
35223 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35224 PyObject
*resultobj
;
35225 wxSizer
*arg1
= (wxSizer
*) 0 ;
35226 wxWindow
*arg2
= (wxWindow
*) 0 ;
35227 PyObject
* obj0
= 0 ;
35228 PyObject
* obj1
= 0 ;
35229 char *kwnames
[] = {
35230 (char *) "self",(char *) "window", NULL
35233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35240 (arg1
)->SetVirtualSizeHints(arg2
);
35242 wxPyEndAllowThreads(__tstate
);
35243 if (PyErr_Occurred()) SWIG_fail
;
35245 Py_INCREF(Py_None
); resultobj
= Py_None
;
35252 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35253 PyObject
*resultobj
;
35254 wxSizer
*arg1
= (wxSizer
*) 0 ;
35255 bool arg2
= (bool) False
;
35256 PyObject
* obj0
= 0 ;
35257 PyObject
* obj1
= 0 ;
35258 char *kwnames
[] = {
35259 (char *) "self",(char *) "delete_windows", NULL
35262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35266 arg2
= (bool) SWIG_AsBool(obj1
);
35267 if (PyErr_Occurred()) SWIG_fail
;
35270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35271 (arg1
)->Clear(arg2
);
35273 wxPyEndAllowThreads(__tstate
);
35274 if (PyErr_Occurred()) SWIG_fail
;
35276 Py_INCREF(Py_None
); resultobj
= Py_None
;
35283 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35284 PyObject
*resultobj
;
35285 wxSizer
*arg1
= (wxSizer
*) 0 ;
35286 PyObject
* obj0
= 0 ;
35287 char *kwnames
[] = {
35288 (char *) "self", NULL
35291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35296 (arg1
)->DeleteWindows();
35298 wxPyEndAllowThreads(__tstate
);
35299 if (PyErr_Occurred()) SWIG_fail
;
35301 Py_INCREF(Py_None
); resultobj
= Py_None
;
35308 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35309 PyObject
*resultobj
;
35310 wxSizer
*arg1
= (wxSizer
*) 0 ;
35312 PyObject
* obj0
= 0 ;
35313 char *kwnames
[] = {
35314 (char *) "self", NULL
35317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35322 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35324 wxPyEndAllowThreads(__tstate
);
35325 if (PyErr_Occurred()) SWIG_fail
;
35327 resultobj
= result
;
35334 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35335 PyObject
*resultobj
;
35336 wxSizer
*arg1
= (wxSizer
*) 0 ;
35337 PyObject
*arg2
= (PyObject
*) 0 ;
35338 bool arg3
= (bool) True
;
35339 PyObject
* obj0
= 0 ;
35340 PyObject
* obj1
= 0 ;
35341 PyObject
* obj2
= 0 ;
35342 char *kwnames
[] = {
35343 (char *) "self",(char *) "item",(char *) "show", NULL
35346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35351 arg3
= (bool) SWIG_AsBool(obj2
);
35352 if (PyErr_Occurred()) SWIG_fail
;
35355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35356 wxSizer_Show(arg1
,arg2
,arg3
);
35358 wxPyEndAllowThreads(__tstate
);
35359 if (PyErr_Occurred()) SWIG_fail
;
35361 Py_INCREF(Py_None
); resultobj
= Py_None
;
35368 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35369 PyObject
*resultobj
;
35370 wxSizer
*arg1
= (wxSizer
*) 0 ;
35371 PyObject
*arg2
= (PyObject
*) 0 ;
35372 PyObject
* obj0
= 0 ;
35373 PyObject
* obj1
= 0 ;
35374 char *kwnames
[] = {
35375 (char *) "self",(char *) "item", NULL
35378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35384 wxSizer_Hide(arg1
,arg2
);
35386 wxPyEndAllowThreads(__tstate
);
35387 if (PyErr_Occurred()) SWIG_fail
;
35389 Py_INCREF(Py_None
); resultobj
= Py_None
;
35396 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35397 PyObject
*resultobj
;
35398 wxSizer
*arg1
= (wxSizer
*) 0 ;
35399 PyObject
*arg2
= (PyObject
*) 0 ;
35401 PyObject
* obj0
= 0 ;
35402 PyObject
* obj1
= 0 ;
35403 char *kwnames
[] = {
35404 (char *) "self",(char *) "item", NULL
35407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35413 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35415 wxPyEndAllowThreads(__tstate
);
35416 if (PyErr_Occurred()) SWIG_fail
;
35419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35427 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35428 PyObject
*resultobj
;
35429 wxSizer
*arg1
= (wxSizer
*) 0 ;
35431 PyObject
* obj0
= 0 ;
35432 PyObject
* obj1
= 0 ;
35433 char *kwnames
[] = {
35434 (char *) "self",(char *) "show", NULL
35437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35440 arg2
= (bool) SWIG_AsBool(obj1
);
35441 if (PyErr_Occurred()) SWIG_fail
;
35443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35444 (arg1
)->ShowItems(arg2
);
35446 wxPyEndAllowThreads(__tstate
);
35447 if (PyErr_Occurred()) SWIG_fail
;
35449 Py_INCREF(Py_None
); resultobj
= Py_None
;
35456 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35459 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35461 return Py_BuildValue((char *)"");
35463 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35464 PyObject
*resultobj
;
35466 char *kwnames
[] = {
35470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35473 result
= (wxPySizer
*)new wxPySizer();
35475 wxPyEndAllowThreads(__tstate
);
35476 if (PyErr_Occurred()) SWIG_fail
;
35478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35485 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35486 PyObject
*resultobj
;
35487 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35488 PyObject
*arg2
= (PyObject
*) 0 ;
35489 PyObject
*arg3
= (PyObject
*) 0 ;
35490 PyObject
* obj0
= 0 ;
35491 PyObject
* obj1
= 0 ;
35492 PyObject
* obj2
= 0 ;
35493 char *kwnames
[] = {
35494 (char *) "self",(char *) "self",(char *) "_class", NULL
35497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35504 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35506 wxPyEndAllowThreads(__tstate
);
35507 if (PyErr_Occurred()) SWIG_fail
;
35509 Py_INCREF(Py_None
); resultobj
= Py_None
;
35516 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35519 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35521 return Py_BuildValue((char *)"");
35523 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35524 PyObject
*resultobj
;
35525 int arg1
= (int) wxHORIZONTAL
;
35526 wxBoxSizer
*result
;
35527 PyObject
* obj0
= 0 ;
35528 char *kwnames
[] = {
35529 (char *) "orient", NULL
35532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35534 arg1
= (int) SWIG_AsInt(obj0
);
35535 if (PyErr_Occurred()) SWIG_fail
;
35538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35539 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35541 wxPyEndAllowThreads(__tstate
);
35542 if (PyErr_Occurred()) SWIG_fail
;
35544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35551 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35552 PyObject
*resultobj
;
35553 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35555 PyObject
* obj0
= 0 ;
35556 char *kwnames
[] = {
35557 (char *) "self", NULL
35560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35565 result
= (int)(arg1
)->GetOrientation();
35567 wxPyEndAllowThreads(__tstate
);
35568 if (PyErr_Occurred()) SWIG_fail
;
35570 resultobj
= SWIG_FromInt((int)result
);
35577 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35578 PyObject
*resultobj
;
35579 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35581 PyObject
* obj0
= 0 ;
35582 PyObject
* obj1
= 0 ;
35583 char *kwnames
[] = {
35584 (char *) "self",(char *) "orient", NULL
35587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35590 arg2
= (int) SWIG_AsInt(obj1
);
35591 if (PyErr_Occurred()) SWIG_fail
;
35593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35594 (arg1
)->SetOrientation(arg2
);
35596 wxPyEndAllowThreads(__tstate
);
35597 if (PyErr_Occurred()) SWIG_fail
;
35599 Py_INCREF(Py_None
); resultobj
= Py_None
;
35606 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35607 PyObject
*resultobj
;
35608 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35609 PyObject
* obj0
= 0 ;
35610 char *kwnames
[] = {
35611 (char *) "self", NULL
35614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35619 (arg1
)->RecalcSizes();
35621 wxPyEndAllowThreads(__tstate
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35624 Py_INCREF(Py_None
); resultobj
= Py_None
;
35631 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35632 PyObject
*resultobj
;
35633 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35635 PyObject
* obj0
= 0 ;
35636 char *kwnames
[] = {
35637 (char *) "self", NULL
35640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35645 result
= (arg1
)->CalcMin();
35647 wxPyEndAllowThreads(__tstate
);
35648 if (PyErr_Occurred()) SWIG_fail
;
35651 wxSize
* resultptr
;
35652 resultptr
= new wxSize((wxSize
&) result
);
35653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35661 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35664 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35666 return Py_BuildValue((char *)"");
35668 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35669 PyObject
*resultobj
;
35670 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35671 int arg2
= (int) wxHORIZONTAL
;
35672 wxStaticBoxSizer
*result
;
35673 PyObject
* obj0
= 0 ;
35674 PyObject
* obj1
= 0 ;
35675 char *kwnames
[] = {
35676 (char *) "box",(char *) "orient", NULL
35679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35683 arg2
= (int) SWIG_AsInt(obj1
);
35684 if (PyErr_Occurred()) SWIG_fail
;
35687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35688 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35690 wxPyEndAllowThreads(__tstate
);
35691 if (PyErr_Occurred()) SWIG_fail
;
35693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
35700 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35701 PyObject
*resultobj
;
35702 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35703 wxStaticBox
*result
;
35704 PyObject
* obj0
= 0 ;
35705 char *kwnames
[] = {
35706 (char *) "self", NULL
35709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
35710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35714 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
35716 wxPyEndAllowThreads(__tstate
);
35717 if (PyErr_Occurred()) SWIG_fail
;
35720 resultobj
= wxPyMake_wxObject(result
);
35728 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35729 PyObject
*resultobj
;
35730 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35731 PyObject
* obj0
= 0 ;
35732 char *kwnames
[] = {
35733 (char *) "self", NULL
35736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35741 (arg1
)->RecalcSizes();
35743 wxPyEndAllowThreads(__tstate
);
35744 if (PyErr_Occurred()) SWIG_fail
;
35746 Py_INCREF(Py_None
); resultobj
= Py_None
;
35753 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35754 PyObject
*resultobj
;
35755 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35757 PyObject
* obj0
= 0 ;
35758 char *kwnames
[] = {
35759 (char *) "self", NULL
35762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35767 result
= (arg1
)->CalcMin();
35769 wxPyEndAllowThreads(__tstate
);
35770 if (PyErr_Occurred()) SWIG_fail
;
35773 wxSize
* resultptr
;
35774 resultptr
= new wxSize((wxSize
&) result
);
35775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35783 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35786 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
35788 return Py_BuildValue((char *)"");
35790 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35791 PyObject
*resultobj
;
35792 int arg1
= (int) 1 ;
35793 int arg2
= (int) 0 ;
35794 int arg3
= (int) 0 ;
35795 int arg4
= (int) 0 ;
35796 wxGridSizer
*result
;
35797 PyObject
* obj0
= 0 ;
35798 PyObject
* obj1
= 0 ;
35799 PyObject
* obj2
= 0 ;
35800 PyObject
* obj3
= 0 ;
35801 char *kwnames
[] = {
35802 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35807 arg1
= (int) SWIG_AsInt(obj0
);
35808 if (PyErr_Occurred()) SWIG_fail
;
35811 arg2
= (int) SWIG_AsInt(obj1
);
35812 if (PyErr_Occurred()) SWIG_fail
;
35815 arg3
= (int) SWIG_AsInt(obj2
);
35816 if (PyErr_Occurred()) SWIG_fail
;
35819 arg4
= (int) SWIG_AsInt(obj3
);
35820 if (PyErr_Occurred()) SWIG_fail
;
35823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35824 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
35826 wxPyEndAllowThreads(__tstate
);
35827 if (PyErr_Occurred()) SWIG_fail
;
35829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
35836 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35837 PyObject
*resultobj
;
35838 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35839 PyObject
* obj0
= 0 ;
35840 char *kwnames
[] = {
35841 (char *) "self", NULL
35844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35849 (arg1
)->RecalcSizes();
35851 wxPyEndAllowThreads(__tstate
);
35852 if (PyErr_Occurred()) SWIG_fail
;
35854 Py_INCREF(Py_None
); resultobj
= Py_None
;
35861 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35862 PyObject
*resultobj
;
35863 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35865 PyObject
* obj0
= 0 ;
35866 char *kwnames
[] = {
35867 (char *) "self", NULL
35870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35875 result
= (arg1
)->CalcMin();
35877 wxPyEndAllowThreads(__tstate
);
35878 if (PyErr_Occurred()) SWIG_fail
;
35881 wxSize
* resultptr
;
35882 resultptr
= new wxSize((wxSize
&) result
);
35883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35891 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35892 PyObject
*resultobj
;
35893 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35895 PyObject
* obj0
= 0 ;
35896 PyObject
* obj1
= 0 ;
35897 char *kwnames
[] = {
35898 (char *) "self",(char *) "cols", NULL
35901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
35902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35904 arg2
= (int) SWIG_AsInt(obj1
);
35905 if (PyErr_Occurred()) SWIG_fail
;
35907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35908 (arg1
)->SetCols(arg2
);
35910 wxPyEndAllowThreads(__tstate
);
35911 if (PyErr_Occurred()) SWIG_fail
;
35913 Py_INCREF(Py_None
); resultobj
= Py_None
;
35920 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35921 PyObject
*resultobj
;
35922 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35924 PyObject
* obj0
= 0 ;
35925 PyObject
* obj1
= 0 ;
35926 char *kwnames
[] = {
35927 (char *) "self",(char *) "rows", NULL
35930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
35931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35933 arg2
= (int) SWIG_AsInt(obj1
);
35934 if (PyErr_Occurred()) SWIG_fail
;
35936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35937 (arg1
)->SetRows(arg2
);
35939 wxPyEndAllowThreads(__tstate
);
35940 if (PyErr_Occurred()) SWIG_fail
;
35942 Py_INCREF(Py_None
); resultobj
= Py_None
;
35949 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35950 PyObject
*resultobj
;
35951 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35953 PyObject
* obj0
= 0 ;
35954 PyObject
* obj1
= 0 ;
35955 char *kwnames
[] = {
35956 (char *) "self",(char *) "gap", NULL
35959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35962 arg2
= (int) SWIG_AsInt(obj1
);
35963 if (PyErr_Occurred()) SWIG_fail
;
35965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35966 (arg1
)->SetVGap(arg2
);
35968 wxPyEndAllowThreads(__tstate
);
35969 if (PyErr_Occurred()) SWIG_fail
;
35971 Py_INCREF(Py_None
); resultobj
= Py_None
;
35978 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35979 PyObject
*resultobj
;
35980 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35982 PyObject
* obj0
= 0 ;
35983 PyObject
* obj1
= 0 ;
35984 char *kwnames
[] = {
35985 (char *) "self",(char *) "gap", NULL
35988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35991 arg2
= (int) SWIG_AsInt(obj1
);
35992 if (PyErr_Occurred()) SWIG_fail
;
35994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35995 (arg1
)->SetHGap(arg2
);
35997 wxPyEndAllowThreads(__tstate
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36000 Py_INCREF(Py_None
); resultobj
= Py_None
;
36007 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36008 PyObject
*resultobj
;
36009 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36011 PyObject
* obj0
= 0 ;
36012 char *kwnames
[] = {
36013 (char *) "self", NULL
36016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36021 result
= (int)(arg1
)->GetCols();
36023 wxPyEndAllowThreads(__tstate
);
36024 if (PyErr_Occurred()) SWIG_fail
;
36026 resultobj
= SWIG_FromInt((int)result
);
36033 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36034 PyObject
*resultobj
;
36035 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36037 PyObject
* obj0
= 0 ;
36038 char *kwnames
[] = {
36039 (char *) "self", NULL
36042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36047 result
= (int)(arg1
)->GetRows();
36049 wxPyEndAllowThreads(__tstate
);
36050 if (PyErr_Occurred()) SWIG_fail
;
36052 resultobj
= SWIG_FromInt((int)result
);
36059 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36060 PyObject
*resultobj
;
36061 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36063 PyObject
* obj0
= 0 ;
36064 char *kwnames
[] = {
36065 (char *) "self", NULL
36068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36073 result
= (int)(arg1
)->GetVGap();
36075 wxPyEndAllowThreads(__tstate
);
36076 if (PyErr_Occurred()) SWIG_fail
;
36078 resultobj
= SWIG_FromInt((int)result
);
36085 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36086 PyObject
*resultobj
;
36087 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36089 PyObject
* obj0
= 0 ;
36090 char *kwnames
[] = {
36091 (char *) "self", NULL
36094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36099 result
= (int)(arg1
)->GetHGap();
36101 wxPyEndAllowThreads(__tstate
);
36102 if (PyErr_Occurred()) SWIG_fail
;
36104 resultobj
= SWIG_FromInt((int)result
);
36111 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36114 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36116 return Py_BuildValue((char *)"");
36118 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36119 PyObject
*resultobj
;
36120 int arg1
= (int) 1 ;
36121 int arg2
= (int) 0 ;
36122 int arg3
= (int) 0 ;
36123 int arg4
= (int) 0 ;
36124 wxFlexGridSizer
*result
;
36125 PyObject
* obj0
= 0 ;
36126 PyObject
* obj1
= 0 ;
36127 PyObject
* obj2
= 0 ;
36128 PyObject
* obj3
= 0 ;
36129 char *kwnames
[] = {
36130 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36135 arg1
= (int) SWIG_AsInt(obj0
);
36136 if (PyErr_Occurred()) SWIG_fail
;
36139 arg2
= (int) SWIG_AsInt(obj1
);
36140 if (PyErr_Occurred()) SWIG_fail
;
36143 arg3
= (int) SWIG_AsInt(obj2
);
36144 if (PyErr_Occurred()) SWIG_fail
;
36147 arg4
= (int) SWIG_AsInt(obj3
);
36148 if (PyErr_Occurred()) SWIG_fail
;
36151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36152 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36154 wxPyEndAllowThreads(__tstate
);
36155 if (PyErr_Occurred()) SWIG_fail
;
36157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36164 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36165 PyObject
*resultobj
;
36166 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36167 PyObject
* obj0
= 0 ;
36168 char *kwnames
[] = {
36169 (char *) "self", NULL
36172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36177 (arg1
)->RecalcSizes();
36179 wxPyEndAllowThreads(__tstate
);
36180 if (PyErr_Occurred()) SWIG_fail
;
36182 Py_INCREF(Py_None
); resultobj
= Py_None
;
36189 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36190 PyObject
*resultobj
;
36191 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36193 PyObject
* obj0
= 0 ;
36194 char *kwnames
[] = {
36195 (char *) "self", NULL
36198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36203 result
= (arg1
)->CalcMin();
36205 wxPyEndAllowThreads(__tstate
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36209 wxSize
* resultptr
;
36210 resultptr
= new wxSize((wxSize
&) result
);
36211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36219 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36220 PyObject
*resultobj
;
36221 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36223 int arg3
= (int) 0 ;
36224 PyObject
* obj0
= 0 ;
36225 PyObject
* obj1
= 0 ;
36226 PyObject
* obj2
= 0 ;
36227 char *kwnames
[] = {
36228 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36234 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36235 if (PyErr_Occurred()) SWIG_fail
;
36237 arg3
= (int) SWIG_AsInt(obj2
);
36238 if (PyErr_Occurred()) SWIG_fail
;
36241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36242 (arg1
)->AddGrowableRow(arg2
,arg3
);
36244 wxPyEndAllowThreads(__tstate
);
36245 if (PyErr_Occurred()) SWIG_fail
;
36247 Py_INCREF(Py_None
); resultobj
= Py_None
;
36254 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36255 PyObject
*resultobj
;
36256 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36258 PyObject
* obj0
= 0 ;
36259 PyObject
* obj1
= 0 ;
36260 char *kwnames
[] = {
36261 (char *) "self",(char *) "idx", NULL
36264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36267 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36268 if (PyErr_Occurred()) SWIG_fail
;
36270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36271 (arg1
)->RemoveGrowableRow(arg2
);
36273 wxPyEndAllowThreads(__tstate
);
36274 if (PyErr_Occurred()) SWIG_fail
;
36276 Py_INCREF(Py_None
); resultobj
= Py_None
;
36283 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36284 PyObject
*resultobj
;
36285 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36287 int arg3
= (int) 0 ;
36288 PyObject
* obj0
= 0 ;
36289 PyObject
* obj1
= 0 ;
36290 PyObject
* obj2
= 0 ;
36291 char *kwnames
[] = {
36292 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36298 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36299 if (PyErr_Occurred()) SWIG_fail
;
36301 arg3
= (int) SWIG_AsInt(obj2
);
36302 if (PyErr_Occurred()) SWIG_fail
;
36305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36306 (arg1
)->AddGrowableCol(arg2
,arg3
);
36308 wxPyEndAllowThreads(__tstate
);
36309 if (PyErr_Occurred()) SWIG_fail
;
36311 Py_INCREF(Py_None
); resultobj
= Py_None
;
36318 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36319 PyObject
*resultobj
;
36320 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36322 PyObject
* obj0
= 0 ;
36323 PyObject
* obj1
= 0 ;
36324 char *kwnames
[] = {
36325 (char *) "self",(char *) "idx", NULL
36328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36331 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36332 if (PyErr_Occurred()) SWIG_fail
;
36334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36335 (arg1
)->RemoveGrowableCol(arg2
);
36337 wxPyEndAllowThreads(__tstate
);
36338 if (PyErr_Occurred()) SWIG_fail
;
36340 Py_INCREF(Py_None
); resultobj
= Py_None
;
36347 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36348 PyObject
*resultobj
;
36349 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36351 PyObject
* obj0
= 0 ;
36352 PyObject
* obj1
= 0 ;
36353 char *kwnames
[] = {
36354 (char *) "self",(char *) "direction", NULL
36357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36360 arg2
= (int) SWIG_AsInt(obj1
);
36361 if (PyErr_Occurred()) SWIG_fail
;
36363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36364 (arg1
)->SetFlexibleDirection(arg2
);
36366 wxPyEndAllowThreads(__tstate
);
36367 if (PyErr_Occurred()) SWIG_fail
;
36369 Py_INCREF(Py_None
); resultobj
= Py_None
;
36376 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36377 PyObject
*resultobj
;
36378 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36380 PyObject
* obj0
= 0 ;
36381 char *kwnames
[] = {
36382 (char *) "self", NULL
36385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36390 result
= (int)(arg1
)->GetFlexibleDirection();
36392 wxPyEndAllowThreads(__tstate
);
36393 if (PyErr_Occurred()) SWIG_fail
;
36395 resultobj
= SWIG_FromInt((int)result
);
36402 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36403 PyObject
*resultobj
;
36404 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36406 PyObject
* obj0
= 0 ;
36407 PyObject
* obj1
= 0 ;
36408 char *kwnames
[] = {
36409 (char *) "self",(char *) "mode", NULL
36412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36415 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36416 if (PyErr_Occurred()) SWIG_fail
;
36418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36419 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36421 wxPyEndAllowThreads(__tstate
);
36422 if (PyErr_Occurred()) SWIG_fail
;
36424 Py_INCREF(Py_None
); resultobj
= Py_None
;
36431 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36432 PyObject
*resultobj
;
36433 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36435 PyObject
* obj0
= 0 ;
36436 char *kwnames
[] = {
36437 (char *) "self", NULL
36440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36445 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36447 wxPyEndAllowThreads(__tstate
);
36448 if (PyErr_Occurred()) SWIG_fail
;
36450 resultobj
= SWIG_FromInt((int)result
);
36457 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36458 PyObject
*resultobj
;
36459 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36460 wxArrayInt
*result
;
36461 PyObject
* obj0
= 0 ;
36462 char *kwnames
[] = {
36463 (char *) "self", NULL
36466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36472 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36473 result
= (wxArrayInt
*) &_result_ref
;
36476 wxPyEndAllowThreads(__tstate
);
36477 if (PyErr_Occurred()) SWIG_fail
;
36480 resultobj
= PyList_New(0);
36482 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36483 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36484 PyList_Append(resultobj
, val
);
36494 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36495 PyObject
*resultobj
;
36496 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36497 wxArrayInt
*result
;
36498 PyObject
* obj0
= 0 ;
36499 char *kwnames
[] = {
36500 (char *) "self", NULL
36503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36509 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36510 result
= (wxArrayInt
*) &_result_ref
;
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36517 resultobj
= PyList_New(0);
36519 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36520 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36521 PyList_Append(resultobj
, val
);
36531 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36534 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36536 return Py_BuildValue((char *)"");
36538 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36539 PyObject
*resultobj
;
36540 int arg1
= (int) 0 ;
36541 int arg2
= (int) 0 ;
36542 wxGBPosition
*result
;
36543 PyObject
* obj0
= 0 ;
36544 PyObject
* obj1
= 0 ;
36545 char *kwnames
[] = {
36546 (char *) "row",(char *) "col", NULL
36549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36551 arg1
= (int) SWIG_AsInt(obj0
);
36552 if (PyErr_Occurred()) SWIG_fail
;
36555 arg2
= (int) SWIG_AsInt(obj1
);
36556 if (PyErr_Occurred()) SWIG_fail
;
36559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36560 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36562 wxPyEndAllowThreads(__tstate
);
36563 if (PyErr_Occurred()) SWIG_fail
;
36565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36572 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36573 PyObject
*resultobj
;
36574 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36576 PyObject
* obj0
= 0 ;
36577 char *kwnames
[] = {
36578 (char *) "self", NULL
36581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36586 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36588 wxPyEndAllowThreads(__tstate
);
36589 if (PyErr_Occurred()) SWIG_fail
;
36591 resultobj
= SWIG_FromInt((int)result
);
36598 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36599 PyObject
*resultobj
;
36600 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36602 PyObject
* obj0
= 0 ;
36603 char *kwnames
[] = {
36604 (char *) "self", NULL
36607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36612 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36614 wxPyEndAllowThreads(__tstate
);
36615 if (PyErr_Occurred()) SWIG_fail
;
36617 resultobj
= SWIG_FromInt((int)result
);
36624 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36625 PyObject
*resultobj
;
36626 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36628 PyObject
* obj0
= 0 ;
36629 PyObject
* obj1
= 0 ;
36630 char *kwnames
[] = {
36631 (char *) "self",(char *) "row", NULL
36634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36637 arg2
= (int) SWIG_AsInt(obj1
);
36638 if (PyErr_Occurred()) SWIG_fail
;
36640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36641 (arg1
)->SetRow(arg2
);
36643 wxPyEndAllowThreads(__tstate
);
36644 if (PyErr_Occurred()) SWIG_fail
;
36646 Py_INCREF(Py_None
); resultobj
= Py_None
;
36653 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36654 PyObject
*resultobj
;
36655 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36657 PyObject
* obj0
= 0 ;
36658 PyObject
* obj1
= 0 ;
36659 char *kwnames
[] = {
36660 (char *) "self",(char *) "col", NULL
36663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36666 arg2
= (int) SWIG_AsInt(obj1
);
36667 if (PyErr_Occurred()) SWIG_fail
;
36669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36670 (arg1
)->SetCol(arg2
);
36672 wxPyEndAllowThreads(__tstate
);
36673 if (PyErr_Occurred()) SWIG_fail
;
36675 Py_INCREF(Py_None
); resultobj
= Py_None
;
36682 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36683 PyObject
*resultobj
;
36684 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36685 wxGBPosition
*arg2
= 0 ;
36687 wxGBPosition temp2
;
36688 PyObject
* obj0
= 0 ;
36689 PyObject
* obj1
= 0 ;
36690 char *kwnames
[] = {
36691 (char *) "self",(char *) "other", NULL
36694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36699 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36703 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36705 wxPyEndAllowThreads(__tstate
);
36706 if (PyErr_Occurred()) SWIG_fail
;
36709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36717 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36718 PyObject
*resultobj
;
36719 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36720 wxGBPosition
*arg2
= 0 ;
36722 wxGBPosition temp2
;
36723 PyObject
* obj0
= 0 ;
36724 PyObject
* obj1
= 0 ;
36725 char *kwnames
[] = {
36726 (char *) "self",(char *) "other", NULL
36729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36734 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36738 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36740 wxPyEndAllowThreads(__tstate
);
36741 if (PyErr_Occurred()) SWIG_fail
;
36744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36752 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36753 PyObject
*resultobj
;
36754 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36755 int arg2
= (int) 0 ;
36756 int arg3
= (int) 0 ;
36757 PyObject
* obj0
= 0 ;
36758 PyObject
* obj1
= 0 ;
36759 PyObject
* obj2
= 0 ;
36760 char *kwnames
[] = {
36761 (char *) "self",(char *) "row",(char *) "col", NULL
36764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36768 arg2
= (int) SWIG_AsInt(obj1
);
36769 if (PyErr_Occurred()) SWIG_fail
;
36772 arg3
= (int) SWIG_AsInt(obj2
);
36773 if (PyErr_Occurred()) SWIG_fail
;
36776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36777 wxGBPosition_Set(arg1
,arg2
,arg3
);
36779 wxPyEndAllowThreads(__tstate
);
36780 if (PyErr_Occurred()) SWIG_fail
;
36782 Py_INCREF(Py_None
); resultobj
= Py_None
;
36789 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36790 PyObject
*resultobj
;
36791 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36793 PyObject
* obj0
= 0 ;
36794 char *kwnames
[] = {
36795 (char *) "self", NULL
36798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36803 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36805 wxPyEndAllowThreads(__tstate
);
36806 if (PyErr_Occurred()) SWIG_fail
;
36808 resultobj
= result
;
36815 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36818 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36820 return Py_BuildValue((char *)"");
36822 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36823 PyObject
*resultobj
;
36824 int arg1
= (int) 1 ;
36825 int arg2
= (int) 1 ;
36827 PyObject
* obj0
= 0 ;
36828 PyObject
* obj1
= 0 ;
36829 char *kwnames
[] = {
36830 (char *) "rowspan",(char *) "colspan", NULL
36833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36835 arg1
= (int) SWIG_AsInt(obj0
);
36836 if (PyErr_Occurred()) SWIG_fail
;
36839 arg2
= (int) SWIG_AsInt(obj1
);
36840 if (PyErr_Occurred()) SWIG_fail
;
36843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36844 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36856 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36857 PyObject
*resultobj
;
36858 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36860 PyObject
* obj0
= 0 ;
36861 char *kwnames
[] = {
36862 (char *) "self", NULL
36865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36870 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36872 wxPyEndAllowThreads(__tstate
);
36873 if (PyErr_Occurred()) SWIG_fail
;
36875 resultobj
= SWIG_FromInt((int)result
);
36882 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36883 PyObject
*resultobj
;
36884 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36886 PyObject
* obj0
= 0 ;
36887 char *kwnames
[] = {
36888 (char *) "self", NULL
36891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36896 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
36898 wxPyEndAllowThreads(__tstate
);
36899 if (PyErr_Occurred()) SWIG_fail
;
36901 resultobj
= SWIG_FromInt((int)result
);
36908 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36909 PyObject
*resultobj
;
36910 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36912 PyObject
* obj0
= 0 ;
36913 PyObject
* obj1
= 0 ;
36914 char *kwnames
[] = {
36915 (char *) "self",(char *) "rowspan", NULL
36918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36921 arg2
= (int) SWIG_AsInt(obj1
);
36922 if (PyErr_Occurred()) SWIG_fail
;
36924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36925 (arg1
)->SetRowspan(arg2
);
36927 wxPyEndAllowThreads(__tstate
);
36928 if (PyErr_Occurred()) SWIG_fail
;
36930 Py_INCREF(Py_None
); resultobj
= Py_None
;
36937 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36938 PyObject
*resultobj
;
36939 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36941 PyObject
* obj0
= 0 ;
36942 PyObject
* obj1
= 0 ;
36943 char *kwnames
[] = {
36944 (char *) "self",(char *) "colspan", NULL
36947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36950 arg2
= (int) SWIG_AsInt(obj1
);
36951 if (PyErr_Occurred()) SWIG_fail
;
36953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36954 (arg1
)->SetColspan(arg2
);
36956 wxPyEndAllowThreads(__tstate
);
36957 if (PyErr_Occurred()) SWIG_fail
;
36959 Py_INCREF(Py_None
); resultobj
= Py_None
;
36966 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36967 PyObject
*resultobj
;
36968 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36969 wxGBSpan
*arg2
= 0 ;
36972 PyObject
* obj0
= 0 ;
36973 PyObject
* obj1
= 0 ;
36974 char *kwnames
[] = {
36975 (char *) "self",(char *) "other", NULL
36978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36983 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36987 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
36989 wxPyEndAllowThreads(__tstate
);
36990 if (PyErr_Occurred()) SWIG_fail
;
36993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37001 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37002 PyObject
*resultobj
;
37003 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37004 wxGBSpan
*arg2
= 0 ;
37007 PyObject
* obj0
= 0 ;
37008 PyObject
* obj1
= 0 ;
37009 char *kwnames
[] = {
37010 (char *) "self",(char *) "other", NULL
37013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37018 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37022 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37024 wxPyEndAllowThreads(__tstate
);
37025 if (PyErr_Occurred()) SWIG_fail
;
37028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37036 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37037 PyObject
*resultobj
;
37038 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37039 int arg2
= (int) 1 ;
37040 int arg3
= (int) 1 ;
37041 PyObject
* obj0
= 0 ;
37042 PyObject
* obj1
= 0 ;
37043 PyObject
* obj2
= 0 ;
37044 char *kwnames
[] = {
37045 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37052 arg2
= (int) SWIG_AsInt(obj1
);
37053 if (PyErr_Occurred()) SWIG_fail
;
37056 arg3
= (int) SWIG_AsInt(obj2
);
37057 if (PyErr_Occurred()) SWIG_fail
;
37060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37061 wxGBSpan_Set(arg1
,arg2
,arg3
);
37063 wxPyEndAllowThreads(__tstate
);
37064 if (PyErr_Occurred()) SWIG_fail
;
37066 Py_INCREF(Py_None
); resultobj
= Py_None
;
37073 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37074 PyObject
*resultobj
;
37075 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37077 PyObject
* obj0
= 0 ;
37078 char *kwnames
[] = {
37079 (char *) "self", NULL
37082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37087 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37089 wxPyEndAllowThreads(__tstate
);
37090 if (PyErr_Occurred()) SWIG_fail
;
37092 resultobj
= result
;
37099 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37102 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37104 return Py_BuildValue((char *)"");
37106 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37107 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37112 static PyObject
*_wrap_DefaultSpan_get() {
37115 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37120 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37121 PyObject
*resultobj
;
37122 wxGBSizerItem
*result
;
37123 char *kwnames
[] = {
37127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37130 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37132 wxPyEndAllowThreads(__tstate
);
37133 if (PyErr_Occurred()) SWIG_fail
;
37135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37142 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37143 PyObject
*resultobj
;
37144 wxWindow
*arg1
= (wxWindow
*) 0 ;
37145 wxGBPosition
*arg2
= 0 ;
37146 wxGBSpan
*arg3
= 0 ;
37149 wxObject
*arg6
= (wxObject
*) 0 ;
37150 wxGBSizerItem
*result
;
37151 wxGBPosition temp2
;
37153 PyObject
* obj0
= 0 ;
37154 PyObject
* obj1
= 0 ;
37155 PyObject
* obj2
= 0 ;
37156 PyObject
* obj3
= 0 ;
37157 PyObject
* obj4
= 0 ;
37158 PyObject
* obj5
= 0 ;
37159 char *kwnames
[] = {
37160 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37168 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37172 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37174 arg4
= (int) SWIG_AsInt(obj3
);
37175 if (PyErr_Occurred()) SWIG_fail
;
37176 arg5
= (int) SWIG_AsInt(obj4
);
37177 if (PyErr_Occurred()) SWIG_fail
;
37178 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37182 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37184 wxPyEndAllowThreads(__tstate
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37194 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37195 PyObject
*resultobj
;
37196 wxSizer
*arg1
= (wxSizer
*) 0 ;
37197 wxGBPosition
*arg2
= 0 ;
37198 wxGBSpan
*arg3
= 0 ;
37201 wxObject
*arg6
= (wxObject
*) 0 ;
37202 wxGBSizerItem
*result
;
37203 wxGBPosition temp2
;
37205 PyObject
* obj0
= 0 ;
37206 PyObject
* obj1
= 0 ;
37207 PyObject
* obj2
= 0 ;
37208 PyObject
* obj3
= 0 ;
37209 PyObject
* obj4
= 0 ;
37210 PyObject
* obj5
= 0 ;
37211 char *kwnames
[] = {
37212 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37220 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37224 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37226 arg4
= (int) SWIG_AsInt(obj3
);
37227 if (PyErr_Occurred()) SWIG_fail
;
37228 arg5
= (int) SWIG_AsInt(obj4
);
37229 if (PyErr_Occurred()) SWIG_fail
;
37230 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37236 wxPyEndAllowThreads(__tstate
);
37237 if (PyErr_Occurred()) SWIG_fail
;
37239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37246 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37247 PyObject
*resultobj
;
37250 wxGBPosition
*arg3
= 0 ;
37251 wxGBSpan
*arg4
= 0 ;
37254 wxObject
*arg7
= (wxObject
*) 0 ;
37255 wxGBSizerItem
*result
;
37256 wxGBPosition temp3
;
37258 PyObject
* obj0
= 0 ;
37259 PyObject
* obj1
= 0 ;
37260 PyObject
* obj2
= 0 ;
37261 PyObject
* obj3
= 0 ;
37262 PyObject
* obj4
= 0 ;
37263 PyObject
* obj5
= 0 ;
37264 PyObject
* obj6
= 0 ;
37265 char *kwnames
[] = {
37266 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37270 arg1
= (int) SWIG_AsInt(obj0
);
37271 if (PyErr_Occurred()) SWIG_fail
;
37272 arg2
= (int) SWIG_AsInt(obj1
);
37273 if (PyErr_Occurred()) SWIG_fail
;
37276 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37280 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37282 arg5
= (int) SWIG_AsInt(obj4
);
37283 if (PyErr_Occurred()) SWIG_fail
;
37284 arg6
= (int) SWIG_AsInt(obj5
);
37285 if (PyErr_Occurred()) SWIG_fail
;
37286 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37290 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37292 wxPyEndAllowThreads(__tstate
);
37293 if (PyErr_Occurred()) SWIG_fail
;
37295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37302 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37303 PyObject
*resultobj
;
37304 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37305 wxGBPosition result
;
37306 PyObject
* obj0
= 0 ;
37307 char *kwnames
[] = {
37308 (char *) "self", NULL
37311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37316 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37318 wxPyEndAllowThreads(__tstate
);
37319 if (PyErr_Occurred()) SWIG_fail
;
37322 wxGBPosition
* resultptr
;
37323 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37332 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37333 PyObject
*resultobj
;
37334 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37336 PyObject
* obj0
= 0 ;
37337 char *kwnames
[] = {
37338 (char *) "self", NULL
37341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37346 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37348 wxPyEndAllowThreads(__tstate
);
37349 if (PyErr_Occurred()) SWIG_fail
;
37352 wxGBSpan
* resultptr
;
37353 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37362 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37363 PyObject
*resultobj
;
37364 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37365 wxGBPosition
*arg2
= 0 ;
37367 wxGBPosition temp2
;
37368 PyObject
* obj0
= 0 ;
37369 PyObject
* obj1
= 0 ;
37370 char *kwnames
[] = {
37371 (char *) "self",(char *) "pos", NULL
37374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37379 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37383 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37385 wxPyEndAllowThreads(__tstate
);
37386 if (PyErr_Occurred()) SWIG_fail
;
37389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37397 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37398 PyObject
*resultobj
;
37399 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37400 wxGBSpan
*arg2
= 0 ;
37403 PyObject
* obj0
= 0 ;
37404 PyObject
* obj1
= 0 ;
37405 char *kwnames
[] = {
37406 (char *) "self",(char *) "span", NULL
37409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37414 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37418 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37420 wxPyEndAllowThreads(__tstate
);
37421 if (PyErr_Occurred()) SWIG_fail
;
37424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37432 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37433 PyObject
*resultobj
;
37434 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37435 wxGBSizerItem
*arg2
= 0 ;
37437 PyObject
* obj0
= 0 ;
37438 PyObject
* obj1
= 0 ;
37440 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37446 if (arg2
== NULL
) {
37447 PyErr_SetString(PyExc_TypeError
,"null reference");
37451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37452 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37454 wxPyEndAllowThreads(__tstate
);
37455 if (PyErr_Occurred()) SWIG_fail
;
37458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37466 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37467 PyObject
*resultobj
;
37468 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37469 wxGBPosition
*arg2
= 0 ;
37470 wxGBSpan
*arg3
= 0 ;
37472 wxGBPosition temp2
;
37474 PyObject
* obj0
= 0 ;
37475 PyObject
* obj1
= 0 ;
37476 PyObject
* obj2
= 0 ;
37478 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37483 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37487 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37491 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37493 wxPyEndAllowThreads(__tstate
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37505 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37510 argc
= PyObject_Length(args
);
37511 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37512 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37518 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37528 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37536 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
37544 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37553 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37557 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37560 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
37566 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
37571 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37572 PyObject
*resultobj
;
37573 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37576 PyObject
* obj0
= 0 ;
37577 PyObject
* obj1
= 0 ;
37578 PyObject
* obj2
= 0 ;
37579 char *kwnames
[] = {
37580 (char *) "self",(char *) "row",(char *) "col", NULL
37583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
37587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37589 if (arg2
== NULL
) {
37590 PyErr_SetString(PyExc_TypeError
,"null reference");
37593 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
37594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37596 if (arg3
== NULL
) {
37597 PyErr_SetString(PyExc_TypeError
,"null reference");
37601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37602 (arg1
)->GetEndPos(*arg2
,*arg3
);
37604 wxPyEndAllowThreads(__tstate
);
37605 if (PyErr_Occurred()) SWIG_fail
;
37607 Py_INCREF(Py_None
); resultobj
= Py_None
;
37614 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37615 PyObject
*resultobj
;
37616 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37617 wxGridBagSizer
*result
;
37618 PyObject
* obj0
= 0 ;
37619 char *kwnames
[] = {
37620 (char *) "self", NULL
37623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37628 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37630 wxPyEndAllowThreads(__tstate
);
37631 if (PyErr_Occurred()) SWIG_fail
;
37633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37640 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37641 PyObject
*resultobj
;
37642 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37643 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37644 PyObject
* obj0
= 0 ;
37645 PyObject
* obj1
= 0 ;
37646 char *kwnames
[] = {
37647 (char *) "self",(char *) "sizer", NULL
37650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37657 (arg1
)->SetGBSizer(arg2
);
37659 wxPyEndAllowThreads(__tstate
);
37660 if (PyErr_Occurred()) SWIG_fail
;
37662 Py_INCREF(Py_None
); resultobj
= Py_None
;
37669 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37672 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37674 return Py_BuildValue((char *)"");
37676 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37677 PyObject
*resultobj
;
37678 int arg1
= (int) 0 ;
37679 int arg2
= (int) 0 ;
37680 wxGridBagSizer
*result
;
37681 PyObject
* obj0
= 0 ;
37682 PyObject
* obj1
= 0 ;
37683 char *kwnames
[] = {
37684 (char *) "vgap",(char *) "hgap", NULL
37687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37689 arg1
= (int) SWIG_AsInt(obj0
);
37690 if (PyErr_Occurred()) SWIG_fail
;
37693 arg2
= (int) SWIG_AsInt(obj1
);
37694 if (PyErr_Occurred()) SWIG_fail
;
37697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37698 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37700 wxPyEndAllowThreads(__tstate
);
37701 if (PyErr_Occurred()) SWIG_fail
;
37703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37710 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37711 PyObject
*resultobj
;
37712 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37713 PyObject
*arg2
= (PyObject
*) 0 ;
37714 wxGBPosition
*arg3
= 0 ;
37715 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37716 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37717 int arg5
= (int) 0 ;
37718 int arg6
= (int) 0 ;
37719 PyObject
*arg7
= (PyObject
*) NULL
;
37721 wxGBPosition temp3
;
37723 PyObject
* obj0
= 0 ;
37724 PyObject
* obj1
= 0 ;
37725 PyObject
* obj2
= 0 ;
37726 PyObject
* obj3
= 0 ;
37727 PyObject
* obj4
= 0 ;
37728 PyObject
* obj5
= 0 ;
37729 PyObject
* obj6
= 0 ;
37730 char *kwnames
[] = {
37731 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37740 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37745 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37749 arg5
= (int) SWIG_AsInt(obj4
);
37750 if (PyErr_Occurred()) SWIG_fail
;
37753 arg6
= (int) SWIG_AsInt(obj5
);
37754 if (PyErr_Occurred()) SWIG_fail
;
37760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37761 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37763 wxPyEndAllowThreads(__tstate
);
37764 if (PyErr_Occurred()) SWIG_fail
;
37767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37775 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37776 PyObject
*resultobj
;
37777 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37778 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37780 PyObject
* obj0
= 0 ;
37781 PyObject
* obj1
= 0 ;
37782 char *kwnames
[] = {
37783 (char *) "self",(char *) "item", NULL
37786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37793 result
= (bool)(arg1
)->Add(arg2
);
37795 wxPyEndAllowThreads(__tstate
);
37796 if (PyErr_Occurred()) SWIG_fail
;
37799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37807 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37808 PyObject
*resultobj
;
37809 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37811 PyObject
* obj0
= 0 ;
37812 char *kwnames
[] = {
37813 (char *) "self", NULL
37816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37821 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37823 wxPyEndAllowThreads(__tstate
);
37824 if (PyErr_Occurred()) SWIG_fail
;
37827 wxSize
* resultptr
;
37828 resultptr
= new wxSize((wxSize
&) result
);
37829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37837 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37838 PyObject
*resultobj
;
37839 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37842 PyObject
* obj0
= 0 ;
37843 PyObject
* obj1
= 0 ;
37844 char *kwnames
[] = {
37845 (char *) "self",(char *) "sz", NULL
37848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37853 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37857 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37859 wxPyEndAllowThreads(__tstate
);
37860 if (PyErr_Occurred()) SWIG_fail
;
37862 Py_INCREF(Py_None
); resultobj
= Py_None
;
37869 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37870 PyObject
*resultobj
;
37871 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37872 wxWindow
*arg2
= (wxWindow
*) 0 ;
37873 wxGBPosition result
;
37874 PyObject
* obj0
= 0 ;
37875 PyObject
* obj1
= 0 ;
37877 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37884 result
= (arg1
)->GetItemPosition(arg2
);
37886 wxPyEndAllowThreads(__tstate
);
37887 if (PyErr_Occurred()) SWIG_fail
;
37890 wxGBPosition
* resultptr
;
37891 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37900 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37901 PyObject
*resultobj
;
37902 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37903 wxSizer
*arg2
= (wxSizer
*) 0 ;
37904 wxGBPosition result
;
37905 PyObject
* obj0
= 0 ;
37906 PyObject
* obj1
= 0 ;
37908 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37915 result
= (arg1
)->GetItemPosition(arg2
);
37917 wxPyEndAllowThreads(__tstate
);
37918 if (PyErr_Occurred()) SWIG_fail
;
37921 wxGBPosition
* resultptr
;
37922 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37931 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37932 PyObject
*resultobj
;
37933 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37935 wxGBPosition result
;
37936 PyObject
* obj0
= 0 ;
37937 PyObject
* obj1
= 0 ;
37939 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37942 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37943 if (PyErr_Occurred()) SWIG_fail
;
37945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37946 result
= (arg1
)->GetItemPosition(arg2
);
37948 wxPyEndAllowThreads(__tstate
);
37949 if (PyErr_Occurred()) SWIG_fail
;
37952 wxGBPosition
* resultptr
;
37953 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37962 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37967 argc
= PyObject_Length(args
);
37968 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37969 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37975 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37985 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37993 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38001 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38011 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38019 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38027 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38035 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38037 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38042 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38047 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38048 PyObject
*resultobj
;
38049 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38050 wxWindow
*arg2
= (wxWindow
*) 0 ;
38051 wxGBPosition
*arg3
= 0 ;
38053 wxGBPosition temp3
;
38054 PyObject
* obj0
= 0 ;
38055 PyObject
* obj1
= 0 ;
38056 PyObject
* obj2
= 0 ;
38058 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38065 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38069 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38071 wxPyEndAllowThreads(__tstate
);
38072 if (PyErr_Occurred()) SWIG_fail
;
38075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38083 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38084 PyObject
*resultobj
;
38085 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38086 wxSizer
*arg2
= (wxSizer
*) 0 ;
38087 wxGBPosition
*arg3
= 0 ;
38089 wxGBPosition temp3
;
38090 PyObject
* obj0
= 0 ;
38091 PyObject
* obj1
= 0 ;
38092 PyObject
* obj2
= 0 ;
38094 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38101 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38105 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38107 wxPyEndAllowThreads(__tstate
);
38108 if (PyErr_Occurred()) SWIG_fail
;
38111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38119 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38120 PyObject
*resultobj
;
38121 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38123 wxGBPosition
*arg3
= 0 ;
38125 wxGBPosition temp3
;
38126 PyObject
* obj0
= 0 ;
38127 PyObject
* obj1
= 0 ;
38128 PyObject
* obj2
= 0 ;
38130 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38133 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38134 if (PyErr_Occurred()) SWIG_fail
;
38137 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38141 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38143 wxPyEndAllowThreads(__tstate
);
38144 if (PyErr_Occurred()) SWIG_fail
;
38147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38155 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38160 argc
= PyObject_Length(args
);
38161 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38162 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38168 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38178 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38187 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38190 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38199 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38209 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38218 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38221 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38230 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38238 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38241 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38244 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38250 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38255 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38256 PyObject
*resultobj
;
38257 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38258 wxWindow
*arg2
= (wxWindow
*) 0 ;
38260 PyObject
* obj0
= 0 ;
38261 PyObject
* obj1
= 0 ;
38263 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38270 result
= (arg1
)->GetItemSpan(arg2
);
38272 wxPyEndAllowThreads(__tstate
);
38273 if (PyErr_Occurred()) SWIG_fail
;
38276 wxGBSpan
* resultptr
;
38277 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38286 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38287 PyObject
*resultobj
;
38288 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38289 wxSizer
*arg2
= (wxSizer
*) 0 ;
38291 PyObject
* obj0
= 0 ;
38292 PyObject
* obj1
= 0 ;
38294 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38301 result
= (arg1
)->GetItemSpan(arg2
);
38303 wxPyEndAllowThreads(__tstate
);
38304 if (PyErr_Occurred()) SWIG_fail
;
38307 wxGBSpan
* resultptr
;
38308 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38317 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38318 PyObject
*resultobj
;
38319 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38322 PyObject
* obj0
= 0 ;
38323 PyObject
* obj1
= 0 ;
38325 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38328 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38329 if (PyErr_Occurred()) SWIG_fail
;
38331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38332 result
= (arg1
)->GetItemSpan(arg2
);
38334 wxPyEndAllowThreads(__tstate
);
38335 if (PyErr_Occurred()) SWIG_fail
;
38338 wxGBSpan
* resultptr
;
38339 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38348 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38353 argc
= PyObject_Length(args
);
38354 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38355 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38361 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38371 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38379 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38387 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38397 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38405 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38413 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38421 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38423 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38428 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38433 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38434 PyObject
*resultobj
;
38435 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38436 wxWindow
*arg2
= (wxWindow
*) 0 ;
38437 wxGBSpan
*arg3
= 0 ;
38440 PyObject
* obj0
= 0 ;
38441 PyObject
* obj1
= 0 ;
38442 PyObject
* obj2
= 0 ;
38444 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38451 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38455 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38457 wxPyEndAllowThreads(__tstate
);
38458 if (PyErr_Occurred()) SWIG_fail
;
38461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38469 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38470 PyObject
*resultobj
;
38471 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38472 wxSizer
*arg2
= (wxSizer
*) 0 ;
38473 wxGBSpan
*arg3
= 0 ;
38476 PyObject
* obj0
= 0 ;
38477 PyObject
* obj1
= 0 ;
38478 PyObject
* obj2
= 0 ;
38480 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38487 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38491 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38493 wxPyEndAllowThreads(__tstate
);
38494 if (PyErr_Occurred()) SWIG_fail
;
38497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38505 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38506 PyObject
*resultobj
;
38507 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38509 wxGBSpan
*arg3
= 0 ;
38512 PyObject
* obj0
= 0 ;
38513 PyObject
* obj1
= 0 ;
38514 PyObject
* obj2
= 0 ;
38516 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38519 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38520 if (PyErr_Occurred()) SWIG_fail
;
38523 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38527 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38529 wxPyEndAllowThreads(__tstate
);
38530 if (PyErr_Occurred()) SWIG_fail
;
38533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38541 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38546 argc
= PyObject_Length(args
);
38547 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38548 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38554 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38564 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38573 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38576 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38585 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38595 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38604 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38607 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38616 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38624 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38627 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38630 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38636 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38641 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38642 PyObject
*resultobj
;
38643 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38644 wxWindow
*arg2
= (wxWindow
*) 0 ;
38645 wxGBSizerItem
*result
;
38646 PyObject
* obj0
= 0 ;
38647 PyObject
* obj1
= 0 ;
38649 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38656 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38658 wxPyEndAllowThreads(__tstate
);
38659 if (PyErr_Occurred()) SWIG_fail
;
38661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38668 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38669 PyObject
*resultobj
;
38670 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38671 wxSizer
*arg2
= (wxSizer
*) 0 ;
38672 wxGBSizerItem
*result
;
38673 PyObject
* obj0
= 0 ;
38674 PyObject
* obj1
= 0 ;
38676 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38683 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38685 wxPyEndAllowThreads(__tstate
);
38686 if (PyErr_Occurred()) SWIG_fail
;
38688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38695 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38700 argc
= PyObject_Length(args
);
38701 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38702 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38708 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38718 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38726 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38734 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38744 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38752 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38757 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38762 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38763 PyObject
*resultobj
;
38764 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38765 wxGBPosition
*arg2
= 0 ;
38766 wxGBSizerItem
*result
;
38767 wxGBPosition temp2
;
38768 PyObject
* obj0
= 0 ;
38769 PyObject
* obj1
= 0 ;
38770 char *kwnames
[] = {
38771 (char *) "self",(char *) "pos", NULL
38774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38779 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38783 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38785 wxPyEndAllowThreads(__tstate
);
38786 if (PyErr_Occurred()) SWIG_fail
;
38788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38795 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38796 PyObject
*resultobj
;
38797 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38798 wxPoint
*arg2
= 0 ;
38799 wxGBSizerItem
*result
;
38801 PyObject
* obj0
= 0 ;
38802 PyObject
* obj1
= 0 ;
38803 char *kwnames
[] = {
38804 (char *) "self",(char *) "pt", NULL
38807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38812 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38816 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38818 wxPyEndAllowThreads(__tstate
);
38819 if (PyErr_Occurred()) SWIG_fail
;
38821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38828 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38829 PyObject
*resultobj
;
38830 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38831 wxObject
*arg2
= (wxObject
*) 0 ;
38832 wxGBSizerItem
*result
;
38833 PyObject
* obj0
= 0 ;
38834 PyObject
* obj1
= 0 ;
38835 char *kwnames
[] = {
38836 (char *) "self",(char *) "userData", NULL
38839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
38840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
38843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38846 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
38848 wxPyEndAllowThreads(__tstate
);
38849 if (PyErr_Occurred()) SWIG_fail
;
38851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38858 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38859 PyObject
*resultobj
;
38860 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38861 PyObject
* obj0
= 0 ;
38862 char *kwnames
[] = {
38863 (char *) "self", NULL
38866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38871 (arg1
)->RecalcSizes();
38873 wxPyEndAllowThreads(__tstate
);
38874 if (PyErr_Occurred()) SWIG_fail
;
38876 Py_INCREF(Py_None
); resultobj
= Py_None
;
38883 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38884 PyObject
*resultobj
;
38885 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38887 PyObject
* obj0
= 0 ;
38888 char *kwnames
[] = {
38889 (char *) "self", NULL
38892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38897 result
= (arg1
)->CalcMin();
38899 wxPyEndAllowThreads(__tstate
);
38900 if (PyErr_Occurred()) SWIG_fail
;
38903 wxSize
* resultptr
;
38904 resultptr
= new wxSize((wxSize
&) result
);
38905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38913 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
38914 PyObject
*resultobj
;
38915 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38916 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38917 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38919 PyObject
* obj0
= 0 ;
38920 PyObject
* obj1
= 0 ;
38921 PyObject
* obj2
= 0 ;
38923 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
38924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38934 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38936 wxPyEndAllowThreads(__tstate
);
38937 if (PyErr_Occurred()) SWIG_fail
;
38940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38948 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
38949 PyObject
*resultobj
;
38950 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38951 wxGBPosition
*arg2
= 0 ;
38952 wxGBSpan
*arg3
= 0 ;
38953 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38955 wxGBPosition temp2
;
38957 PyObject
* obj0
= 0 ;
38958 PyObject
* obj1
= 0 ;
38959 PyObject
* obj2
= 0 ;
38960 PyObject
* obj3
= 0 ;
38962 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38967 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38971 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38974 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38979 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38981 wxPyEndAllowThreads(__tstate
);
38982 if (PyErr_Occurred()) SWIG_fail
;
38985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38993 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
38998 argc
= PyObject_Length(args
);
38999 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
39000 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39002 if ((argc
>= 2) && (argc
<= 3)) {
39006 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39016 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39025 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39029 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39037 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39042 if ((argc
>= 3) && (argc
<= 4)) {
39046 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39055 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39059 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39063 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39067 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39075 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39082 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39087 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39090 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39092 return Py_BuildValue((char *)"");
39094 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39095 PyObject
*resultobj
;
39096 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39098 wxWindow
*arg3
= (wxWindow
*) 0 ;
39100 int arg5
= (int) 0 ;
39101 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39102 PyObject
* obj0
= 0 ;
39103 PyObject
* obj1
= 0 ;
39104 PyObject
* obj2
= 0 ;
39105 PyObject
* obj3
= 0 ;
39106 PyObject
* obj4
= 0 ;
39107 PyObject
* obj5
= 0 ;
39108 char *kwnames
[] = {
39109 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39115 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39116 if (PyErr_Occurred()) SWIG_fail
;
39117 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39119 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39120 if (PyErr_Occurred()) SWIG_fail
;
39122 arg5
= (int) SWIG_AsInt(obj4
);
39123 if (PyErr_Occurred()) SWIG_fail
;
39126 arg6
= (int) SWIG_AsInt(obj5
);
39127 if (PyErr_Occurred()) SWIG_fail
;
39130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39131 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39133 wxPyEndAllowThreads(__tstate
);
39134 if (PyErr_Occurred()) SWIG_fail
;
39136 Py_INCREF(Py_None
); resultobj
= Py_None
;
39143 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39144 PyObject
*resultobj
;
39145 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39146 wxWindow
*arg2
= (wxWindow
*) 0 ;
39147 int arg3
= (int) 0 ;
39148 PyObject
* obj0
= 0 ;
39149 PyObject
* obj1
= 0 ;
39150 PyObject
* obj2
= 0 ;
39151 char *kwnames
[] = {
39152 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39161 arg3
= (int) SWIG_AsInt(obj2
);
39162 if (PyErr_Occurred()) SWIG_fail
;
39165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39166 (arg1
)->LeftOf(arg2
,arg3
);
39168 wxPyEndAllowThreads(__tstate
);
39169 if (PyErr_Occurred()) SWIG_fail
;
39171 Py_INCREF(Py_None
); resultobj
= Py_None
;
39178 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39179 PyObject
*resultobj
;
39180 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39181 wxWindow
*arg2
= (wxWindow
*) 0 ;
39182 int arg3
= (int) 0 ;
39183 PyObject
* obj0
= 0 ;
39184 PyObject
* obj1
= 0 ;
39185 PyObject
* obj2
= 0 ;
39186 char *kwnames
[] = {
39187 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39196 arg3
= (int) SWIG_AsInt(obj2
);
39197 if (PyErr_Occurred()) SWIG_fail
;
39200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39201 (arg1
)->RightOf(arg2
,arg3
);
39203 wxPyEndAllowThreads(__tstate
);
39204 if (PyErr_Occurred()) SWIG_fail
;
39206 Py_INCREF(Py_None
); resultobj
= Py_None
;
39213 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39214 PyObject
*resultobj
;
39215 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39216 wxWindow
*arg2
= (wxWindow
*) 0 ;
39217 int arg3
= (int) 0 ;
39218 PyObject
* obj0
= 0 ;
39219 PyObject
* obj1
= 0 ;
39220 PyObject
* obj2
= 0 ;
39221 char *kwnames
[] = {
39222 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39231 arg3
= (int) SWIG_AsInt(obj2
);
39232 if (PyErr_Occurred()) SWIG_fail
;
39235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39236 (arg1
)->Above(arg2
,arg3
);
39238 wxPyEndAllowThreads(__tstate
);
39239 if (PyErr_Occurred()) SWIG_fail
;
39241 Py_INCREF(Py_None
); resultobj
= Py_None
;
39248 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39249 PyObject
*resultobj
;
39250 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39251 wxWindow
*arg2
= (wxWindow
*) 0 ;
39252 int arg3
= (int) 0 ;
39253 PyObject
* obj0
= 0 ;
39254 PyObject
* obj1
= 0 ;
39255 PyObject
* obj2
= 0 ;
39256 char *kwnames
[] = {
39257 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39266 arg3
= (int) SWIG_AsInt(obj2
);
39267 if (PyErr_Occurred()) SWIG_fail
;
39270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39271 (arg1
)->Below(arg2
,arg3
);
39273 wxPyEndAllowThreads(__tstate
);
39274 if (PyErr_Occurred()) SWIG_fail
;
39276 Py_INCREF(Py_None
); resultobj
= Py_None
;
39283 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39284 PyObject
*resultobj
;
39285 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39286 wxWindow
*arg2
= (wxWindow
*) 0 ;
39288 int arg4
= (int) 0 ;
39289 PyObject
* obj0
= 0 ;
39290 PyObject
* obj1
= 0 ;
39291 PyObject
* obj2
= 0 ;
39292 PyObject
* obj3
= 0 ;
39293 char *kwnames
[] = {
39294 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39302 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39303 if (PyErr_Occurred()) SWIG_fail
;
39305 arg4
= (int) SWIG_AsInt(obj3
);
39306 if (PyErr_Occurred()) SWIG_fail
;
39309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39310 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39312 wxPyEndAllowThreads(__tstate
);
39313 if (PyErr_Occurred()) SWIG_fail
;
39315 Py_INCREF(Py_None
); resultobj
= Py_None
;
39322 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39323 PyObject
*resultobj
;
39324 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39325 wxWindow
*arg2
= (wxWindow
*) 0 ;
39328 PyObject
* obj0
= 0 ;
39329 PyObject
* obj1
= 0 ;
39330 PyObject
* obj2
= 0 ;
39331 PyObject
* obj3
= 0 ;
39332 char *kwnames
[] = {
39333 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39341 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39342 if (PyErr_Occurred()) SWIG_fail
;
39343 arg4
= (int) SWIG_AsInt(obj3
);
39344 if (PyErr_Occurred()) SWIG_fail
;
39346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39347 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39349 wxPyEndAllowThreads(__tstate
);
39350 if (PyErr_Occurred()) SWIG_fail
;
39352 Py_INCREF(Py_None
); resultobj
= Py_None
;
39359 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39360 PyObject
*resultobj
;
39361 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39363 PyObject
* obj0
= 0 ;
39364 PyObject
* obj1
= 0 ;
39365 char *kwnames
[] = {
39366 (char *) "self",(char *) "val", NULL
39369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39372 arg2
= (int) SWIG_AsInt(obj1
);
39373 if (PyErr_Occurred()) SWIG_fail
;
39375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39376 (arg1
)->Absolute(arg2
);
39378 wxPyEndAllowThreads(__tstate
);
39379 if (PyErr_Occurred()) SWIG_fail
;
39381 Py_INCREF(Py_None
); resultobj
= Py_None
;
39388 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39389 PyObject
*resultobj
;
39390 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39391 PyObject
* obj0
= 0 ;
39392 char *kwnames
[] = {
39393 (char *) "self", NULL
39396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39401 (arg1
)->Unconstrained();
39403 wxPyEndAllowThreads(__tstate
);
39404 if (PyErr_Occurred()) SWIG_fail
;
39406 Py_INCREF(Py_None
); resultobj
= Py_None
;
39413 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39414 PyObject
*resultobj
;
39415 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39416 PyObject
* obj0
= 0 ;
39417 char *kwnames
[] = {
39418 (char *) "self", NULL
39421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39428 wxPyEndAllowThreads(__tstate
);
39429 if (PyErr_Occurred()) SWIG_fail
;
39431 Py_INCREF(Py_None
); resultobj
= Py_None
;
39438 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39439 PyObject
*resultobj
;
39440 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39442 PyObject
* obj0
= 0 ;
39443 char *kwnames
[] = {
39444 (char *) "self", NULL
39447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39452 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39454 wxPyEndAllowThreads(__tstate
);
39455 if (PyErr_Occurred()) SWIG_fail
;
39458 resultobj
= wxPyMake_wxObject(result
);
39466 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39467 PyObject
*resultobj
;
39468 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39470 PyObject
* obj0
= 0 ;
39471 char *kwnames
[] = {
39472 (char *) "self", NULL
39475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39480 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39482 wxPyEndAllowThreads(__tstate
);
39483 if (PyErr_Occurred()) SWIG_fail
;
39485 resultobj
= SWIG_FromInt((int)result
);
39492 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39493 PyObject
*resultobj
;
39494 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39496 PyObject
* obj0
= 0 ;
39497 PyObject
* obj1
= 0 ;
39498 char *kwnames
[] = {
39499 (char *) "self",(char *) "which", NULL
39502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39505 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39506 if (PyErr_Occurred()) SWIG_fail
;
39508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39509 (arg1
)->SetEdge((wxEdge
)arg2
);
39511 wxPyEndAllowThreads(__tstate
);
39512 if (PyErr_Occurred()) SWIG_fail
;
39514 Py_INCREF(Py_None
); resultobj
= Py_None
;
39521 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39522 PyObject
*resultobj
;
39523 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39525 PyObject
* obj0
= 0 ;
39526 PyObject
* obj1
= 0 ;
39527 char *kwnames
[] = {
39528 (char *) "self",(char *) "v", NULL
39531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39534 arg2
= (int) SWIG_AsInt(obj1
);
39535 if (PyErr_Occurred()) SWIG_fail
;
39537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39538 (arg1
)->SetValue(arg2
);
39540 wxPyEndAllowThreads(__tstate
);
39541 if (PyErr_Occurred()) SWIG_fail
;
39543 Py_INCREF(Py_None
); resultobj
= Py_None
;
39550 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39551 PyObject
*resultobj
;
39552 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39554 PyObject
* obj0
= 0 ;
39555 char *kwnames
[] = {
39556 (char *) "self", NULL
39559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39564 result
= (int)(arg1
)->GetMargin();
39566 wxPyEndAllowThreads(__tstate
);
39567 if (PyErr_Occurred()) SWIG_fail
;
39569 resultobj
= SWIG_FromInt((int)result
);
39576 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39577 PyObject
*resultobj
;
39578 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39580 PyObject
* obj0
= 0 ;
39581 PyObject
* obj1
= 0 ;
39582 char *kwnames
[] = {
39583 (char *) "self",(char *) "m", NULL
39586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39589 arg2
= (int) SWIG_AsInt(obj1
);
39590 if (PyErr_Occurred()) SWIG_fail
;
39592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39593 (arg1
)->SetMargin(arg2
);
39595 wxPyEndAllowThreads(__tstate
);
39596 if (PyErr_Occurred()) SWIG_fail
;
39598 Py_INCREF(Py_None
); resultobj
= Py_None
;
39605 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39606 PyObject
*resultobj
;
39607 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39609 PyObject
* obj0
= 0 ;
39610 char *kwnames
[] = {
39611 (char *) "self", NULL
39614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39619 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39621 wxPyEndAllowThreads(__tstate
);
39622 if (PyErr_Occurred()) SWIG_fail
;
39624 resultobj
= SWIG_FromInt((int)result
);
39631 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39632 PyObject
*resultobj
;
39633 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39635 PyObject
* obj0
= 0 ;
39636 char *kwnames
[] = {
39637 (char *) "self", NULL
39640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39645 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39647 wxPyEndAllowThreads(__tstate
);
39648 if (PyErr_Occurred()) SWIG_fail
;
39650 resultobj
= SWIG_FromInt((int)result
);
39657 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39658 PyObject
*resultobj
;
39659 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39661 PyObject
* obj0
= 0 ;
39662 char *kwnames
[] = {
39663 (char *) "self", NULL
39666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39671 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39673 wxPyEndAllowThreads(__tstate
);
39674 if (PyErr_Occurred()) SWIG_fail
;
39676 resultobj
= SWIG_FromInt((int)result
);
39683 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39684 PyObject
*resultobj
;
39685 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39687 PyObject
* obj0
= 0 ;
39688 char *kwnames
[] = {
39689 (char *) "self", NULL
39692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39697 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39699 wxPyEndAllowThreads(__tstate
);
39700 if (PyErr_Occurred()) SWIG_fail
;
39703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39711 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39712 PyObject
*resultobj
;
39713 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39715 PyObject
* obj0
= 0 ;
39716 PyObject
* obj1
= 0 ;
39717 char *kwnames
[] = {
39718 (char *) "self",(char *) "d", NULL
39721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39724 arg2
= (bool) SWIG_AsBool(obj1
);
39725 if (PyErr_Occurred()) SWIG_fail
;
39727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39728 (arg1
)->SetDone(arg2
);
39730 wxPyEndAllowThreads(__tstate
);
39731 if (PyErr_Occurred()) SWIG_fail
;
39733 Py_INCREF(Py_None
); resultobj
= Py_None
;
39740 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39741 PyObject
*resultobj
;
39742 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39744 PyObject
* obj0
= 0 ;
39745 char *kwnames
[] = {
39746 (char *) "self", NULL
39749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39754 result
= (int)(arg1
)->GetRelationship();
39756 wxPyEndAllowThreads(__tstate
);
39757 if (PyErr_Occurred()) SWIG_fail
;
39759 resultobj
= SWIG_FromInt((int)result
);
39766 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39767 PyObject
*resultobj
;
39768 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39770 PyObject
* obj0
= 0 ;
39771 PyObject
* obj1
= 0 ;
39772 char *kwnames
[] = {
39773 (char *) "self",(char *) "r", NULL
39776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39779 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39780 if (PyErr_Occurred()) SWIG_fail
;
39782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39783 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39785 wxPyEndAllowThreads(__tstate
);
39786 if (PyErr_Occurred()) SWIG_fail
;
39788 Py_INCREF(Py_None
); resultobj
= Py_None
;
39795 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39796 PyObject
*resultobj
;
39797 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39798 wxWindow
*arg2
= (wxWindow
*) 0 ;
39800 PyObject
* obj0
= 0 ;
39801 PyObject
* obj1
= 0 ;
39802 char *kwnames
[] = {
39803 (char *) "self",(char *) "otherW", NULL
39806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39813 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39815 wxPyEndAllowThreads(__tstate
);
39816 if (PyErr_Occurred()) SWIG_fail
;
39819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39827 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39828 PyObject
*resultobj
;
39829 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39830 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39831 wxWindow
*arg3
= (wxWindow
*) 0 ;
39833 PyObject
* obj0
= 0 ;
39834 PyObject
* obj1
= 0 ;
39835 PyObject
* obj2
= 0 ;
39836 char *kwnames
[] = {
39837 (char *) "self",(char *) "constraints",(char *) "win", NULL
39840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39845 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39849 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39851 wxPyEndAllowThreads(__tstate
);
39852 if (PyErr_Occurred()) SWIG_fail
;
39855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39863 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39864 PyObject
*resultobj
;
39865 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39867 wxWindow
*arg3
= (wxWindow
*) 0 ;
39868 wxWindow
*arg4
= (wxWindow
*) 0 ;
39870 PyObject
* obj0
= 0 ;
39871 PyObject
* obj1
= 0 ;
39872 PyObject
* obj2
= 0 ;
39873 PyObject
* obj3
= 0 ;
39874 char *kwnames
[] = {
39875 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39881 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39882 if (PyErr_Occurred()) SWIG_fail
;
39883 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39885 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39889 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39891 wxPyEndAllowThreads(__tstate
);
39892 if (PyErr_Occurred()) SWIG_fail
;
39894 resultobj
= SWIG_FromInt((int)result
);
39901 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39904 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39906 return Py_BuildValue((char *)"");
39908 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39909 PyObject
*resultobj
;
39910 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39911 wxIndividualLayoutConstraint
*result
;
39912 PyObject
* obj0
= 0 ;
39913 char *kwnames
[] = {
39914 (char *) "self", NULL
39917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39920 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39929 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39930 PyObject
*resultobj
;
39931 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39932 wxIndividualLayoutConstraint
*result
;
39933 PyObject
* obj0
= 0 ;
39934 char *kwnames
[] = {
39935 (char *) "self", NULL
39938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39941 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39950 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39951 PyObject
*resultobj
;
39952 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39953 wxIndividualLayoutConstraint
*result
;
39954 PyObject
* obj0
= 0 ;
39955 char *kwnames
[] = {
39956 (char *) "self", NULL
39959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39962 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39971 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39972 PyObject
*resultobj
;
39973 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39974 wxIndividualLayoutConstraint
*result
;
39975 PyObject
* obj0
= 0 ;
39976 char *kwnames
[] = {
39977 (char *) "self", NULL
39980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39983 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39992 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39993 PyObject
*resultobj
;
39994 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39995 wxIndividualLayoutConstraint
*result
;
39996 PyObject
* obj0
= 0 ;
39997 char *kwnames
[] = {
39998 (char *) "self", NULL
40001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40004 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40013 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40014 PyObject
*resultobj
;
40015 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40016 wxIndividualLayoutConstraint
*result
;
40017 PyObject
* obj0
= 0 ;
40018 char *kwnames
[] = {
40019 (char *) "self", NULL
40022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40025 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40034 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40035 PyObject
*resultobj
;
40036 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40037 wxIndividualLayoutConstraint
*result
;
40038 PyObject
* obj0
= 0 ;
40039 char *kwnames
[] = {
40040 (char *) "self", NULL
40043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40046 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40055 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40056 PyObject
*resultobj
;
40057 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40058 wxIndividualLayoutConstraint
*result
;
40059 PyObject
* obj0
= 0 ;
40060 char *kwnames
[] = {
40061 (char *) "self", NULL
40064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40067 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40076 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40077 PyObject
*resultobj
;
40078 wxLayoutConstraints
*result
;
40079 char *kwnames
[] = {
40083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40086 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40088 wxPyEndAllowThreads(__tstate
);
40089 if (PyErr_Occurred()) SWIG_fail
;
40091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40098 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40099 PyObject
*resultobj
;
40100 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40101 wxWindow
*arg2
= (wxWindow
*) 0 ;
40102 int *arg3
= (int *) 0 ;
40105 PyObject
* obj0
= 0 ;
40106 PyObject
* obj1
= 0 ;
40107 char *kwnames
[] = {
40108 (char *) "self",(char *) "win", NULL
40112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40119 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40121 wxPyEndAllowThreads(__tstate
);
40122 if (PyErr_Occurred()) SWIG_fail
;
40125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40128 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40129 resultobj
= t_output_helper(resultobj
,o
);
40137 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40138 PyObject
*resultobj
;
40139 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40141 PyObject
* obj0
= 0 ;
40142 char *kwnames
[] = {
40143 (char *) "self", NULL
40146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40151 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40153 wxPyEndAllowThreads(__tstate
);
40154 if (PyErr_Occurred()) SWIG_fail
;
40157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40165 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40168 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40170 return Py_BuildValue((char *)"");
40172 static PyMethodDef SwigMethods
[] = {
40173 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40174 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40175 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40176 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40178 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40183 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40199 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40212 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40219 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40225 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40227 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40237 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40239 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40274 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40276 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40278 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40302 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40306 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40324 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40326 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40334 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40335 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40345 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40347 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40358 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40363 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40369 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40379 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40389 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40393 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40431 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40464 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40466 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40467 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40469 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40471 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40473 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40475 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40477 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40479 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40481 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40483 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40485 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40487 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40501 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40519 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40522 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40525 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40537 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40542 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40548 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40554 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40616 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40623 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40658 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40668 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40678 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40680 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40682 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40685 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40689 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40692 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40695 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40697 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40702 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40710 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40714 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40717 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40719 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40723 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40740 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40742 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40745 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40747 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40751 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40755 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40763 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40766 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40769 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40773 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40780 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40785 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40790 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40834 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40849 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40853 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40863 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
40912 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
40913 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41020 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41058 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41072 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41075 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41130 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41157 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41187 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41195 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41212 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41213 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41248 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41278 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41281 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41287 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41292 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41304 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41318 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41328 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41338 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41347 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41351 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41357 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41358 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41359 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41360 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41361 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41367 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41368 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41395 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41411 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41413 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41414 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41416 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41417 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41419 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41420 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41422 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41423 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41425 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41426 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41428 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41429 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41431 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41432 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41434 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41435 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41437 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41438 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41440 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41441 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41443 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41444 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41446 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41447 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41449 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41450 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41452 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41453 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41455 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41456 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41458 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41459 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41461 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41462 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41464 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41465 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41467 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41468 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41470 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41471 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41473 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41474 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41476 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41477 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41479 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41480 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41482 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41483 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41485 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41486 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41488 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41489 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41491 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41492 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41494 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41495 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41497 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41498 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41500 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41501 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41503 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41504 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41506 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41507 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41509 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41510 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41512 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41513 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41515 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41516 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41518 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41519 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41521 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41522 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41524 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41525 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41527 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41528 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41530 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41531 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41533 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41534 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41536 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41537 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41539 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41540 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41542 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41543 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41545 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41546 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41548 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41549 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41551 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41552 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41554 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41555 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41557 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41558 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41560 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41561 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41563 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41566 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41567 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41569 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41570 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41572 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41573 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41575 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41576 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41578 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41579 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41581 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41582 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41584 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41585 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41587 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41588 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41590 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41591 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41593 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41594 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41596 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41597 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41599 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41600 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41602 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41603 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41605 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41606 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41608 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41609 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41611 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41612 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41614 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41615 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41617 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41618 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41620 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41621 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41623 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41624 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41626 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41627 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41629 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41630 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41632 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41633 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41635 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41636 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41638 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41639 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41641 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41642 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41644 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41645 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41647 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41648 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41650 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41653 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41654 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41656 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41657 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41659 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41660 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41662 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41663 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41665 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41668 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41671 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41672 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41674 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41675 return (void *)((wxObject
*) ((wxSizer
*) x
));
41677 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41678 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41680 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41681 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41683 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41684 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41686 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41687 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41689 static void *_p_wxImageTo_p_wxObject(void *x
) {
41690 return (void *)((wxObject
*) ((wxImage
*) x
));
41692 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41693 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41695 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41696 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41698 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41699 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41701 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41702 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41704 static void *_p_wxControlTo_p_wxObject(void *x
) {
41705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41707 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41708 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41710 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41711 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41713 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41714 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41716 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41717 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41719 static void *_p_wxEventTo_p_wxObject(void *x
) {
41720 return (void *)((wxObject
*) ((wxEvent
*) x
));
41722 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41723 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41725 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41726 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41728 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41729 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41731 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41732 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41734 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41735 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41737 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41738 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41740 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41741 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41743 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41744 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41746 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41749 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41750 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41752 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41753 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41755 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41756 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41758 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41759 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41761 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41762 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41764 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41765 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41767 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41768 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41770 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41771 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41773 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41774 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41776 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41777 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41779 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41780 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41782 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41783 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41785 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41786 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41788 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41789 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41791 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41792 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41794 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41797 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41798 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41800 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41801 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41803 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41804 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41806 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41807 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41809 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41810 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41812 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41813 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41815 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41816 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41818 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41819 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41821 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41822 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41824 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41825 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41827 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41828 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41830 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41831 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41833 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41834 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41836 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41837 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41839 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41840 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41842 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41843 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41845 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41846 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41848 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41849 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41851 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41852 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41854 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41855 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41857 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41858 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41860 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41861 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41863 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41864 return (void *)((wxWindow
*) ((wxControl
*) x
));
41866 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41867 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41869 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41870 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41872 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41873 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41875 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41876 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41878 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41879 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41881 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41882 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41884 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41885 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41887 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41888 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41890 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41891 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41893 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41894 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41896 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41897 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41899 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}};
41900 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}};
41901 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}};
41902 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}};
41903 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}};
41904 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}};
41905 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}};
41906 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}};
41907 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}};
41908 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}};
41909 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}};
41910 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}};
41911 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}};
41912 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}};
41913 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}};
41914 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}};
41915 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}};
41916 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}};
41917 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}};
41918 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}};
41919 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}};
41920 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}};
41921 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}};
41922 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}};
41923 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}};
41924 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}};
41925 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}};
41926 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}};
41927 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}};
41928 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}};
41929 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}};
41930 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}};
41931 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}};
41932 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}};
41933 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}};
41934 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}};
41935 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}};
41936 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}};
41937 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}};
41938 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}};
41939 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}};
41940 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}};
41941 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}};
41942 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}};
41943 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}};
41944 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}};
41945 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}};
41946 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}};
41947 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}};
41948 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}};
41949 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}};
41950 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}};
41951 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}};
41952 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}};
41953 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}};
41954 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}};
41955 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}};
41956 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}};
41957 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}};
41958 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}};
41959 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}};
41960 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}};
41961 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}};
41962 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}};
41963 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}};
41964 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}};
41965 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}};
41966 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}};
41967 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}};
41968 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}};
41969 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}};
41970 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}};
41971 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}};
41972 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}};
41973 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}};
41974 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}};
41975 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}};
41976 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}};
41977 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}};
41978 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}};
41979 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}};
41980 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}};
41981 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}};
41982 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}};
41983 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}};
41984 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}};
41985 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}};
41986 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}};
41987 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}};
41988 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}};
41989 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}};
41990 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}};
41991 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}};
41992 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}};
41993 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}};
41994 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}};
41995 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}};
41996 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}};
41997 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}};
41998 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}};
41999 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}};
42000 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}};
42001 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}};
42002 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}};
42003 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}};
42004 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}};
42005 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}};
42006 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}};
42007 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}};
42008 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}};
42009 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}};
42010 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}};
42011 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}};
42012 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}};
42013 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}};
42015 static swig_type_info
*swig_types_initial
[] = {
42016 _swigt__p_wxLayoutConstraints
,
42017 _swigt__p_wxRealPoint
,
42018 _swigt__p_wxSizerItem
,
42019 _swigt__p_wxGBSizerItem
,
42020 _swigt__p_wxScrollEvent
,
42021 _swigt__p_wxIndividualLayoutConstraint
,
42023 _swigt__p_wxBoxSizer
,
42024 _swigt__p_wxStaticBoxSizer
,
42025 _swigt__p_wxGridBagSizer
,
42026 _swigt__p_wxAcceleratorEntry
,
42027 _swigt__p_wxUpdateUIEvent
,
42030 _swigt__p_wxGridSizer
,
42031 _swigt__p_wxFlexGridSizer
,
42032 _swigt__p_wxInitDialogEvent
,
42033 _swigt__p_wxItemContainer
,
42034 _swigt__p_wxNcPaintEvent
,
42035 _swigt__p_wxPaintEvent
,
42036 _swigt__p_wxSysColourChangedEvent
,
42037 _swigt__p_wxMouseCaptureChangedEvent
,
42038 _swigt__p_wxDisplayChangedEvent
,
42039 _swigt__p_wxPaletteChangedEvent
,
42040 _swigt__p_wxControl
,
42042 _swigt__p_wxMenuBarBase
,
42043 _swigt__p_wxSetCursorEvent
,
42044 _swigt__p_wxFSFile
,
42046 _swigt__p_wxRegion
,
42047 _swigt__p_wxPoint2D
,
42051 _swigt__p_wxPySizer
,
42052 _swigt__p_wxVisualAttributes
,
42053 _swigt__p_wxNotifyEvent
,
42054 _swigt__p_wxPyEvent
,
42055 _swigt__p_wxPropagationDisabler
,
42056 _swigt__p_wxAppTraits
,
42057 _swigt__p_wxArrayString
,
42058 _swigt__p_wxShowEvent
,
42059 _swigt__p_wxToolTip
,
42060 _swigt__p_wxMaximizeEvent
,
42061 _swigt__p_wxIconizeEvent
,
42062 _swigt__p_wxActivateEvent
,
42063 _swigt__p_wxMoveEvent
,
42064 _swigt__p_wxSizeEvent
,
42065 _swigt__p_wxQueryNewPaletteEvent
,
42066 _swigt__p_wxWindowCreateEvent
,
42067 _swigt__p_wxIdleEvent
,
42068 _swigt__p_wxMenuItem
,
42069 _swigt__p_wxStaticBox
,
42071 _swigt__p_wxTIFFHandler
,
42072 _swigt__p_wxXPMHandler
,
42073 _swigt__p_wxPNMHandler
,
42074 _swigt__p_wxJPEGHandler
,
42075 _swigt__p_wxPCXHandler
,
42076 _swigt__p_wxGIFHandler
,
42077 _swigt__p_wxPNGHandler
,
42078 _swigt__p_wxANIHandler
,
42079 _swigt__p_wxMemoryFSHandler
,
42080 _swigt__p_wxEvtHandler
,
42081 _swigt__p_wxCURHandler
,
42082 _swigt__p_wxICOHandler
,
42083 _swigt__p_wxBMPHandler
,
42084 _swigt__p_wxImageHandler
,
42085 _swigt__p_wxFileSystemHandler
,
42086 _swigt__p_wxPyFileSystemHandler
,
42087 _swigt__p_wxInternetFSHandler
,
42088 _swigt__p_wxZipFSHandler
,
42090 _swigt__p_wxGBSpan
,
42091 _swigt__p_wxPropagateOnce
,
42092 _swigt__p_wxAcceleratorTable
,
42094 _swigt__p_wxGBPosition
,
42097 _swigt__p_wxScrollWinEvent
,
42098 _swigt__p_wxImageHistogram
,
42101 _swigt__p_wxCursor
,
42102 _swigt__p_wxObject
,
42103 _swigt__p_wxPyInputStream
,
42104 _swigt__p_wxOutputStream
,
42105 _swigt__p_wxInputStream
,
42106 _swigt__p_wxDateTime
,
42107 _swigt__p_wxKeyEvent
,
42108 _swigt__p_wxNavigationKeyEvent
,
42109 _swigt__p_wxWindowDestroyEvent
,
42110 _swigt__p_wxWindow
,
42111 _swigt__p_wxMenuBar
,
42112 _swigt__p_wxFileSystem
,
42113 _swigt__p_wxBitmap
,
42114 _swigt__p_wxMenuEvent
,
42115 _swigt__p_wxContextMenuEvent
,
42116 _swigt__p_unsigned_char
,
42117 _swigt__p_wxCloseEvent
,
42118 _swigt__p_wxEraseEvent
,
42119 _swigt__p_wxMouseEvent
,
42121 _swigt__p_wxCommandEvent
,
42122 _swigt__p_wxPyCommandEvent
,
42123 _swigt__p_wxPyDropTarget
,
42124 _swigt__p_wxChildFocusEvent
,
42125 _swigt__p_wxFocusEvent
,
42126 _swigt__p_wxDropFilesEvent
,
42127 _swigt__p_wxControlWithItems
,
42128 _swigt__p_wxColour
,
42129 _swigt__p_wxValidator
,
42130 _swigt__p_wxPyValidator
,
42135 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42137 static swig_const_info swig_const_table
[] = {
42147 SWIGEXPORT(void) SWIG_init(void) {
42148 static PyObject
*SWIG_globals
= 0;
42149 static int typeinit
= 0;
42152 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42153 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42154 d
= PyModule_GetDict(m
);
42157 for (i
= 0; swig_types_initial
[i
]; i
++) {
42158 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42162 SWIG_InstallConstants(d
,swig_const_table
);
42165 #ifndef wxPyUSE_EXPORT
42166 // Make our API structure a CObject so other modules can import it
42167 // from this module.
42168 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42169 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42173 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42174 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42175 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42176 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42177 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42178 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42179 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42180 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42181 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42182 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42183 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42184 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42185 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42186 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42187 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42188 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42189 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42190 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42191 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42192 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42193 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42194 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42195 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42196 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42197 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42198 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42199 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42200 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42201 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42202 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42203 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42204 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42205 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42206 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42207 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42208 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42209 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42210 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42211 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42212 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42213 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42214 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42215 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42216 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42217 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42218 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42219 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42220 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42221 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42222 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42223 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42224 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42225 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42226 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42227 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42228 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42229 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42230 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42231 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42232 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42233 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42234 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42235 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42236 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42237 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42238 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42239 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42240 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42241 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42242 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42243 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42244 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42245 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42246 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42247 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42248 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42249 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42250 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42251 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42252 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42253 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42254 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42255 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42256 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42257 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42258 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42259 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42260 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42261 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42262 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42263 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42264 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42265 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42266 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42267 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42268 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42269 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42270 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42271 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42272 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42273 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42274 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42275 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42276 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42277 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42278 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42279 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42280 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42281 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42282 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42283 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42284 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42285 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42286 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42287 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42288 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42289 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42290 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42291 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42292 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42293 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42294 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42295 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42296 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42297 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42298 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42299 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42300 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42301 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42302 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42303 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42304 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42305 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42306 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42307 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42308 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42309 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42310 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42311 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42312 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42313 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42314 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42315 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42316 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42317 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42318 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42319 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42320 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42321 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42322 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42323 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42324 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42325 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42326 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42327 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42328 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42329 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42330 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42331 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42332 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42333 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42334 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42335 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42336 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42337 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42338 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42339 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42340 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42341 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42342 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42343 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42344 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42345 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42346 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42347 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42348 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42349 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42350 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42351 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42352 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42353 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42354 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42355 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42356 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42357 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42358 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42359 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42360 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42361 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42362 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42363 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42364 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42365 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42366 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42367 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42368 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42369 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42370 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42371 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42372 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42373 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42374 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42375 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42376 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42377 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42378 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42379 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42380 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42381 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42382 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42383 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42384 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42385 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42386 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42387 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42388 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42389 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42390 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42391 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42392 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42393 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42394 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42395 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42396 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42397 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42398 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42399 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42400 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42401 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42402 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42403 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42404 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42405 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42406 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42407 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42408 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42409 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42410 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42411 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42412 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42413 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42414 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42415 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42416 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42417 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42418 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42419 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42420 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42421 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42422 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42423 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42424 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42425 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42426 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42427 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42428 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42429 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42430 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42431 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42432 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42433 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42434 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42435 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42436 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42437 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42438 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42439 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42440 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42441 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42442 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42443 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42444 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42445 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42446 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42447 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42448 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42449 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42450 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42451 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42452 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42453 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42454 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42455 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42456 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42457 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42458 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42459 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42460 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42461 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42462 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42463 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42464 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42465 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42466 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42467 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42468 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42469 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42470 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42471 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42472 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42473 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42474 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42475 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42476 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42477 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42478 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42479 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42480 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42481 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42482 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42483 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42484 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42485 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42486 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42487 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42488 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42489 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42490 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42491 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42492 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42493 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42494 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42495 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42496 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42497 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42498 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42499 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42500 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42501 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42502 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42503 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42504 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42505 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42506 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42507 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42508 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42509 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42510 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42511 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42512 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42513 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42514 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42515 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42516 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42517 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42518 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42519 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42520 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42521 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42522 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42523 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42524 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42525 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42526 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42527 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42528 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42529 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42530 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42531 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42532 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42533 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42534 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42535 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42536 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42537 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42538 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42539 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42540 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42541 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42542 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42543 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42544 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42545 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42546 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42547 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42548 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42549 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42550 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42551 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42552 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42553 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42554 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42555 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42556 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42557 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42558 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42559 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42560 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42561 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42562 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42563 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42564 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42565 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42566 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42567 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42568 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42569 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42570 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42571 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42572 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42573 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42574 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42575 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42576 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42577 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42578 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42579 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42580 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42581 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42582 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42583 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42584 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42585 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42586 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42587 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42588 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42589 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42590 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42591 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42592 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42593 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42594 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42595 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42596 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42597 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42598 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42599 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42600 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42601 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42602 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42603 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42604 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42605 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42606 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42607 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42608 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42609 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42610 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42611 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42612 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42613 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42614 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42615 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42616 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42617 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42618 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42619 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42620 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42621 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42622 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42623 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42624 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42625 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42626 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42627 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42628 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42629 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42630 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42631 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42632 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42633 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42634 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42635 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42636 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42637 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42638 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42639 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42640 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42641 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42642 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42643 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42644 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42645 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42646 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42647 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42648 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42649 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42650 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42651 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42652 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42653 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42654 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42655 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42656 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42657 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42658 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42659 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42660 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42661 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42662 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42663 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42664 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42665 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42666 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42667 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42668 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42669 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42670 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42671 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42672 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42673 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42674 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42675 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42676 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42677 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42678 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42679 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42680 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42681 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42682 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42683 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42684 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42685 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42686 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42687 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42688 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42689 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42690 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42691 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42692 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42693 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42694 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42695 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42696 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42697 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42698 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42699 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42700 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42701 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42702 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42703 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42704 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42705 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42706 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42707 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42708 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42709 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42710 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42711 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42712 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42713 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42714 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42715 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42716 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42717 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42718 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42719 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42720 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42721 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42722 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42723 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42724 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42725 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42726 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42727 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42728 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42729 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42730 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42731 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42732 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42733 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42734 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42735 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42736 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42737 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42738 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42739 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42740 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42741 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42742 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42743 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42744 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42745 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42747 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42750 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42752 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42753 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42754 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42755 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42756 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42757 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42758 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42759 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42760 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42761 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42762 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42763 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42764 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42765 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42766 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42767 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42768 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42769 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42770 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42771 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42772 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42773 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42774 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42775 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42776 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42777 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42778 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42779 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42780 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42781 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42782 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42783 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42784 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42785 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42786 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42787 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42788 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42789 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42790 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42791 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42792 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42793 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42794 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42795 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42796 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42797 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42798 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42799 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42800 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42801 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42802 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42803 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42804 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42805 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42806 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42807 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42808 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42809 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42810 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42811 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42812 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42813 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42814 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42815 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42816 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42817 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42818 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42819 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42820 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42821 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42822 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42823 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42824 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42825 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42826 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42827 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42828 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42829 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42830 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42831 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42832 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42833 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42834 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42835 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42836 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42837 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42838 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42839 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42840 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42841 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42842 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42843 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42844 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42845 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42846 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42847 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42848 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42849 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42850 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42851 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42852 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42853 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42854 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42855 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42856 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42857 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42858 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42859 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42860 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42861 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42862 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42863 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42864 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42865 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42866 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42867 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42868 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42869 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42870 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42871 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42872 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42873 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42874 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42875 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42876 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42877 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42878 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42879 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42880 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42881 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42882 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42883 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42884 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42885 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42886 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42887 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42888 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42889 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42890 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42891 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42892 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42893 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42894 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42895 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42896 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42897 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42898 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42899 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42900 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42901 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42902 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42903 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42904 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42905 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42906 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
42907 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42908 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42909 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42910 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42911 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42912 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42913 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42914 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42915 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42916 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42917 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42918 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42919 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42920 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42921 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42922 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42923 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42924 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42925 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42926 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42927 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42928 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42929 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42930 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42931 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42933 // Initialize threading, some globals and such
42937 // Although these are defined in __version__ they need to be here too so
42938 // that an assert can be done to ensure that the wxPython and the wxWindows
42940 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42941 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42942 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));