1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210 #define SWIGTYPE_p_wxRealPoint swig_types[1]
211 #define SWIGTYPE_p_wxSizerItem swig_types[2]
212 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
214 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215 #define SWIGTYPE_p_wxSizer swig_types[6]
216 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
217 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221 #define SWIGTYPE_p_wxMenu swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 #define SWIGTYPE_p_wxGridSizer swig_types[14]
224 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226 #define SWIGTYPE_p_wxItemContainer swig_types[17]
227 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
229 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxFont swig_types[25]
235 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237 #define SWIGTYPE_p_wxFSFile swig_types[28]
238 #define SWIGTYPE_p_wxCaret swig_types[29]
239 #define SWIGTYPE_p_wxRegion swig_types[30]
240 #define SWIGTYPE_p_wxPoint2D swig_types[31]
241 #define SWIGTYPE_p_int swig_types[32]
242 #define SWIGTYPE_p_wxSize swig_types[33]
243 #define SWIGTYPE_p_wxDC swig_types[34]
244 #define SWIGTYPE_p_wxPySizer swig_types[35]
245 #define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246 #define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyEvent swig_types[38]
248 #define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249 #define SWIGTYPE_p_wxAppTraits swig_types[40]
250 #define SWIGTYPE_p_wxArrayString swig_types[41]
251 #define SWIGTYPE_p_wxShowEvent swig_types[42]
252 #define SWIGTYPE_p_wxToolTip swig_types[43]
253 #define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
256 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
257 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
258 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260 #define SWIGTYPE_p_wxIdleEvent swig_types[51]
261 #define SWIGTYPE_p_wxMenuItem swig_types[52]
262 #define SWIGTYPE_p_wxStaticBox swig_types[53]
263 #define SWIGTYPE_p_long swig_types[54]
264 #define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265 #define SWIGTYPE_p_wxXPMHandler swig_types[56]
266 #define SWIGTYPE_p_wxPNMHandler swig_types[57]
267 #define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268 #define SWIGTYPE_p_wxPCXHandler swig_types[59]
269 #define SWIGTYPE_p_wxGIFHandler swig_types[60]
270 #define SWIGTYPE_p_wxPNGHandler swig_types[61]
271 #define SWIGTYPE_p_wxANIHandler swig_types[62]
272 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
274 #define SWIGTYPE_p_wxCURHandler swig_types[65]
275 #define SWIGTYPE_p_wxICOHandler swig_types[66]
276 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
277 #define SWIGTYPE_p_wxImageHandler swig_types[68]
278 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282 #define SWIGTYPE_p_wxRect swig_types[73]
283 #define SWIGTYPE_p_wxGBSpan swig_types[74]
284 #define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285 #define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286 #define SWIGTYPE_p_char swig_types[77]
287 #define SWIGTYPE_p_wxGBPosition swig_types[78]
288 #define SWIGTYPE_p_wxImage swig_types[79]
289 #define SWIGTYPE_p_wxFrame swig_types[80]
290 #define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291 #define SWIGTYPE_p_wxImageHistogram swig_types[82]
292 #define SWIGTYPE_p_byte swig_types[83]
293 #define SWIGTYPE_p_wxPoint swig_types[84]
294 #define SWIGTYPE_p_wxCursor swig_types[85]
295 #define SWIGTYPE_p_wxObject swig_types[86]
296 #define SWIGTYPE_p_wxPyInputStream swig_types[87]
297 #define SWIGTYPE_p_wxOutputStream swig_types[88]
298 #define SWIGTYPE_p_wxInputStream swig_types[89]
299 #define SWIGTYPE_p_wxDateTime swig_types[90]
300 #define SWIGTYPE_p_wxKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303 #define SWIGTYPE_p_wxWindow swig_types[94]
304 #define SWIGTYPE_p_wxMenuBar swig_types[95]
305 #define SWIGTYPE_p_wxFileSystem swig_types[96]
306 #define SWIGTYPE_p_wxBitmap swig_types[97]
307 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
308 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309 #define SWIGTYPE_p_unsigned_char swig_types[100]
310 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
311 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
312 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
313 #define SWIGTYPE_p_wxPyApp swig_types[104]
314 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317 #define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxFocusEvent swig_types[109]
319 #define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320 #define SWIGTYPE_p_wxControlWithItems swig_types[111]
321 #define SWIGTYPE_p_wxColour swig_types[112]
322 #define SWIGTYPE_p_wxValidator swig_types[113]
323 #define SWIGTYPE_p_wxPyValidator swig_types[114]
324 static swig_type_info
*swig_types
[116];
326 /* -------- TYPES TABLE (END) -------- */
329 /*-----------------------------------------------
330 @(target):= _core_.so
331 ------------------------------------------------*/
332 #define SWIG_init init_core_
334 #define SWIG_name "_core_"
336 /* Auxiliar swig macros */
339 #define SWIGSTATICINLINE(a) static inline a
340 #define SWIGSTATIC(a) static a
341 #define swig_new_array(type, size) (new type[(size)])
342 #define swig_delete_array(cptr) delete[] cptr
343 #define swig_const_cast(type,a) const_cast<type>(a)
344 #define swig_static_cast(type,a) static_cast<type>(a)
345 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
347 #ifdef HAVE_NUMERIC_CAST
348 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
350 #define swig_numeric_cast(type,a) static_cast<type>(a)
355 #define SWIGSTATICINLINE(a) static a
356 #define SWIGSTATIC(a) static a
357 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358 #define swig_delete_array(cptr) free((char*)cptr)
359 #define swig_const_cast(type,a) (type)(a)
360 #define swig_static_cast(type,a) (type)(a)
361 #define swig_reinterpret_cast(type,a) (type)(a)
362 #define swig_numeric_cast(type,a) (type)(a)
364 #endif /* __cplusplus */
367 #define SWIG_FromSignedChar PyInt_FromLong
368 #define SWIG_FromUnsignedChar PyInt_FromLong
369 #define SWIG_FromShort PyInt_FromLong
370 #define SWIG_FromUnsignedShort PyInt_FromLong
371 #define SWIG_FromInt PyInt_FromLong
372 #define SWIG_FromLong PyInt_FromLong
373 #define SWIG_FromFloat PyFloat_FromDouble
374 #define SWIG_FromDouble PyFloat_FromDouble
375 #define SWIG_FromFloat PyFloat_FromDouble
376 #define SWIG_FromDouble PyFloat_FromDouble
379 #include "wx/wxPython/wxPython_int.h"
380 #include "wx/wxPython/pyclasses.h"
383 #ifndef wxPyUSE_EXPORT
384 // Helper functions for dealing with SWIG objects and such. These are
385 // located here so they know about the SWIG types and functions declared
386 // in the wrapper code.
388 #include <wx/hashmap.h>
389 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
392 // Maintains a hashmap of className to swig_type_info pointers. Given the
393 // name of a class either looks up the type info in the cache, or scans the
394 // SWIG tables for it.
395 extern PyObject
* wxPyPtrTypeMap
;
397 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
399 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
401 if (typeInfoCache
== NULL
)
402 typeInfoCache
= new wxPyTypeInfoHashMap
;
404 wxString
name(className
);
405 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
408 // it wasn't in the cache, so look it up from SWIG
409 name
.Append(wxT(" *"));
410 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
412 // if it still wasn't found, try looking for a mapped name
417 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
418 (char*)(const char*)name
.mbc_str())) != NULL
) {
419 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
420 name
.Append(wxT(" *"));
421 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
425 // and add it to the map if found
426 (*typeInfoCache
)[className
] = swigType
;
433 // Check if a class name is a type known to SWIG
434 bool wxPyCheckSwigType(const wxChar
* className
) {
436 swig_type_info
* swigType
= wxPyFindSwigType(className
);
437 return swigType
!= NULL
;
441 // Given a pointer to a C++ object and a class name, construct a Python proxy
443 PyObject
* wxPyConstructObject(void* ptr
,
444 const wxChar
* className
,
447 swig_type_info
* swigType
= wxPyFindSwigType(className
);
448 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
450 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
454 // Extract a pointer to the wrapped C++ object from a Python proxy object.
455 // Ensures that the proxy object is of the specified (or derived) type. If
456 // not able to perform the conversion then a Python exception is set and the
457 // error should be handled properly in the caller. Returns True on success.
458 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
459 const wxChar
* className
) {
461 swig_type_info
* swigType
= wxPyFindSwigType(className
);
462 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
464 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
468 // Make a SWIGified pointer object suitable for a .this attribute
469 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
471 PyObject
* robj
= NULL
;
473 swig_type_info
* swigType
= wxPyFindSwigType(className
);
474 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
476 #ifdef SWIG_COBJECT_TYPES
477 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
483 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
484 strcpy(r
, swigType
->name
);
485 robj
= PyString_FromString(result
);
495 // Export a C API in a struct. Other modules will be able to load this from
496 // the wx._core_ module and will then have safe access to these functions,
497 // even if they are located in another shared library.
498 static wxPyCoreAPI API
= {
500 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
501 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
502 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
503 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
504 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
505 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
506 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
507 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
508 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
509 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
510 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
511 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
512 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
513 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
514 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
515 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
516 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
523 wxPyBeginAllowThreads
,
525 wxPyBeginBlockThreads
,
539 wxBitmap_LIST_helper
,
540 wxString_LIST_helper
,
541 wxAcceleratorEntry_LIST_helper
,
550 wxPySimple_typecheck
,
553 wxPyCBH_setCallbackInfo
,
554 wxPyCBH_findCallback
,
555 wxPyCBH_callCallback
,
556 wxPyCBH_callCallbackObj
,
564 wxArrayString2PyList_helper
,
565 wxArrayInt2PyList_helper
,
569 wxPyOORClientData_dtor
,
571 wxPyCBInputStream_create
,
574 wxPySwigInstance_Check
,
584 enum wxHotkeyModifier
592 #define wxEVT_HOTKEY 9999
595 static const wxString
wxPyEmptyString(wxEmptyString
);
596 wxString
wxObject_GetClassName(wxObject
*self
){
597 return self
->GetClassInfo()->GetClassName();
599 void wxObject_Destroy(wxObject
*self
){
604 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
611 SWIGSTATICINLINE(long)
612 SWIG_CheckLongInRange(long value
, const char* type
,
613 long min_value
, long max_value
)
615 if (!PyErr_Occurred()) {
616 if (value
< min_value
) {
618 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
619 value
, type
, min_value
);
621 PyErr_SetObject(PyExc_OverflowError
, err
);
623 } else if (value
> max_value
) {
625 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
626 value
, type
, max_value
);
627 PyErr_SetObject(PyExc_OverflowError
, err
);
635 SWIGSTATICINLINE(long)
636 SWIG_AsLong(PyObject
* obj
)
638 if (PyNumber_Check(obj
))
639 return PyInt_AsLong(obj
);
641 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
642 obj
->ob_type
->tp_name
);
643 PyErr_SetObject(PyExc_TypeError
, errmsg
);
650 #if INT_MAX != LONG_MAX
651 SWIGSTATICINLINE(int)
652 SWIG_AsInt(PyObject
*obj
)
654 return swig_numeric_cast(int,
655 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
656 "int", INT_MIN
, INT_MAX
));
659 #define SWIG_AsInt SWIG_AsLong
663 SWIGSTATICINLINE(int)
664 SWIG_CheckInt(PyObject
* obj
)
667 if (PyErr_Occurred()) {
675 PyObject
*wxSize_Get(wxSize
*self
){
676 bool blocked
= wxPyBeginBlockThreads();
677 PyObject
* tup
= PyTuple_New(2);
678 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
679 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
680 wxPyEndBlockThreads(blocked
);
684 SWIGSTATICINLINE(double)
685 SWIG_AsDouble(PyObject
*obj
)
687 if (PyNumber_Check(obj
))
688 return PyFloat_AsDouble(obj
);
690 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
691 obj
->ob_type
->tp_name
);
692 PyErr_SetObject(PyExc_TypeError
, errmsg
);
699 SWIGSTATICINLINE(int)
700 SWIG_CheckDouble(PyObject
* obj
)
703 if (PyErr_Occurred()) {
711 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
715 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
716 bool blocked
= wxPyBeginBlockThreads();
717 PyObject
* tup
= PyTuple_New(2);
718 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
719 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
720 wxPyEndBlockThreads(blocked
);
724 SWIGSTATICINLINE(int)
725 SWIG_CheckLong(PyObject
* obj
)
728 if (PyErr_Occurred()) {
736 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
740 PyObject
*wxPoint_Get(wxPoint
*self
){
741 bool blocked
= wxPyBeginBlockThreads();
742 PyObject
* tup
= PyTuple_New(2);
743 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
744 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
745 wxPyEndBlockThreads(blocked
);
748 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
752 self
->height
= height
;
754 PyObject
*wxRect_Get(wxRect
*self
){
755 bool blocked
= wxPyBeginBlockThreads();
756 PyObject
* tup
= PyTuple_New(4);
757 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
758 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
759 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
760 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
761 wxPyEndBlockThreads(blocked
);
765 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
768 wxRect
dest(0,0,0,0);
771 reg1
.Intersect(reg2
);
772 dest
= reg1
.GetBox();
774 if (dest
!= wxRect(0,0,0,0)) {
775 bool blocked
= wxPyBeginBlockThreads();
776 wxRect
* newRect
= new wxRect(dest
);
777 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
778 wxPyEndBlockThreads(blocked
);
786 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
792 } else if (target
== Py_None
) {
796 if (!PyTuple_Check(target
)) {
798 target
= PyTuple_New(1);
799 PyTuple_SetItem(target
, 0, o2
);
802 PyTuple_SetItem(o3
, 0, o
);
805 target
= PySequence_Concat(o2
, o3
);
812 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
816 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
817 bool blocked
= wxPyBeginBlockThreads();
818 PyObject
* tup
= PyTuple_New(2);
819 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
820 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
821 wxPyEndBlockThreads(blocked
);
825 #include "wx/wxPython/pyistream.h"
827 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
828 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
830 return new wxPyInputStream(wxis
);
835 SWIGSTATICINLINE(PyObject
*)
836 SWIG_FromChar(char c
)
838 return PyString_FromStringAndSize(&c
,1);
842 SWIGSTATICINLINE(PyObject
* )
843 SWIG_FromUnsignedLong(unsigned long value
)
845 return (value
> LONG_MAX
) ?
846 PyLong_FromUnsignedLong(value
)
847 : PyInt_FromLong(swig_numeric_cast(long,value
));
851 /* returns '1' if the input is a raw char*, '0' if is a PyString */
853 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
855 static swig_type_info
* pchar_info
= 0;
857 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
859 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
861 PyString_AsStringAndSize(obj
, cptr
, &psize
);
862 if (PyErr_Occurred()) {
864 PyErr_SetString(PyExc_TypeError
,"a string is expected");
866 if (size
) *size
= psize
;
869 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
876 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
878 char* cptr
; size_t csize
;
879 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
880 if (PyErr_Occurred()) {
883 PyString_FromFormat("a char array of size %d is expected", size
);
884 PyErr_SetObject(PyExc_TypeError
, err
);
887 /* in C (but not in C++) you can do:
891 ie, assing the array using an extra '0' char.
894 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
898 PyString_FromFormat("a char array of maximum size %d is expected",
900 PyErr_SetObject(PyExc_TypeError
, err
);
903 if (csize
) memcpy(carray
, cptr
, csize
);
904 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
910 SWIGSTATICINLINE(char)
911 SWIG_AsChar(PyObject
*obj
)
914 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
915 c
= swig_numeric_cast(char,
916 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
917 "char", CHAR_MIN
, CHAR_MAX
));
919 SWIG_AsCharArray(obj
, &c
, 1);
920 if (PyErr_Occurred()) {
922 PyErr_SetString(PyExc_TypeError
, "a char is expected");
929 SWIGSTATICINLINE(int)
930 SWIG_CheckChar(PyObject
* obj
)
933 if (PyErr_Occurred()) {
941 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
942 // We use only strings for the streams, not unicode
943 PyObject
* str
= PyObject_Str(obj
);
945 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
948 self
->Write(PyString_AS_STRING(str
),
949 PyString_GET_SIZE(str
));
953 #include "wx/wxPython/pyistream.h"
956 class wxPyFileSystemHandler
: public wxFileSystemHandler
959 wxPyFileSystemHandler() : wxFileSystemHandler() {}
961 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
962 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
963 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
964 DEC_PYCALLBACK_STRING__pure(FindNext
);
966 wxString
GetProtocol(const wxString
& location
) {
967 return wxFileSystemHandler::GetProtocol(location
);
970 wxString
GetLeftLocation(const wxString
& location
) {
971 return wxFileSystemHandler::GetLeftLocation(location
);
974 wxString
GetAnchor(const wxString
& location
) {
975 return wxFileSystemHandler::GetAnchor(location
);
978 wxString
GetRightLocation(const wxString
& location
) {
979 return wxFileSystemHandler::GetRightLocation(location
);
982 wxString
GetMimeTypeFromExt(const wxString
& location
) {
983 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
990 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
991 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
992 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
993 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
996 SWIGSTATICINLINE(bool)
997 SWIG_AsBool(PyObject
*obj
)
999 return PyObject_IsTrue(obj
) ? true : false;
1003 SWIGSTATICINLINE(int)
1004 SWIG_CheckBool(PyObject
* obj
)
1007 if (PyErr_Occurred()) {
1016 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1017 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1018 return fname
.GetFullPath();
1022 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1025 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1028 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1029 const wxBitmap
& bitmap
,
1031 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1034 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1036 wxMemoryFSHandler::AddFile(filename
,
1037 // TODO: Verify data type
1038 (void*)PyString_AsString(data
),
1039 (size_t)PyString_Size(data
));
1043 #include "wx/wxPython/pyistream.h"
1046 SWIGSTATICINLINE(unsigned long)
1047 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1048 unsigned long max_value
)
1050 if (!PyErr_Occurred()) {
1051 if (value
> max_value
) {
1053 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1054 value
, type
, max_value
);
1055 PyErr_SetObject(PyExc_OverflowError
, err
);
1063 SWIGSTATICINLINE(unsigned long)
1064 SWIG_AsUnsignedLong(PyObject
* obj
)
1066 if (PyLong_Check(obj
)) {
1067 return PyLong_AsUnsignedLong(obj
);
1069 long i
= SWIG_AsLong(obj
);
1070 if ( !PyErr_Occurred() && (i
< 0)) {
1071 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1078 SWIGSTATICINLINE(unsigned char)
1079 SWIG_AsUnsignedChar(PyObject
*obj
)
1081 return swig_numeric_cast(unsigned char,
1082 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1083 "unsigned char", UCHAR_MAX
));
1087 SWIGSTATICINLINE(int)
1088 SWIG_CheckUnsignedChar(PyObject
* obj
)
1090 SWIG_AsUnsignedChar(obj
);
1091 if (PyErr_Occurred()) {
1099 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1100 if (width
> 0 && height
> 0)
1101 return new wxImage(width
, height
, clear
);
1105 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1106 return new wxImage(bitmap
.ConvertToImage());
1108 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1109 // Copy the source data so the wxImage can clean it up later
1110 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1115 memcpy(copy
, data
, width
*height
*3);
1116 return new wxImage(width
, height
, copy
, False
);
1118 wxSize
wxImage_GetSize(wxImage
*self
){
1119 wxSize
size(self
->GetWidth(), self
->GetHeight());
1122 PyObject
*wxImage_GetData(wxImage
*self
){
1123 unsigned char* data
= self
->GetData();
1124 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1126 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1129 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1130 unsigned char* dataPtr
;
1132 if (! PyString_Check(data
)) {
1133 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1137 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1138 dataPtr
= (unsigned char*) malloc(len
);
1139 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1140 self
->SetData(dataPtr
);
1141 // wxImage takes ownership of dataPtr...
1143 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1144 unsigned char* data
= self
->GetData();
1145 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1147 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1150 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1151 unsigned char* buffer
;
1154 bool blocked
= wxPyBeginBlockThreads();
1155 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1158 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1159 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1162 self
->SetData(buffer
);
1164 wxPyEndBlockThreads(blocked
);
1166 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1167 unsigned char* data
= self
->GetAlpha();
1171 int len
= self
->GetWidth() * self
->GetHeight();
1173 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1177 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1178 unsigned char* dataPtr
;
1180 if (! PyString_Check(data
)) {
1181 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1185 size_t len
= self
->GetWidth() * self
->GetHeight();
1186 dataPtr
= (unsigned char*) malloc(len
);
1187 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1188 self
->SetAlpha(dataPtr
);
1189 // wxImage takes ownership of dataPtr...
1191 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1192 unsigned char* data
= self
->GetAlpha();
1193 int len
= self
->GetWidth() * self
->GetHeight();
1195 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1198 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1199 unsigned char* buffer
;
1202 bool blocked
= wxPyBeginBlockThreads();
1203 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1206 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1207 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1210 self
->SetAlpha(buffer
);
1212 wxPyEndBlockThreads(blocked
);
1215 SWIGSTATICINLINE(int)
1216 SWIG_CheckUnsignedLong(PyObject
* obj
)
1218 SWIG_AsUnsignedLong(obj
);
1219 if (PyErr_Occurred()) {
1227 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1228 wxBitmap
bitmap(*self
);
1231 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1232 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1233 wxBitmap
bitmap( mono
, 1 );
1236 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1237 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1238 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1239 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1240 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1241 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1242 if (PyCallable_Check(func
)) {
1243 self
->Connect(id
, lastId
, eventType
,
1244 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1245 new wxPyCallback(func
));
1247 else if (func
== Py_None
) {
1248 self
->Disconnect(id
, lastId
, eventType
,
1249 (wxObjectEventFunction
)
1250 &wxPyCallback::EventThunker
);
1254 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1257 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1258 return self
->Disconnect(id
, lastId
, eventType
,
1259 (wxObjectEventFunction
)
1260 &wxPyCallback::EventThunker
);
1262 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1263 if (_self
&& _self
!= Py_None
) {
1264 self
->SetClientObject(new wxPyOORClientData(_self
));
1267 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1269 self
->SetClientObject(NULL
); // This will delete it too
1273 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1275 return self
->m_uniChar
;
1281 #if UINT_MAX < LONG_MAX
1282 #define SWIG_FromUnsignedInt SWIG_FromLong
1284 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1288 #if UINT_MAX != ULONG_MAX
1289 SWIGSTATICINLINE(unsigned int)
1290 SWIG_AsUnsignedInt(PyObject
*obj
)
1292 return swig_numeric_cast(unsigned int,
1293 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1294 "unsigned int", UINT_MAX
));
1297 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1301 SWIGSTATICINLINE(int)
1302 SWIG_CheckUnsignedInt(PyObject
* obj
)
1304 SWIG_AsUnsignedInt(obj
);
1305 if (PyErr_Occurred()) {
1313 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1314 self
->m_size
= size
;
1316 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1319 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1320 int count
= self
->GetNumberOfFiles();
1321 wxString
* files
= self
->GetFiles();
1322 PyObject
* list
= PyList_New(count
);
1325 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1329 for (int i
=0; i
<count
; i
++) {
1330 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1336 wxPyApp
*new_wxPyApp(){
1337 wxPythonApp
= new wxPyApp();
1341 void wxApp_CleanUp() {
1346 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1350 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1351 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1352 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1353 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1354 wxWindowList
& list
= self
->GetChildren();
1355 return wxPy_ConvertList(&list
);
1357 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1359 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1364 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1371 long wxWindow_GetHandle(wxWindow
*self
){
1372 return wxPyGetWinHandle(self
);
1375 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1376 return wxWindow::FindWindowById(id
, parent
);
1379 wxWindow
* wxFindWindowByName( const wxString
& name
,
1380 const wxWindow
*parent
= NULL
) {
1381 return wxWindow::FindWindowByName(name
, parent
);
1384 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1385 const wxWindow
*parent
= NULL
) {
1386 return wxWindow::FindWindowByLabel(label
, parent
);
1391 #include <wx/msw/private.h> // to get wxGetWindowId
1395 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1397 WXHWND hWnd
= (WXHWND
)_hWnd
;
1398 long id
= wxGetWindowId(hWnd
);
1399 wxWindow
* win
= new wxWindow
;
1400 parent
->AddChild(win
);
1401 win
->SetEventHandler(win
);
1404 win
->SubclassWin(hWnd
);
1405 win
->AdoptAttributesFromHWND();
1406 win
->SetupColours();
1409 wxPyRaiseNotImplemented();
1415 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1416 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1419 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1421 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1422 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1423 wxMenuItemList
& list
= self
->GetMenuItems();
1424 return wxPy_ConvertList(&list
);
1426 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1427 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1429 wxPyClientData
* data
= new wxPyClientData(clientData
);
1430 return self
->Append(item
, data
);
1432 return self
->Append(item
);
1434 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1436 wxPyClientData
* data
= new wxPyClientData(clientData
);
1437 return self
->Insert(item
, pos
, data
);
1439 return self
->Insert(item
, pos
);
1441 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1442 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1444 Py_INCREF(data
->m_obj
);
1451 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1452 wxPyClientData
* data
= new wxPyClientData(clientData
);
1453 self
->SetClientObject(n
, data
);
1461 SWIG_FloatCast(double value
)
1464 if (!PyErr_Occurred()) {
1465 if (value
< FLT_MIN
) {
1467 PyString_FromFormat("value %g is less than float minimum %g",
1469 PyErr_SetObject(PyExc_OverflowError
, err
);
1471 } else if (value
> FLT_MAX
) {
1473 PyString_FromFormat("value %g is greater than float maximum %g",
1475 PyErr_SetObject(PyExc_OverflowError
, err
);
1478 f
= swig_numeric_cast(float, value
);
1485 SWIGSTATICINLINE(float)
1486 SWIG_AsFloat(PyObject
*obj
)
1488 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1492 SWIGSTATICINLINE(int)
1493 SWIG_CheckFloat(PyObject
* obj
)
1496 if (PyErr_Occurred()) {
1504 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1505 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1507 Py_INCREF(data
->m_obj
);
1515 // Figure out the type of the sizer item
1517 struct wxPySizerItemInfo
{
1519 : window(NULL
), sizer(NULL
), gotSize(False
),
1520 size(wxDefaultSize
), gotPos(False
), pos(-1)
1531 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1533 wxPySizerItemInfo info
;
1535 wxSize
* sizePtr
= &size
;
1537 // Find out what the type of the item is
1539 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1544 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1548 // try wxSize or (w,h)
1549 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1550 info
.size
= *sizePtr
;
1551 info
.gotSize
= True
;
1555 if (checkIdx
&& PyInt_Check(item
)) {
1556 info
.pos
= PyInt_AsLong(item
);
1562 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1563 // no expected type, figure out what kind of error message to generate
1564 if ( !checkSize
&& !checkIdx
)
1565 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1566 else if ( checkSize
&& !checkIdx
)
1567 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1568 else if ( !checkSize
&& checkIdx
)
1569 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1571 // can this one happen?
1572 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1578 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1579 self
->SetClientObject(new wxPyOORClientData(_self
));
1581 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1583 wxPyUserData
* data
= NULL
;
1584 bool blocked
= wxPyBeginBlockThreads();
1585 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1586 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1587 data
= new wxPyUserData(userData
);
1588 wxPyEndBlockThreads(blocked
);
1590 // Now call the real Add method if a valid item type was found
1592 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1593 else if ( info
.sizer
)
1594 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1595 else if (info
.gotSize
)
1596 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1597 proportion
, flag
, border
, data
);
1599 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1601 wxPyUserData
* data
= NULL
;
1602 bool blocked
= wxPyBeginBlockThreads();
1603 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1604 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1605 data
= new wxPyUserData(userData
);
1606 wxPyEndBlockThreads(blocked
);
1608 // Now call the real Insert method if a valid item type was found
1610 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1611 else if ( info
.sizer
)
1612 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1613 else if (info
.gotSize
)
1614 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1615 proportion
, flag
, border
, data
);
1617 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1619 wxPyUserData
* data
= NULL
;
1620 bool blocked
= wxPyBeginBlockThreads();
1621 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1622 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1623 data
= new wxPyUserData(userData
);
1624 wxPyEndBlockThreads(blocked
);
1626 // Now call the real Prepend method if a valid item type was found
1628 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1629 else if ( info
.sizer
)
1630 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1631 else if (info
.gotSize
)
1632 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1633 proportion
, flag
, border
, data
);
1635 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1636 bool blocked
= wxPyBeginBlockThreads();
1637 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1638 wxPyEndBlockThreads(blocked
);
1640 return self
->Remove(info
.window
);
1641 else if ( info
.sizer
)
1642 return self
->Remove(info
.sizer
);
1643 else if ( info
.gotPos
)
1644 return self
->Remove(info
.pos
);
1648 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1649 bool blocked
= wxPyBeginBlockThreads();
1650 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1651 wxPyEndBlockThreads(blocked
);
1653 return self
->Detach(info
.window
);
1654 else if ( info
.sizer
)
1655 return self
->Detach(info
.sizer
);
1656 else if ( info
.gotPos
)
1657 return self
->Detach(info
.pos
);
1661 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1662 bool blocked
= wxPyBeginBlockThreads();
1663 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1664 wxPyEndBlockThreads(blocked
);
1666 self
->SetItemMinSize(info
.window
, size
);
1667 else if ( info
.sizer
)
1668 self
->SetItemMinSize(info
.sizer
, size
);
1669 else if ( info
.gotPos
)
1670 self
->SetItemMinSize(info
.pos
, size
);
1672 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1673 wxSizerItemList
& list
= self
->GetChildren();
1674 return wxPy_ConvertList(&list
);
1676 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1677 bool blocked
= wxPyBeginBlockThreads();
1678 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1679 wxPyEndBlockThreads(blocked
);
1681 self
->Show(info
.window
, show
);
1682 else if ( info
.sizer
)
1683 self
->Show(info
.sizer
, show
);
1685 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1686 bool blocked
= wxPyBeginBlockThreads();
1687 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1688 wxPyEndBlockThreads(blocked
);
1690 self
->Hide(info
.window
);
1691 else if ( info
.sizer
)
1692 self
->Hide(info
.sizer
);
1694 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1695 bool blocked
= wxPyBeginBlockThreads();
1696 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1697 wxPyEndBlockThreads(blocked
);
1699 return self
->IsShown(info
.window
);
1700 else if ( info
.sizer
)
1701 return self
->IsShown(info
.sizer
);
1707 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1708 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1709 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1714 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1716 if (source
== Py_None
) {
1717 **obj
= wxGBPosition(-1,-1);
1720 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1723 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1725 if (source
== Py_None
) {
1726 **obj
= wxGBSpan(-1,-1);
1729 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1733 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1737 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1738 bool blocked
= wxPyBeginBlockThreads();
1739 PyObject
* tup
= PyTuple_New(2);
1740 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1741 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1742 wxPyEndBlockThreads(blocked
);
1745 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1746 self
->SetRowspan(rowspan
);
1747 self
->SetColspan(colspan
);
1749 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1750 bool blocked
= wxPyBeginBlockThreads();
1751 PyObject
* tup
= PyTuple_New(2);
1752 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1753 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1754 wxPyEndBlockThreads(blocked
);
1757 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1759 wxPyUserData
* data
= NULL
;
1760 bool blocked
= wxPyBeginBlockThreads();
1761 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1762 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1763 data
= new wxPyUserData(userData
);
1764 wxPyEndBlockThreads(blocked
);
1766 // Now call the real Add method if a valid item type was found
1768 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1769 else if ( info
.sizer
)
1770 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1771 else if (info
.gotSize
)
1772 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1773 pos
, span
, flag
, border
, data
);
1781 static int _wrap_EmptyString_set(PyObject
*_val
) {
1782 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1787 static PyObject
*_wrap_EmptyString_get() {
1792 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1794 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1801 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
*resultobj
;
1803 wxObject
*arg1
= (wxObject
*) 0 ;
1805 PyObject
* obj0
= 0 ;
1807 (char *) "self", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 result
= wxObject_GetClassName(arg1
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1833 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
*resultobj
;
1835 wxObject
*arg1
= (wxObject
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1838 (char *) "self", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 wxObject_Destroy(arg1
);
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1851 Py_INCREF(Py_None
); resultobj
= Py_None
;
1858 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1861 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1863 return Py_BuildValue((char *)"");
1865 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxSize
*arg1
= (wxSize
*) 0 ;
1869 PyObject
* obj0
= 0 ;
1870 PyObject
* obj1
= 0 ;
1872 (char *) "self",(char *) "x", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1878 arg2
= (int) SWIG_AsInt(obj1
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1880 if (arg1
) (arg1
)->x
= arg2
;
1882 Py_INCREF(Py_None
); resultobj
= Py_None
;
1889 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
*resultobj
;
1891 wxSize
*arg1
= (wxSize
*) 0 ;
1893 PyObject
* obj0
= 0 ;
1895 (char *) "self", NULL
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1901 result
= (int) ((arg1
)->x
);
1903 resultobj
= SWIG_FromInt((int)result
);
1910 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxSize
*arg1
= (wxSize
*) 0 ;
1914 PyObject
* obj0
= 0 ;
1915 PyObject
* obj1
= 0 ;
1917 (char *) "self",(char *) "y", NULL
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1923 arg2
= (int) SWIG_AsInt(obj1
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1925 if (arg1
) (arg1
)->y
= arg2
;
1927 Py_INCREF(Py_None
); resultobj
= Py_None
;
1934 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxSize
*arg1
= (wxSize
*) 0 ;
1938 PyObject
* obj0
= 0 ;
1940 (char *) "self", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1946 result
= (int) ((arg1
)->y
);
1948 resultobj
= SWIG_FromInt((int)result
);
1955 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
*resultobj
;
1957 int arg1
= (int) 0 ;
1958 int arg2
= (int) 0 ;
1960 PyObject
* obj0
= 0 ;
1961 PyObject
* obj1
= 0 ;
1963 (char *) "w",(char *) "h", NULL
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1968 arg1
= (int) SWIG_AsInt(obj0
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1972 arg2
= (int) SWIG_AsInt(obj1
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1989 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxSize
*arg1
= (wxSize
*) 0 ;
1992 PyObject
* obj0
= 0 ;
1994 (char *) "self", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 Py_INCREF(Py_None
); resultobj
= Py_None
;
2014 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxSize
*arg1
= (wxSize
*) 0 ;
2020 PyObject
* obj0
= 0 ;
2021 PyObject
* obj1
= 0 ;
2023 (char *) "self",(char *) "sz", NULL
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2031 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2049 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2051 wxSize
*arg1
= (wxSize
*) 0 ;
2055 PyObject
* obj0
= 0 ;
2056 PyObject
* obj1
= 0 ;
2058 (char *) "self",(char *) "sz", NULL
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2066 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) SWIG_fail
;
2076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2084 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
*resultobj
;
2086 wxSize
*arg1
= (wxSize
*) 0 ;
2090 PyObject
* obj0
= 0 ;
2091 PyObject
* obj1
= 0 ;
2093 (char *) "self",(char *) "sz", NULL
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2101 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2112 resultptr
= new wxSize((wxSize
&) result
);
2113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2121 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
*resultobj
;
2123 wxSize
*arg1
= (wxSize
*) 0 ;
2127 PyObject
* obj0
= 0 ;
2128 PyObject
* obj1
= 0 ;
2130 (char *) "self",(char *) "sz", NULL
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2138 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2142 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2149 resultptr
= new wxSize((wxSize
&) result
);
2150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2158 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
*resultobj
;
2160 wxSize
*arg1
= (wxSize
*) 0 ;
2163 PyObject
* obj0
= 0 ;
2164 PyObject
* obj1
= 0 ;
2166 (char *) "self",(char *) "sz", NULL
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2174 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 (arg1
)->IncTo((wxSize
const &)*arg2
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2183 Py_INCREF(Py_None
); resultobj
= Py_None
;
2190 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxSize
*arg1
= (wxSize
*) 0 ;
2195 PyObject
* obj0
= 0 ;
2196 PyObject
* obj1
= 0 ;
2198 (char *) "self",(char *) "sz", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2206 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 (arg1
)->DecTo((wxSize
const &)*arg2
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2215 Py_INCREF(Py_None
); resultobj
= Py_None
;
2222 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxSize
*arg1
= (wxSize
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2228 PyObject
* obj1
= 0 ;
2229 PyObject
* obj2
= 0 ;
2231 (char *) "self",(char *) "w",(char *) "h", NULL
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2237 arg2
= (int) SWIG_AsInt(obj1
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2239 arg3
= (int) SWIG_AsInt(obj2
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 (arg1
)->Set(arg2
,arg3
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 Py_INCREF(Py_None
); resultobj
= Py_None
;
2255 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxSize
*arg1
= (wxSize
*) 0 ;
2259 PyObject
* obj0
= 0 ;
2260 PyObject
* obj1
= 0 ;
2262 (char *) "self",(char *) "w", NULL
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2268 arg2
= (int) SWIG_AsInt(obj1
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 (arg1
)->SetWidth(arg2
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 Py_INCREF(Py_None
); resultobj
= Py_None
;
2284 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxSize
*arg1
= (wxSize
*) 0 ;
2288 PyObject
* obj0
= 0 ;
2289 PyObject
* obj1
= 0 ;
2291 (char *) "self",(char *) "h", NULL
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2297 arg2
= (int) SWIG_AsInt(obj1
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 (arg1
)->SetHeight(arg2
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 Py_INCREF(Py_None
); resultobj
= Py_None
;
2313 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxSize
*arg1
= (wxSize
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2319 (char *) "self", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) SWIG_fail
;
2332 resultobj
= SWIG_FromInt((int)result
);
2339 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 wxSize
*arg1
= (wxSize
*) 0 ;
2343 PyObject
* obj0
= 0 ;
2345 (char *) "self", NULL
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2355 wxPyEndAllowThreads(__tstate
);
2356 if (PyErr_Occurred()) SWIG_fail
;
2358 resultobj
= SWIG_FromInt((int)result
);
2365 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
*resultobj
;
2367 wxSize
*arg1
= (wxSize
*) 0 ;
2369 PyObject
* obj0
= 0 ;
2371 (char *) "self", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2393 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxSize
*arg1
= (wxSize
*) 0 ;
2398 PyObject
* obj0
= 0 ;
2399 PyObject
* obj1
= 0 ;
2401 (char *) "self",(char *) "size", NULL
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2418 Py_INCREF(Py_None
); resultobj
= Py_None
;
2425 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2427 wxSize
*arg1
= (wxSize
*) 0 ;
2429 PyObject
* obj0
= 0 ;
2431 (char *) "self", NULL
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 result
= (PyObject
*)wxSize_Get(arg1
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2451 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2454 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2456 return Py_BuildValue((char *)"");
2458 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "self",(char *) "x", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 arg2
= (double) SWIG_AsDouble(obj1
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2473 if (arg1
) (arg1
)->x
= arg2
;
2475 Py_INCREF(Py_None
); resultobj
= Py_None
;
2482 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
*resultobj
;
2484 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2486 PyObject
* obj0
= 0 ;
2488 (char *) "self", NULL
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2494 result
= (double) ((arg1
)->x
);
2496 resultobj
= SWIG_FromDouble((double)result
);
2503 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
*resultobj
;
2505 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2510 (char *) "self",(char *) "y", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2516 arg2
= (double) SWIG_AsDouble(obj1
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2518 if (arg1
) (arg1
)->y
= arg2
;
2520 Py_INCREF(Py_None
); resultobj
= Py_None
;
2527 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2531 PyObject
* obj0
= 0 ;
2533 (char *) "self", NULL
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 result
= (double) ((arg1
)->y
);
2541 resultobj
= SWIG_FromDouble((double)result
);
2548 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 double arg1
= (double) 0.0 ;
2551 double arg2
= (double) 0.0 ;
2552 wxRealPoint
*result
;
2553 PyObject
* obj0
= 0 ;
2554 PyObject
* obj1
= 0 ;
2556 (char *) "x",(char *) "y", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2561 arg1
= (double) SWIG_AsDouble(obj0
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2565 arg2
= (double) SWIG_AsDouble(obj1
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2582 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2585 PyObject
* obj0
= 0 ;
2587 (char *) "self", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2600 Py_INCREF(Py_None
); resultobj
= Py_None
;
2607 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
*resultobj
;
2609 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2610 wxRealPoint
*arg2
= 0 ;
2613 PyObject
* obj0
= 0 ;
2614 PyObject
* obj1
= 0 ;
2616 (char *) "self",(char *) "pt", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2624 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2642 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2645 wxRealPoint
*arg2
= 0 ;
2648 PyObject
* obj0
= 0 ;
2649 PyObject
* obj1
= 0 ;
2651 (char *) "self",(char *) "pt", NULL
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2659 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2677 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
*resultobj
;
2679 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2680 wxRealPoint
*arg2
= 0 ;
2683 PyObject
* obj0
= 0 ;
2684 PyObject
* obj1
= 0 ;
2686 (char *) "self",(char *) "pt", NULL
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2700 wxPyEndAllowThreads(__tstate
);
2701 if (PyErr_Occurred()) SWIG_fail
;
2704 wxRealPoint
* resultptr
;
2705 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2714 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
*resultobj
;
2716 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2717 wxRealPoint
*arg2
= 0 ;
2720 PyObject
* obj0
= 0 ;
2721 PyObject
* obj1
= 0 ;
2723 (char *) "self",(char *) "pt", NULL
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2731 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2737 wxPyEndAllowThreads(__tstate
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2741 wxRealPoint
* resultptr
;
2742 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2751 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2757 PyObject
* obj1
= 0 ;
2758 PyObject
* obj2
= 0 ;
2760 (char *) "self",(char *) "x",(char *) "y", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 arg2
= (double) SWIG_AsDouble(obj1
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2768 arg3
= (double) SWIG_AsDouble(obj2
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 wxRealPoint_Set(arg1
,arg2
,arg3
);
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 Py_INCREF(Py_None
); resultobj
= Py_None
;
2784 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2786 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2788 PyObject
* obj0
= 0 ;
2790 (char *) "self", NULL
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2810 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2813 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2815 return Py_BuildValue((char *)"");
2817 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2819 wxPoint
*arg1
= (wxPoint
*) 0 ;
2821 PyObject
* obj0
= 0 ;
2822 PyObject
* obj1
= 0 ;
2824 (char *) "self",(char *) "x", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2830 arg2
= (int) SWIG_AsInt(obj1
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2832 if (arg1
) (arg1
)->x
= arg2
;
2834 Py_INCREF(Py_None
); resultobj
= Py_None
;
2841 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2843 wxPoint
*arg1
= (wxPoint
*) 0 ;
2845 PyObject
* obj0
= 0 ;
2847 (char *) "self", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2853 result
= (int) ((arg1
)->x
);
2855 resultobj
= SWIG_FromInt((int)result
);
2862 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxPoint
*arg1
= (wxPoint
*) 0 ;
2866 PyObject
* obj0
= 0 ;
2867 PyObject
* obj1
= 0 ;
2869 (char *) "self",(char *) "y", NULL
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2875 arg2
= (int) SWIG_AsInt(obj1
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2877 if (arg1
) (arg1
)->y
= arg2
;
2879 Py_INCREF(Py_None
); resultobj
= Py_None
;
2886 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2888 wxPoint
*arg1
= (wxPoint
*) 0 ;
2890 PyObject
* obj0
= 0 ;
2892 (char *) "self", NULL
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2898 result
= (int) ((arg1
)->y
);
2900 resultobj
= SWIG_FromInt((int)result
);
2907 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2909 int arg1
= (int) 0 ;
2910 int arg2
= (int) 0 ;
2912 PyObject
* obj0
= 0 ;
2913 PyObject
* obj1
= 0 ;
2915 (char *) "x",(char *) "y", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2920 arg1
= (int) SWIG_AsInt(obj0
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2924 arg2
= (int) SWIG_AsInt(obj1
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2941 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxPoint
*arg1
= (wxPoint
*) 0 ;
2944 PyObject
* obj0
= 0 ;
2946 (char *) "self", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2959 Py_INCREF(Py_None
); resultobj
= Py_None
;
2966 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
;
2968 wxPoint
*arg1
= (wxPoint
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2975 (char *) "self",(char *) "pt", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3001 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxPoint
*arg1
= (wxPoint
*) 0 ;
3007 PyObject
* obj0
= 0 ;
3008 PyObject
* obj1
= 0 ;
3010 (char *) "self",(char *) "pt", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3036 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxPoint
*arg1
= (wxPoint
*) 0 ;
3042 PyObject
* obj0
= 0 ;
3043 PyObject
* obj1
= 0 ;
3045 (char *) "self",(char *) "pt", NULL
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3063 wxPoint
* resultptr
;
3064 resultptr
= new wxPoint((wxPoint
&) result
);
3065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3073 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3075 wxPoint
*arg1
= (wxPoint
*) 0 ;
3079 PyObject
* obj0
= 0 ;
3080 PyObject
* obj1
= 0 ;
3082 (char *) "self",(char *) "pt", NULL
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3090 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3100 wxPoint
* resultptr
;
3101 resultptr
= new wxPoint((wxPoint
&) result
);
3102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3110 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
*resultobj
;
3112 wxPoint
*arg1
= (wxPoint
*) 0 ;
3116 PyObject
* obj0
= 0 ;
3117 PyObject
* obj1
= 0 ;
3119 (char *) "self",(char *) "pt", NULL
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3133 result
= (wxPoint
*) &_result_ref
;
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3146 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxPoint
*arg1
= (wxPoint
*) 0 ;
3152 PyObject
* obj0
= 0 ;
3153 PyObject
* obj1
= 0 ;
3155 (char *) "self",(char *) "pt", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3169 result
= (wxPoint
*) &_result_ref
;
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3182 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
*resultobj
;
3184 wxPoint
*arg1
= (wxPoint
*) 0 ;
3187 PyObject
* obj0
= 0 ;
3188 PyObject
* obj1
= 0 ;
3189 PyObject
* obj2
= 0 ;
3191 (char *) "self",(char *) "x",(char *) "y", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3197 arg2
= (long) SWIG_AsLong(obj1
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3199 arg3
= (long) SWIG_AsLong(obj2
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 wxPoint_Set(arg1
,arg2
,arg3
);
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) SWIG_fail
;
3208 Py_INCREF(Py_None
); resultobj
= Py_None
;
3215 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
*resultobj
;
3217 wxPoint
*arg1
= (wxPoint
*) 0 ;
3219 PyObject
* obj0
= 0 ;
3221 (char *) "self", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3229 result
= (PyObject
*)wxPoint_Get(arg1
);
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3241 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3244 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3246 return Py_BuildValue((char *)"");
3248 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 int arg1
= (int) 0 ;
3251 int arg2
= (int) 0 ;
3252 int arg3
= (int) 0 ;
3253 int arg4
= (int) 0 ;
3255 PyObject
* obj0
= 0 ;
3256 PyObject
* obj1
= 0 ;
3257 PyObject
* obj2
= 0 ;
3258 PyObject
* obj3
= 0 ;
3260 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3265 arg1
= (int) SWIG_AsInt(obj0
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 arg2
= (int) SWIG_AsInt(obj1
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3273 arg3
= (int) SWIG_AsInt(obj2
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3277 arg4
= (int) SWIG_AsInt(obj3
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3294 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3301 PyObject
* obj0
= 0 ;
3302 PyObject
* obj1
= 0 ;
3304 (char *) "topLeft",(char *) "bottomRight", NULL
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3310 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3314 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3330 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3337 PyObject
* obj0
= 0 ;
3338 PyObject
* obj1
= 0 ;
3340 (char *) "pos",(char *) "size", NULL
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3350 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3366 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxRect
*arg1
= (wxRect
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3371 (char *) "self", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 Py_INCREF(Py_None
); resultobj
= Py_None
;
3391 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxRect
*arg1
= (wxRect
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3397 (char *) "self", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 result
= (int)((wxRect
const *)arg1
)->GetX();
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3410 resultobj
= SWIG_FromInt((int)result
);
3417 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxRect
*arg1
= (wxRect
*) 0 ;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3424 (char *) "self",(char *) "x", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3430 arg2
= (int) SWIG_AsInt(obj1
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 Py_INCREF(Py_None
); resultobj
= Py_None
;
3446 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxRect
*arg1
= (wxRect
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3452 (char *) "self", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (int)(arg1
)->GetY();
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_FromInt((int)result
);
3472 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxRect
*arg1
= (wxRect
*) 0 ;
3476 PyObject
* obj0
= 0 ;
3477 PyObject
* obj1
= 0 ;
3479 (char *) "self",(char *) "y", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3485 arg2
= (int) SWIG_AsInt(obj1
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3501 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxRect
*arg1
= (wxRect
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "self", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= SWIG_FromInt((int)result
);
3527 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3529 wxRect
*arg1
= (wxRect
*) 0 ;
3531 PyObject
* obj0
= 0 ;
3532 PyObject
* obj1
= 0 ;
3534 (char *) "self",(char *) "w", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3540 arg2
= (int) SWIG_AsInt(obj1
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 (arg1
)->SetWidth(arg2
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3549 Py_INCREF(Py_None
); resultobj
= Py_None
;
3556 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxRect
*arg1
= (wxRect
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3562 (char *) "self", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= SWIG_FromInt((int)result
);
3582 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxRect
*arg1
= (wxRect
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3587 PyObject
* obj1
= 0 ;
3589 (char *) "self",(char *) "h", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3595 arg2
= (int) SWIG_AsInt(obj1
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 (arg1
)->SetHeight(arg2
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 Py_INCREF(Py_None
); resultobj
= Py_None
;
3611 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxRect
*arg1
= (wxRect
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3617 (char *) "self", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 result
= ((wxRect
const *)arg1
)->GetPosition();
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3631 wxPoint
* resultptr
;
3632 resultptr
= new wxPoint((wxPoint
&) result
);
3633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3641 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
*resultobj
;
3643 wxRect
*arg1
= (wxRect
*) 0 ;
3646 PyObject
* obj0
= 0 ;
3647 PyObject
* obj1
= 0 ;
3649 (char *) "self",(char *) "p", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 Py_INCREF(Py_None
); resultobj
= Py_None
;
3673 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxRect
*arg1
= (wxRect
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3679 (char *) "self", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= ((wxRect
const *)arg1
)->GetSize();
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3694 resultptr
= new wxSize((wxSize
&) result
);
3695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3703 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
;
3705 wxRect
*arg1
= (wxRect
*) 0 ;
3708 PyObject
* obj0
= 0 ;
3709 PyObject
* obj1
= 0 ;
3711 (char *) "self",(char *) "s", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 (arg1
)->SetSize((wxSize
const &)*arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3737 wxRect
*arg1
= (wxRect
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3741 (char *) "self", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3755 wxPoint
* resultptr
;
3756 resultptr
= new wxPoint((wxPoint
&) result
);
3757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3765 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxRect
*arg1
= (wxRect
*) 0 ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3773 (char *) "self",(char *) "p", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3781 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 Py_INCREF(Py_None
); resultobj
= Py_None
;
3797 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxRect
*arg1
= (wxRect
*) 0 ;
3801 PyObject
* obj0
= 0 ;
3803 (char *) "self", NULL
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3817 wxPoint
* resultptr
;
3818 resultptr
= new wxPoint((wxPoint
&) result
);
3819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3827 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxRect
*arg1
= (wxRect
*) 0 ;
3832 PyObject
* obj0
= 0 ;
3833 PyObject
* obj1
= 0 ;
3835 (char *) "self",(char *) "p", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 Py_INCREF(Py_None
); resultobj
= Py_None
;
3859 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxRect
*arg1
= (wxRect
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= SWIG_FromInt((int)result
);
3885 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxRect
*arg1
= (wxRect
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3891 (char *) "self", NULL
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 result
= (int)((wxRect
const *)arg1
)->GetTop();
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 resultobj
= SWIG_FromInt((int)result
);
3911 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3913 wxRect
*arg1
= (wxRect
*) 0 ;
3915 PyObject
* obj0
= 0 ;
3917 (char *) "self", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= SWIG_FromInt((int)result
);
3937 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxRect
*arg1
= (wxRect
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "self", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (int)((wxRect
const *)arg1
)->GetRight();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_FromInt((int)result
);
3963 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxRect
*arg1
= (wxRect
*) 0 ;
3967 PyObject
* obj0
= 0 ;
3968 PyObject
* obj1
= 0 ;
3970 (char *) "self",(char *) "left", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3976 arg2
= (int) SWIG_AsInt(obj1
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetLeft(arg2
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxRect
*arg1
= (wxRect
*) 0 ;
3996 PyObject
* obj0
= 0 ;
3997 PyObject
* obj1
= 0 ;
3999 (char *) "self",(char *) "right", NULL
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4005 arg2
= (int) SWIG_AsInt(obj1
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 (arg1
)->SetRight(arg2
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 Py_INCREF(Py_None
); resultobj
= Py_None
;
4021 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxRect
*arg1
= (wxRect
*) 0 ;
4025 PyObject
* obj0
= 0 ;
4026 PyObject
* obj1
= 0 ;
4028 (char *) "self",(char *) "top", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4034 arg2
= (int) SWIG_AsInt(obj1
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 (arg1
)->SetTop(arg2
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 Py_INCREF(Py_None
); resultobj
= Py_None
;
4050 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxRect
*arg1
= (wxRect
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4057 (char *) "self",(char *) "bottom", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4063 arg2
= (int) SWIG_AsInt(obj1
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 (arg1
)->SetBottom(arg2
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxRect
*arg1
= (wxRect
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4086 PyObject
* obj1
= 0 ;
4087 PyObject
* obj2
= 0 ;
4089 (char *) "self",(char *) "dx",(char *) "dy", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4095 arg2
= (int) SWIG_AsInt(obj1
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4097 arg3
= (int) SWIG_AsInt(obj2
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4103 result
= (wxRect
*) &_result_ref
;
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4116 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4118 wxRect
*arg1
= (wxRect
*) 0 ;
4122 PyObject
* obj0
= 0 ;
4123 PyObject
* obj1
= 0 ;
4124 PyObject
* obj2
= 0 ;
4126 (char *) "self",(char *) "dx",(char *) "dy", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4132 arg2
= (int) SWIG_AsInt(obj1
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4134 arg3
= (int) SWIG_AsInt(obj2
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4140 result
= (wxRect
*) &_result_ref
;
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4153 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 wxRect
*arg1
= (wxRect
*) 0 ;
4158 PyObject
* obj0
= 0 ;
4159 PyObject
* obj1
= 0 ;
4160 PyObject
* obj2
= 0 ;
4162 (char *) "self",(char *) "dx",(char *) "dy", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4168 arg2
= (int) SWIG_AsInt(obj1
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4170 arg3
= (int) SWIG_AsInt(obj2
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 (arg1
)->Offset(arg2
,arg3
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 Py_INCREF(Py_None
); resultobj
= Py_None
;
4186 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxRect
*arg1
= (wxRect
*) 0 ;
4191 PyObject
* obj0
= 0 ;
4192 PyObject
* obj1
= 0 ;
4194 (char *) "self",(char *) "pt", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4202 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 (arg1
)->Offset((wxPoint
const &)*arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 Py_INCREF(Py_None
); resultobj
= Py_None
;
4218 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxRect
*arg1
= (wxRect
*) 0 ;
4224 PyObject
* obj0
= 0 ;
4225 PyObject
* obj1
= 0 ;
4227 (char *) "self",(char *) "rect", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4235 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4241 result
= (wxRect
*) &_result_ref
;
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4254 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
;
4256 wxRect
*arg1
= (wxRect
*) 0 ;
4260 PyObject
* obj0
= 0 ;
4261 PyObject
* obj1
= 0 ;
4263 (char *) "self",(char *) "rect", NULL
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4271 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4282 resultptr
= new wxRect((wxRect
&) result
);
4283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4291 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 wxRect
*arg1
= (wxRect
*) 0 ;
4297 PyObject
* obj0
= 0 ;
4298 PyObject
* obj1
= 0 ;
4300 (char *) "self",(char *) "rect", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4308 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4314 result
= (wxRect
*) &_result_ref
;
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4327 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxRect
*arg1
= (wxRect
*) 0 ;
4333 PyObject
* obj0
= 0 ;
4334 PyObject
* obj1
= 0 ;
4336 (char *) "self",(char *) "rect", NULL
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4344 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4362 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
*resultobj
;
4364 wxRect
*arg1
= (wxRect
*) 0 ;
4368 PyObject
* obj0
= 0 ;
4369 PyObject
* obj1
= 0 ;
4371 (char *) "self",(char *) "rect", NULL
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4379 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4397 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxRect
*arg1
= (wxRect
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4405 PyObject
* obj2
= 0 ;
4407 (char *) "self",(char *) "x",(char *) "y", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4413 arg2
= (int) SWIG_AsInt(obj1
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4415 arg3
= (int) SWIG_AsInt(obj2
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4433 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxRect
*arg1
= (wxRect
*) 0 ;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4442 (char *) "self",(char *) "pt", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4450 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4468 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4470 wxRect
*arg1
= (wxRect
*) 0 ;
4474 PyObject
* obj0
= 0 ;
4475 PyObject
* obj1
= 0 ;
4477 (char *) "self",(char *) "rect", NULL
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4485 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4503 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxRect
*arg1
= (wxRect
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4510 (char *) "self",(char *) "x", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4516 arg2
= (int) SWIG_AsInt(obj1
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4518 if (arg1
) (arg1
)->x
= arg2
;
4520 Py_INCREF(Py_None
); resultobj
= Py_None
;
4527 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
;
4529 wxRect
*arg1
= (wxRect
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4533 (char *) "self", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4539 result
= (int) ((arg1
)->x
);
4541 resultobj
= SWIG_FromInt((int)result
);
4548 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxRect
*arg1
= (wxRect
*) 0 ;
4552 PyObject
* obj0
= 0 ;
4553 PyObject
* obj1
= 0 ;
4555 (char *) "self",(char *) "y", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4561 arg2
= (int) SWIG_AsInt(obj1
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4563 if (arg1
) (arg1
)->y
= arg2
;
4565 Py_INCREF(Py_None
); resultobj
= Py_None
;
4572 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxRect
*arg1
= (wxRect
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4578 (char *) "self", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4584 result
= (int) ((arg1
)->y
);
4586 resultobj
= SWIG_FromInt((int)result
);
4593 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxRect
*arg1
= (wxRect
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4598 PyObject
* obj1
= 0 ;
4600 (char *) "self",(char *) "width", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4606 arg2
= (int) SWIG_AsInt(obj1
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4608 if (arg1
) (arg1
)->width
= arg2
;
4610 Py_INCREF(Py_None
); resultobj
= Py_None
;
4617 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4619 wxRect
*arg1
= (wxRect
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4623 (char *) "self", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4629 result
= (int) ((arg1
)->width
);
4631 resultobj
= SWIG_FromInt((int)result
);
4638 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxRect
*arg1
= (wxRect
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4645 (char *) "self",(char *) "height", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4651 arg2
= (int) SWIG_AsInt(obj1
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4653 if (arg1
) (arg1
)->height
= arg2
;
4655 Py_INCREF(Py_None
); resultobj
= Py_None
;
4662 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxRect
*arg1
= (wxRect
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4668 (char *) "self", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4674 result
= (int) ((arg1
)->height
);
4676 resultobj
= SWIG_FromInt((int)result
);
4683 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4685 wxRect
*arg1
= (wxRect
*) 0 ;
4686 int arg2
= (int) 0 ;
4687 int arg3
= (int) 0 ;
4688 int arg4
= (int) 0 ;
4689 int arg5
= (int) 0 ;
4690 PyObject
* obj0
= 0 ;
4691 PyObject
* obj1
= 0 ;
4692 PyObject
* obj2
= 0 ;
4693 PyObject
* obj3
= 0 ;
4694 PyObject
* obj4
= 0 ;
4696 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4703 arg2
= (int) SWIG_AsInt(obj1
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4707 arg3
= (int) SWIG_AsInt(obj2
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4711 arg4
= (int) SWIG_AsInt(obj3
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4715 arg5
= (int) SWIG_AsInt(obj4
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 Py_INCREF(Py_None
); resultobj
= Py_None
;
4732 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxRect
*arg1
= (wxRect
*) 0 ;
4736 PyObject
* obj0
= 0 ;
4738 (char *) "self", NULL
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (PyObject
*)wxRect_Get(arg1
);
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4758 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4761 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4763 return Py_BuildValue((char *)"");
4765 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxRect
*arg1
= (wxRect
*) 0 ;
4768 wxRect
*arg2
= (wxRect
*) 0 ;
4770 PyObject
* obj0
= 0 ;
4771 PyObject
* obj1
= 0 ;
4773 (char *) "r1",(char *) "r2", NULL
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4782 if (!wxPyCheckForApp()) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4796 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4798 double arg1
= (double) 0.0 ;
4799 double arg2
= (double) 0.0 ;
4801 PyObject
* obj0
= 0 ;
4802 PyObject
* obj1
= 0 ;
4804 (char *) "x",(char *) "y", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4809 arg1
= (double) SWIG_AsDouble(obj0
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4813 arg2
= (double) SWIG_AsDouble(obj1
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4830 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4832 wxPoint2D
*arg1
= 0 ;
4835 PyObject
* obj0
= 0 ;
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4843 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4859 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
;
4864 PyObject
* obj0
= 0 ;
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4872 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4888 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
;
4890 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4891 int *arg2
= (int *) 0 ;
4892 int *arg3
= (int *) 0 ;
4895 PyObject
* obj0
= 0 ;
4897 (char *) "self", NULL
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 Py_INCREF(Py_None
); resultobj
= Py_None
;
4914 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4915 resultobj
= t_output_helper(resultobj
,o
);
4918 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4919 resultobj
= t_output_helper(resultobj
,o
);
4927 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4930 int *arg2
= (int *) 0 ;
4931 int *arg3
= (int *) 0 ;
4934 PyObject
* obj0
= 0 ;
4936 (char *) "self", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 Py_INCREF(Py_None
); resultobj
= Py_None
;
4953 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4954 resultobj
= t_output_helper(resultobj
,o
);
4957 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4958 resultobj
= t_output_helper(resultobj
,o
);
4966 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4972 (char *) "self", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 resultobj
= SWIG_FromDouble((double)result
);
4992 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4994 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4998 (char *) "self", NULL
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_FromDouble((double)result
);
5018 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5022 PyObject
* obj0
= 0 ;
5023 PyObject
* obj1
= 0 ;
5025 (char *) "self",(char *) "length", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5031 arg2
= (double) SWIG_AsDouble(obj1
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 (arg1
)->SetVectorLength(arg2
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5040 Py_INCREF(Py_None
); resultobj
= Py_None
;
5047 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5051 PyObject
* obj0
= 0 ;
5052 PyObject
* obj1
= 0 ;
5054 (char *) "self",(char *) "degrees", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5060 arg2
= (double) SWIG_AsDouble(obj1
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 (arg1
)->SetVectorAngle(arg2
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5069 Py_INCREF(Py_None
); resultobj
= Py_None
;
5076 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
;
5078 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5079 wxPoint2D
*arg2
= 0 ;
5082 PyObject
* obj0
= 0 ;
5083 PyObject
* obj1
= 0 ;
5085 (char *) "self",(char *) "pt", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5093 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_FromDouble((double)result
);
5109 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
;
5111 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5112 wxPoint2D
*arg2
= 0 ;
5115 PyObject
* obj0
= 0 ;
5116 PyObject
* obj1
= 0 ;
5118 (char *) "self",(char *) "pt", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5126 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_FromDouble((double)result
);
5142 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5145 wxPoint2D
*arg2
= 0 ;
5148 PyObject
* obj0
= 0 ;
5149 PyObject
* obj1
= 0 ;
5151 (char *) "self",(char *) "vec", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5159 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= SWIG_FromDouble((double)result
);
5175 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5177 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5178 wxPoint2D
*arg2
= 0 ;
5181 PyObject
* obj0
= 0 ;
5182 PyObject
* obj1
= 0 ;
5184 (char *) "self",(char *) "vec", NULL
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5192 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= SWIG_FromDouble((double)result
);
5208 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5209 PyObject
*resultobj
;
5210 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5212 PyObject
* obj0
= 0 ;
5214 (char *) "self", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 result
= (arg1
)->operator -();
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5228 wxPoint2D
* resultptr
;
5229 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5238 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5240 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5241 wxPoint2D
*arg2
= 0 ;
5244 PyObject
* obj0
= 0 ;
5245 PyObject
* obj1
= 0 ;
5247 (char *) "self",(char *) "pt", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5255 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5260 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5261 result
= (wxPoint2D
*) &_result_ref
;
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5274 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
;
5276 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5277 wxPoint2D
*arg2
= 0 ;
5280 PyObject
* obj0
= 0 ;
5281 PyObject
* obj1
= 0 ;
5283 (char *) "self",(char *) "pt", NULL
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5291 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5297 result
= (wxPoint2D
*) &_result_ref
;
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5310 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5313 wxPoint2D
*arg2
= 0 ;
5316 PyObject
* obj0
= 0 ;
5317 PyObject
* obj1
= 0 ;
5319 (char *) "self",(char *) "pt", NULL
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5327 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5333 result
= (wxPoint2D
*) &_result_ref
;
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5346 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
*resultobj
;
5348 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5349 wxPoint2D
*arg2
= 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5355 (char *) "self",(char *) "pt", NULL
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5363 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5369 result
= (wxPoint2D
*) &_result_ref
;
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5382 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
;
5384 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5385 wxPoint2D
*arg2
= 0 ;
5388 PyObject
* obj0
= 0 ;
5389 PyObject
* obj1
= 0 ;
5391 (char *) "self",(char *) "pt", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5399 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5417 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
;
5419 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5420 wxPoint2D
*arg2
= 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5426 (char *) "self",(char *) "pt", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5434 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5452 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5459 (char *) "self",(char *) "m_x", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5465 arg2
= (double) SWIG_AsDouble(obj1
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5467 if (arg1
) (arg1
)->m_x
= arg2
;
5469 Py_INCREF(Py_None
); resultobj
= Py_None
;
5476 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5480 PyObject
* obj0
= 0 ;
5482 (char *) "self", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5488 result
= (double) ((arg1
)->m_x
);
5490 resultobj
= SWIG_FromDouble((double)result
);
5497 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
*resultobj
;
5499 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5501 PyObject
* obj0
= 0 ;
5502 PyObject
* obj1
= 0 ;
5504 (char *) "self",(char *) "m_y", NULL
5507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5510 arg2
= (double) SWIG_AsDouble(obj1
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5512 if (arg1
) (arg1
)->m_y
= arg2
;
5514 Py_INCREF(Py_None
); resultobj
= Py_None
;
5521 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5523 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5525 PyObject
* obj0
= 0 ;
5527 (char *) "self", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5533 result
= (double) ((arg1
)->m_y
);
5535 resultobj
= SWIG_FromDouble((double)result
);
5542 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
*resultobj
;
5544 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5545 double arg2
= (double) 0 ;
5546 double arg3
= (double) 0 ;
5547 PyObject
* obj0
= 0 ;
5548 PyObject
* obj1
= 0 ;
5549 PyObject
* obj2
= 0 ;
5551 (char *) "self",(char *) "x",(char *) "y", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 arg2
= (double) SWIG_AsDouble(obj1
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5562 arg3
= (double) SWIG_AsDouble(obj2
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 wxPoint2D_Set(arg1
,arg2
,arg3
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 Py_INCREF(Py_None
); resultobj
= Py_None
;
5579 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5583 PyObject
* obj0
= 0 ;
5585 (char *) "self", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5605 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5608 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5610 return Py_BuildValue((char *)"");
5612 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5613 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5618 static PyObject
*_wrap_DefaultPosition_get() {
5621 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5626 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5627 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5632 static PyObject
*_wrap_DefaultSize_get() {
5635 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5640 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 PyObject
*arg1
= (PyObject
*) 0 ;
5643 wxPyInputStream
*result
;
5644 PyObject
* obj0
= 0 ;
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5665 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
;
5667 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5668 PyObject
* obj0
= 0 ;
5670 (char *) "self", NULL
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5683 Py_INCREF(Py_None
); resultobj
= Py_None
;
5690 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5693 PyObject
* obj0
= 0 ;
5695 (char *) "self", NULL
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 Py_INCREF(Py_None
); resultobj
= Py_None
;
5715 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5719 PyObject
* obj0
= 0 ;
5721 (char *) "self", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= (bool)(arg1
)->eof();
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5743 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5745 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5746 int arg2
= (int) -1 ;
5748 PyObject
* obj0
= 0 ;
5749 PyObject
* obj1
= 0 ;
5751 (char *) "self",(char *) "size", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 arg2
= (int) SWIG_AsInt(obj1
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 result
= (PyObject
*)(arg1
)->read(arg2
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5775 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5778 int arg2
= (int) -1 ;
5780 PyObject
* obj0
= 0 ;
5781 PyObject
* obj1
= 0 ;
5783 (char *) "self",(char *) "size", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5790 arg2
= (int) SWIG_AsInt(obj1
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (PyObject
*)(arg1
)->readline(arg2
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5807 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5810 int arg2
= (int) -1 ;
5812 PyObject
* obj0
= 0 ;
5813 PyObject
* obj1
= 0 ;
5815 (char *) "self",(char *) "sizehint", NULL
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5822 arg2
= (int) SWIG_AsInt(obj1
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5839 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5843 int arg3
= (int) 0 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5846 PyObject
* obj2
= 0 ;
5848 (char *) "self",(char *) "offset",(char *) "whence", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5854 arg2
= (int) SWIG_AsInt(obj1
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 arg3
= (int) SWIG_AsInt(obj2
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 (arg1
)->seek(arg2
,arg3
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 Py_INCREF(Py_None
); resultobj
= Py_None
;
5874 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5880 (char *) "self", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= (int)(arg1
)->tell();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= SWIG_FromInt((int)result
);
5900 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5904 PyObject
* obj0
= 0 ;
5906 (char *) "self", NULL
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= (char)(arg1
)->Peek();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_FromChar((char)result
);
5926 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5930 PyObject
* obj0
= 0 ;
5932 (char *) "self", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 result
= (char)(arg1
)->GetC();
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= SWIG_FromChar((char)result
);
5952 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
;
5954 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5956 PyObject
* obj0
= 0 ;
5958 (char *) "self", NULL
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 result
= (size_t)(arg1
)->LastRead();
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5971 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5978 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5982 PyObject
* obj0
= 0 ;
5984 (char *) "self", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= (bool)(arg1
)->CanRead();
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6006 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6010 PyObject
* obj0
= 0 ;
6012 (char *) "self", NULL
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (bool)(arg1
)->Eof();
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6034 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6039 PyObject
* obj0
= 0 ;
6040 PyObject
* obj1
= 0 ;
6042 (char *) "self",(char *) "c", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6048 arg2
= (char) SWIG_AsChar(obj1
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 result
= (bool)(arg1
)->Ungetch(arg2
);
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6066 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
;
6068 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6070 int arg3
= (int) wxFromStart
;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6074 PyObject
* obj2
= 0 ;
6076 (char *) "self",(char *) "pos",(char *) "mode", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6082 arg2
= (long) SWIG_AsLong(obj1
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6085 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= SWIG_FromLong((long)result
);
6102 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6108 (char *) "self", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (long)(arg1
)->TellI();
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= SWIG_FromLong((long)result
);
6128 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6131 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6133 return Py_BuildValue((char *)"");
6135 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6138 PyObject
*arg2
= (PyObject
*) 0 ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6142 (char *) "self",(char *) "obj", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 wxOutputStream_write(arg1
,arg2
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6156 Py_INCREF(Py_None
); resultobj
= Py_None
;
6163 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6166 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6168 return Py_BuildValue((char *)"");
6170 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6172 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6173 wxString
*arg2
= 0 ;
6174 wxString
*arg3
= 0 ;
6175 wxString
*arg4
= 0 ;
6178 wxPyInputStream
*temp1
;
6180 bool temp2
= False
;
6181 bool temp3
= False
;
6182 bool temp4
= False
;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6186 PyObject
* obj2
= 0 ;
6187 PyObject
* obj3
= 0 ;
6188 PyObject
* obj4
= 0 ;
6190 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6195 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6196 arg1
= temp1
->m_wxis
;
6199 PyErr_Clear(); // clear the failure of the wxPyConvert above
6200 arg1
= wxPyCBInputStream_create(obj0
, False
);
6202 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6209 arg2
= wxString_in_helper(obj1
);
6210 if (arg2
== NULL
) SWIG_fail
;
6214 arg3
= wxString_in_helper(obj2
);
6215 if (arg3
== NULL
) SWIG_fail
;
6219 arg4
= wxString_in_helper(obj3
);
6220 if (arg4
== NULL
) SWIG_fail
;
6223 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6224 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= wxPyMake_wxObject(result
);
6274 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
;
6276 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6279 (char *) "self", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 Py_INCREF(Py_None
); resultobj
= Py_None
;
6299 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6302 wxInputStream
*result
;
6303 PyObject
* obj0
= 0 ;
6305 (char *) "self", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (wxInputStream
*)(arg1
)->GetStream();
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6319 wxPyInputStream
* _ptr
= NULL
;
6322 _ptr
= new wxPyInputStream(result
);
6324 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6332 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6336 PyObject
* obj0
= 0 ;
6338 (char *) "self", NULL
6341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6348 result
= (wxString
*) &_result_ref
;
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6358 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6367 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6371 PyObject
* obj0
= 0 ;
6373 (char *) "self", NULL
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 wxString
const &_result_ref
= (arg1
)->GetLocation();
6383 result
= (wxString
*) &_result_ref
;
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6393 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6402 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
;
6404 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6406 PyObject
* obj0
= 0 ;
6408 (char *) "self", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6418 result
= (wxString
*) &_result_ref
;
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6428 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6437 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6443 (char *) "self", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= (arg1
)->GetModificationTime();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6457 wxDateTime
* resultptr
;
6458 resultptr
= new wxDateTime((wxDateTime
&) result
);
6459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6467 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6470 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6472 return Py_BuildValue((char *)"");
6474 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6477 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6479 return Py_BuildValue((char *)"");
6481 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
*resultobj
;
6483 wxPyFileSystemHandler
*result
;
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6503 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6505 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6506 PyObject
*arg2
= (PyObject
*) 0 ;
6507 PyObject
*arg3
= (PyObject
*) 0 ;
6508 PyObject
* obj0
= 0 ;
6509 PyObject
* obj1
= 0 ;
6510 PyObject
* obj2
= 0 ;
6512 (char *) "self",(char *) "self",(char *) "_class", NULL
6515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 Py_INCREF(Py_None
); resultobj
= Py_None
;
6534 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
;
6536 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6537 wxString
*arg2
= 0 ;
6539 bool temp2
= False
;
6540 PyObject
* obj0
= 0 ;
6541 PyObject
* obj1
= 0 ;
6543 (char *) "self",(char *) "location", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6550 arg2
= wxString_in_helper(obj1
);
6551 if (arg2
== NULL
) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6578 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6581 wxFileSystem
*arg2
= 0 ;
6582 wxString
*arg3
= 0 ;
6584 bool temp3
= False
;
6585 PyObject
* obj0
= 0 ;
6586 PyObject
* obj1
= 0 ;
6587 PyObject
* obj2
= 0 ;
6589 (char *) "self",(char *) "fs",(char *) "location", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6599 PyErr_SetString(PyExc_TypeError
,"null reference");
6603 arg3
= wxString_in_helper(obj2
);
6604 if (arg3
== NULL
) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= wxPyMake_wxObject(result
);
6631 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
;
6633 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6634 wxString
*arg2
= 0 ;
6635 int arg3
= (int) 0 ;
6637 bool temp2
= False
;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6640 PyObject
* obj2
= 0 ;
6642 (char *) "self",(char *) "spec",(char *) "flags", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6649 arg2
= wxString_in_helper(obj1
);
6650 if (arg2
== NULL
) SWIG_fail
;
6654 arg3
= (int) SWIG_AsInt(obj2
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6685 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6689 PyObject
* obj0
= 0 ;
6691 (char *) "self", NULL
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (arg1
)->FindNext();
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6717 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6719 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6720 wxString
*arg2
= 0 ;
6722 bool temp2
= False
;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6726 (char *) "self",(char *) "location", NULL
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6733 arg2
= wxString_in_helper(obj1
);
6734 if (arg2
== NULL
) SWIG_fail
;
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6748 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6765 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6768 wxString
*arg2
= 0 ;
6770 bool temp2
= False
;
6771 PyObject
* obj0
= 0 ;
6772 PyObject
* obj1
= 0 ;
6774 (char *) "self",(char *) "location", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6781 arg2
= wxString_in_helper(obj1
);
6782 if (arg2
== NULL
) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6813 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
;
6815 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6816 wxString
*arg2
= 0 ;
6818 bool temp2
= False
;
6819 PyObject
* obj0
= 0 ;
6820 PyObject
* obj1
= 0 ;
6822 (char *) "self",(char *) "location", NULL
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6829 arg2
= wxString_in_helper(obj1
);
6830 if (arg2
== NULL
) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6861 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
;
6863 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6864 wxString
*arg2
= 0 ;
6866 bool temp2
= False
;
6867 PyObject
* obj0
= 0 ;
6868 PyObject
* obj1
= 0 ;
6870 (char *) "self",(char *) "location", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6877 arg2
= wxString_in_helper(obj1
);
6878 if (arg2
== NULL
) SWIG_fail
;
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6909 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6912 wxString
*arg2
= 0 ;
6914 bool temp2
= False
;
6915 PyObject
* obj0
= 0 ;
6916 PyObject
* obj1
= 0 ;
6918 (char *) "self",(char *) "location", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6925 arg2
= wxString_in_helper(obj1
);
6926 if (arg2
== NULL
) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6957 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6960 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6962 return Py_BuildValue((char *)"");
6964 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxFileSystem
*result
;
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 result
= (wxFileSystem
*)new wxFileSystem();
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= wxPyMake_wxObject(result
);
6988 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6991 PyObject
* obj0
= 0 ;
6993 (char *) "self", NULL
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 Py_INCREF(Py_None
); resultobj
= Py_None
;
7013 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
;
7015 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7016 wxString
*arg2
= 0 ;
7017 bool arg3
= (bool) False
;
7018 bool temp2
= False
;
7019 PyObject
* obj0
= 0 ;
7020 PyObject
* obj1
= 0 ;
7021 PyObject
* obj2
= 0 ;
7023 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7030 arg2
= wxString_in_helper(obj1
);
7031 if (arg2
== NULL
) SWIG_fail
;
7035 arg3
= (bool) SWIG_AsBool(obj2
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 Py_INCREF(Py_None
); resultobj
= Py_None
;
7060 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7062 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7064 PyObject
* obj0
= 0 ;
7066 (char *) "self", NULL
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (arg1
)->GetPath();
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7092 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
*resultobj
;
7094 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7095 wxString
*arg2
= 0 ;
7097 bool temp2
= False
;
7098 PyObject
* obj0
= 0 ;
7099 PyObject
* obj1
= 0 ;
7101 (char *) "self",(char *) "location", NULL
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7108 arg2
= wxString_in_helper(obj1
);
7109 if (arg2
== NULL
) SWIG_fail
;
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7120 resultobj
= wxPyMake_wxObject(result
);
7136 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7139 wxString
*arg2
= 0 ;
7140 int arg3
= (int) 0 ;
7142 bool temp2
= False
;
7143 PyObject
* obj0
= 0 ;
7144 PyObject
* obj1
= 0 ;
7145 PyObject
* obj2
= 0 ;
7147 (char *) "self",(char *) "spec",(char *) "flags", NULL
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7154 arg2
= wxString_in_helper(obj1
);
7155 if (arg2
== NULL
) SWIG_fail
;
7159 arg3
= (int) SWIG_AsInt(obj2
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7190 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7194 PyObject
* obj0
= 0 ;
7196 (char *) "self", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 result
= (arg1
)->FindNext();
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7222 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7224 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7225 PyObject
* obj0
= 0 ;
7227 (char *) "handler", NULL
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 wxFileSystem::AddHandler(arg1
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 Py_INCREF(Py_None
); resultobj
= Py_None
;
7247 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 wxFileSystem::CleanUpHandlers();
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 Py_INCREF(Py_None
); resultobj
= Py_None
;
7268 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
;
7270 wxString
*arg1
= 0 ;
7272 bool temp1
= False
;
7273 PyObject
* obj0
= 0 ;
7275 (char *) "filename", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7280 arg1
= wxString_in_helper(obj0
);
7281 if (arg1
== NULL
) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7312 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7315 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7317 return Py_BuildValue((char *)"");
7319 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7321 wxString
*arg1
= 0 ;
7323 bool temp1
= False
;
7324 PyObject
* obj0
= 0 ;
7326 (char *) "url", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7331 arg1
= wxString_in_helper(obj0
);
7332 if (arg1
== NULL
) SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7363 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
;
7365 wxInternetFSHandler
*result
;
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7385 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7388 wxString
*arg2
= 0 ;
7390 bool temp2
= False
;
7391 PyObject
* obj0
= 0 ;
7392 PyObject
* obj1
= 0 ;
7394 (char *) "self",(char *) "location", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 arg2
= wxString_in_helper(obj1
);
7402 if (arg2
== NULL
) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7429 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7432 wxFileSystem
*arg2
= 0 ;
7433 wxString
*arg3
= 0 ;
7435 bool temp3
= False
;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7438 PyObject
* obj2
= 0 ;
7440 (char *) "self",(char *) "fs",(char *) "location", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7450 PyErr_SetString(PyExc_TypeError
,"null reference");
7454 arg3
= wxString_in_helper(obj2
);
7455 if (arg3
== NULL
) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7466 resultobj
= wxPyMake_wxObject(result
);
7482 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7485 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7487 return Py_BuildValue((char *)"");
7489 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
*resultobj
;
7491 wxZipFSHandler
*result
;
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7511 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
;
7513 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7514 wxString
*arg2
= 0 ;
7516 bool temp2
= False
;
7517 PyObject
* obj0
= 0 ;
7518 PyObject
* obj1
= 0 ;
7520 (char *) "self",(char *) "location", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7527 arg2
= wxString_in_helper(obj1
);
7528 if (arg2
== NULL
) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7555 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7558 wxFileSystem
*arg2
= 0 ;
7559 wxString
*arg3
= 0 ;
7561 bool temp3
= False
;
7562 PyObject
* obj0
= 0 ;
7563 PyObject
* obj1
= 0 ;
7564 PyObject
* obj2
= 0 ;
7566 (char *) "self",(char *) "fs",(char *) "location", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7576 PyErr_SetString(PyExc_TypeError
,"null reference");
7580 arg3
= wxString_in_helper(obj2
);
7581 if (arg3
== NULL
) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7592 resultobj
= wxPyMake_wxObject(result
);
7608 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7611 wxString
*arg2
= 0 ;
7612 int arg3
= (int) 0 ;
7614 bool temp2
= False
;
7615 PyObject
* obj0
= 0 ;
7616 PyObject
* obj1
= 0 ;
7617 PyObject
* obj2
= 0 ;
7619 (char *) "self",(char *) "spec",(char *) "flags", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7626 arg2
= wxString_in_helper(obj1
);
7627 if (arg2
== NULL
) SWIG_fail
;
7631 arg3
= (int) SWIG_AsInt(obj2
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7662 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7666 PyObject
* obj0
= 0 ;
7668 (char *) "self", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 result
= (arg1
)->FindNext();
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7694 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7697 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7699 return Py_BuildValue((char *)"");
7701 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
;
7703 wxString
*arg1
= 0 ;
7706 bool temp1
= False
;
7707 PyObject
* obj0
= 0 ;
7708 PyObject
* obj1
= 0 ;
7709 PyObject
* obj2
= 0 ;
7711 (char *) "filename",(char *) "image",(char *) "type", NULL
7714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7716 arg1
= wxString_in_helper(obj0
);
7717 if (arg1
== NULL
) SWIG_fail
;
7720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7724 PyErr_SetString(PyExc_TypeError
,"null reference");
7727 arg3
= (long) SWIG_AsLong(obj2
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 Py_INCREF(Py_None
); resultobj
= Py_None
;
7751 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxString
*arg1
= 0 ;
7754 wxBitmap
*arg2
= 0 ;
7756 bool temp1
= False
;
7757 PyObject
* obj0
= 0 ;
7758 PyObject
* obj1
= 0 ;
7759 PyObject
* obj2
= 0 ;
7761 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7766 arg1
= wxString_in_helper(obj0
);
7767 if (arg1
== NULL
) SWIG_fail
;
7770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7774 PyErr_SetString(PyExc_TypeError
,"null reference");
7777 arg3
= (long) SWIG_AsLong(obj2
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 Py_INCREF(Py_None
); resultobj
= Py_None
;
7801 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxString
*arg1
= 0 ;
7804 PyObject
*arg2
= (PyObject
*) 0 ;
7805 bool temp1
= False
;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "filename",(char *) "data", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7814 arg1
= wxString_in_helper(obj0
);
7815 if (arg1
== NULL
) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 Py_INCREF(Py_None
); resultobj
= Py_None
;
7841 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxMemoryFSHandler
*result
;
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7863 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxString
*arg1
= 0 ;
7866 bool temp1
= False
;
7867 PyObject
* obj0
= 0 ;
7869 (char *) "filename", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7874 arg1
= wxString_in_helper(obj0
);
7875 if (arg1
== NULL
) SWIG_fail
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7885 Py_INCREF(Py_None
); resultobj
= Py_None
;
7900 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
;
7902 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7903 wxString
*arg2
= 0 ;
7905 bool temp2
= False
;
7906 PyObject
* obj0
= 0 ;
7907 PyObject
* obj1
= 0 ;
7909 (char *) "self",(char *) "location", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7916 arg2
= wxString_in_helper(obj1
);
7917 if (arg2
== NULL
) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7944 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
;
7946 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7947 wxFileSystem
*arg2
= 0 ;
7948 wxString
*arg3
= 0 ;
7950 bool temp3
= False
;
7951 PyObject
* obj0
= 0 ;
7952 PyObject
* obj1
= 0 ;
7953 PyObject
* obj2
= 0 ;
7955 (char *) "self",(char *) "fs",(char *) "location", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7965 PyErr_SetString(PyExc_TypeError
,"null reference");
7969 arg3
= wxString_in_helper(obj2
);
7970 if (arg3
== NULL
) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= wxPyMake_wxObject(result
);
7997 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
;
7999 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8000 wxString
*arg2
= 0 ;
8001 int arg3
= (int) 0 ;
8003 bool temp2
= False
;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8006 PyObject
* obj2
= 0 ;
8008 (char *) "self",(char *) "spec",(char *) "flags", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8015 arg2
= wxString_in_helper(obj1
);
8016 if (arg2
== NULL
) SWIG_fail
;
8020 arg3
= (int) SWIG_AsInt(obj2
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8051 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
;
8053 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8055 PyObject
* obj0
= 0 ;
8057 (char *) "self", NULL
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 result
= (arg1
)->FindNext();
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8083 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8086 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8088 return Py_BuildValue((char *)"");
8090 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
;
8092 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8094 PyObject
* obj0
= 0 ;
8096 (char *) "self", NULL
8099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 result
= (arg1
)->GetName();
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8122 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
*resultobj
;
8124 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8126 PyObject
* obj0
= 0 ;
8128 (char *) "self", NULL
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 result
= (arg1
)->GetExtension();
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8154 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8158 PyObject
* obj0
= 0 ;
8160 (char *) "self", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 result
= (long)(arg1
)->GetType();
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8173 resultobj
= SWIG_FromLong((long)result
);
8180 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
;
8182 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8186 (char *) "self", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (arg1
)->GetMimeType();
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8212 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
*resultobj
;
8214 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8215 wxString
*arg2
= 0 ;
8217 bool temp2
= False
;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8221 (char *) "self",(char *) "name", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8228 arg2
= wxString_in_helper(obj1
);
8229 if (arg2
== NULL
) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8256 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
;
8258 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8259 wxString
*arg2
= 0 ;
8260 bool temp2
= False
;
8261 PyObject
* obj0
= 0 ;
8262 PyObject
* obj1
= 0 ;
8264 (char *) "self",(char *) "name", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8271 arg2
= wxString_in_helper(obj1
);
8272 if (arg2
== NULL
) SWIG_fail
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 (arg1
)->SetName((wxString
const &)*arg2
);
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 Py_INCREF(Py_None
); resultobj
= Py_None
;
8297 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
;
8299 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8300 wxString
*arg2
= 0 ;
8301 bool temp2
= False
;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8305 (char *) "self",(char *) "extension", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8312 arg2
= wxString_in_helper(obj1
);
8313 if (arg2
== NULL
) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 (arg1
)->SetExtension((wxString
const &)*arg2
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 Py_INCREF(Py_None
); resultobj
= Py_None
;
8338 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8342 PyObject
* obj0
= 0 ;
8343 PyObject
* obj1
= 0 ;
8345 (char *) "self",(char *) "type", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8351 arg2
= (long) SWIG_AsLong(obj1
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 (arg1
)->SetType(arg2
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 Py_INCREF(Py_None
); resultobj
= Py_None
;
8367 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8370 wxString
*arg2
= 0 ;
8371 bool temp2
= False
;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8375 (char *) "self",(char *) "mimetype", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8382 arg2
= wxString_in_helper(obj1
);
8383 if (arg2
== NULL
) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8393 Py_INCREF(Py_None
); resultobj
= Py_None
;
8408 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8411 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8413 return Py_BuildValue((char *)"");
8415 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
*resultobj
;
8417 wxImageHistogram
*result
;
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (wxImageHistogram
*)new wxImageHistogram();
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8437 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 unsigned char arg1
;
8440 unsigned char arg2
;
8441 unsigned char arg3
;
8442 unsigned long result
;
8443 PyObject
* obj0
= 0 ;
8444 PyObject
* obj1
= 0 ;
8445 PyObject
* obj2
= 0 ;
8447 (char *) "r",(char *) "g",(char *) "b", NULL
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8451 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8453 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8455 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8464 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8471 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8474 unsigned char *arg2
= (unsigned char *) 0 ;
8475 unsigned char *arg3
= (unsigned char *) 0 ;
8476 unsigned char *arg4
= (unsigned char *) 0 ;
8477 unsigned char arg5
= (unsigned char) 1 ;
8478 unsigned char arg6
= (unsigned char) 0 ;
8479 unsigned char arg7
= (unsigned char) 0 ;
8481 unsigned char temp2
;
8482 unsigned char temp3
;
8483 unsigned char temp4
;
8484 PyObject
* obj0
= 0 ;
8485 PyObject
* obj1
= 0 ;
8486 PyObject
* obj2
= 0 ;
8487 PyObject
* obj3
= 0 ;
8489 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8499 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8503 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8507 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8521 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8522 resultobj
= t_output_helper(resultobj
,o
);
8525 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8526 resultobj
= t_output_helper(resultobj
,o
);
8529 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8530 resultobj
= t_output_helper(resultobj
,o
);
8538 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8541 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8543 return Py_BuildValue((char *)"");
8545 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxString
*arg1
= 0 ;
8548 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8549 int arg3
= (int) -1 ;
8551 bool temp1
= False
;
8552 PyObject
* obj0
= 0 ;
8553 PyObject
* obj1
= 0 ;
8554 PyObject
* obj2
= 0 ;
8556 (char *) "name",(char *) "type",(char *) "index", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8561 arg1
= wxString_in_helper(obj0
);
8562 if (arg1
== NULL
) SWIG_fail
;
8566 arg2
= (long) SWIG_AsLong(obj1
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8570 arg3
= (int) SWIG_AsInt(obj2
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8595 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxImage
*arg1
= (wxImage
*) 0 ;
8598 PyObject
* obj0
= 0 ;
8600 (char *) "self", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 Py_INCREF(Py_None
); resultobj
= Py_None
;
8620 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
*resultobj
;
8622 wxString
*arg1
= 0 ;
8623 wxString
*arg2
= 0 ;
8624 int arg3
= (int) -1 ;
8626 bool temp1
= False
;
8627 bool temp2
= False
;
8628 PyObject
* obj0
= 0 ;
8629 PyObject
* obj1
= 0 ;
8630 PyObject
* obj2
= 0 ;
8632 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8637 arg1
= wxString_in_helper(obj0
);
8638 if (arg1
== NULL
) SWIG_fail
;
8642 arg2
= wxString_in_helper(obj1
);
8643 if (arg2
== NULL
) SWIG_fail
;
8647 arg3
= (int) SWIG_AsInt(obj2
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8680 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
;
8682 wxInputStream
*arg1
= 0 ;
8683 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8684 int arg3
= (int) -1 ;
8686 wxPyInputStream
*temp1
;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8690 PyObject
* obj2
= 0 ;
8692 (char *) "stream",(char *) "type",(char *) "index", NULL
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8697 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8698 arg1
= temp1
->m_wxis
;
8701 PyErr_Clear(); // clear the failure of the wxPyConvert above
8702 arg1
= wxPyCBInputStream_create(obj0
, False
);
8704 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8711 arg2
= (long) SWIG_AsLong(obj1
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8715 arg3
= (int) SWIG_AsInt(obj2
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8740 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
*resultobj
;
8742 wxInputStream
*arg1
= 0 ;
8743 wxString
*arg2
= 0 ;
8744 int arg3
= (int) -1 ;
8746 wxPyInputStream
*temp1
;
8748 bool temp2
= False
;
8749 PyObject
* obj0
= 0 ;
8750 PyObject
* obj1
= 0 ;
8751 PyObject
* obj2
= 0 ;
8753 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8758 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8759 arg1
= temp1
->m_wxis
;
8762 PyErr_Clear(); // clear the failure of the wxPyConvert above
8763 arg1
= wxPyCBInputStream_create(obj0
, False
);
8765 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8772 arg2
= wxString_in_helper(obj1
);
8773 if (arg2
== NULL
) SWIG_fail
;
8777 arg3
= (int) SWIG_AsInt(obj2
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8810 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 int arg1
= (int) 0 ;
8813 int arg2
= (int) 0 ;
8814 bool arg3
= (bool) True
;
8816 PyObject
* obj0
= 0 ;
8817 PyObject
* obj1
= 0 ;
8818 PyObject
* obj2
= 0 ;
8820 (char *) "width",(char *) "height",(char *) "clear", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8825 arg1
= (int) SWIG_AsInt(obj0
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8829 arg2
= (int) SWIG_AsInt(obj1
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8833 arg3
= (bool) SWIG_AsBool(obj2
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8850 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
;
8852 wxBitmap
*arg1
= 0 ;
8854 PyObject
* obj0
= 0 ;
8856 (char *) "bitmap", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8864 PyErr_SetString(PyExc_TypeError
,"null reference");
8868 if (!wxPyCheckForApp()) SWIG_fail
;
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 if (!wxPyCheckForApp()) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 result
= wxImage_ConvertToBitmap(arg1
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11222 wxBitmap
* resultptr
;
11223 resultptr
= new wxBitmap((wxBitmap
&) result
);
11224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11232 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxImage
*arg1
= (wxImage
*) 0 ;
11235 unsigned char arg2
;
11236 unsigned char arg3
;
11237 unsigned char arg4
;
11239 PyObject
* obj0
= 0 ;
11240 PyObject
* obj1
= 0 ;
11241 PyObject
* obj2
= 0 ;
11242 PyObject
* obj3
= 0 ;
11243 char *kwnames
[] = {
11244 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11250 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11252 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11254 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 if (!wxPyCheckForApp()) SWIG_fail
;
11258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11265 wxBitmap
* resultptr
;
11266 resultptr
= new wxBitmap((wxBitmap
&) result
);
11267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11275 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11278 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11280 return Py_BuildValue((char *)"");
11282 static int _wrap_NullImage_set(PyObject
*_val
) {
11283 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11288 static PyObject
*_wrap_NullImage_get() {
11291 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11296 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11297 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11302 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11307 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11309 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11316 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11317 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11322 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11327 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11329 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11336 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11337 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11342 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11347 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11349 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11356 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11357 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11362 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11367 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11369 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11376 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11377 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11382 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11387 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11389 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11396 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
;
11398 wxBMPHandler
*result
;
11399 char *kwnames
[] = {
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 result
= (wxBMPHandler
*)new wxBMPHandler();
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11418 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11421 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11423 return Py_BuildValue((char *)"");
11425 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
;
11427 wxICOHandler
*result
;
11428 char *kwnames
[] = {
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (wxICOHandler
*)new wxICOHandler();
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11447 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11450 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11452 return Py_BuildValue((char *)"");
11454 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxCURHandler
*result
;
11457 char *kwnames
[] = {
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= (wxCURHandler
*)new wxCURHandler();
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11476 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11479 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11481 return Py_BuildValue((char *)"");
11483 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxANIHandler
*result
;
11486 char *kwnames
[] = {
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 result
= (wxANIHandler
*)new wxANIHandler();
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11505 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11508 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11510 return Py_BuildValue((char *)"");
11512 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxPNGHandler
*result
;
11515 char *kwnames
[] = {
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 result
= (wxPNGHandler
*)new wxPNGHandler();
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11534 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11537 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11539 return Py_BuildValue((char *)"");
11541 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxGIFHandler
*result
;
11544 char *kwnames
[] = {
11548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= (wxGIFHandler
*)new wxGIFHandler();
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11563 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11566 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11568 return Py_BuildValue((char *)"");
11570 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
;
11572 wxPCXHandler
*result
;
11573 char *kwnames
[] = {
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 result
= (wxPCXHandler
*)new wxPCXHandler();
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11592 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11595 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11597 return Py_BuildValue((char *)"");
11599 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
;
11601 wxJPEGHandler
*result
;
11602 char *kwnames
[] = {
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11621 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11624 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11626 return Py_BuildValue((char *)"");
11628 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11629 PyObject
*resultobj
;
11630 wxPNMHandler
*result
;
11631 char *kwnames
[] = {
11635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (wxPNMHandler
*)new wxPNMHandler();
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11650 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11653 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11655 return Py_BuildValue((char *)"");
11657 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
;
11659 wxXPMHandler
*result
;
11660 char *kwnames
[] = {
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (wxXPMHandler
*)new wxXPMHandler();
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11679 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11682 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11684 return Py_BuildValue((char *)"");
11686 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
;
11688 wxTIFFHandler
*result
;
11689 char *kwnames
[] = {
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11708 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11711 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11713 return Py_BuildValue((char *)"");
11715 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
;
11717 wxEvtHandler
*result
;
11718 char *kwnames
[] = {
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (wxEvtHandler
*)new wxEvtHandler();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11731 resultobj
= wxPyMake_wxObject(result
);
11739 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11742 wxEvtHandler
*result
;
11743 PyObject
* obj0
= 0 ;
11744 char *kwnames
[] = {
11745 (char *) "self", NULL
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11755 wxPyEndAllowThreads(__tstate
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= wxPyMake_wxObject(result
);
11767 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11770 wxEvtHandler
*result
;
11771 PyObject
* obj0
= 0 ;
11772 char *kwnames
[] = {
11773 (char *) "self", NULL
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= wxPyMake_wxObject(result
);
11795 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11798 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "self",(char *) "handler", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 (arg1
)->SetNextHandler(arg2
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 Py_INCREF(Py_None
); resultobj
= Py_None
;
11824 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11827 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "self",(char *) "handler", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 (arg1
)->SetPreviousHandler(arg2
);
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 Py_INCREF(Py_None
); resultobj
= Py_None
;
11853 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11857 PyObject
* obj0
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11881 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11885 PyObject
* obj0
= 0 ;
11886 PyObject
* obj1
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self",(char *) "enabled", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11894 arg2
= (bool) SWIG_AsBool(obj1
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 (arg1
)->SetEvtHandlerEnabled(arg2
);
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11903 Py_INCREF(Py_None
); resultobj
= Py_None
;
11910 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
;
11912 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11913 wxEvent
*arg2
= 0 ;
11915 PyObject
* obj0
= 0 ;
11916 PyObject
* obj1
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "self",(char *) "event", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11927 if (arg2
== NULL
) {
11928 PyErr_SetString(PyExc_TypeError
,"null reference");
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11947 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11950 wxEvent
*arg2
= 0 ;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 char *kwnames
[] = {
11954 (char *) "self",(char *) "event", NULL
11957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11963 if (arg2
== NULL
) {
11964 PyErr_SetString(PyExc_TypeError
,"null reference");
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 (arg1
)->AddPendingEvent(*arg2
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 Py_INCREF(Py_None
); resultobj
= Py_None
;
11981 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 char *kwnames
[] = {
11986 (char *) "self", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 (arg1
)->ProcessPendingEvents();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 Py_INCREF(Py_None
); resultobj
= Py_None
;
12006 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12012 PyObject
*arg5
= (PyObject
*) 0 ;
12013 PyObject
* obj0
= 0 ;
12014 PyObject
* obj1
= 0 ;
12015 PyObject
* obj2
= 0 ;
12016 PyObject
* obj3
= 0 ;
12017 PyObject
* obj4
= 0 ;
12018 char *kwnames
[] = {
12019 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12025 arg2
= (int) SWIG_AsInt(obj1
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12027 arg3
= (int) SWIG_AsInt(obj2
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12029 arg4
= (int) SWIG_AsInt(obj3
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 Py_INCREF(Py_None
); resultobj
= Py_None
;
12046 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
;
12048 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12050 int arg3
= (int) -1 ;
12051 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 PyObject
* obj2
= 0 ;
12056 PyObject
* obj3
= 0 ;
12057 char *kwnames
[] = {
12058 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12064 arg2
= (int) SWIG_AsInt(obj1
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 arg3
= (int) SWIG_AsInt(obj2
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12071 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12090 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
;
12092 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12093 PyObject
*arg2
= (PyObject
*) 0 ;
12094 PyObject
* obj0
= 0 ;
12095 PyObject
* obj1
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self",(char *) "_self", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 wxEvtHandler__setOORInfo(arg1
,arg2
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 Py_INCREF(Py_None
); resultobj
= Py_None
;
12118 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12121 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12123 return Py_BuildValue((char *)"");
12125 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxEventType result
;
12128 char *kwnames
[] = {
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (wxEventType
)wxNewEventType();
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= SWIG_FromInt((int)result
);
12147 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxEvent
*arg1
= (wxEvent
*) 0 ;
12150 PyObject
* obj0
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "self", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 Py_INCREF(Py_None
); resultobj
= Py_None
;
12172 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxEvent
*arg1
= (wxEvent
*) 0 ;
12176 PyObject
* obj0
= 0 ;
12177 PyObject
* obj1
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self",(char *) "typ", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12185 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 (arg1
)->SetEventType(arg2
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 Py_INCREF(Py_None
); resultobj
= Py_None
;
12201 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxEvent
*arg1
= (wxEvent
*) 0 ;
12204 wxEventType result
;
12205 PyObject
* obj0
= 0 ;
12206 char *kwnames
[] = {
12207 (char *) "self", NULL
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= SWIG_FromInt((int)result
);
12227 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
;
12229 wxEvent
*arg1
= (wxEvent
*) 0 ;
12231 PyObject
* obj0
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= wxPyMake_wxObject(result
);
12255 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxEvent
*arg1
= (wxEvent
*) 0 ;
12258 wxObject
*arg2
= (wxObject
*) 0 ;
12259 PyObject
* obj0
= 0 ;
12260 PyObject
* obj1
= 0 ;
12261 char *kwnames
[] = {
12262 (char *) "self",(char *) "obj", NULL
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 (arg1
)->SetEventObject(arg2
);
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 Py_INCREF(Py_None
); resultobj
= Py_None
;
12284 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxEvent
*arg1
= (wxEvent
*) 0 ;
12288 PyObject
* obj0
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= SWIG_FromLong((long)result
);
12310 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxEvent
*arg1
= (wxEvent
*) 0 ;
12313 long arg2
= (long) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 PyObject
* obj1
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self",(char *) "ts", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12324 arg2
= (long) SWIG_AsLong(obj1
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 (arg1
)->SetTimestamp(arg2
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 Py_INCREF(Py_None
); resultobj
= Py_None
;
12341 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxEvent
*arg1
= (wxEvent
*) 0 ;
12345 PyObject
* obj0
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "self", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (int)((wxEvent
const *)arg1
)->GetId();
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_FromInt((int)result
);
12367 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxEvent
*arg1
= (wxEvent
*) 0 ;
12371 PyObject
* obj0
= 0 ;
12372 PyObject
* obj1
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self",(char *) "Id", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12380 arg2
= (int) SWIG_AsInt(obj1
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 (arg1
)->SetId(arg2
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 Py_INCREF(Py_None
); resultobj
= Py_None
;
12396 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxEvent
*arg1
= (wxEvent
*) 0 ;
12400 PyObject
* obj0
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12424 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
;
12426 wxEvent
*arg1
= (wxEvent
*) 0 ;
12427 bool arg2
= (bool) True
;
12428 PyObject
* obj0
= 0 ;
12429 PyObject
* obj1
= 0 ;
12430 char *kwnames
[] = {
12431 (char *) "self",(char *) "skip", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12438 arg2
= (bool) SWIG_AsBool(obj1
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 (arg1
)->Skip(arg2
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 Py_INCREF(Py_None
); resultobj
= Py_None
;
12455 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxEvent
*arg1
= (wxEvent
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12483 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
;
12485 wxEvent
*arg1
= (wxEvent
*) 0 ;
12487 PyObject
* obj0
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12511 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxEvent
*arg1
= (wxEvent
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (int)(arg1
)->StopPropagation();
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= SWIG_FromInt((int)result
);
12537 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxEvent
*arg1
= (wxEvent
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self",(char *) "propagationLevel", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12550 arg2
= (int) SWIG_AsInt(obj1
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 (arg1
)->ResumePropagation(arg2
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 Py_INCREF(Py_None
); resultobj
= Py_None
;
12566 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxEvent
*arg1
= (wxEvent
*) 0 ;
12570 PyObject
* obj0
= 0 ;
12571 char *kwnames
[] = {
12572 (char *) "self", NULL
12575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 result
= (wxEvent
*)(arg1
)->Clone();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12592 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12595 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12597 return Py_BuildValue((char *)"");
12599 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
;
12601 wxEvent
*arg1
= 0 ;
12602 wxPropagationDisabler
*result
;
12603 PyObject
* obj0
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "event", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12612 if (arg1
== NULL
) {
12613 PyErr_SetString(PyExc_TypeError
,"null reference");
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12630 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12633 PyObject
* obj0
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "self", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 Py_INCREF(Py_None
); resultobj
= Py_None
;
12655 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12658 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12660 return Py_BuildValue((char *)"");
12662 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxEvent
*arg1
= 0 ;
12665 wxPropagateOnce
*result
;
12666 PyObject
* obj0
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "event", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12675 if (arg1
== NULL
) {
12676 PyErr_SetString(PyExc_TypeError
,"null reference");
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12693 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12696 PyObject
* obj0
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12721 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12723 return Py_BuildValue((char *)"");
12725 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12728 int arg2
= (int) 0 ;
12729 wxCommandEvent
*result
;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "commandType",(char *) "winid", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12738 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12742 arg2
= (int) SWIG_AsInt(obj1
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12759 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "self", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_FromInt((int)result
);
12785 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12788 wxString
*arg2
= 0 ;
12789 bool temp2
= False
;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self",(char *) "s", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12800 arg2
= wxString_in_helper(obj1
);
12801 if (arg2
== NULL
) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 (arg1
)->SetString((wxString
const &)*arg2
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 Py_INCREF(Py_None
); resultobj
= Py_None
;
12826 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
;
12828 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12830 PyObject
* obj0
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12858 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
;
12860 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12886 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 char *kwnames
[] = {
12892 (char *) "self", NULL
12895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12914 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 PyObject
* obj1
= 0 ;
12920 char *kwnames
[] = {
12921 (char *) "self",(char *) "extraLong", NULL
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12927 arg2
= (long) SWIG_AsLong(obj1
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 (arg1
)->SetExtraLong(arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 Py_INCREF(Py_None
); resultobj
= Py_None
;
12943 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12947 PyObject
* obj0
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "self", NULL
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_FromLong((long)result
);
12969 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 PyObject
* obj1
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self",(char *) "i", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 arg2
= (int) SWIG_AsInt(obj1
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 (arg1
)->SetInt(arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 Py_INCREF(Py_None
); resultobj
= Py_None
;
12998 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_FromLong((long)result
);
13024 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13028 PyObject
* obj0
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13050 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13053 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13055 return Py_BuildValue((char *)"");
13057 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13060 int arg2
= (int) 0 ;
13061 wxNotifyEvent
*result
;
13062 PyObject
* obj0
= 0 ;
13063 PyObject
* obj1
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "commandType",(char *) "winid", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13070 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13074 arg2
= (int) SWIG_AsInt(obj1
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13091 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13094 PyObject
* obj0
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "self", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 Py_INCREF(Py_None
); resultobj
= Py_None
;
13116 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
;
13118 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13119 PyObject
* obj0
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 Py_INCREF(Py_None
); resultobj
= Py_None
;
13141 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13145 PyObject
* obj0
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (bool)(arg1
)->IsAllowed();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13169 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13172 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13174 return Py_BuildValue((char *)"");
13176 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13179 int arg2
= (int) 0 ;
13180 int arg3
= (int) 0 ;
13181 int arg4
= (int) 0 ;
13182 wxScrollEvent
*result
;
13183 PyObject
* obj0
= 0 ;
13184 PyObject
* obj1
= 0 ;
13185 PyObject
* obj2
= 0 ;
13186 PyObject
* obj3
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13193 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 arg2
= (int) SWIG_AsInt(obj1
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 arg3
= (int) SWIG_AsInt(obj2
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 arg4
= (int) SWIG_AsInt(obj3
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13222 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13226 PyObject
* obj0
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 resultobj
= SWIG_FromInt((int)result
);
13248 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 char *kwnames
[] = {
13254 (char *) "self", NULL
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= SWIG_FromInt((int)result
);
13274 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self",(char *) "orient", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13287 arg2
= (int) SWIG_AsInt(obj1
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 (arg1
)->SetOrientation(arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 Py_INCREF(Py_None
); resultobj
= Py_None
;
13303 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 PyObject
* obj1
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "pos", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 arg2
= (int) SWIG_AsInt(obj1
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 (arg1
)->SetPosition(arg2
);
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 Py_INCREF(Py_None
); resultobj
= Py_None
;
13332 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13335 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13337 return Py_BuildValue((char *)"");
13339 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13342 int arg2
= (int) 0 ;
13343 int arg3
= (int) 0 ;
13344 wxScrollWinEvent
*result
;
13345 PyObject
* obj0
= 0 ;
13346 PyObject
* obj1
= 0 ;
13347 PyObject
* obj2
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13354 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13358 arg2
= (int) SWIG_AsInt(obj1
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13362 arg3
= (int) SWIG_AsInt(obj2
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13379 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_FromInt((int)result
);
13405 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 char *kwnames
[] = {
13411 (char *) "self", NULL
13414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_FromInt((int)result
);
13431 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13435 PyObject
* obj0
= 0 ;
13436 PyObject
* obj1
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self",(char *) "orient", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13444 arg2
= (int) SWIG_AsInt(obj1
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 (arg1
)->SetOrientation(arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 Py_INCREF(Py_None
); resultobj
= Py_None
;
13460 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 PyObject
* obj1
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self",(char *) "pos", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13473 arg2
= (int) SWIG_AsInt(obj1
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 (arg1
)->SetPosition(arg2
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 Py_INCREF(Py_None
); resultobj
= Py_None
;
13489 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13492 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13494 return Py_BuildValue((char *)"");
13496 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
;
13498 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13499 wxMouseEvent
*result
;
13500 PyObject
* obj0
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "mouseType", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13507 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= wxPyMake_wxObject(result
);
13526 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13530 PyObject
* obj0
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13554 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13557 int arg2
= (int) wxMOUSE_BTN_ANY
;
13559 PyObject
* obj0
= 0 ;
13560 PyObject
* obj1
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self",(char *) "but", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13569 arg2
= (int) SWIG_AsInt(obj1
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13588 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13591 int arg2
= (int) wxMOUSE_BTN_ANY
;
13593 PyObject
* obj0
= 0 ;
13594 PyObject
* obj1
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self",(char *) "but", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13603 arg2
= (int) SWIG_AsInt(obj1
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13622 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13625 int arg2
= (int) wxMOUSE_BTN_ANY
;
13627 PyObject
* obj0
= 0 ;
13628 PyObject
* obj1
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self",(char *) "but", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13637 arg2
= (int) SWIG_AsInt(obj1
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13656 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13661 PyObject
* obj0
= 0 ;
13662 PyObject
* obj1
= 0 ;
13663 char *kwnames
[] = {
13664 (char *) "self",(char *) "but", NULL
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13670 arg2
= (int) SWIG_AsInt(obj1
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13688 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
;
13690 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13693 PyObject
* obj0
= 0 ;
13694 PyObject
* obj1
= 0 ;
13695 char *kwnames
[] = {
13696 (char *) "self",(char *) "but", NULL
13699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13702 arg2
= (int) SWIG_AsInt(obj1
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13720 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13722 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13724 PyObject
* obj0
= 0 ;
13725 char *kwnames
[] = {
13726 (char *) "self", NULL
13729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13739 resultobj
= SWIG_FromInt((int)result
);
13746 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
;
13748 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13750 PyObject
* obj0
= 0 ;
13751 char *kwnames
[] = {
13752 (char *) "self", NULL
13755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13774 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
;
13776 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13778 PyObject
* obj0
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13802 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13806 PyObject
* obj0
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "self", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13830 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13834 PyObject
* obj0
= 0 ;
13835 char *kwnames
[] = {
13836 (char *) "self", NULL
13839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13858 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13886 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13914 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 char *kwnames
[] = {
13920 (char *) "self", NULL
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13942 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
;
13944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13946 PyObject
* obj0
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13970 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
;
13972 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13974 PyObject
* obj0
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13998 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14026 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
;
14028 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14030 PyObject
* obj0
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14054 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14058 PyObject
* obj0
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14082 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14086 PyObject
* obj0
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14110 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= (bool)(arg1
)->LeftIsDown();
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14138 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14142 PyObject
* obj0
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (bool)(arg1
)->MiddleIsDown();
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14166 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14167 PyObject
*resultobj
;
14168 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14170 PyObject
* obj0
= 0 ;
14171 char *kwnames
[] = {
14172 (char *) "self", NULL
14175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= (bool)(arg1
)->RightIsDown();
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14194 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14198 PyObject
* obj0
= 0 ;
14199 char *kwnames
[] = {
14200 (char *) "self", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14222 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14226 PyObject
* obj0
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14250 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14254 PyObject
* obj0
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14278 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
;
14280 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 char *kwnames
[] = {
14284 (char *) "self", NULL
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14306 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (arg1
)->GetPosition();
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 wxPoint
* resultptr
;
14327 resultptr
= new wxPoint((wxPoint
&) result
);
14328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14336 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14338 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14339 long *arg2
= (long *) 0 ;
14340 long *arg3
= (long *) 0 ;
14343 PyObject
* obj0
= 0 ;
14344 char *kwnames
[] = {
14345 (char *) "self", NULL
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 (arg1
)->GetPosition(arg2
,arg3
);
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 Py_INCREF(Py_None
); resultobj
= Py_None
;
14362 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14363 resultobj
= t_output_helper(resultobj
,o
);
14366 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14367 resultobj
= t_output_helper(resultobj
,o
);
14375 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14380 PyObject
* obj0
= 0 ;
14381 PyObject
* obj1
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "self",(char *) "dc", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14392 if (arg2
== NULL
) {
14393 PyErr_SetString(PyExc_TypeError
,"null reference");
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14404 wxPoint
* resultptr
;
14405 resultptr
= new wxPoint((wxPoint
&) result
);
14406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14414 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14418 PyObject
* obj0
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "self", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 resultobj
= SWIG_FromInt((int)result
);
14440 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= SWIG_FromInt((int)result
);
14466 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14470 PyObject
* obj0
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 resultobj
= SWIG_FromInt((int)result
);
14492 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14493 PyObject
*resultobj
;
14494 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14511 resultobj
= SWIG_FromInt((int)result
);
14518 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14519 PyObject
*resultobj
;
14520 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14522 PyObject
* obj0
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= SWIG_FromInt((int)result
);
14544 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14548 PyObject
* obj0
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14572 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 PyObject
* obj1
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self",(char *) "m_x", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14585 arg2
= (int) SWIG_AsInt(obj1
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14587 if (arg1
) (arg1
)->m_x
= arg2
;
14589 Py_INCREF(Py_None
); resultobj
= Py_None
;
14596 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
;
14598 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14600 PyObject
* obj0
= 0 ;
14601 char *kwnames
[] = {
14602 (char *) "self", NULL
14605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14608 result
= (int) ((arg1
)->m_x
);
14610 resultobj
= SWIG_FromInt((int)result
);
14617 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14618 PyObject
*resultobj
;
14619 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14621 PyObject
* obj0
= 0 ;
14622 PyObject
* obj1
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "self",(char *) "m_y", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14630 arg2
= (int) SWIG_AsInt(obj1
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14632 if (arg1
) (arg1
)->m_y
= arg2
;
14634 Py_INCREF(Py_None
); resultobj
= Py_None
;
14641 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14645 PyObject
* obj0
= 0 ;
14646 char *kwnames
[] = {
14647 (char *) "self", NULL
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14653 result
= (int) ((arg1
)->m_y
);
14655 resultobj
= SWIG_FromInt((int)result
);
14662 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 PyObject
* obj1
= 0 ;
14668 char *kwnames
[] = {
14669 (char *) "self",(char *) "m_leftDown", NULL
14672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 arg2
= (bool) SWIG_AsBool(obj1
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14677 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14679 Py_INCREF(Py_None
); resultobj
= Py_None
;
14686 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14698 result
= (bool) ((arg1
)->m_leftDown
);
14701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14709 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
;
14711 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14713 PyObject
* obj0
= 0 ;
14714 PyObject
* obj1
= 0 ;
14715 char *kwnames
[] = {
14716 (char *) "self",(char *) "m_middleDown", NULL
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14722 arg2
= (bool) SWIG_AsBool(obj1
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14724 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14726 Py_INCREF(Py_None
); resultobj
= Py_None
;
14733 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14737 PyObject
* obj0
= 0 ;
14738 char *kwnames
[] = {
14739 (char *) "self", NULL
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14745 result
= (bool) ((arg1
)->m_middleDown
);
14748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14756 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 PyObject
* obj1
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "self",(char *) "m_rightDown", NULL
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14769 arg2
= (bool) SWIG_AsBool(obj1
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14771 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14773 Py_INCREF(Py_None
); resultobj
= Py_None
;
14780 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14782 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14784 PyObject
* obj0
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14792 result
= (bool) ((arg1
)->m_rightDown
);
14795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14803 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
;
14805 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14807 PyObject
* obj0
= 0 ;
14808 PyObject
* obj1
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "self",(char *) "m_controlDown", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14816 arg2
= (bool) SWIG_AsBool(obj1
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14818 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14820 Py_INCREF(Py_None
); resultobj
= Py_None
;
14827 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
;
14829 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14831 PyObject
* obj0
= 0 ;
14832 char *kwnames
[] = {
14833 (char *) "self", NULL
14836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14839 result
= (bool) ((arg1
)->m_controlDown
);
14842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14850 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 PyObject
* obj1
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "self",(char *) "m_shiftDown", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14863 arg2
= (bool) SWIG_AsBool(obj1
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14865 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14867 Py_INCREF(Py_None
); resultobj
= Py_None
;
14874 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14878 PyObject
* obj0
= 0 ;
14879 char *kwnames
[] = {
14880 (char *) "self", NULL
14883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14886 result
= (bool) ((arg1
)->m_shiftDown
);
14889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14897 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14901 PyObject
* obj0
= 0 ;
14902 PyObject
* obj1
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self",(char *) "m_altDown", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14910 arg2
= (bool) SWIG_AsBool(obj1
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14912 if (arg1
) (arg1
)->m_altDown
= arg2
;
14914 Py_INCREF(Py_None
); resultobj
= Py_None
;
14921 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14925 PyObject
* obj0
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14933 result
= (bool) ((arg1
)->m_altDown
);
14936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14944 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
;
14946 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14948 PyObject
* obj0
= 0 ;
14949 PyObject
* obj1
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self",(char *) "m_metaDown", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14957 arg2
= (bool) SWIG_AsBool(obj1
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14959 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14961 Py_INCREF(Py_None
); resultobj
= Py_None
;
14968 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14969 PyObject
*resultobj
;
14970 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14972 PyObject
* obj0
= 0 ;
14973 char *kwnames
[] = {
14974 (char *) "self", NULL
14977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14980 result
= (bool) ((arg1
)->m_metaDown
);
14983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14991 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14995 PyObject
* obj0
= 0 ;
14996 PyObject
* obj1
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self",(char *) "m_wheelRotation", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15004 arg2
= (int) SWIG_AsInt(obj1
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15006 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15008 Py_INCREF(Py_None
); resultobj
= Py_None
;
15015 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "self", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15027 result
= (int) ((arg1
)->m_wheelRotation
);
15029 resultobj
= SWIG_FromInt((int)result
);
15036 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15040 PyObject
* obj0
= 0 ;
15041 PyObject
* obj1
= 0 ;
15042 char *kwnames
[] = {
15043 (char *) "self",(char *) "m_wheelDelta", NULL
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15049 arg2
= (int) SWIG_AsInt(obj1
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15051 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15053 Py_INCREF(Py_None
); resultobj
= Py_None
;
15060 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15072 result
= (int) ((arg1
)->m_wheelDelta
);
15074 resultobj
= SWIG_FromInt((int)result
);
15081 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "self",(char *) "m_linesPerAction", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15094 arg2
= (int) SWIG_AsInt(obj1
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15096 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15098 Py_INCREF(Py_None
); resultobj
= Py_None
;
15105 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
;
15107 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 char *kwnames
[] = {
15111 (char *) "self", NULL
15114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15117 result
= (int) ((arg1
)->m_linesPerAction
);
15119 resultobj
= SWIG_FromInt((int)result
);
15126 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15129 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15131 return Py_BuildValue((char *)"");
15133 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
;
15135 int arg1
= (int) 0 ;
15136 int arg2
= (int) 0 ;
15137 wxSetCursorEvent
*result
;
15138 PyObject
* obj0
= 0 ;
15139 PyObject
* obj1
= 0 ;
15140 char *kwnames
[] = {
15141 (char *) "x",(char *) "y", NULL
15144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15146 arg1
= (int) SWIG_AsInt(obj0
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15150 arg2
= (int) SWIG_AsInt(obj1
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15167 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
;
15169 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15171 PyObject
* obj0
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= SWIG_FromInt((int)result
);
15193 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
;
15195 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15197 PyObject
* obj0
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "self", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= SWIG_FromInt((int)result
);
15219 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15222 wxCursor
*arg2
= 0 ;
15223 PyObject
* obj0
= 0 ;
15224 PyObject
* obj1
= 0 ;
15225 char *kwnames
[] = {
15226 (char *) "self",(char *) "cursor", NULL
15229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15235 if (arg2
== NULL
) {
15236 PyErr_SetString(PyExc_TypeError
,"null reference");
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 Py_INCREF(Py_None
); resultobj
= Py_None
;
15253 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15269 result
= (wxCursor
*) &_result_ref
;
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15276 wxCursor
* resultptr
= new wxCursor(*result
);
15277 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15285 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
;
15287 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15313 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15316 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15318 return Py_BuildValue((char *)"");
15320 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15323 wxKeyEvent
*result
;
15324 PyObject
* obj0
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "keyType", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15331 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15348 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15376 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
;
15378 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15380 PyObject
* obj0
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "self", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15404 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
;
15406 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15408 PyObject
* obj0
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15432 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15460 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15488 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15492 PyObject
* obj0
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= SWIG_FromInt((int)result
);
15514 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= SWIG_FromInt((int)result
);
15540 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
;
15542 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15543 unsigned int result
;
15544 PyObject
* obj0
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15559 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15566 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15569 unsigned int result
;
15570 PyObject
* obj0
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "self", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15592 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15593 PyObject
*resultobj
;
15594 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15596 PyObject
* obj0
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= (arg1
)->GetPosition();
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15612 wxPoint
* resultptr
;
15613 resultptr
= new wxPoint((wxPoint
&) result
);
15614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15622 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15625 long *arg2
= (long *) 0 ;
15626 long *arg3
= (long *) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 (arg1
)->GetPosition(arg2
,arg3
);
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15646 Py_INCREF(Py_None
); resultobj
= Py_None
;
15648 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15649 resultobj
= t_output_helper(resultobj
,o
);
15652 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15653 resultobj
= t_output_helper(resultobj
,o
);
15661 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15665 PyObject
* obj0
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15680 resultobj
= SWIG_FromInt((int)result
);
15687 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15691 PyObject
* obj0
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= SWIG_FromInt((int)result
);
15713 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15717 PyObject
* obj0
= 0 ;
15718 PyObject
* obj1
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self",(char *) "m_x", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15726 arg2
= (int) SWIG_AsInt(obj1
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15728 if (arg1
) (arg1
)->m_x
= arg2
;
15730 Py_INCREF(Py_None
); resultobj
= Py_None
;
15737 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15741 PyObject
* obj0
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15749 result
= (int) ((arg1
)->m_x
);
15751 resultobj
= SWIG_FromInt((int)result
);
15758 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15762 PyObject
* obj0
= 0 ;
15763 PyObject
* obj1
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "self",(char *) "m_y", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15771 arg2
= (int) SWIG_AsInt(obj1
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15773 if (arg1
) (arg1
)->m_y
= arg2
;
15775 Py_INCREF(Py_None
); resultobj
= Py_None
;
15782 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15783 PyObject
*resultobj
;
15784 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15786 PyObject
* obj0
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "self", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15794 result
= (int) ((arg1
)->m_y
);
15796 resultobj
= SWIG_FromInt((int)result
);
15803 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15807 PyObject
* obj0
= 0 ;
15808 PyObject
* obj1
= 0 ;
15809 char *kwnames
[] = {
15810 (char *) "self",(char *) "m_keyCode", NULL
15813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15816 arg2
= (long) SWIG_AsLong(obj1
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15818 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15820 Py_INCREF(Py_None
); resultobj
= Py_None
;
15827 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15828 PyObject
*resultobj
;
15829 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15831 PyObject
* obj0
= 0 ;
15832 char *kwnames
[] = {
15833 (char *) "self", NULL
15836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15839 result
= (long) ((arg1
)->m_keyCode
);
15841 resultobj
= SWIG_FromLong((long)result
);
15848 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15852 PyObject
* obj0
= 0 ;
15853 PyObject
* obj1
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "self",(char *) "m_controlDown", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15861 arg2
= (bool) SWIG_AsBool(obj1
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15863 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15865 Py_INCREF(Py_None
); resultobj
= Py_None
;
15872 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
;
15874 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15876 PyObject
* obj0
= 0 ;
15877 char *kwnames
[] = {
15878 (char *) "self", NULL
15881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15884 result
= (bool) ((arg1
)->m_controlDown
);
15887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15895 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15899 PyObject
* obj0
= 0 ;
15900 PyObject
* obj1
= 0 ;
15901 char *kwnames
[] = {
15902 (char *) "self",(char *) "m_shiftDown", NULL
15905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15908 arg2
= (bool) SWIG_AsBool(obj1
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15910 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15912 Py_INCREF(Py_None
); resultobj
= Py_None
;
15919 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15921 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15923 PyObject
* obj0
= 0 ;
15924 char *kwnames
[] = {
15925 (char *) "self", NULL
15928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15931 result
= (bool) ((arg1
)->m_shiftDown
);
15934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15942 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
;
15944 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self",(char *) "m_altDown", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15955 arg2
= (bool) SWIG_AsBool(obj1
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15957 if (arg1
) (arg1
)->m_altDown
= arg2
;
15959 Py_INCREF(Py_None
); resultobj
= Py_None
;
15966 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15970 PyObject
* obj0
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "self", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15978 result
= (bool) ((arg1
)->m_altDown
);
15981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15989 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15993 PyObject
* obj0
= 0 ;
15994 PyObject
* obj1
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self",(char *) "m_metaDown", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16002 arg2
= (bool) SWIG_AsBool(obj1
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16004 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16006 Py_INCREF(Py_None
); resultobj
= Py_None
;
16013 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16017 PyObject
* obj0
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16025 result
= (bool) ((arg1
)->m_metaDown
);
16028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16036 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
;
16038 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16040 PyObject
* obj0
= 0 ;
16041 PyObject
* obj1
= 0 ;
16042 char *kwnames
[] = {
16043 (char *) "self",(char *) "m_scanCode", NULL
16046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16049 arg2
= (bool) SWIG_AsBool(obj1
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16051 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16053 Py_INCREF(Py_None
); resultobj
= Py_None
;
16060 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
;
16062 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16064 PyObject
* obj0
= 0 ;
16065 char *kwnames
[] = {
16066 (char *) "self", NULL
16069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16072 result
= (bool) ((arg1
)->m_scanCode
);
16075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16083 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16086 unsigned int arg2
;
16087 PyObject
* obj0
= 0 ;
16088 PyObject
* obj1
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "self",(char *) "m_rawCode", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16096 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16098 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16100 Py_INCREF(Py_None
); resultobj
= Py_None
;
16107 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16110 unsigned int result
;
16111 PyObject
* obj0
= 0 ;
16112 char *kwnames
[] = {
16113 (char *) "self", NULL
16116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16119 result
= (unsigned int) ((arg1
)->m_rawCode
);
16121 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16128 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16129 PyObject
*resultobj
;
16130 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16131 unsigned int arg2
;
16132 PyObject
* obj0
= 0 ;
16133 PyObject
* obj1
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self",(char *) "m_rawFlags", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16141 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16143 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16145 Py_INCREF(Py_None
); resultobj
= Py_None
;
16152 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
;
16154 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16155 unsigned int result
;
16156 PyObject
* obj0
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "self", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16164 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16166 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16173 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16176 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16178 return Py_BuildValue((char *)"");
16180 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
;
16182 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16183 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16184 int arg2
= (int) 0 ;
16185 wxSizeEvent
*result
;
16187 PyObject
* obj0
= 0 ;
16188 PyObject
* obj1
= 0 ;
16189 char *kwnames
[] = {
16190 (char *) "sz",(char *) "winid", NULL
16193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16197 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16201 arg2
= (int) SWIG_AsInt(obj1
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16218 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
;
16220 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16222 PyObject
* obj0
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 wxSize
* resultptr
;
16239 resultptr
= new wxSize((wxSize
&) result
);
16240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16248 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16252 PyObject
* obj0
= 0 ;
16253 char *kwnames
[] = {
16254 (char *) "self", NULL
16257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16268 wxRect
* resultptr
;
16269 resultptr
= new wxRect((wxRect
&) result
);
16270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16278 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 PyObject
* obj1
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "rect", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16292 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16293 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 (arg1
)->SetRect(arg2
);
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 Py_INCREF(Py_None
); resultobj
= Py_None
;
16309 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self",(char *) "size", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16323 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16324 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 wxSizeEvent_SetSize(arg1
,arg2
);
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16333 Py_INCREF(Py_None
); resultobj
= Py_None
;
16340 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
;
16342 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16343 wxSize
*arg2
= (wxSize
*) 0 ;
16344 PyObject
* obj0
= 0 ;
16345 PyObject
* obj1
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "self",(char *) "m_size", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 if (arg1
) (arg1
)->m_size
= *arg2
;
16357 Py_INCREF(Py_None
); resultobj
= Py_None
;
16364 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16376 result
= (wxSize
*)& ((arg1
)->m_size
);
16378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16385 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
;
16387 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16388 wxRect
*arg2
= (wxRect
*) 0 ;
16389 PyObject
* obj0
= 0 ;
16390 PyObject
* obj1
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self",(char *) "m_rect", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16400 if (arg1
) (arg1
)->m_rect
= *arg2
;
16402 Py_INCREF(Py_None
); resultobj
= Py_None
;
16409 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16421 result
= (wxRect
*)& ((arg1
)->m_rect
);
16423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16430 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16433 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16435 return Py_BuildValue((char *)"");
16437 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16440 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16441 int arg2
= (int) 0 ;
16442 wxMoveEvent
*result
;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "pos",(char *) "winid", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16454 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16458 arg2
= (int) SWIG_AsInt(obj1
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16475 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16495 wxPoint
* resultptr
;
16496 resultptr
= new wxPoint((wxPoint
&) result
);
16497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16505 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
;
16507 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16509 PyObject
* obj0
= 0 ;
16510 char *kwnames
[] = {
16511 (char *) "self", NULL
16514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16525 wxRect
* resultptr
;
16526 resultptr
= new wxRect((wxRect
&) result
);
16527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16535 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
;
16537 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16540 PyObject
* obj0
= 0 ;
16541 PyObject
* obj1
= 0 ;
16542 char *kwnames
[] = {
16543 (char *) "self",(char *) "rect", NULL
16546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16549 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16550 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 (arg1
)->SetRect(arg2
);
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16559 Py_INCREF(Py_None
); resultobj
= Py_None
;
16566 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16571 PyObject
* obj0
= 0 ;
16572 PyObject
* obj1
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self",(char *) "pos", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16580 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16581 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 wxMoveEvent_SetPosition(arg1
,arg2
);
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 Py_INCREF(Py_None
); resultobj
= Py_None
;
16597 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16600 wxPoint
*arg2
= (wxPoint
*) 0 ;
16601 PyObject
* obj0
= 0 ;
16602 PyObject
* obj1
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self",(char *) "m_pos", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16612 if (arg1
) (arg1
)->m_pos
= *arg2
;
16614 Py_INCREF(Py_None
); resultobj
= Py_None
;
16621 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16633 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16642 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
;
16644 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16645 wxRect
*arg2
= (wxRect
*) 0 ;
16646 PyObject
* obj0
= 0 ;
16647 PyObject
* obj1
= 0 ;
16648 char *kwnames
[] = {
16649 (char *) "self",(char *) "m_rect", NULL
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16657 if (arg1
) (arg1
)->m_rect
= *arg2
;
16659 Py_INCREF(Py_None
); resultobj
= Py_None
;
16666 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16670 PyObject
* obj0
= 0 ;
16671 char *kwnames
[] = {
16672 (char *) "self", NULL
16675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16678 result
= (wxRect
*)& ((arg1
)->m_rect
);
16680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16687 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16690 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16692 return Py_BuildValue((char *)"");
16694 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 int arg1
= (int) 0 ;
16697 wxPaintEvent
*result
;
16698 PyObject
* obj0
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "Id", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16705 arg1
= (int) SWIG_AsInt(obj0
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16722 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16725 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16727 return Py_BuildValue((char *)"");
16729 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 int arg1
= (int) 0 ;
16732 wxNcPaintEvent
*result
;
16733 PyObject
* obj0
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "winid", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16740 arg1
= (int) SWIG_AsInt(obj0
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16757 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16760 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16762 return Py_BuildValue((char *)"");
16764 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16766 int arg1
= (int) 0 ;
16767 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16768 wxEraseEvent
*result
;
16769 PyObject
* obj0
= 0 ;
16770 PyObject
* obj1
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "Id",(char *) "dc", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16777 arg1
= (int) SWIG_AsInt(obj0
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16798 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16800 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16802 PyObject
* obj0
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "self", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= wxPyMake_wxObject(result
);
16826 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16829 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16831 return Py_BuildValue((char *)"");
16833 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16836 int arg2
= (int) 0 ;
16837 wxFocusEvent
*result
;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "type",(char *) "winid", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16846 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16850 arg2
= (int) SWIG_AsInt(obj1
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16867 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16871 PyObject
* obj0
= 0 ;
16872 char *kwnames
[] = {
16873 (char *) "self", NULL
16876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= wxPyMake_wxObject(result
);
16895 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16897 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16898 wxWindow
*arg2
= (wxWindow
*) 0 ;
16899 PyObject
* obj0
= 0 ;
16900 PyObject
* obj1
= 0 ;
16901 char *kwnames
[] = {
16902 (char *) "self",(char *) "win", NULL
16905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 (arg1
)->SetWindow(arg2
);
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16917 Py_INCREF(Py_None
); resultobj
= Py_None
;
16924 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16927 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16929 return Py_BuildValue((char *)"");
16931 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxWindow
*arg1
= (wxWindow
*) NULL
;
16934 wxChildFocusEvent
*result
;
16935 PyObject
* obj0
= 0 ;
16936 char *kwnames
[] = {
16937 (char *) "win", NULL
16940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16949 wxPyEndAllowThreads(__tstate
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16959 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
;
16961 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16963 PyObject
* obj0
= 0 ;
16964 char *kwnames
[] = {
16965 (char *) "self", NULL
16968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= wxPyMake_wxObject(result
);
16987 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16990 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16992 return Py_BuildValue((char *)"");
16994 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16997 bool arg2
= (bool) True
;
16998 int arg3
= (int) 0 ;
16999 wxActivateEvent
*result
;
17000 PyObject
* obj0
= 0 ;
17001 PyObject
* obj1
= 0 ;
17002 PyObject
* obj2
= 0 ;
17003 char *kwnames
[] = {
17004 (char *) "type",(char *) "active",(char *) "Id", NULL
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17009 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17013 arg2
= (bool) SWIG_AsBool(obj1
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 arg3
= (int) SWIG_AsInt(obj2
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17034 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17038 PyObject
* obj0
= 0 ;
17039 char *kwnames
[] = {
17040 (char *) "self", NULL
17043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17062 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17065 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17067 return Py_BuildValue((char *)"");
17069 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 int arg1
= (int) 0 ;
17072 wxInitDialogEvent
*result
;
17073 PyObject
* obj0
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "Id", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17080 arg1
= (int) SWIG_AsInt(obj0
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17097 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17100 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17102 return Py_BuildValue((char *)"");
17104 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17107 int arg2
= (int) 0 ;
17108 wxMenu
*arg3
= (wxMenu
*) NULL
;
17109 wxMenuEvent
*result
;
17110 PyObject
* obj0
= 0 ;
17111 PyObject
* obj1
= 0 ;
17112 PyObject
* obj2
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "type",(char *) "winid",(char *) "menu", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17119 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17123 arg2
= (int) SWIG_AsInt(obj1
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17127 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17144 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17148 PyObject
* obj0
= 0 ;
17149 char *kwnames
[] = {
17150 (char *) "self", NULL
17153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= SWIG_FromInt((int)result
);
17170 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17174 PyObject
* obj0
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17198 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 char *kwnames
[] = {
17204 (char *) "self", NULL
17207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= wxPyMake_wxObject(result
);
17226 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17229 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17231 return Py_BuildValue((char *)"");
17233 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
;
17235 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17236 int arg2
= (int) 0 ;
17237 wxCloseEvent
*result
;
17238 PyObject
* obj0
= 0 ;
17239 PyObject
* obj1
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "type",(char *) "winid", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17246 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17250 arg2
= (int) SWIG_AsInt(obj1
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17267 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17271 PyObject
* obj0
= 0 ;
17272 PyObject
* obj1
= 0 ;
17273 char *kwnames
[] = {
17274 (char *) "self",(char *) "logOff", NULL
17277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17280 arg2
= (bool) SWIG_AsBool(obj1
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 (arg1
)->SetLoggingOff(arg2
);
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 Py_INCREF(Py_None
); resultobj
= Py_None
;
17296 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17298 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17300 PyObject
* obj0
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17324 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
;
17326 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17327 bool arg2
= (bool) True
;
17328 PyObject
* obj0
= 0 ;
17329 PyObject
* obj1
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self",(char *) "veto", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 arg2
= (bool) SWIG_AsBool(obj1
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 (arg1
)->Veto(arg2
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 Py_INCREF(Py_None
); resultobj
= Py_None
;
17355 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17357 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17359 PyObject
* obj0
= 0 ;
17360 PyObject
* obj1
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self",(char *) "canVeto", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17368 arg2
= (bool) SWIG_AsBool(obj1
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 (arg1
)->SetCanVeto(arg2
);
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 Py_INCREF(Py_None
); resultobj
= Py_None
;
17384 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17412 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17416 PyObject
* obj0
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17440 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17443 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17445 return Py_BuildValue((char *)"");
17447 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 int arg1
= (int) 0 ;
17450 bool arg2
= (bool) False
;
17451 wxShowEvent
*result
;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "winid",(char *) "show", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17460 arg1
= (int) SWIG_AsInt(obj0
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17464 arg2
= (bool) SWIG_AsBool(obj1
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17481 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17485 PyObject
* obj0
= 0 ;
17486 PyObject
* obj1
= 0 ;
17487 char *kwnames
[] = {
17488 (char *) "self",(char *) "show", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17494 arg2
= (bool) SWIG_AsBool(obj1
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 (arg1
)->SetShow(arg2
);
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 Py_INCREF(Py_None
); resultobj
= Py_None
;
17510 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17514 PyObject
* obj0
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17538 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17541 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17543 return Py_BuildValue((char *)"");
17545 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 int arg1
= (int) 0 ;
17548 bool arg2
= (bool) True
;
17549 wxIconizeEvent
*result
;
17550 PyObject
* obj0
= 0 ;
17551 PyObject
* obj1
= 0 ;
17552 char *kwnames
[] = {
17553 (char *) "id",(char *) "iconized", NULL
17556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17558 arg1
= (int) SWIG_AsInt(obj0
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17562 arg2
= (bool) SWIG_AsBool(obj1
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17567 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17569 wxPyEndAllowThreads(__tstate
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17579 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17583 PyObject
* obj0
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (bool)(arg1
)->Iconized();
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17607 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17610 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17612 return Py_BuildValue((char *)"");
17614 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17615 PyObject
*resultobj
;
17616 int arg1
= (int) 0 ;
17617 wxMaximizeEvent
*result
;
17618 PyObject
* obj0
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "id", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17625 arg1
= (int) SWIG_AsInt(obj0
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17642 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17645 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17647 return Py_BuildValue((char *)"");
17649 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "self", NULL
17658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 result
= (arg1
)->GetPosition();
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17669 wxPoint
* resultptr
;
17670 resultptr
= new wxPoint((wxPoint
&) result
);
17671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17679 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
;
17681 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17683 PyObject
* obj0
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (int)(arg1
)->GetNumberOfFiles();
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= SWIG_FromInt((int)result
);
17705 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "self", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= result
;
17731 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17734 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17736 return Py_BuildValue((char *)"");
17738 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17739 PyObject
*resultobj
;
17740 int arg1
= (int) 0 ;
17741 wxUpdateUIEvent
*result
;
17742 PyObject
* obj0
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "commandId", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17749 arg1
= (int) SWIG_AsInt(obj0
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17766 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
;
17768 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "self", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17794 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17796 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17822 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17826 PyObject
* obj0
= 0 ;
17827 char *kwnames
[] = {
17828 (char *) "self", NULL
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17854 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
;
17856 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17858 PyObject
* obj0
= 0 ;
17859 char *kwnames
[] = {
17860 (char *) "self", NULL
17863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17882 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 char *kwnames
[] = {
17888 (char *) "self", NULL
17891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17910 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17912 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17914 PyObject
* obj0
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17938 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self",(char *) "check", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17951 arg2
= (bool) SWIG_AsBool(obj1
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 (arg1
)->Check(arg2
);
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 Py_INCREF(Py_None
); resultobj
= Py_None
;
17967 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
;
17969 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17971 PyObject
* obj0
= 0 ;
17972 PyObject
* obj1
= 0 ;
17973 char *kwnames
[] = {
17974 (char *) "self",(char *) "enable", NULL
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17980 arg2
= (bool) SWIG_AsBool(obj1
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 (arg1
)->Enable(arg2
);
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 Py_INCREF(Py_None
); resultobj
= Py_None
;
17996 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17999 wxString
*arg2
= 0 ;
18000 bool temp2
= False
;
18001 PyObject
* obj0
= 0 ;
18002 PyObject
* obj1
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self",(char *) "text", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18011 arg2
= wxString_in_helper(obj1
);
18012 if (arg2
== NULL
) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 (arg1
)->SetText((wxString
const &)*arg2
);
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 Py_INCREF(Py_None
); resultobj
= Py_None
;
18037 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
;
18040 PyObject
* obj0
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "updateInterval", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18046 arg1
= (long) SWIG_AsLong(obj0
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 Py_INCREF(Py_None
); resultobj
= Py_None
;
18062 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18065 char *kwnames
[] = {
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 resultobj
= SWIG_FromLong((long)result
);
18084 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxWindow
*arg1
= (wxWindow
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "win", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18112 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 char *kwnames
[] = {
18118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 wxUpdateUIEvent::ResetUpdateTime();
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 Py_INCREF(Py_None
); resultobj
= Py_None
;
18133 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18136 PyObject
* obj0
= 0 ;
18137 char *kwnames
[] = {
18138 (char *) "mode", NULL
18141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18142 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 Py_INCREF(Py_None
); resultobj
= Py_None
;
18158 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18161 char *kwnames
[] = {
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 result
= (int)wxUpdateUIEvent::GetMode();
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= SWIG_FromInt((int)result
);
18180 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18183 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18185 return Py_BuildValue((char *)"");
18187 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxSysColourChangedEvent
*result
;
18190 char *kwnames
[] = {
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18209 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18212 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18214 return Py_BuildValue((char *)"");
18216 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 int arg1
= (int) 0 ;
18219 wxWindow
*arg2
= (wxWindow
*) NULL
;
18220 wxMouseCaptureChangedEvent
*result
;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "winid",(char *) "gainedCapture", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18229 arg1
= (int) SWIG_AsInt(obj0
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18250 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18254 PyObject
* obj0
= 0 ;
18255 char *kwnames
[] = {
18256 (char *) "self", NULL
18259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= wxPyMake_wxObject(result
);
18278 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18281 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18283 return Py_BuildValue((char *)"");
18285 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxDisplayChangedEvent
*result
;
18288 char *kwnames
[] = {
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18307 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18310 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18312 return Py_BuildValue((char *)"");
18314 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 int arg1
= (int) 0 ;
18317 wxPaletteChangedEvent
*result
;
18318 PyObject
* obj0
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "id", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18325 arg1
= (int) SWIG_AsInt(obj0
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18342 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18345 wxWindow
*arg2
= (wxWindow
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 PyObject
* obj1
= 0 ;
18348 char *kwnames
[] = {
18349 (char *) "self",(char *) "win", NULL
18352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 (arg1
)->SetChangedWindow(arg2
);
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 Py_INCREF(Py_None
); resultobj
= Py_None
;
18371 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18375 PyObject
* obj0
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= wxPyMake_wxObject(result
);
18399 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18402 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18404 return Py_BuildValue((char *)"");
18406 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
;
18408 int arg1
= (int) 0 ;
18409 wxQueryNewPaletteEvent
*result
;
18410 PyObject
* obj0
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "winid", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18417 arg1
= (int) SWIG_AsInt(obj0
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18434 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18438 PyObject
* obj0
= 0 ;
18439 PyObject
* obj1
= 0 ;
18440 char *kwnames
[] = {
18441 (char *) "self",(char *) "realized", NULL
18444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18447 arg2
= (bool) SWIG_AsBool(obj1
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 (arg1
)->SetPaletteRealized(arg2
);
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 Py_INCREF(Py_None
); resultobj
= Py_None
;
18463 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18465 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18467 PyObject
* obj0
= 0 ;
18468 char *kwnames
[] = {
18469 (char *) "self", NULL
18472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18491 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18494 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18496 return Py_BuildValue((char *)"");
18498 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxNavigationKeyEvent
*result
;
18501 char *kwnames
[] = {
18505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18520 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18548 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self",(char *) "bForward", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18561 arg2
= (bool) SWIG_AsBool(obj1
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 (arg1
)->SetDirection(arg2
);
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 Py_INCREF(Py_None
); resultobj
= Py_None
;
18577 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18581 PyObject
* obj0
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "self", NULL
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18605 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18609 PyObject
* obj0
= 0 ;
18610 PyObject
* obj1
= 0 ;
18611 char *kwnames
[] = {
18612 (char *) "self",(char *) "bIs", NULL
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18618 arg2
= (bool) SWIG_AsBool(obj1
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 (arg1
)->SetWindowChange(arg2
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 Py_INCREF(Py_None
); resultobj
= Py_None
;
18634 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18638 PyObject
* obj0
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= wxPyMake_wxObject(result
);
18662 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
;
18664 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18665 wxWindow
*arg2
= (wxWindow
*) 0 ;
18666 PyObject
* obj0
= 0 ;
18667 PyObject
* obj1
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "self",(char *) "win", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 (arg1
)->SetCurrentFocus(arg2
);
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 Py_INCREF(Py_None
); resultobj
= Py_None
;
18691 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18694 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18696 return Py_BuildValue((char *)"");
18698 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxWindow
*arg1
= (wxWindow
*) NULL
;
18701 wxWindowCreateEvent
*result
;
18702 PyObject
* obj0
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "win", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18716 wxPyEndAllowThreads(__tstate
);
18717 if (PyErr_Occurred()) SWIG_fail
;
18719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18726 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18727 PyObject
*resultobj
;
18728 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18730 PyObject
* obj0
= 0 ;
18731 char *kwnames
[] = {
18732 (char *) "self", NULL
18735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18746 resultobj
= wxPyMake_wxObject(result
);
18754 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18757 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18759 return Py_BuildValue((char *)"");
18761 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18762 PyObject
*resultobj
;
18763 wxWindow
*arg1
= (wxWindow
*) NULL
;
18764 wxWindowDestroyEvent
*result
;
18765 PyObject
* obj0
= 0 ;
18766 char *kwnames
[] = {
18767 (char *) "win", NULL
18770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18789 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18793 PyObject
* obj0
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= wxPyMake_wxObject(result
);
18817 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18820 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18822 return Py_BuildValue((char *)"");
18824 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
;
18826 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18827 int arg2
= (int) 0 ;
18828 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18829 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18830 wxContextMenuEvent
*result
;
18832 PyObject
* obj0
= 0 ;
18833 PyObject
* obj1
= 0 ;
18834 PyObject
* obj2
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "type",(char *) "winid",(char *) "pt", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18841 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18845 arg2
= (int) SWIG_AsInt(obj1
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18868 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18884 result
= (wxPoint
*) &_result_ref
;
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18897 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18900 wxPoint
*arg2
= 0 ;
18902 PyObject
* obj0
= 0 ;
18903 PyObject
* obj1
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self",(char *) "pos", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18913 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 Py_INCREF(Py_None
); resultobj
= Py_None
;
18929 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18932 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18934 return Py_BuildValue((char *)"");
18936 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxIdleEvent
*result
;
18939 char *kwnames
[] = {
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (wxIdleEvent
*)new wxIdleEvent();
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18958 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18961 bool arg2
= (bool) True
;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self",(char *) "needMore", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18972 arg2
= (bool) SWIG_AsBool(obj1
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 (arg1
)->RequestMore(arg2
);
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 Py_INCREF(Py_None
); resultobj
= Py_None
;
18989 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
;
18991 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18993 PyObject
* obj0
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19017 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19020 PyObject
* obj0
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "mode", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19026 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 Py_INCREF(Py_None
); resultobj
= Py_None
;
19042 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19045 char *kwnames
[] = {
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 result
= (int)wxIdleEvent::GetMode();
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= SWIG_FromInt((int)result
);
19064 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxWindow
*arg1
= (wxWindow
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "win", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 result
= (bool)wxIdleEvent::CanSend(arg1
);
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19092 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19095 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19097 return Py_BuildValue((char *)"");
19099 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 int arg1
= (int) 0 ;
19102 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "winid",(char *) "commandType", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19112 arg1
= (int) SWIG_AsInt(obj0
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19116 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19133 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
;
19135 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19136 PyObject
* obj0
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 Py_INCREF(Py_None
); resultobj
= Py_None
;
19158 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
;
19160 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19161 PyObject
*arg2
= (PyObject
*) 0 ;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj1
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self",(char *) "self", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 (arg1
)->SetSelf(arg2
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 Py_INCREF(Py_None
); resultobj
= Py_None
;
19186 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 result
= (PyObject
*)(arg1
)->GetSelf();
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 resultobj
= result
;
19212 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19215 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19217 return Py_BuildValue((char *)"");
19219 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19222 int arg2
= (int) 0 ;
19223 wxPyCommandEvent
*result
;
19224 PyObject
* obj0
= 0 ;
19225 PyObject
* obj1
= 0 ;
19226 char *kwnames
[] = {
19227 (char *) "commandType",(char *) "id", NULL
19230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19232 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19236 arg2
= (int) SWIG_AsInt(obj1
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19253 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19256 PyObject
* obj0
= 0 ;
19257 char *kwnames
[] = {
19258 (char *) "self", NULL
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 Py_INCREF(Py_None
); resultobj
= Py_None
;
19278 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19281 PyObject
*arg2
= (PyObject
*) 0 ;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 char *kwnames
[] = {
19285 (char *) "self",(char *) "self", NULL
19288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 (arg1
)->SetSelf(arg2
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19299 Py_INCREF(Py_None
); resultobj
= Py_None
;
19306 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19310 PyObject
* obj0
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 result
= (PyObject
*)(arg1
)->GetSelf();
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 resultobj
= result
;
19332 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19335 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19337 return Py_BuildValue((char *)"");
19339 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19342 char *kwnames
[] = {
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 result
= (wxPyApp
*)new_wxPyApp();
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19355 resultobj
= wxPyMake_wxObject(result
);
19363 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 Py_INCREF(Py_None
); resultobj
= Py_None
;
19388 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19390 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19391 PyObject
*arg2
= (PyObject
*) 0 ;
19392 PyObject
*arg3
= (PyObject
*) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 PyObject
* obj1
= 0 ;
19395 PyObject
* obj2
= 0 ;
19396 char *kwnames
[] = {
19397 (char *) "self",(char *) "self",(char *) "_class", NULL
19400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 Py_INCREF(Py_None
); resultobj
= Py_None
;
19419 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19451 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19454 wxString
*arg2
= 0 ;
19455 bool temp2
= False
;
19456 PyObject
* obj0
= 0 ;
19457 PyObject
* obj1
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self",(char *) "name", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19466 arg2
= wxString_in_helper(obj1
);
19467 if (arg2
== NULL
) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 (arg1
)->SetAppName((wxString
const &)*arg2
);
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19477 Py_INCREF(Py_None
); resultobj
= Py_None
;
19492 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19496 PyObject
* obj0
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19524 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19527 wxString
*arg2
= 0 ;
19528 bool temp2
= False
;
19529 PyObject
* obj0
= 0 ;
19530 PyObject
* obj1
= 0 ;
19531 char *kwnames
[] = {
19532 (char *) "self",(char *) "name", NULL
19535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19539 arg2
= wxString_in_helper(obj1
);
19540 if (arg2
== NULL
) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 (arg1
)->SetClassName((wxString
const &)*arg2
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 Py_INCREF(Py_None
); resultobj
= Py_None
;
19565 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19569 PyObject
* obj0
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19581 result
= (wxString
*) &_result_ref
;
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19591 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19600 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19601 PyObject
*resultobj
;
19602 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19603 wxString
*arg2
= 0 ;
19604 bool temp2
= False
;
19605 PyObject
* obj0
= 0 ;
19606 PyObject
* obj1
= 0 ;
19607 char *kwnames
[] = {
19608 (char *) "self",(char *) "name", NULL
19611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19615 arg2
= wxString_in_helper(obj1
);
19616 if (arg2
== NULL
) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 Py_INCREF(Py_None
); resultobj
= Py_None
;
19641 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19644 wxAppTraits
*result
;
19645 PyObject
* obj0
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19667 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
;
19669 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19670 PyObject
* obj0
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 (arg1
)->ProcessPendingEvents();
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 Py_INCREF(Py_None
); resultobj
= Py_None
;
19692 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
;
19694 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19695 bool arg2
= (bool) False
;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 char *kwnames
[] = {
19700 (char *) "self",(char *) "onlyIfNeeded", NULL
19703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19707 arg2
= (bool) SWIG_AsBool(obj1
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 result
= (bool)(arg1
)->Yield(arg2
);
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19726 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19728 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19729 PyObject
* obj0
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 (arg1
)->WakeUpIdle();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 Py_INCREF(Py_None
); resultobj
= Py_None
;
19751 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
;
19753 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19755 PyObject
* obj0
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "self", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (int)(arg1
)->MainLoop();
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= SWIG_FromInt((int)result
);
19777 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19780 PyObject
* obj0
= 0 ;
19781 char *kwnames
[] = {
19782 (char *) "self", NULL
19785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 Py_INCREF(Py_None
); resultobj
= Py_None
;
19802 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19805 PyObject
* obj0
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 (arg1
)->ExitMainLoop();
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 Py_INCREF(Py_None
); resultobj
= Py_None
;
19827 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
;
19829 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (bool)(arg1
)->Pending();
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19855 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19859 PyObject
* obj0
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 result
= (bool)(arg1
)->Dispatch();
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19883 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 result
= (bool)(arg1
)->ProcessIdle();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19911 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19914 wxWindow
*arg2
= (wxWindow
*) 0 ;
19915 wxIdleEvent
*arg3
= 0 ;
19917 PyObject
* obj0
= 0 ;
19918 PyObject
* obj1
= 0 ;
19919 PyObject
* obj2
= 0 ;
19920 char *kwnames
[] = {
19921 (char *) "self",(char *) "win",(char *) "event", NULL
19924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19932 if (arg3
== NULL
) {
19933 PyErr_SetString(PyExc_TypeError
,"null reference");
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19952 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
;
19954 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19956 PyObject
* obj0
= 0 ;
19957 char *kwnames
[] = {
19958 (char *) "self", NULL
19961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19980 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19983 wxWindow
*arg2
= (wxWindow
*) 0 ;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 char *kwnames
[] = {
19987 (char *) "self",(char *) "win", NULL
19990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 (arg1
)->SetTopWindow(arg2
);
19999 wxPyEndAllowThreads(__tstate
);
20000 if (PyErr_Occurred()) SWIG_fail
;
20002 Py_INCREF(Py_None
); resultobj
= Py_None
;
20009 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
;
20011 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20013 PyObject
* obj0
= 0 ;
20014 char *kwnames
[] = {
20015 (char *) "self", NULL
20018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= wxPyMake_wxObject(result
);
20037 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20041 PyObject
* obj0
= 0 ;
20042 PyObject
* obj1
= 0 ;
20043 char *kwnames
[] = {
20044 (char *) "self",(char *) "flag", NULL
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20050 arg2
= (bool) SWIG_AsBool(obj1
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 (arg1
)->SetExitOnFrameDelete(arg2
);
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 Py_INCREF(Py_None
); resultobj
= Py_None
;
20066 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20070 PyObject
* obj0
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20094 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20098 PyObject
* obj0
= 0 ;
20099 PyObject
* obj1
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "self",(char *) "flag", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20107 arg2
= (bool) SWIG_AsBool(obj1
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 (arg1
)->SetUseBestVisual(arg2
);
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 Py_INCREF(Py_None
); resultobj
= Py_None
;
20123 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20124 PyObject
*resultobj
;
20125 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20127 PyObject
* obj0
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20137 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20139 wxPyEndAllowThreads(__tstate
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20151 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
;
20153 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20155 PyObject
* obj0
= 0 ;
20156 PyObject
* obj1
= 0 ;
20157 char *kwnames
[] = {
20158 (char *) "self",(char *) "mode", NULL
20161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20164 arg2
= (int) SWIG_AsInt(obj1
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 (arg1
)->SetPrintMode(arg2
);
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20173 Py_INCREF(Py_None
); resultobj
= Py_None
;
20180 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
;
20182 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20184 PyObject
* obj0
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "self", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_FromInt((int)result
);
20206 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self",(char *) "mode", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20219 arg2
= (int) SWIG_AsInt(obj1
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 (arg1
)->SetAssertMode(arg2
);
20225 wxPyEndAllowThreads(__tstate
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20228 Py_INCREF(Py_None
); resultobj
= Py_None
;
20235 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
;
20237 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20239 PyObject
* obj0
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 result
= (int)(arg1
)->GetAssertMode();
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 resultobj
= SWIG_FromInt((int)result
);
20261 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20264 char *kwnames
[] = {
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20285 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20286 PyObject
*resultobj
;
20288 char *kwnames
[] = {
20292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= SWIG_FromLong((long)result
);
20307 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20310 char *kwnames
[] = {
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= SWIG_FromLong((long)result
);
20329 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20332 char *kwnames
[] = {
20336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 result
= (long)wxPyApp::GetMacExitMenuItemId();
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= SWIG_FromLong((long)result
);
20351 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20354 char *kwnames
[] = {
20358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= wxPyApp::GetMacHelpMenuTitleName();
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20379 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20382 PyObject
* obj0
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "val", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20388 arg1
= (bool) SWIG_AsBool(obj0
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 Py_INCREF(Py_None
); resultobj
= Py_None
;
20404 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
;
20407 PyObject
* obj0
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "val", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20413 arg1
= (long) SWIG_AsLong(obj0
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 wxPyApp::SetMacAboutMenuItemId(arg1
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 Py_INCREF(Py_None
); resultobj
= Py_None
;
20429 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
;
20432 PyObject
* obj0
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "val", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20438 arg1
= (long) SWIG_AsLong(obj0
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20447 Py_INCREF(Py_None
); resultobj
= Py_None
;
20454 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20455 PyObject
*resultobj
;
20457 PyObject
* obj0
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "val", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20463 arg1
= (long) SWIG_AsLong(obj0
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 wxPyApp::SetMacExitMenuItemId(arg1
);
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 Py_INCREF(Py_None
); resultobj
= Py_None
;
20479 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxString
*arg1
= 0 ;
20482 bool temp1
= False
;
20483 PyObject
* obj0
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "val", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20490 arg1
= wxString_in_helper(obj0
);
20491 if (arg1
== NULL
) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 Py_INCREF(Py_None
); resultobj
= Py_None
;
20516 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20519 PyObject
* obj0
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 (arg1
)->_BootstrapApp();
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 Py_INCREF(Py_None
); resultobj
= Py_None
;
20541 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20544 char *kwnames
[] = {
20548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 result
= (int)wxPyApp::GetComCtl32Version();
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20556 resultobj
= SWIG_FromInt((int)result
);
20563 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20566 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20568 return Py_BuildValue((char *)"");
20570 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 char *kwnames
[] = {
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 Py_INCREF(Py_None
); resultobj
= Py_None
;
20591 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20594 char *kwnames
[] = {
20598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (bool)wxYield();
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20615 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20618 char *kwnames
[] = {
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (bool)wxYieldIfNeeded();
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20639 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxWindow
*arg1
= (wxWindow
*) NULL
;
20642 bool arg2
= (bool) False
;
20644 PyObject
* obj0
= 0 ;
20645 PyObject
* obj1
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "win",(char *) "onlyIfNeeded", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20656 arg2
= (bool) SWIG_AsBool(obj1
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 result
= (bool)wxSafeYield(arg1
,arg2
);
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20675 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 char *kwnames
[] = {
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 Py_INCREF(Py_None
); resultobj
= Py_None
;
20696 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20698 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20699 wxEvent
*arg2
= 0 ;
20700 PyObject
* obj0
= 0 ;
20701 PyObject
* obj1
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "dest",(char *) "event", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20712 if (arg2
== NULL
) {
20713 PyErr_SetString(PyExc_TypeError
,"null reference");
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 wxPostEvent(arg1
,*arg2
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 Py_INCREF(Py_None
); resultobj
= Py_None
;
20730 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 char *kwnames
[] = {
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 Py_INCREF(Py_None
); resultobj
= Py_None
;
20751 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20754 char *kwnames
[] = {
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (wxPyApp
*)wxPyGetApp();
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= wxPyMake_wxObject(result
);
20775 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
;
20777 int arg1
= (int) 0 ;
20778 int arg2
= (int) 0 ;
20779 int arg3
= (int) 0 ;
20780 wxAcceleratorEntry
*result
;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20783 PyObject
* obj2
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20790 arg1
= (int) SWIG_AsInt(obj0
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20794 arg2
= (int) SWIG_AsInt(obj1
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20798 arg3
= (int) SWIG_AsInt(obj2
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20815 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
;
20817 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20818 PyObject
* obj0
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 Py_INCREF(Py_None
); resultobj
= Py_None
;
20840 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 PyObject
* obj2
= 0 ;
20849 PyObject
* obj3
= 0 ;
20850 char *kwnames
[] = {
20851 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20857 arg2
= (int) SWIG_AsInt(obj1
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20859 arg3
= (int) SWIG_AsInt(obj2
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20861 arg4
= (int) SWIG_AsInt(obj3
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 (arg1
)->Set(arg2
,arg3
,arg4
);
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20870 Py_INCREF(Py_None
); resultobj
= Py_None
;
20877 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
;
20879 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20881 PyObject
* obj0
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "self", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= (int)(arg1
)->GetFlags();
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= SWIG_FromInt((int)result
);
20903 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20907 PyObject
* obj0
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "self", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= (int)(arg1
)->GetKeyCode();
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= SWIG_FromInt((int)result
);
20929 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
;
20931 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20933 PyObject
* obj0
= 0 ;
20934 char *kwnames
[] = {
20935 (char *) "self", NULL
20938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (int)(arg1
)->GetCommand();
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_FromInt((int)result
);
20955 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20958 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20960 return Py_BuildValue((char *)"");
20962 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
;
20965 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20966 wxAcceleratorTable
*result
;
20967 PyObject
* obj0
= 0 ;
20968 char *kwnames
[] = {
20972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20974 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20975 if (arg2
) arg1
= PyList_Size(obj0
);
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
20998 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21001 PyObject
* obj0
= 0 ;
21002 char *kwnames
[] = {
21003 (char *) "self", NULL
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 Py_INCREF(Py_None
); resultobj
= Py_None
;
21023 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21027 PyObject
* obj0
= 0 ;
21028 char *kwnames
[] = {
21029 (char *) "self", NULL
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21051 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21054 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21056 return Py_BuildValue((char *)"");
21058 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21059 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21064 static PyObject
*_wrap_NullAcceleratorTable_get() {
21067 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21072 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
;
21074 wxString
*arg1
= 0 ;
21075 wxAcceleratorEntry
*result
;
21076 bool temp1
= False
;
21077 PyObject
* obj0
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "label", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21084 arg1
= wxString_in_helper(obj0
);
21085 if (arg1
== NULL
) SWIG_fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21110 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21111 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21116 static PyObject
*_wrap_PanelNameStr_get() {
21121 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21123 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21130 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21132 wxVisualAttributes
*result
;
21133 char *kwnames
[] = {
21137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21152 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21155 PyObject
* obj0
= 0 ;
21156 char *kwnames
[] = {
21157 (char *) "self", NULL
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 delete_wxVisualAttributes(arg1
);
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21170 Py_INCREF(Py_None
); resultobj
= Py_None
;
21177 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21178 PyObject
*resultobj
;
21179 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21180 wxFont
*arg2
= (wxFont
*) 0 ;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self",(char *) "font", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21192 if (arg1
) (arg1
)->font
= *arg2
;
21194 Py_INCREF(Py_None
); resultobj
= Py_None
;
21201 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21202 PyObject
*resultobj
;
21203 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21205 PyObject
* obj0
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "self", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21213 result
= (wxFont
*)& ((arg1
)->font
);
21215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21222 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
;
21224 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21225 wxColour
*arg2
= (wxColour
*) 0 ;
21226 PyObject
* obj0
= 0 ;
21227 PyObject
* obj1
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self",(char *) "colFg", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21237 if (arg1
) (arg1
)->colFg
= *arg2
;
21239 Py_INCREF(Py_None
); resultobj
= Py_None
;
21246 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
;
21248 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21250 PyObject
* obj0
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "self", NULL
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21258 result
= (wxColour
*)& ((arg1
)->colFg
);
21260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21267 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21269 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21270 wxColour
*arg2
= (wxColour
*) 0 ;
21271 PyObject
* obj0
= 0 ;
21272 PyObject
* obj1
= 0 ;
21273 char *kwnames
[] = {
21274 (char *) "self",(char *) "colBg", NULL
21277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21282 if (arg1
) (arg1
)->colBg
= *arg2
;
21284 Py_INCREF(Py_None
); resultobj
= Py_None
;
21291 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21292 PyObject
*resultobj
;
21293 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21295 PyObject
* obj0
= 0 ;
21296 char *kwnames
[] = {
21297 (char *) "self", NULL
21300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21303 result
= (wxColour
*)& ((arg1
)->colBg
);
21305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21312 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21315 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21317 return Py_BuildValue((char *)"");
21319 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
;
21321 wxWindow
*arg1
= (wxWindow
*) 0 ;
21322 int arg2
= (int) (int)-1 ;
21323 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21324 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21325 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21326 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21327 long arg5
= (long) 0 ;
21328 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21329 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21333 bool temp6
= False
;
21334 PyObject
* obj0
= 0 ;
21335 PyObject
* obj1
= 0 ;
21336 PyObject
* obj2
= 0 ;
21337 PyObject
* obj3
= 0 ;
21338 PyObject
* obj4
= 0 ;
21339 PyObject
* obj5
= 0 ;
21340 char *kwnames
[] = {
21341 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21348 arg2
= (int const) SWIG_AsInt(obj1
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21354 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21360 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21364 arg5
= (long) SWIG_AsLong(obj4
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21369 arg6
= wxString_in_helper(obj5
);
21370 if (arg6
== NULL
) SWIG_fail
;
21375 if (!wxPyCheckForApp()) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= wxPyMake_wxObject(result
);
21399 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21402 char *kwnames
[] = {
21406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21408 if (!wxPyCheckForApp()) SWIG_fail
;
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 result
= (wxWindow
*)new wxWindow();
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21416 resultobj
= wxPyMake_wxObject(result
);
21424 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
;
21426 wxWindow
*arg1
= (wxWindow
*) 0 ;
21427 wxWindow
*arg2
= (wxWindow
*) 0 ;
21428 int arg3
= (int) (int)-1 ;
21429 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21430 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21431 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21432 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21433 long arg6
= (long) 0 ;
21434 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21435 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21439 bool temp7
= False
;
21440 PyObject
* obj0
= 0 ;
21441 PyObject
* obj1
= 0 ;
21442 PyObject
* obj2
= 0 ;
21443 PyObject
* obj3
= 0 ;
21444 PyObject
* obj4
= 0 ;
21445 PyObject
* obj5
= 0 ;
21446 PyObject
* obj6
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21457 arg3
= (int const) SWIG_AsInt(obj2
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21463 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21469 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21473 arg6
= (long) SWIG_AsLong(obj5
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21478 arg7
= wxString_in_helper(obj6
);
21479 if (arg7
== NULL
) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21507 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21509 wxWindow
*arg1
= (wxWindow
*) 0 ;
21510 bool arg2
= (bool) False
;
21512 PyObject
* obj0
= 0 ;
21513 PyObject
* obj1
= 0 ;
21514 char *kwnames
[] = {
21515 (char *) "self",(char *) "force", NULL
21518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21522 arg2
= (bool) SWIG_AsBool(obj1
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (bool)(arg1
)->Close(arg2
);
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21541 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
;
21543 wxWindow
*arg1
= (wxWindow
*) 0 ;
21545 PyObject
* obj0
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 result
= (bool)(arg1
)->Destroy();
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21569 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21570 PyObject
*resultobj
;
21571 wxWindow
*arg1
= (wxWindow
*) 0 ;
21573 PyObject
* obj0
= 0 ;
21574 char *kwnames
[] = {
21575 (char *) "self", NULL
21578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 result
= (bool)(arg1
)->DestroyChildren();
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21597 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
;
21599 wxWindow
*arg1
= (wxWindow
*) 0 ;
21601 PyObject
* obj0
= 0 ;
21602 char *kwnames
[] = {
21603 (char *) "self", NULL
21606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21625 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxWindow
*arg1
= (wxWindow
*) 0 ;
21628 wxString
*arg2
= 0 ;
21629 bool temp2
= False
;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self",(char *) "title", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21640 arg2
= wxString_in_helper(obj1
);
21641 if (arg2
== NULL
) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 (arg1
)->SetTitle((wxString
const &)*arg2
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 Py_INCREF(Py_None
); resultobj
= Py_None
;
21666 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxWindow
*arg1
= (wxWindow
*) 0 ;
21670 PyObject
* obj0
= 0 ;
21671 char *kwnames
[] = {
21672 (char *) "self", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 result
= ((wxWindow
const *)arg1
)->GetTitle();
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21698 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
;
21700 wxWindow
*arg1
= (wxWindow
*) 0 ;
21701 wxString
*arg2
= 0 ;
21702 bool temp2
= False
;
21703 PyObject
* obj0
= 0 ;
21704 PyObject
* obj1
= 0 ;
21705 char *kwnames
[] = {
21706 (char *) "self",(char *) "label", NULL
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21713 arg2
= wxString_in_helper(obj1
);
21714 if (arg2
== NULL
) SWIG_fail
;
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 (arg1
)->SetLabel((wxString
const &)*arg2
);
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21724 Py_INCREF(Py_None
); resultobj
= Py_None
;
21739 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxWindow
*arg1
= (wxWindow
*) 0 ;
21743 PyObject
* obj0
= 0 ;
21744 char *kwnames
[] = {
21745 (char *) "self", NULL
21748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= ((wxWindow
const *)arg1
)->GetLabel();
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21771 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxWindow
*arg1
= (wxWindow
*) 0 ;
21774 wxString
*arg2
= 0 ;
21775 bool temp2
= False
;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 char *kwnames
[] = {
21779 (char *) "self",(char *) "name", NULL
21782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21786 arg2
= wxString_in_helper(obj1
);
21787 if (arg2
== NULL
) SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 (arg1
)->SetName((wxString
const &)*arg2
);
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 Py_INCREF(Py_None
); resultobj
= Py_None
;
21812 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
;
21814 wxWindow
*arg1
= (wxWindow
*) 0 ;
21816 PyObject
* obj0
= 0 ;
21817 char *kwnames
[] = {
21818 (char *) "self", NULL
21821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 result
= ((wxWindow
const *)arg1
)->GetName();
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21844 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxWindow
*arg1
= (wxWindow
*) 0 ;
21848 PyObject
* obj0
= 0 ;
21849 PyObject
* obj1
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self",(char *) "variant", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21857 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 Py_INCREF(Py_None
); resultobj
= Py_None
;
21873 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxWindow
*arg1
= (wxWindow
*) 0 ;
21877 PyObject
* obj0
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= SWIG_FromInt((int)result
);
21899 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxWindow
*arg1
= (wxWindow
*) 0 ;
21903 PyObject
* obj0
= 0 ;
21904 PyObject
* obj1
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self",(char *) "winid", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21912 arg2
= (int) SWIG_AsInt(obj1
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 (arg1
)->SetId(arg2
);
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21921 Py_INCREF(Py_None
); resultobj
= Py_None
;
21928 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21929 PyObject
*resultobj
;
21930 wxWindow
*arg1
= (wxWindow
*) 0 ;
21932 PyObject
* obj0
= 0 ;
21933 char *kwnames
[] = {
21934 (char *) "self", NULL
21937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21942 result
= (int)((wxWindow
const *)arg1
)->GetId();
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= SWIG_FromInt((int)result
);
21954 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
;
21957 char *kwnames
[] = {
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (int)wxWindow::NewControlId();
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= SWIG_FromInt((int)result
);
21976 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
;
21980 PyObject
* obj0
= 0 ;
21981 char *kwnames
[] = {
21982 (char *) "winid", NULL
21985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21986 arg1
= (int) SWIG_AsInt(obj0
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 result
= (int)wxWindow::NextControlId(arg1
);
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21995 resultobj
= SWIG_FromInt((int)result
);
22002 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
;
22006 PyObject
* obj0
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "winid", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22012 arg1
= (int) SWIG_AsInt(obj0
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 result
= (int)wxWindow::PrevControlId(arg1
);
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22021 resultobj
= SWIG_FromInt((int)result
);
22028 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22029 PyObject
*resultobj
;
22030 wxWindow
*arg1
= (wxWindow
*) 0 ;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self",(char *) "size", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22044 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 (arg1
)->SetSize((wxSize
const &)*arg2
);
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 Py_INCREF(Py_None
); resultobj
= Py_None
;
22060 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxWindow
*arg1
= (wxWindow
*) 0 ;
22067 int arg6
= (int) wxSIZE_AUTO
;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 PyObject
* obj2
= 0 ;
22071 PyObject
* obj3
= 0 ;
22072 PyObject
* obj4
= 0 ;
22073 PyObject
* obj5
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22081 arg2
= (int) SWIG_AsInt(obj1
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22083 arg3
= (int) SWIG_AsInt(obj2
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22085 arg4
= (int) SWIG_AsInt(obj3
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22087 arg5
= (int) SWIG_AsInt(obj4
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 arg6
= (int) SWIG_AsInt(obj5
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22100 Py_INCREF(Py_None
); resultobj
= Py_None
;
22107 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
;
22109 wxWindow
*arg1
= (wxWindow
*) 0 ;
22111 int arg3
= (int) wxSIZE_AUTO
;
22113 PyObject
* obj0
= 0 ;
22114 PyObject
* obj1
= 0 ;
22115 PyObject
* obj2
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22125 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22128 arg3
= (int) SWIG_AsInt(obj2
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22138 Py_INCREF(Py_None
); resultobj
= Py_None
;
22145 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
;
22147 wxWindow
*arg1
= (wxWindow
*) 0 ;
22150 PyObject
* obj0
= 0 ;
22151 PyObject
* obj1
= 0 ;
22152 PyObject
* obj2
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self",(char *) "width",(char *) "height", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22160 arg2
= (int) SWIG_AsInt(obj1
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22162 arg3
= (int) SWIG_AsInt(obj2
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 (arg1
)->SetSize(arg2
,arg3
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 Py_INCREF(Py_None
); resultobj
= Py_None
;
22178 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxWindow
*arg1
= (wxWindow
*) 0 ;
22181 wxPoint
*arg2
= 0 ;
22182 int arg3
= (int) wxSIZE_USE_EXISTING
;
22184 PyObject
* obj0
= 0 ;
22185 PyObject
* obj1
= 0 ;
22186 PyObject
* obj2
= 0 ;
22187 char *kwnames
[] = {
22188 (char *) "self",(char *) "pt",(char *) "flags", NULL
22191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22196 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22199 arg3
= (int) SWIG_AsInt(obj2
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 Py_INCREF(Py_None
); resultobj
= Py_None
;
22216 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
;
22218 wxWindow
*arg1
= (wxWindow
*) 0 ;
22221 int arg4
= (int) wxSIZE_USE_EXISTING
;
22222 PyObject
* obj0
= 0 ;
22223 PyObject
* obj1
= 0 ;
22224 PyObject
* obj2
= 0 ;
22225 PyObject
* obj3
= 0 ;
22226 char *kwnames
[] = {
22227 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22233 arg2
= (int) SWIG_AsInt(obj1
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22235 arg3
= (int) SWIG_AsInt(obj2
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22238 arg4
= (int) SWIG_AsInt(obj3
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 (arg1
)->Move(arg2
,arg3
,arg4
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 Py_INCREF(Py_None
); resultobj
= Py_None
;
22255 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxWindow
*arg1
= (wxWindow
*) 0 ;
22258 PyObject
* obj0
= 0 ;
22259 char *kwnames
[] = {
22260 (char *) "self", NULL
22263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22273 Py_INCREF(Py_None
); resultobj
= Py_None
;
22280 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22281 PyObject
*resultobj
;
22282 wxWindow
*arg1
= (wxWindow
*) 0 ;
22283 PyObject
* obj0
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 Py_INCREF(Py_None
); resultobj
= Py_None
;
22305 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxWindow
*arg1
= (wxWindow
*) 0 ;
22310 PyObject
* obj0
= 0 ;
22311 PyObject
* obj1
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self",(char *) "size", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22321 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22330 Py_INCREF(Py_None
); resultobj
= Py_None
;
22337 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxWindow
*arg1
= (wxWindow
*) 0 ;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 PyObject
* obj2
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self",(char *) "width",(char *) "height", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22352 arg2
= (int) SWIG_AsInt(obj1
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22354 arg3
= (int) SWIG_AsInt(obj2
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 (arg1
)->SetClientSize(arg2
,arg3
);
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22363 Py_INCREF(Py_None
); resultobj
= Py_None
;
22370 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
;
22372 wxWindow
*arg1
= (wxWindow
*) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 PyObject
* obj1
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self",(char *) "rect", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22386 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 Py_INCREF(Py_None
); resultobj
= Py_None
;
22402 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxWindow
*arg1
= (wxWindow
*) 0 ;
22406 PyObject
* obj0
= 0 ;
22407 char *kwnames
[] = {
22408 (char *) "self", NULL
22411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 result
= (arg1
)->GetPosition();
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22422 wxPoint
* resultptr
;
22423 resultptr
= new wxPoint((wxPoint
&) result
);
22424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22432 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxWindow
*arg1
= (wxWindow
*) 0 ;
22435 int *arg2
= (int *) 0 ;
22436 int *arg3
= (int *) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 char *kwnames
[] = {
22441 (char *) "self", NULL
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 (arg1
)->GetPosition(arg2
,arg3
);
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 Py_INCREF(Py_None
); resultobj
= Py_None
;
22458 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22459 resultobj
= t_output_helper(resultobj
,o
);
22462 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22463 resultobj
= t_output_helper(resultobj
,o
);
22471 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22472 PyObject
*resultobj
;
22473 wxWindow
*arg1
= (wxWindow
*) 0 ;
22475 PyObject
* obj0
= 0 ;
22476 char *kwnames
[] = {
22477 (char *) "self", NULL
22480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 result
= ((wxWindow
const *)arg1
)->GetSize();
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22491 wxSize
* resultptr
;
22492 resultptr
= new wxSize((wxSize
&) result
);
22493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22501 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22502 PyObject
*resultobj
;
22503 wxWindow
*arg1
= (wxWindow
*) 0 ;
22504 int *arg2
= (int *) 0 ;
22505 int *arg3
= (int *) 0 ;
22508 PyObject
* obj0
= 0 ;
22509 char *kwnames
[] = {
22510 (char *) "self", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 Py_INCREF(Py_None
); resultobj
= Py_None
;
22527 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22528 resultobj
= t_output_helper(resultobj
,o
);
22531 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22532 resultobj
= t_output_helper(resultobj
,o
);
22540 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
;
22542 wxWindow
*arg1
= (wxWindow
*) 0 ;
22544 PyObject
* obj0
= 0 ;
22545 char *kwnames
[] = {
22546 (char *) "self", NULL
22549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 result
= ((wxWindow
const *)arg1
)->GetRect();
22556 wxPyEndAllowThreads(__tstate
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22560 wxRect
* resultptr
;
22561 resultptr
= new wxRect((wxRect
&) result
);
22562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22570 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22571 PyObject
*resultobj
;
22572 wxWindow
*arg1
= (wxWindow
*) 0 ;
22574 PyObject
* obj0
= 0 ;
22575 char *kwnames
[] = {
22576 (char *) "self", NULL
22579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22590 wxSize
* resultptr
;
22591 resultptr
= new wxSize((wxSize
&) result
);
22592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22600 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxWindow
*arg1
= (wxWindow
*) 0 ;
22603 int *arg2
= (int *) 0 ;
22604 int *arg3
= (int *) 0 ;
22607 PyObject
* obj0
= 0 ;
22608 char *kwnames
[] = {
22609 (char *) "self", NULL
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 Py_INCREF(Py_None
); resultobj
= Py_None
;
22626 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22627 resultobj
= t_output_helper(resultobj
,o
);
22630 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22631 resultobj
= t_output_helper(resultobj
,o
);
22639 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
;
22641 wxWindow
*arg1
= (wxWindow
*) 0 ;
22643 PyObject
* obj0
= 0 ;
22644 char *kwnames
[] = {
22645 (char *) "self", NULL
22648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22659 wxPoint
* resultptr
;
22660 resultptr
= new wxPoint((wxPoint
&) result
);
22661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22669 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxWindow
*arg1
= (wxWindow
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 char *kwnames
[] = {
22675 (char *) "self", NULL
22678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22689 wxRect
* resultptr
;
22690 resultptr
= new wxRect((wxRect
&) result
);
22691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22699 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
;
22701 wxWindow
*arg1
= (wxWindow
*) 0 ;
22703 PyObject
* obj0
= 0 ;
22704 char *kwnames
[] = {
22705 (char *) "self", NULL
22708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22713 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22719 wxSize
* resultptr
;
22720 resultptr
= new wxSize((wxSize
&) result
);
22721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22729 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
;
22731 wxWindow
*arg1
= (wxWindow
*) 0 ;
22732 int *arg2
= (int *) 0 ;
22733 int *arg3
= (int *) 0 ;
22736 PyObject
* obj0
= 0 ;
22737 char *kwnames
[] = {
22738 (char *) "self", NULL
22743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22753 Py_INCREF(Py_None
); resultobj
= Py_None
;
22755 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22756 resultobj
= t_output_helper(resultobj
,o
);
22759 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22760 resultobj
= t_output_helper(resultobj
,o
);
22768 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxWindow
*arg1
= (wxWindow
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22788 wxSize
* resultptr
;
22789 resultptr
= new wxSize((wxSize
&) result
);
22790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22798 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22800 wxWindow
*arg1
= (wxWindow
*) 0 ;
22801 int arg2
= (int) wxBOTH
;
22802 PyObject
* obj0
= 0 ;
22803 PyObject
* obj1
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "self",(char *) "direction", NULL
22808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22812 arg2
= (int) SWIG_AsInt(obj1
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 (arg1
)->Center(arg2
);
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 Py_INCREF(Py_None
); resultobj
= Py_None
;
22829 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22831 wxWindow
*arg1
= (wxWindow
*) 0 ;
22832 int arg2
= (int) wxBOTH
;
22833 PyObject
* obj0
= 0 ;
22834 PyObject
* obj1
= 0 ;
22835 char *kwnames
[] = {
22836 (char *) "self",(char *) "dir", NULL
22839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22843 arg2
= (int) SWIG_AsInt(obj1
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 (arg1
)->CenterOnScreen(arg2
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 Py_INCREF(Py_None
); resultobj
= Py_None
;
22860 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
;
22862 wxWindow
*arg1
= (wxWindow
*) 0 ;
22863 int arg2
= (int) wxBOTH
;
22864 PyObject
* obj0
= 0 ;
22865 PyObject
* obj1
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "self",(char *) "dir", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22874 arg2
= (int) SWIG_AsInt(obj1
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 (arg1
)->CenterOnParent(arg2
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 Py_INCREF(Py_None
); resultobj
= Py_None
;
22891 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22893 wxWindow
*arg1
= (wxWindow
*) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 char *kwnames
[] = {
22896 (char *) "self", NULL
22899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 Py_INCREF(Py_None
); resultobj
= Py_None
;
22916 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxWindow
*arg1
= (wxWindow
*) 0 ;
22919 PyObject
* obj0
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 (arg1
)->FitInside();
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 Py_INCREF(Py_None
); resultobj
= Py_None
;
22941 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22942 PyObject
*resultobj
;
22943 wxWindow
*arg1
= (wxWindow
*) 0 ;
22946 int arg4
= (int) -1 ;
22947 int arg5
= (int) -1 ;
22948 int arg6
= (int) -1 ;
22949 int arg7
= (int) -1 ;
22950 PyObject
* obj0
= 0 ;
22951 PyObject
* obj1
= 0 ;
22952 PyObject
* obj2
= 0 ;
22953 PyObject
* obj3
= 0 ;
22954 PyObject
* obj4
= 0 ;
22955 PyObject
* obj5
= 0 ;
22956 PyObject
* obj6
= 0 ;
22958 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22961 arg2
= (int) SWIG_AsInt(obj1
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22963 arg3
= (int) SWIG_AsInt(obj2
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 arg4
= (int) SWIG_AsInt(obj3
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22970 arg5
= (int) SWIG_AsInt(obj4
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22974 arg6
= (int) SWIG_AsInt(obj5
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22978 arg7
= (int) SWIG_AsInt(obj6
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 Py_INCREF(Py_None
); resultobj
= Py_None
;
22995 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
22996 PyObject
*resultobj
;
22997 wxWindow
*arg1
= (wxWindow
*) 0 ;
22999 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23000 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23001 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23002 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23006 PyObject
* obj0
= 0 ;
23007 PyObject
* obj1
= 0 ;
23008 PyObject
* obj2
= 0 ;
23009 PyObject
* obj3
= 0 ;
23011 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23016 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23021 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23027 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 Py_INCREF(Py_None
); resultobj
= Py_None
;
23044 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23049 argc
= PyObject_Length(args
);
23050 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23051 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23053 if ((argc
>= 2) && (argc
<= 4)) {
23057 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23066 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23070 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23073 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23077 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23080 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23083 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23089 if ((argc
>= 3) && (argc
<= 7)) {
23093 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23101 _v
= SWIG_CheckInt(argv
[1]);
23103 _v
= SWIG_CheckInt(argv
[2]);
23106 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23108 _v
= SWIG_CheckInt(argv
[3]);
23111 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23113 _v
= SWIG_CheckInt(argv
[4]);
23116 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23118 _v
= SWIG_CheckInt(argv
[5]);
23121 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23123 _v
= SWIG_CheckInt(argv
[6]);
23125 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23135 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23140 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23141 PyObject
*resultobj
;
23142 wxWindow
*arg1
= (wxWindow
*) 0 ;
23145 int arg4
= (int) -1 ;
23146 int arg5
= (int) -1 ;
23147 PyObject
* obj0
= 0 ;
23148 PyObject
* obj1
= 0 ;
23149 PyObject
* obj2
= 0 ;
23150 PyObject
* obj3
= 0 ;
23151 PyObject
* obj4
= 0 ;
23153 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23156 arg2
= (int) SWIG_AsInt(obj1
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23158 arg3
= (int) SWIG_AsInt(obj2
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23161 arg4
= (int) SWIG_AsInt(obj3
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23165 arg5
= (int) SWIG_AsInt(obj4
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 Py_INCREF(Py_None
); resultobj
= Py_None
;
23182 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23183 PyObject
*resultobj
;
23184 wxWindow
*arg1
= (wxWindow
*) 0 ;
23186 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23187 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23190 PyObject
* obj0
= 0 ;
23191 PyObject
* obj1
= 0 ;
23192 PyObject
* obj2
= 0 ;
23194 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23199 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23204 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 Py_INCREF(Py_None
); resultobj
= Py_None
;
23221 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23226 argc
= PyObject_Length(args
);
23227 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23228 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23230 if ((argc
>= 2) && (argc
<= 3)) {
23234 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23243 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23247 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23250 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23253 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23258 if ((argc
>= 3) && (argc
<= 5)) {
23262 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23270 _v
= SWIG_CheckInt(argv
[1]);
23272 _v
= SWIG_CheckInt(argv
[2]);
23275 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23277 _v
= SWIG_CheckInt(argv
[3]);
23280 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23282 _v
= SWIG_CheckInt(argv
[4]);
23284 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23292 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23297 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23299 wxWindow
*arg1
= (wxWindow
*) 0 ;
23301 PyObject
* obj0
= 0 ;
23302 char *kwnames
[] = {
23303 (char *) "self", NULL
23306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 resultobj
= SWIG_FromInt((int)result
);
23323 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
;
23325 wxWindow
*arg1
= (wxWindow
*) 0 ;
23327 PyObject
* obj0
= 0 ;
23328 char *kwnames
[] = {
23329 (char *) "self", NULL
23332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23337 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23342 resultobj
= SWIG_FromInt((int)result
);
23349 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
;
23351 wxWindow
*arg1
= (wxWindow
*) 0 ;
23353 PyObject
* obj0
= 0 ;
23354 char *kwnames
[] = {
23355 (char *) "self", NULL
23358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23365 wxPyEndAllowThreads(__tstate
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23368 resultobj
= SWIG_FromInt((int)result
);
23375 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
;
23377 wxWindow
*arg1
= (wxWindow
*) 0 ;
23379 PyObject
* obj0
= 0 ;
23380 char *kwnames
[] = {
23381 (char *) "self", NULL
23384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= SWIG_FromInt((int)result
);
23401 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxWindow
*arg1
= (wxWindow
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 char *kwnames
[] = {
23407 (char *) "self", NULL
23410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23421 wxSize
* resultptr
;
23422 resultptr
= new wxSize((wxSize
&) result
);
23423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23431 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxWindow
*arg1
= (wxWindow
*) 0 ;
23435 PyObject
* obj0
= 0 ;
23436 char *kwnames
[] = {
23437 (char *) "self", NULL
23440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23451 wxSize
* resultptr
;
23452 resultptr
= new wxSize((wxSize
&) result
);
23453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23461 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxWindow
*arg1
= (wxWindow
*) 0 ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 char *kwnames
[] = {
23469 (char *) "self",(char *) "size", NULL
23472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23477 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 Py_INCREF(Py_None
); resultobj
= Py_None
;
23493 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
;
23495 wxWindow
*arg1
= (wxWindow
*) 0 ;
23498 PyObject
* obj0
= 0 ;
23499 PyObject
* obj1
= 0 ;
23500 PyObject
* obj2
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "self",(char *) "w",(char *) "h", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23508 arg2
= (int) SWIG_AsInt(obj1
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23510 arg3
= (int) SWIG_AsInt(obj2
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 (arg1
)->SetVirtualSize(arg2
,arg3
);
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23519 Py_INCREF(Py_None
); resultobj
= Py_None
;
23526 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
;
23528 wxWindow
*arg1
= (wxWindow
*) 0 ;
23530 PyObject
* obj0
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "self", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23546 wxSize
* resultptr
;
23547 resultptr
= new wxSize((wxSize
&) result
);
23548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23556 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23557 PyObject
*resultobj
;
23558 wxWindow
*arg1
= (wxWindow
*) 0 ;
23559 int *arg2
= (int *) 0 ;
23560 int *arg3
= (int *) 0 ;
23563 PyObject
* obj0
= 0 ;
23564 char *kwnames
[] = {
23565 (char *) "self", NULL
23570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 Py_INCREF(Py_None
); resultobj
= Py_None
;
23582 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23583 resultobj
= t_output_helper(resultobj
,o
);
23586 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23587 resultobj
= t_output_helper(resultobj
,o
);
23595 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
;
23597 wxWindow
*arg1
= (wxWindow
*) 0 ;
23599 PyObject
* obj0
= 0 ;
23600 char *kwnames
[] = {
23601 (char *) "self", NULL
23604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23615 wxSize
* resultptr
;
23616 resultptr
= new wxSize((wxSize
&) result
);
23617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23625 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
;
23627 wxWindow
*arg1
= (wxWindow
*) 0 ;
23628 bool arg2
= (bool) True
;
23630 PyObject
* obj0
= 0 ;
23631 PyObject
* obj1
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self",(char *) "show", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23640 arg2
= (bool) SWIG_AsBool(obj1
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= (bool)(arg1
)->Show(arg2
);
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23659 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23661 wxWindow
*arg1
= (wxWindow
*) 0 ;
23663 PyObject
* obj0
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 result
= (bool)(arg1
)->Hide();
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23687 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23688 PyObject
*resultobj
;
23689 wxWindow
*arg1
= (wxWindow
*) 0 ;
23690 bool arg2
= (bool) True
;
23692 PyObject
* obj0
= 0 ;
23693 PyObject
* obj1
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self",(char *) "enable", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 arg2
= (bool) SWIG_AsBool(obj1
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 result
= (bool)(arg1
)->Enable(arg2
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23721 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxWindow
*arg1
= (wxWindow
*) 0 ;
23725 PyObject
* obj0
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= (bool)(arg1
)->Disable();
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23749 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
;
23751 wxWindow
*arg1
= (wxWindow
*) 0 ;
23753 PyObject
* obj0
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23777 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxWindow
*arg1
= (wxWindow
*) 0 ;
23781 PyObject
* obj0
= 0 ;
23782 char *kwnames
[] = {
23783 (char *) "self", NULL
23786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23805 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
;
23807 wxWindow
*arg1
= (wxWindow
*) 0 ;
23809 PyObject
* obj0
= 0 ;
23810 PyObject
* obj1
= 0 ;
23811 char *kwnames
[] = {
23812 (char *) "self",(char *) "style", NULL
23815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23818 arg2
= (long) SWIG_AsLong(obj1
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 (arg1
)->SetWindowStyleFlag(arg2
);
23824 wxPyEndAllowThreads(__tstate
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23827 Py_INCREF(Py_None
); resultobj
= Py_None
;
23834 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23835 PyObject
*resultobj
;
23836 wxWindow
*arg1
= (wxWindow
*) 0 ;
23838 PyObject
* obj0
= 0 ;
23839 char *kwnames
[] = {
23840 (char *) "self", NULL
23843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_FromLong((long)result
);
23860 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 wxWindow
*arg1
= (wxWindow
*) 0 ;
23865 PyObject
* obj0
= 0 ;
23866 PyObject
* obj1
= 0 ;
23867 char *kwnames
[] = {
23868 (char *) "self",(char *) "flag", NULL
23871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23874 arg2
= (int) SWIG_AsInt(obj1
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23892 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
;
23894 wxWindow
*arg1
= (wxWindow
*) 0 ;
23896 PyObject
* obj0
= 0 ;
23897 char *kwnames
[] = {
23898 (char *) "self", NULL
23901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23920 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxWindow
*arg1
= (wxWindow
*) 0 ;
23924 PyObject
* obj0
= 0 ;
23925 PyObject
* obj1
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self",(char *) "exStyle", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23933 arg2
= (long) SWIG_AsLong(obj1
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 (arg1
)->SetExtraStyle(arg2
);
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 Py_INCREF(Py_None
); resultobj
= Py_None
;
23949 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23951 wxWindow
*arg1
= (wxWindow
*) 0 ;
23953 PyObject
* obj0
= 0 ;
23954 char *kwnames
[] = {
23955 (char *) "self", NULL
23958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= SWIG_FromLong((long)result
);
23975 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
;
23977 wxWindow
*arg1
= (wxWindow
*) 0 ;
23978 bool arg2
= (bool) True
;
23979 PyObject
* obj0
= 0 ;
23980 PyObject
* obj1
= 0 ;
23981 char *kwnames
[] = {
23982 (char *) "self",(char *) "modal", NULL
23985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23989 arg2
= (bool) SWIG_AsBool(obj1
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 (arg1
)->MakeModal(arg2
);
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
23999 Py_INCREF(Py_None
); resultobj
= Py_None
;
24006 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24008 wxWindow
*arg1
= (wxWindow
*) 0 ;
24010 PyObject
* obj0
= 0 ;
24011 PyObject
* obj1
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "self",(char *) "enableTheme", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24019 arg2
= (bool) SWIG_AsBool(obj1
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 (arg1
)->SetThemeEnabled(arg2
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 Py_INCREF(Py_None
); resultobj
= Py_None
;
24035 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
;
24037 wxWindow
*arg1
= (wxWindow
*) 0 ;
24039 PyObject
* obj0
= 0 ;
24040 char *kwnames
[] = {
24041 (char *) "self", NULL
24044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24063 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
;
24065 wxWindow
*arg1
= (wxWindow
*) 0 ;
24066 PyObject
* obj0
= 0 ;
24067 char *kwnames
[] = {
24068 (char *) "self", NULL
24071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 (arg1
)->SetFocus();
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24081 Py_INCREF(Py_None
); resultobj
= Py_None
;
24088 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
;
24090 wxWindow
*arg1
= (wxWindow
*) 0 ;
24091 PyObject
* obj0
= 0 ;
24092 char *kwnames
[] = {
24093 (char *) "self", NULL
24096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 (arg1
)->SetFocusFromKbd();
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24106 Py_INCREF(Py_None
); resultobj
= Py_None
;
24113 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24116 char *kwnames
[] = {
24120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24122 if (!wxPyCheckForApp()) SWIG_fail
;
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 result
= (wxWindow
*)wxWindow::FindFocus();
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= wxPyMake_wxObject(result
);
24138 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxWindow
*arg1
= (wxWindow
*) 0 ;
24142 PyObject
* obj0
= 0 ;
24143 char *kwnames
[] = {
24144 (char *) "self", NULL
24147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24166 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24168 wxWindow
*arg1
= (wxWindow
*) 0 ;
24170 PyObject
* obj0
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24194 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24195 PyObject
*resultobj
;
24196 wxWindow
*arg1
= (wxWindow
*) 0 ;
24198 PyObject
* obj0
= 0 ;
24199 char *kwnames
[] = {
24200 (char *) "self", NULL
24203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= wxPyMake_wxObject(result
);
24222 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24223 PyObject
*resultobj
;
24224 wxWindow
*arg1
= (wxWindow
*) 0 ;
24225 wxWindow
*arg2
= (wxWindow
*) 0 ;
24227 PyObject
* obj0
= 0 ;
24228 PyObject
* obj1
= 0 ;
24229 char *kwnames
[] = {
24230 (char *) "self",(char *) "child", NULL
24233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24246 resultobj
= wxPyMake_wxObject(result
);
24254 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24255 PyObject
*resultobj
;
24256 wxWindow
*arg1
= (wxWindow
*) 0 ;
24257 wxWindow
*arg2
= (wxWindow
*) 0 ;
24258 PyObject
* obj0
= 0 ;
24259 PyObject
* obj1
= 0 ;
24260 char *kwnames
[] = {
24261 (char *) "self",(char *) "win", NULL
24264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 (arg1
)->SetTmpDefaultItem(arg2
);
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24276 Py_INCREF(Py_None
); resultobj
= Py_None
;
24283 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxWindow
*arg1
= (wxWindow
*) 0 ;
24287 PyObject
* obj0
= 0 ;
24288 char *kwnames
[] = {
24289 (char *) "self", NULL
24292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24297 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24299 wxPyEndAllowThreads(__tstate
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24302 resultobj
= result
;
24309 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
;
24311 wxWindow
*arg1
= (wxWindow
*) 0 ;
24313 PyObject
* obj0
= 0 ;
24314 char *kwnames
[] = {
24315 (char *) "self", NULL
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= wxPyMake_wxObject(result
);
24337 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24338 PyObject
*resultobj
;
24339 wxWindow
*arg1
= (wxWindow
*) 0 ;
24341 PyObject
* obj0
= 0 ;
24342 char *kwnames
[] = {
24343 (char *) "self", NULL
24346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= wxPyMake_wxObject(result
);
24365 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
;
24367 wxWindow
*arg1
= (wxWindow
*) 0 ;
24369 PyObject
* obj0
= 0 ;
24370 char *kwnames
[] = {
24371 (char *) "self", NULL
24374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24393 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24394 PyObject
*resultobj
;
24395 wxWindow
*arg1
= (wxWindow
*) 0 ;
24396 wxWindow
*arg2
= (wxWindow
*) 0 ;
24398 PyObject
* obj0
= 0 ;
24399 PyObject
* obj1
= 0 ;
24400 char *kwnames
[] = {
24401 (char *) "self",(char *) "newParent", NULL
24404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 result
= (bool)(arg1
)->Reparent(arg2
);
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24425 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24426 PyObject
*resultobj
;
24427 wxWindow
*arg1
= (wxWindow
*) 0 ;
24428 wxWindow
*arg2
= (wxWindow
*) 0 ;
24429 PyObject
* obj0
= 0 ;
24430 PyObject
* obj1
= 0 ;
24431 char *kwnames
[] = {
24432 (char *) "self",(char *) "child", NULL
24435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 (arg1
)->AddChild(arg2
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 Py_INCREF(Py_None
); resultobj
= Py_None
;
24454 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
;
24456 wxWindow
*arg1
= (wxWindow
*) 0 ;
24457 wxWindow
*arg2
= (wxWindow
*) 0 ;
24458 PyObject
* obj0
= 0 ;
24459 PyObject
* obj1
= 0 ;
24460 char *kwnames
[] = {
24461 (char *) "self",(char *) "child", NULL
24464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 (arg1
)->RemoveChild(arg2
);
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 Py_INCREF(Py_None
); resultobj
= Py_None
;
24483 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
;
24485 wxWindow
*arg1
= (wxWindow
*) 0 ;
24488 PyObject
* obj0
= 0 ;
24489 PyObject
* obj1
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self",(char *) "winid", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24497 arg2
= (long) SWIG_AsLong(obj1
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24501 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24503 wxPyEndAllowThreads(__tstate
);
24504 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= wxPyMake_wxObject(result
);
24515 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxWindow
*arg1
= (wxWindow
*) 0 ;
24518 wxString
*arg2
= 0 ;
24520 bool temp2
= False
;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 char *kwnames
[] = {
24524 (char *) "self",(char *) "name", NULL
24527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24531 arg2
= wxString_in_helper(obj1
);
24532 if (arg2
== NULL
) SWIG_fail
;
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24543 resultobj
= wxPyMake_wxObject(result
);
24559 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
;
24561 wxWindow
*arg1
= (wxWindow
*) 0 ;
24562 wxEvtHandler
*result
;
24563 PyObject
* obj0
= 0 ;
24564 char *kwnames
[] = {
24565 (char *) "self", NULL
24568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= wxPyMake_wxObject(result
);
24587 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
;
24589 wxWindow
*arg1
= (wxWindow
*) 0 ;
24590 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24591 PyObject
* obj0
= 0 ;
24592 PyObject
* obj1
= 0 ;
24593 char *kwnames
[] = {
24594 (char *) "self",(char *) "handler", NULL
24597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 (arg1
)->SetEventHandler(arg2
);
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 Py_INCREF(Py_None
); resultobj
= Py_None
;
24616 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
;
24618 wxWindow
*arg1
= (wxWindow
*) 0 ;
24619 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24620 PyObject
* obj0
= 0 ;
24621 PyObject
* obj1
= 0 ;
24622 char *kwnames
[] = {
24623 (char *) "self",(char *) "handler", NULL
24626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 (arg1
)->PushEventHandler(arg2
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 Py_INCREF(Py_None
); resultobj
= Py_None
;
24645 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
;
24647 wxWindow
*arg1
= (wxWindow
*) 0 ;
24648 bool arg2
= (bool) False
;
24649 wxEvtHandler
*result
;
24650 PyObject
* obj0
= 0 ;
24651 PyObject
* obj1
= 0 ;
24652 char *kwnames
[] = {
24653 (char *) "self",(char *) "deleteHandler", NULL
24656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24660 arg2
= (bool) SWIG_AsBool(obj1
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24671 resultobj
= wxPyMake_wxObject(result
);
24679 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
;
24681 wxWindow
*arg1
= (wxWindow
*) 0 ;
24682 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24684 PyObject
* obj0
= 0 ;
24685 PyObject
* obj1
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self",(char *) "handler", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24711 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxWindow
*arg1
= (wxWindow
*) 0 ;
24714 wxValidator
*arg2
= 0 ;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 char *kwnames
[] = {
24718 (char *) "self",(char *) "validator", NULL
24721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24727 if (arg2
== NULL
) {
24728 PyErr_SetString(PyExc_TypeError
,"null reference");
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24738 Py_INCREF(Py_None
); resultobj
= Py_None
;
24745 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
;
24747 wxWindow
*arg1
= (wxWindow
*) 0 ;
24748 wxValidator
*result
;
24749 PyObject
* obj0
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (wxValidator
*)(arg1
)->GetValidator();
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= wxPyMake_wxObject(result
);
24773 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
;
24775 wxWindow
*arg1
= (wxWindow
*) 0 ;
24777 PyObject
* obj0
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "self", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (bool)(arg1
)->Validate();
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24801 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxWindow
*arg1
= (wxWindow
*) 0 ;
24805 PyObject
* obj0
= 0 ;
24806 char *kwnames
[] = {
24807 (char *) "self", NULL
24810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24815 result
= (bool)(arg1
)->TransferDataToWindow();
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24829 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
;
24831 wxWindow
*arg1
= (wxWindow
*) 0 ;
24833 PyObject
* obj0
= 0 ;
24834 char *kwnames
[] = {
24835 (char *) "self", NULL
24838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24843 result
= (bool)(arg1
)->TransferDataFromWindow();
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24857 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
;
24859 wxWindow
*arg1
= (wxWindow
*) 0 ;
24860 PyObject
* obj0
= 0 ;
24861 char *kwnames
[] = {
24862 (char *) "self", NULL
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 (arg1
)->InitDialog();
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24875 Py_INCREF(Py_None
); resultobj
= Py_None
;
24882 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxWindow
*arg1
= (wxWindow
*) 0 ;
24885 wxAcceleratorTable
*arg2
= 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self",(char *) "accel", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24898 if (arg2
== NULL
) {
24899 PyErr_SetString(PyExc_TypeError
,"null reference");
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 Py_INCREF(Py_None
); resultobj
= Py_None
;
24916 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxWindow
*arg1
= (wxWindow
*) 0 ;
24919 wxAcceleratorTable
*result
;
24920 PyObject
* obj0
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "self", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24942 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
;
24944 wxWindow
*arg1
= (wxWindow
*) 0 ;
24949 PyObject
* obj0
= 0 ;
24950 PyObject
* obj1
= 0 ;
24951 PyObject
* obj2
= 0 ;
24952 PyObject
* obj3
= 0 ;
24953 char *kwnames
[] = {
24954 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24960 arg2
= (int) SWIG_AsInt(obj1
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24962 arg3
= (int) SWIG_AsInt(obj2
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24964 arg4
= (int) SWIG_AsInt(obj3
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24982 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
;
24984 wxWindow
*arg1
= (wxWindow
*) 0 ;
24987 PyObject
* obj0
= 0 ;
24988 PyObject
* obj1
= 0 ;
24989 char *kwnames
[] = {
24990 (char *) "self",(char *) "hotkeyId", NULL
24993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24996 arg2
= (int) SWIG_AsInt(obj1
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25014 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25015 PyObject
*resultobj
;
25016 wxWindow
*arg1
= (wxWindow
*) 0 ;
25017 wxPoint
*arg2
= 0 ;
25020 PyObject
* obj0
= 0 ;
25021 PyObject
* obj1
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "self",(char *) "pt", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25031 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25037 wxPyEndAllowThreads(__tstate
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25041 wxPoint
* resultptr
;
25042 resultptr
= new wxPoint((wxPoint
&) result
);
25043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25051 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25052 PyObject
*resultobj
;
25053 wxWindow
*arg1
= (wxWindow
*) 0 ;
25057 PyObject
* obj0
= 0 ;
25058 PyObject
* obj1
= 0 ;
25059 char *kwnames
[] = {
25060 (char *) "self",(char *) "sz", NULL
25063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25068 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25078 wxSize
* resultptr
;
25079 resultptr
= new wxSize((wxSize
&) result
);
25080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25088 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25089 PyObject
*resultobj
;
25090 wxWindow
*arg1
= (wxWindow
*) 0 ;
25091 wxPoint
*arg2
= 0 ;
25094 PyObject
* obj0
= 0 ;
25095 PyObject
* obj1
= 0 ;
25096 char *kwnames
[] = {
25097 (char *) "self",(char *) "pt", NULL
25100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25115 wxPoint
* resultptr
;
25116 resultptr
= new wxPoint((wxPoint
&) result
);
25117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25125 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25126 PyObject
*resultobj
;
25127 wxWindow
*arg1
= (wxWindow
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 PyObject
* obj1
= 0 ;
25133 char *kwnames
[] = {
25134 (char *) "self",(char *) "sz", NULL
25137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25142 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25152 wxSize
* resultptr
;
25153 resultptr
= new wxSize((wxSize
&) result
);
25154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25162 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25164 wxWindow
*arg1
= (wxWindow
*) 0 ;
25165 wxPoint
*arg2
= 0 ;
25168 PyObject
* obj0
= 0 ;
25169 PyObject
* obj1
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "self",(char *) "pt", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25179 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25189 wxPoint
* resultptr
;
25190 resultptr
= new wxPoint((wxPoint
&) result
);
25191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25199 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
;
25201 wxWindow
*arg1
= (wxWindow
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "self",(char *) "sz", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25216 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25226 wxSize
* resultptr
;
25227 resultptr
= new wxSize((wxSize
&) result
);
25228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25236 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25237 PyObject
*resultobj
;
25238 wxWindow
*arg1
= (wxWindow
*) 0 ;
25241 PyObject
* obj0
= 0 ;
25242 PyObject
* obj1
= 0 ;
25243 PyObject
* obj2
= 0 ;
25244 char *kwnames
[] = {
25245 (char *) "self",(char *) "x",(char *) "y", NULL
25248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25251 arg2
= (int) SWIG_AsInt(obj1
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25253 arg3
= (int) SWIG_AsInt(obj2
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 (arg1
)->WarpPointer(arg2
,arg3
);
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 Py_INCREF(Py_None
); resultobj
= Py_None
;
25269 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
;
25271 wxWindow
*arg1
= (wxWindow
*) 0 ;
25272 PyObject
* obj0
= 0 ;
25273 char *kwnames
[] = {
25274 (char *) "self", NULL
25277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 (arg1
)->CaptureMouse();
25284 wxPyEndAllowThreads(__tstate
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25287 Py_INCREF(Py_None
); resultobj
= Py_None
;
25294 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25295 PyObject
*resultobj
;
25296 wxWindow
*arg1
= (wxWindow
*) 0 ;
25297 PyObject
* obj0
= 0 ;
25298 char *kwnames
[] = {
25299 (char *) "self", NULL
25302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25307 (arg1
)->ReleaseMouse();
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25312 Py_INCREF(Py_None
); resultobj
= Py_None
;
25319 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
;
25322 char *kwnames
[] = {
25326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25328 if (!wxPyCheckForApp()) SWIG_fail
;
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 result
= (wxWindow
*)wxWindow::GetCapture();
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= wxPyMake_wxObject(result
);
25344 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
;
25346 wxWindow
*arg1
= (wxWindow
*) 0 ;
25348 PyObject
* obj0
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25372 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25373 PyObject
*resultobj
;
25374 wxWindow
*arg1
= (wxWindow
*) 0 ;
25375 bool arg2
= (bool) True
;
25376 wxRect
*arg3
= (wxRect
*) NULL
;
25377 PyObject
* obj0
= 0 ;
25378 PyObject
* obj1
= 0 ;
25379 PyObject
* obj2
= 0 ;
25380 char *kwnames
[] = {
25381 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25388 arg2
= (bool) SWIG_AsBool(obj1
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25392 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 Py_INCREF(Py_None
); resultobj
= Py_None
;
25409 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxWindow
*arg1
= (wxWindow
*) 0 ;
25414 PyObject
* obj0
= 0 ;
25415 PyObject
* obj1
= 0 ;
25416 char *kwnames
[] = {
25417 (char *) "self",(char *) "rect", NULL
25420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25425 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 Py_INCREF(Py_None
); resultobj
= Py_None
;
25441 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
;
25443 wxWindow
*arg1
= (wxWindow
*) 0 ;
25444 PyObject
* obj0
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "self", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 wxPyEndAllowThreads(__tstate
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25459 Py_INCREF(Py_None
); resultobj
= Py_None
;
25466 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25468 wxWindow
*arg1
= (wxWindow
*) 0 ;
25469 PyObject
* obj0
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 (arg1
)->ClearBackground();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 Py_INCREF(Py_None
); resultobj
= Py_None
;
25491 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxWindow
*arg1
= (wxWindow
*) 0 ;
25494 PyObject
* obj0
= 0 ;
25495 char *kwnames
[] = {
25496 (char *) "self", NULL
25499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 Py_INCREF(Py_None
); resultobj
= Py_None
;
25516 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
;
25518 wxWindow
*arg1
= (wxWindow
*) 0 ;
25519 PyObject
* obj0
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 Py_INCREF(Py_None
); resultobj
= Py_None
;
25541 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25542 PyObject
*resultobj
;
25543 wxWindow
*arg1
= (wxWindow
*) 0 ;
25545 PyObject
* obj0
= 0 ;
25546 PyObject
* obj1
= 0 ;
25547 char *kwnames
[] = {
25548 (char *) "self",(char *) "dc", NULL
25551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25557 if (arg2
== NULL
) {
25558 PyErr_SetString(PyExc_TypeError
,"null reference");
25562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25563 (arg1
)->PrepareDC(*arg2
);
25565 wxPyEndAllowThreads(__tstate
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25568 Py_INCREF(Py_None
); resultobj
= Py_None
;
25575 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
;
25577 wxWindow
*arg1
= (wxWindow
*) 0 ;
25579 PyObject
* obj0
= 0 ;
25580 char *kwnames
[] = {
25581 (char *) "self", NULL
25584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25591 result
= (wxRegion
*) &_result_ref
;
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25604 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25606 wxWindow
*arg1
= (wxWindow
*) 0 ;
25608 PyObject
* obj0
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "self", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25620 wxPyEndAllowThreads(__tstate
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25624 wxRect
* resultptr
;
25625 resultptr
= new wxRect((wxRect
&) result
);
25626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25634 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
;
25636 wxWindow
*arg1
= (wxWindow
*) 0 ;
25639 int arg4
= (int) 1 ;
25640 int arg5
= (int) 1 ;
25642 PyObject
* obj0
= 0 ;
25643 PyObject
* obj1
= 0 ;
25644 PyObject
* obj2
= 0 ;
25645 PyObject
* obj3
= 0 ;
25646 PyObject
* obj4
= 0 ;
25647 char *kwnames
[] = {
25648 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25654 arg2
= (int) SWIG_AsInt(obj1
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25656 arg3
= (int) SWIG_AsInt(obj2
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 arg4
= (int) SWIG_AsInt(obj3
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25663 arg5
= (int) SWIG_AsInt(obj4
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25682 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
;
25684 wxWindow
*arg1
= (wxWindow
*) 0 ;
25685 wxPoint
*arg2
= 0 ;
25688 PyObject
* obj0
= 0 ;
25689 PyObject
* obj1
= 0 ;
25690 char *kwnames
[] = {
25691 (char *) "self",(char *) "pt", NULL
25694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25699 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25717 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25718 PyObject
*resultobj
;
25719 wxWindow
*arg1
= (wxWindow
*) 0 ;
25723 PyObject
* obj0
= 0 ;
25724 PyObject
* obj1
= 0 ;
25725 char *kwnames
[] = {
25726 (char *) "self",(char *) "rect", NULL
25729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25734 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25752 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxWindow
*arg1
= (wxWindow
*) 0 ;
25755 wxVisualAttributes result
;
25756 PyObject
* obj0
= 0 ;
25757 char *kwnames
[] = {
25758 (char *) "self", NULL
25761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25772 wxVisualAttributes
* resultptr
;
25773 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25782 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25783 PyObject
*resultobj
;
25784 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25785 wxVisualAttributes result
;
25786 PyObject
* obj0
= 0 ;
25787 char *kwnames
[] = {
25788 (char *) "variant", NULL
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25793 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25797 if (!wxPyCheckForApp()) SWIG_fail
;
25798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25799 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25801 wxPyEndAllowThreads(__tstate
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25805 wxVisualAttributes
* resultptr
;
25806 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25815 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25816 PyObject
*resultobj
;
25817 wxWindow
*arg1
= (wxWindow
*) 0 ;
25818 wxColour
*arg2
= 0 ;
25821 PyObject
* obj0
= 0 ;
25822 PyObject
* obj1
= 0 ;
25823 char *kwnames
[] = {
25824 (char *) "self",(char *) "colour", NULL
25827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25832 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25836 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25838 wxPyEndAllowThreads(__tstate
);
25839 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25850 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
;
25852 wxWindow
*arg1
= (wxWindow
*) 0 ;
25853 wxColour
*arg2
= 0 ;
25855 PyObject
* obj0
= 0 ;
25856 PyObject
* obj1
= 0 ;
25857 char *kwnames
[] = {
25858 (char *) "self",(char *) "colour", NULL
25861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25866 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25870 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 Py_INCREF(Py_None
); resultobj
= Py_None
;
25882 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
;
25884 wxWindow
*arg1
= (wxWindow
*) 0 ;
25885 wxColour
*arg2
= 0 ;
25888 PyObject
* obj0
= 0 ;
25889 PyObject
* obj1
= 0 ;
25890 char *kwnames
[] = {
25891 (char *) "self",(char *) "colour", NULL
25894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25899 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25917 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25918 PyObject
*resultobj
;
25919 wxWindow
*arg1
= (wxWindow
*) 0 ;
25920 wxColour
*arg2
= 0 ;
25922 PyObject
* obj0
= 0 ;
25923 PyObject
* obj1
= 0 ;
25924 char *kwnames
[] = {
25925 (char *) "self",(char *) "colour", NULL
25928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25933 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25937 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
25939 wxPyEndAllowThreads(__tstate
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25942 Py_INCREF(Py_None
); resultobj
= Py_None
;
25949 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25950 PyObject
*resultobj
;
25951 wxWindow
*arg1
= (wxWindow
*) 0 ;
25953 PyObject
* obj0
= 0 ;
25954 char *kwnames
[] = {
25955 (char *) "self", NULL
25958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25965 wxPyEndAllowThreads(__tstate
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25969 wxColour
* resultptr
;
25970 resultptr
= new wxColour((wxColour
&) result
);
25971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25979 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25980 PyObject
*resultobj
;
25981 wxWindow
*arg1
= (wxWindow
*) 0 ;
25983 PyObject
* obj0
= 0 ;
25984 char *kwnames
[] = {
25985 (char *) "self", NULL
25988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
25995 wxPyEndAllowThreads(__tstate
);
25996 if (PyErr_Occurred()) SWIG_fail
;
25999 wxColour
* resultptr
;
26000 resultptr
= new wxColour((wxColour
&) result
);
26001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26009 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26010 PyObject
*resultobj
;
26011 wxWindow
*arg1
= (wxWindow
*) 0 ;
26012 wxCursor
*arg2
= 0 ;
26014 PyObject
* obj0
= 0 ;
26015 PyObject
* obj1
= 0 ;
26016 char *kwnames
[] = {
26017 (char *) "self",(char *) "cursor", NULL
26020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26026 if (arg2
== NULL
) {
26027 PyErr_SetString(PyExc_TypeError
,"null reference");
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26046 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxWindow
*arg1
= (wxWindow
*) 0 ;
26050 PyObject
* obj0
= 0 ;
26051 char *kwnames
[] = {
26052 (char *) "self", NULL
26055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26061 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26062 result
= (wxCursor
*) &_result_ref
;
26065 wxPyEndAllowThreads(__tstate
);
26066 if (PyErr_Occurred()) SWIG_fail
;
26069 wxCursor
* resultptr
= new wxCursor(*result
);
26070 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26078 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26080 wxWindow
*arg1
= (wxWindow
*) 0 ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 char *kwnames
[] = {
26086 (char *) "self",(char *) "font", NULL
26089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26095 if (arg2
== NULL
) {
26096 PyErr_SetString(PyExc_TypeError
,"null reference");
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26115 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26116 PyObject
*resultobj
;
26117 wxWindow
*arg1
= (wxWindow
*) 0 ;
26119 PyObject
* obj0
= 0 ;
26120 PyObject
* obj1
= 0 ;
26121 char *kwnames
[] = {
26122 (char *) "self",(char *) "font", NULL
26125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26131 if (arg2
== NULL
) {
26132 PyErr_SetString(PyExc_TypeError
,"null reference");
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26142 Py_INCREF(Py_None
); resultobj
= Py_None
;
26149 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26150 PyObject
*resultobj
;
26151 wxWindow
*arg1
= (wxWindow
*) 0 ;
26153 PyObject
* obj0
= 0 ;
26154 char *kwnames
[] = {
26155 (char *) "self", NULL
26158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 wxFont
&_result_ref
= (arg1
)->GetFont();
26165 result
= (wxFont
*) &_result_ref
;
26168 wxPyEndAllowThreads(__tstate
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26172 wxFont
* resultptr
= new wxFont(*result
);
26173 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26181 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxWindow
*arg1
= (wxWindow
*) 0 ;
26184 wxCaret
*arg2
= (wxCaret
*) 0 ;
26185 PyObject
* obj0
= 0 ;
26186 PyObject
* obj1
= 0 ;
26187 char *kwnames
[] = {
26188 (char *) "self",(char *) "caret", NULL
26191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26198 (arg1
)->SetCaret(arg2
);
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 Py_INCREF(Py_None
); resultobj
= Py_None
;
26210 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26211 PyObject
*resultobj
;
26212 wxWindow
*arg1
= (wxWindow
*) 0 ;
26214 PyObject
* obj0
= 0 ;
26215 char *kwnames
[] = {
26216 (char *) "self", NULL
26219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26236 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
;
26238 wxWindow
*arg1
= (wxWindow
*) 0 ;
26240 PyObject
* obj0
= 0 ;
26241 char *kwnames
[] = {
26242 (char *) "self", NULL
26245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= SWIG_FromInt((int)result
);
26262 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
;
26264 wxWindow
*arg1
= (wxWindow
*) 0 ;
26266 PyObject
* obj0
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self", NULL
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26281 resultobj
= SWIG_FromInt((int)result
);
26288 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26289 PyObject
*resultobj
;
26290 wxWindow
*arg1
= (wxWindow
*) 0 ;
26291 wxString
*arg2
= 0 ;
26292 int *arg3
= (int *) 0 ;
26293 int *arg4
= (int *) 0 ;
26294 bool temp2
= False
;
26297 PyObject
* obj0
= 0 ;
26298 PyObject
* obj1
= 0 ;
26299 char *kwnames
[] = {
26300 (char *) "self",(char *) "string", NULL
26305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26309 arg2
= wxString_in_helper(obj1
);
26310 if (arg2
== NULL
) SWIG_fail
;
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 Py_INCREF(Py_None
); resultobj
= Py_None
;
26322 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26323 resultobj
= t_output_helper(resultobj
,o
);
26326 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26327 resultobj
= t_output_helper(resultobj
,o
);
26343 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
;
26345 wxWindow
*arg1
= (wxWindow
*) 0 ;
26346 wxString
*arg2
= 0 ;
26347 int *arg3
= (int *) 0 ;
26348 int *arg4
= (int *) 0 ;
26349 int *arg5
= (int *) 0 ;
26350 int *arg6
= (int *) 0 ;
26351 wxFont
*arg7
= (wxFont
*) NULL
;
26352 bool temp2
= False
;
26357 PyObject
* obj0
= 0 ;
26358 PyObject
* obj1
= 0 ;
26359 PyObject
* obj2
= 0 ;
26360 char *kwnames
[] = {
26361 (char *) "self",(char *) "string",(char *) "font", NULL
26368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26372 arg2
= wxString_in_helper(obj1
);
26373 if (arg2
== NULL
) SWIG_fail
;
26377 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26382 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26384 wxPyEndAllowThreads(__tstate
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26387 Py_INCREF(Py_None
); resultobj
= Py_None
;
26389 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26390 resultobj
= t_output_helper(resultobj
,o
);
26393 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26394 resultobj
= t_output_helper(resultobj
,o
);
26397 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26398 resultobj
= t_output_helper(resultobj
,o
);
26401 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26402 resultobj
= t_output_helper(resultobj
,o
);
26418 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
;
26420 wxWindow
*arg1
= (wxWindow
*) 0 ;
26421 int *arg2
= (int *) 0 ;
26422 int *arg3
= (int *) 0 ;
26425 PyObject
* obj0
= 0 ;
26426 PyObject
* obj1
= 0 ;
26427 PyObject
* obj2
= 0 ;
26428 char *kwnames
[] = {
26429 (char *) "self",(char *) "x",(char *) "y", NULL
26432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26436 temp2
= PyInt_AsLong(obj1
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26441 temp3
= PyInt_AsLong(obj2
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26452 Py_INCREF(Py_None
); resultobj
= Py_None
;
26454 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26455 resultobj
= t_output_helper(resultobj
,o
);
26458 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26459 resultobj
= t_output_helper(resultobj
,o
);
26467 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
;
26469 wxWindow
*arg1
= (wxWindow
*) 0 ;
26470 int *arg2
= (int *) 0 ;
26471 int *arg3
= (int *) 0 ;
26474 PyObject
* obj0
= 0 ;
26475 PyObject
* obj1
= 0 ;
26476 PyObject
* obj2
= 0 ;
26477 char *kwnames
[] = {
26478 (char *) "self",(char *) "x",(char *) "y", NULL
26481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26485 temp2
= PyInt_AsLong(obj1
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26490 temp3
= PyInt_AsLong(obj2
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26501 Py_INCREF(Py_None
); resultobj
= Py_None
;
26503 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26504 resultobj
= t_output_helper(resultobj
,o
);
26507 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26508 resultobj
= t_output_helper(resultobj
,o
);
26516 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26517 PyObject
*resultobj
;
26518 wxWindow
*arg1
= (wxWindow
*) 0 ;
26519 wxPoint
*arg2
= 0 ;
26522 PyObject
* obj0
= 0 ;
26523 PyObject
* obj1
= 0 ;
26524 char *kwnames
[] = {
26525 (char *) "self",(char *) "pt", NULL
26528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26537 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26543 wxPoint
* resultptr
;
26544 resultptr
= new wxPoint((wxPoint
&) result
);
26545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26553 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
;
26555 wxWindow
*arg1
= (wxWindow
*) 0 ;
26556 wxPoint
*arg2
= 0 ;
26559 PyObject
* obj0
= 0 ;
26560 PyObject
* obj1
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self",(char *) "pt", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26570 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26580 wxPoint
* resultptr
;
26581 resultptr
= new wxPoint((wxPoint
&) result
);
26582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26590 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
;
26592 wxWindow
*arg1
= (wxWindow
*) 0 ;
26596 PyObject
* obj0
= 0 ;
26597 PyObject
* obj1
= 0 ;
26598 PyObject
* obj2
= 0 ;
26599 char *kwnames
[] = {
26600 (char *) "self",(char *) "x",(char *) "y", NULL
26603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26606 arg2
= (int) SWIG_AsInt(obj1
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26608 arg3
= (int) SWIG_AsInt(obj2
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26612 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26614 wxPyEndAllowThreads(__tstate
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26617 resultobj
= SWIG_FromInt((int)result
);
26624 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26625 PyObject
*resultobj
;
26626 wxWindow
*arg1
= (wxWindow
*) 0 ;
26627 wxPoint
*arg2
= 0 ;
26630 PyObject
* obj0
= 0 ;
26631 PyObject
* obj1
= 0 ;
26632 char *kwnames
[] = {
26633 (char *) "self",(char *) "pt", NULL
26636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= SWIG_FromInt((int)result
);
26657 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26658 PyObject
*resultobj
;
26659 wxWindow
*arg1
= (wxWindow
*) 0 ;
26662 PyObject
* obj0
= 0 ;
26663 PyObject
* obj1
= 0 ;
26665 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26668 arg2
= (long) SWIG_AsLong(obj1
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 resultobj
= SWIG_FromInt((int)result
);
26684 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26685 PyObject
*resultobj
;
26686 wxWindow
*arg1
= (wxWindow
*) 0 ;
26688 PyObject
* obj0
= 0 ;
26690 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26695 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26700 resultobj
= SWIG_FromInt((int)result
);
26707 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26712 argc
= PyObject_Length(args
);
26713 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26714 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26720 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26728 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26735 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26743 _v
= SWIG_CheckLong(argv
[1]);
26745 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26750 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26755 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
;
26757 wxWindow
*arg1
= (wxWindow
*) 0 ;
26758 long arg2
= (long) wxUPDATE_UI_NONE
;
26759 PyObject
* obj0
= 0 ;
26760 PyObject
* obj1
= 0 ;
26761 char *kwnames
[] = {
26762 (char *) "self",(char *) "flags", NULL
26765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26769 arg2
= (long) SWIG_AsLong(obj1
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 (arg1
)->UpdateWindowUI(arg2
);
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 Py_INCREF(Py_None
); resultobj
= Py_None
;
26786 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
;
26788 wxWindow
*arg1
= (wxWindow
*) 0 ;
26789 wxMenu
*arg2
= (wxMenu
*) 0 ;
26793 PyObject
* obj0
= 0 ;
26794 PyObject
* obj1
= 0 ;
26795 PyObject
* obj2
= 0 ;
26796 PyObject
* obj3
= 0 ;
26797 char *kwnames
[] = {
26798 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26806 arg3
= (int) SWIG_AsInt(obj2
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26808 arg4
= (int) SWIG_AsInt(obj3
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26812 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26814 wxPyEndAllowThreads(__tstate
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26826 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
;
26828 wxWindow
*arg1
= (wxWindow
*) 0 ;
26829 wxMenu
*arg2
= (wxMenu
*) 0 ;
26830 wxPoint
*arg3
= 0 ;
26833 PyObject
* obj0
= 0 ;
26834 PyObject
* obj1
= 0 ;
26835 PyObject
* obj2
= 0 ;
26836 char *kwnames
[] = {
26837 (char *) "self",(char *) "menu",(char *) "pos", NULL
26840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26847 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26851 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26853 wxPyEndAllowThreads(__tstate
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26865 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
;
26867 wxWindow
*arg1
= (wxWindow
*) 0 ;
26869 PyObject
* obj0
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "self", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 result
= (long)wxWindow_GetHandle(arg1
);
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= SWIG_FromLong((long)result
);
26891 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26892 PyObject
*resultobj
;
26893 wxWindow
*arg1
= (wxWindow
*) 0 ;
26894 wxPaintEvent
*arg2
= 0 ;
26895 PyObject
* obj0
= 0 ;
26896 PyObject
* obj1
= 0 ;
26897 char *kwnames
[] = {
26898 (char *) "self",(char *) "event", NULL
26901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
26902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
26905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26907 if (arg2
== NULL
) {
26908 PyErr_SetString(PyExc_TypeError
,"null reference");
26912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26913 (arg1
)->OnPaint(*arg2
);
26915 wxPyEndAllowThreads(__tstate
);
26916 if (PyErr_Occurred()) SWIG_fail
;
26918 Py_INCREF(Py_None
); resultobj
= Py_None
;
26925 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26926 PyObject
*resultobj
;
26927 wxWindow
*arg1
= (wxWindow
*) 0 ;
26930 PyObject
* obj0
= 0 ;
26931 PyObject
* obj1
= 0 ;
26932 char *kwnames
[] = {
26933 (char *) "self",(char *) "orient", NULL
26936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26939 arg2
= (int) SWIG_AsInt(obj1
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26957 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
;
26959 wxWindow
*arg1
= (wxWindow
*) 0 ;
26964 bool arg6
= (bool) True
;
26965 PyObject
* obj0
= 0 ;
26966 PyObject
* obj1
= 0 ;
26967 PyObject
* obj2
= 0 ;
26968 PyObject
* obj3
= 0 ;
26969 PyObject
* obj4
= 0 ;
26970 PyObject
* obj5
= 0 ;
26971 char *kwnames
[] = {
26972 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
26975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26978 arg2
= (int) SWIG_AsInt(obj1
);
26979 if (PyErr_Occurred()) SWIG_fail
;
26980 arg3
= (int) SWIG_AsInt(obj2
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26982 arg4
= (int) SWIG_AsInt(obj3
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26984 arg5
= (int) SWIG_AsInt(obj4
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 arg6
= (bool) SWIG_AsBool(obj5
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 Py_INCREF(Py_None
); resultobj
= Py_None
;
27004 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
;
27006 wxWindow
*arg1
= (wxWindow
*) 0 ;
27009 bool arg4
= (bool) True
;
27010 PyObject
* obj0
= 0 ;
27011 PyObject
* obj1
= 0 ;
27012 PyObject
* obj2
= 0 ;
27013 PyObject
* obj3
= 0 ;
27014 char *kwnames
[] = {
27015 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27021 arg2
= (int) SWIG_AsInt(obj1
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27023 arg3
= (int) SWIG_AsInt(obj2
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27026 arg4
= (bool) SWIG_AsBool(obj3
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 Py_INCREF(Py_None
); resultobj
= Py_None
;
27043 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
;
27045 wxWindow
*arg1
= (wxWindow
*) 0 ;
27048 PyObject
* obj0
= 0 ;
27049 PyObject
* obj1
= 0 ;
27050 char *kwnames
[] = {
27051 (char *) "self",(char *) "orientation", NULL
27054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27057 arg2
= (int) SWIG_AsInt(obj1
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27061 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27063 wxPyEndAllowThreads(__tstate
);
27064 if (PyErr_Occurred()) SWIG_fail
;
27066 resultobj
= SWIG_FromInt((int)result
);
27073 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27074 PyObject
*resultobj
;
27075 wxWindow
*arg1
= (wxWindow
*) 0 ;
27078 PyObject
* obj0
= 0 ;
27079 PyObject
* obj1
= 0 ;
27080 char *kwnames
[] = {
27081 (char *) "self",(char *) "orientation", NULL
27084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27087 arg2
= (int) SWIG_AsInt(obj1
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27093 wxPyEndAllowThreads(__tstate
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27096 resultobj
= SWIG_FromInt((int)result
);
27103 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27104 PyObject
*resultobj
;
27105 wxWindow
*arg1
= (wxWindow
*) 0 ;
27108 PyObject
* obj0
= 0 ;
27109 PyObject
* obj1
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self",(char *) "orientation", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27117 arg2
= (int) SWIG_AsInt(obj1
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27126 resultobj
= SWIG_FromInt((int)result
);
27133 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
;
27135 wxWindow
*arg1
= (wxWindow
*) 0 ;
27138 wxRect
*arg4
= (wxRect
*) NULL
;
27139 PyObject
* obj0
= 0 ;
27140 PyObject
* obj1
= 0 ;
27141 PyObject
* obj2
= 0 ;
27142 PyObject
* obj3
= 0 ;
27143 char *kwnames
[] = {
27144 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27150 arg2
= (int) SWIG_AsInt(obj1
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27152 arg3
= (int) SWIG_AsInt(obj2
);
27153 if (PyErr_Occurred()) SWIG_fail
;
27155 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27160 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27162 wxPyEndAllowThreads(__tstate
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27165 Py_INCREF(Py_None
); resultobj
= Py_None
;
27172 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27173 PyObject
*resultobj
;
27174 wxWindow
*arg1
= (wxWindow
*) 0 ;
27177 PyObject
* obj0
= 0 ;
27178 PyObject
* obj1
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self",(char *) "lines", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27186 arg2
= (int) SWIG_AsInt(obj1
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= (bool)(arg1
)->ScrollLines(arg2
);
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27204 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27205 PyObject
*resultobj
;
27206 wxWindow
*arg1
= (wxWindow
*) 0 ;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "self",(char *) "pages", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27218 arg2
= (int) SWIG_AsInt(obj1
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (bool)(arg1
)->ScrollPages(arg2
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27236 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27237 PyObject
*resultobj
;
27238 wxWindow
*arg1
= (wxWindow
*) 0 ;
27240 PyObject
* obj0
= 0 ;
27241 char *kwnames
[] = {
27242 (char *) "self", NULL
27245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27250 result
= (bool)(arg1
)->LineUp();
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27264 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27265 PyObject
*resultobj
;
27266 wxWindow
*arg1
= (wxWindow
*) 0 ;
27268 PyObject
* obj0
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27278 result
= (bool)(arg1
)->LineDown();
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27292 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27293 PyObject
*resultobj
;
27294 wxWindow
*arg1
= (wxWindow
*) 0 ;
27296 PyObject
* obj0
= 0 ;
27297 char *kwnames
[] = {
27298 (char *) "self", NULL
27301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 result
= (bool)(arg1
)->PageUp();
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27320 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27321 PyObject
*resultobj
;
27322 wxWindow
*arg1
= (wxWindow
*) 0 ;
27324 PyObject
* obj0
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27334 result
= (bool)(arg1
)->PageDown();
27336 wxPyEndAllowThreads(__tstate
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27348 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27349 PyObject
*resultobj
;
27350 wxWindow
*arg1
= (wxWindow
*) 0 ;
27351 wxString
*arg2
= 0 ;
27352 bool temp2
= False
;
27353 PyObject
* obj0
= 0 ;
27354 PyObject
* obj1
= 0 ;
27355 char *kwnames
[] = {
27356 (char *) "self",(char *) "text", NULL
27359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27363 arg2
= wxString_in_helper(obj1
);
27364 if (arg2
== NULL
) SWIG_fail
;
27368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27369 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27371 wxPyEndAllowThreads(__tstate
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27374 Py_INCREF(Py_None
); resultobj
= Py_None
;
27389 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27390 PyObject
*resultobj
;
27391 wxWindow
*arg1
= (wxWindow
*) 0 ;
27392 wxString
*arg2
= 0 ;
27393 bool temp2
= False
;
27394 PyObject
* obj0
= 0 ;
27395 PyObject
* obj1
= 0 ;
27396 char *kwnames
[] = {
27397 (char *) "self",(char *) "text", NULL
27400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27404 arg2
= wxString_in_helper(obj1
);
27405 if (arg2
== NULL
) SWIG_fail
;
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 Py_INCREF(Py_None
); resultobj
= Py_None
;
27430 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
;
27432 wxWindow
*arg1
= (wxWindow
*) 0 ;
27434 PyObject
* obj0
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27462 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
;
27464 wxWindow
*arg1
= (wxWindow
*) 0 ;
27465 wxString
*arg2
= 0 ;
27466 bool temp2
= False
;
27467 PyObject
* obj0
= 0 ;
27468 PyObject
* obj1
= 0 ;
27469 char *kwnames
[] = {
27470 (char *) "self",(char *) "tip", NULL
27473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27477 arg2
= wxString_in_helper(obj1
);
27478 if (arg2
== NULL
) SWIG_fail
;
27482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27485 wxPyEndAllowThreads(__tstate
);
27486 if (PyErr_Occurred()) SWIG_fail
;
27488 Py_INCREF(Py_None
); resultobj
= Py_None
;
27503 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27504 PyObject
*resultobj
;
27505 wxWindow
*arg1
= (wxWindow
*) 0 ;
27506 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27507 PyObject
* obj0
= 0 ;
27508 PyObject
* obj1
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self",(char *) "tip", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27520 (arg1
)->SetToolTip(arg2
);
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27525 Py_INCREF(Py_None
); resultobj
= Py_None
;
27532 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
;
27534 wxWindow
*arg1
= (wxWindow
*) 0 ;
27536 PyObject
* obj0
= 0 ;
27537 char *kwnames
[] = {
27538 (char *) "self", NULL
27541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27552 resultobj
= wxPyMake_wxObject(result
);
27560 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27561 PyObject
*resultobj
;
27562 wxWindow
*arg1
= (wxWindow
*) 0 ;
27563 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27564 PyObject
* obj0
= 0 ;
27565 PyObject
* obj1
= 0 ;
27566 char *kwnames
[] = {
27567 (char *) "self",(char *) "dropTarget", NULL
27570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27574 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 (arg1
)->SetDropTarget(arg2
);
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 Py_INCREF(Py_None
); resultobj
= Py_None
;
27589 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
;
27591 wxWindow
*arg1
= (wxWindow
*) 0 ;
27592 wxPyDropTarget
*result
;
27593 PyObject
* obj0
= 0 ;
27594 char *kwnames
[] = {
27595 (char *) "self", NULL
27598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27615 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
;
27617 wxWindow
*arg1
= (wxWindow
*) 0 ;
27619 PyObject
* obj0
= 0 ;
27620 PyObject
* obj1
= 0 ;
27621 char *kwnames
[] = {
27622 (char *) "self",(char *) "accept", NULL
27625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
27626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27628 arg2
= (bool) SWIG_AsBool(obj1
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27632 (arg1
)->DragAcceptFiles(arg2
);
27634 wxPyEndAllowThreads(__tstate
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27637 Py_INCREF(Py_None
); resultobj
= Py_None
;
27644 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27645 PyObject
*resultobj
;
27646 wxWindow
*arg1
= (wxWindow
*) 0 ;
27647 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27648 PyObject
* obj0
= 0 ;
27649 PyObject
* obj1
= 0 ;
27650 char *kwnames
[] = {
27651 (char *) "self",(char *) "constraints", NULL
27654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 (arg1
)->SetConstraints(arg2
);
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27666 Py_INCREF(Py_None
); resultobj
= Py_None
;
27673 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27674 PyObject
*resultobj
;
27675 wxWindow
*arg1
= (wxWindow
*) 0 ;
27676 wxLayoutConstraints
*result
;
27677 PyObject
* obj0
= 0 ;
27678 char *kwnames
[] = {
27679 (char *) "self", NULL
27682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27687 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27689 wxPyEndAllowThreads(__tstate
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27699 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27700 PyObject
*resultobj
;
27701 wxWindow
*arg1
= (wxWindow
*) 0 ;
27703 PyObject
* obj0
= 0 ;
27704 PyObject
* obj1
= 0 ;
27705 char *kwnames
[] = {
27706 (char *) "self",(char *) "autoLayout", NULL
27709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27712 arg2
= (bool) SWIG_AsBool(obj1
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27716 (arg1
)->SetAutoLayout(arg2
);
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27721 Py_INCREF(Py_None
); resultobj
= Py_None
;
27728 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27729 PyObject
*resultobj
;
27730 wxWindow
*arg1
= (wxWindow
*) 0 ;
27732 PyObject
* obj0
= 0 ;
27733 char *kwnames
[] = {
27734 (char *) "self", NULL
27737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27744 wxPyEndAllowThreads(__tstate
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27756 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
;
27758 wxWindow
*arg1
= (wxWindow
*) 0 ;
27760 PyObject
* obj0
= 0 ;
27761 char *kwnames
[] = {
27762 (char *) "self", NULL
27765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 result
= (bool)(arg1
)->Layout();
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27784 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxWindow
*arg1
= (wxWindow
*) 0 ;
27787 wxSizer
*arg2
= (wxSizer
*) 0 ;
27788 bool arg3
= (bool) True
;
27789 PyObject
* obj0
= 0 ;
27790 PyObject
* obj1
= 0 ;
27791 PyObject
* obj2
= 0 ;
27792 char *kwnames
[] = {
27793 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27802 arg3
= (bool) SWIG_AsBool(obj2
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 (arg1
)->SetSizer(arg2
,arg3
);
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27812 Py_INCREF(Py_None
); resultobj
= Py_None
;
27819 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27820 PyObject
*resultobj
;
27821 wxWindow
*arg1
= (wxWindow
*) 0 ;
27822 wxSizer
*arg2
= (wxSizer
*) 0 ;
27823 bool arg3
= (bool) True
;
27824 PyObject
* obj0
= 0 ;
27825 PyObject
* obj1
= 0 ;
27826 PyObject
* obj2
= 0 ;
27827 char *kwnames
[] = {
27828 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27837 arg3
= (bool) SWIG_AsBool(obj2
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27842 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27844 wxPyEndAllowThreads(__tstate
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27847 Py_INCREF(Py_None
); resultobj
= Py_None
;
27854 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27855 PyObject
*resultobj
;
27856 wxWindow
*arg1
= (wxWindow
*) 0 ;
27858 PyObject
* obj0
= 0 ;
27859 char *kwnames
[] = {
27860 (char *) "self", NULL
27863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27874 resultobj
= wxPyMake_wxSizer(result
);
27882 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27883 PyObject
*resultobj
;
27884 wxWindow
*arg1
= (wxWindow
*) 0 ;
27885 wxSizer
*arg2
= (wxSizer
*) 0 ;
27886 PyObject
* obj0
= 0 ;
27887 PyObject
* obj1
= 0 ;
27888 char *kwnames
[] = {
27889 (char *) "self",(char *) "sizer", NULL
27892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27899 (arg1
)->SetContainingSizer(arg2
);
27901 wxPyEndAllowThreads(__tstate
);
27902 if (PyErr_Occurred()) SWIG_fail
;
27904 Py_INCREF(Py_None
); resultobj
= Py_None
;
27911 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
;
27913 wxWindow
*arg1
= (wxWindow
*) 0 ;
27915 PyObject
* obj0
= 0 ;
27916 char *kwnames
[] = {
27917 (char *) "self", NULL
27920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27931 resultobj
= wxPyMake_wxSizer(result
);
27939 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
;
27941 wxWindow
*arg1
= (wxWindow
*) 0 ;
27942 PyObject
* obj0
= 0 ;
27943 char *kwnames
[] = {
27944 (char *) "self", NULL
27947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
27948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 (arg1
)->InheritAttributes();
27954 wxPyEndAllowThreads(__tstate
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27957 Py_INCREF(Py_None
); resultobj
= Py_None
;
27964 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 wxWindow
*arg1
= (wxWindow
*) 0 ;
27968 PyObject
* obj0
= 0 ;
27969 char *kwnames
[] = {
27970 (char *) "self", NULL
27973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
27974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27992 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
27994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27995 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27997 return Py_BuildValue((char *)"");
27999 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28000 PyObject
*resultobj
;
28002 wxWindow
*arg2
= (wxWindow
*) NULL
;
28004 PyObject
* obj0
= 0 ;
28005 PyObject
* obj1
= 0 ;
28006 char *kwnames
[] = {
28007 (char *) "id",(char *) "parent", NULL
28010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28011 arg1
= (long) SWIG_AsLong(obj0
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28018 if (!wxPyCheckForApp()) SWIG_fail
;
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28020 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28022 wxPyEndAllowThreads(__tstate
);
28023 if (PyErr_Occurred()) SWIG_fail
;
28026 resultobj
= wxPyMake_wxObject(result
);
28034 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28035 PyObject
*resultobj
;
28036 wxString
*arg1
= 0 ;
28037 wxWindow
*arg2
= (wxWindow
*) NULL
;
28039 bool temp1
= False
;
28040 PyObject
* obj0
= 0 ;
28041 PyObject
* obj1
= 0 ;
28042 char *kwnames
[] = {
28043 (char *) "name",(char *) "parent", NULL
28046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28048 arg1
= wxString_in_helper(obj0
);
28049 if (arg1
== NULL
) SWIG_fail
;
28053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28057 if (!wxPyCheckForApp()) SWIG_fail
;
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28061 wxPyEndAllowThreads(__tstate
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28065 resultobj
= wxPyMake_wxObject(result
);
28081 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28082 PyObject
*resultobj
;
28083 wxString
*arg1
= 0 ;
28084 wxWindow
*arg2
= (wxWindow
*) NULL
;
28086 bool temp1
= False
;
28087 PyObject
* obj0
= 0 ;
28088 PyObject
* obj1
= 0 ;
28089 char *kwnames
[] = {
28090 (char *) "label",(char *) "parent", NULL
28093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28095 arg1
= wxString_in_helper(obj0
);
28096 if (arg1
== NULL
) SWIG_fail
;
28100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28104 if (!wxPyCheckForApp()) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28112 resultobj
= wxPyMake_wxObject(result
);
28128 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28129 PyObject
*resultobj
;
28130 wxWindow
*arg1
= (wxWindow
*) 0 ;
28131 unsigned long arg2
;
28133 PyObject
* obj0
= 0 ;
28134 PyObject
* obj1
= 0 ;
28135 char *kwnames
[] = {
28136 (char *) "parent",(char *) "_hWnd", NULL
28139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28142 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= wxPyMake_wxObject(result
);
28160 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
;
28162 wxValidator
*result
;
28163 char *kwnames
[] = {
28167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28170 result
= (wxValidator
*)new wxValidator();
28172 wxPyEndAllowThreads(__tstate
);
28173 if (PyErr_Occurred()) SWIG_fail
;
28176 resultobj
= wxPyMake_wxObject(result
);
28184 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28185 PyObject
*resultobj
;
28186 wxValidator
*arg1
= (wxValidator
*) 0 ;
28187 wxValidator
*result
;
28188 PyObject
* obj0
= 0 ;
28189 char *kwnames
[] = {
28190 (char *) "self", NULL
28193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 result
= (wxValidator
*)(arg1
)->Clone();
28200 wxPyEndAllowThreads(__tstate
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28204 resultobj
= wxPyMake_wxObject(result
);
28212 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
;
28214 wxValidator
*arg1
= (wxValidator
*) 0 ;
28215 wxWindow
*arg2
= (wxWindow
*) 0 ;
28217 PyObject
* obj0
= 0 ;
28218 PyObject
* obj1
= 0 ;
28219 char *kwnames
[] = {
28220 (char *) "self",(char *) "parent", NULL
28223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 result
= (bool)(arg1
)->Validate(arg2
);
28232 wxPyEndAllowThreads(__tstate
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28244 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28245 PyObject
*resultobj
;
28246 wxValidator
*arg1
= (wxValidator
*) 0 ;
28248 PyObject
* obj0
= 0 ;
28249 char *kwnames
[] = {
28250 (char *) "self", NULL
28253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28258 result
= (bool)(arg1
)->TransferToWindow();
28260 wxPyEndAllowThreads(__tstate
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28272 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28273 PyObject
*resultobj
;
28274 wxValidator
*arg1
= (wxValidator
*) 0 ;
28276 PyObject
* obj0
= 0 ;
28277 char *kwnames
[] = {
28278 (char *) "self", NULL
28281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 result
= (bool)(arg1
)->TransferFromWindow();
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28300 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28301 PyObject
*resultobj
;
28302 wxValidator
*arg1
= (wxValidator
*) 0 ;
28304 PyObject
* obj0
= 0 ;
28305 char *kwnames
[] = {
28306 (char *) "self", NULL
28309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28314 result
= (wxWindow
*)(arg1
)->GetWindow();
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28320 resultobj
= wxPyMake_wxObject(result
);
28328 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28329 PyObject
*resultobj
;
28330 wxValidator
*arg1
= (wxValidator
*) 0 ;
28331 wxWindow
*arg2
= (wxWindow
*) 0 ;
28332 PyObject
* obj0
= 0 ;
28333 PyObject
* obj1
= 0 ;
28334 char *kwnames
[] = {
28335 (char *) "self",(char *) "window", NULL
28338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28345 (arg1
)->SetWindow(arg2
);
28347 wxPyEndAllowThreads(__tstate
);
28348 if (PyErr_Occurred()) SWIG_fail
;
28350 Py_INCREF(Py_None
); resultobj
= Py_None
;
28357 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28358 PyObject
*resultobj
;
28360 char *kwnames
[] = {
28364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 result
= (bool)wxValidator::IsSilent();
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28381 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28382 PyObject
*resultobj
;
28383 int arg1
= (int) True
;
28384 PyObject
* obj0
= 0 ;
28385 char *kwnames
[] = {
28386 (char *) "doIt", NULL
28389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28391 arg1
= (int) SWIG_AsInt(obj0
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 wxValidator::SetBellOnError(arg1
);
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 Py_INCREF(Py_None
); resultobj
= Py_None
;
28408 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28411 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28413 return Py_BuildValue((char *)"");
28415 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28416 PyObject
*resultobj
;
28417 wxPyValidator
*result
;
28418 char *kwnames
[] = {
28422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 result
= (wxPyValidator
*)new wxPyValidator();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28437 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
;
28439 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28440 PyObject
*arg2
= (PyObject
*) 0 ;
28441 PyObject
*arg3
= (PyObject
*) 0 ;
28442 int arg4
= (int) True
;
28443 PyObject
* obj0
= 0 ;
28444 PyObject
* obj1
= 0 ;
28445 PyObject
* obj2
= 0 ;
28446 PyObject
* obj3
= 0 ;
28447 char *kwnames
[] = {
28448 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28457 arg4
= (int) SWIG_AsInt(obj3
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28467 Py_INCREF(Py_None
); resultobj
= Py_None
;
28474 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28477 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28479 return Py_BuildValue((char *)"");
28481 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28482 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28487 static PyObject
*_wrap_DefaultValidator_get() {
28490 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28495 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28496 PyObject
*resultobj
;
28497 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28498 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28499 long arg2
= (long) 0 ;
28501 bool temp1
= False
;
28502 PyObject
* obj0
= 0 ;
28503 PyObject
* obj1
= 0 ;
28504 char *kwnames
[] = {
28505 (char *) "title",(char *) "style", NULL
28508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28511 arg1
= wxString_in_helper(obj0
);
28512 if (arg1
== NULL
) SWIG_fail
;
28517 arg2
= (long) SWIG_AsLong(obj1
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28521 if (!wxPyCheckForApp()) SWIG_fail
;
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28523 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28525 wxPyEndAllowThreads(__tstate
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= wxPyMake_wxObject(result
);
28545 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28546 PyObject
*resultobj
;
28547 wxMenu
*arg1
= (wxMenu
*) 0 ;
28549 wxString
*arg3
= 0 ;
28550 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28551 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28552 int arg5
= (int) wxITEM_NORMAL
;
28553 wxMenuItem
*result
;
28554 bool temp3
= False
;
28555 bool temp4
= False
;
28556 PyObject
* obj0
= 0 ;
28557 PyObject
* obj1
= 0 ;
28558 PyObject
* obj2
= 0 ;
28559 PyObject
* obj3
= 0 ;
28560 PyObject
* obj4
= 0 ;
28561 char *kwnames
[] = {
28562 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28568 arg2
= (int) SWIG_AsInt(obj1
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28571 arg3
= wxString_in_helper(obj2
);
28572 if (arg3
== NULL
) SWIG_fail
;
28577 arg4
= wxString_in_helper(obj3
);
28578 if (arg4
== NULL
) SWIG_fail
;
28583 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28584 if (PyErr_Occurred()) SWIG_fail
;
28587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28588 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28590 wxPyEndAllowThreads(__tstate
);
28591 if (PyErr_Occurred()) SWIG_fail
;
28594 resultobj
= wxPyMake_wxObject(result
);
28618 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28619 PyObject
*resultobj
;
28620 wxMenu
*arg1
= (wxMenu
*) 0 ;
28621 wxMenuItem
*result
;
28622 PyObject
* obj0
= 0 ;
28623 char *kwnames
[] = {
28624 (char *) "self", NULL
28627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28638 resultobj
= wxPyMake_wxObject(result
);
28646 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28647 PyObject
*resultobj
;
28648 wxMenu
*arg1
= (wxMenu
*) 0 ;
28650 wxString
*arg3
= 0 ;
28651 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28652 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28653 wxMenuItem
*result
;
28654 bool temp3
= False
;
28655 bool temp4
= False
;
28656 PyObject
* obj0
= 0 ;
28657 PyObject
* obj1
= 0 ;
28658 PyObject
* obj2
= 0 ;
28659 PyObject
* obj3
= 0 ;
28660 char *kwnames
[] = {
28661 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28667 arg2
= (int) SWIG_AsInt(obj1
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28670 arg3
= wxString_in_helper(obj2
);
28671 if (arg3
== NULL
) SWIG_fail
;
28676 arg4
= wxString_in_helper(obj3
);
28677 if (arg4
== NULL
) SWIG_fail
;
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28685 wxPyEndAllowThreads(__tstate
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28689 resultobj
= wxPyMake_wxObject(result
);
28713 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28714 PyObject
*resultobj
;
28715 wxMenu
*arg1
= (wxMenu
*) 0 ;
28717 wxString
*arg3
= 0 ;
28718 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28719 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28720 wxMenuItem
*result
;
28721 bool temp3
= False
;
28722 bool temp4
= False
;
28723 PyObject
* obj0
= 0 ;
28724 PyObject
* obj1
= 0 ;
28725 PyObject
* obj2
= 0 ;
28726 PyObject
* obj3
= 0 ;
28727 char *kwnames
[] = {
28728 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28734 arg2
= (int) SWIG_AsInt(obj1
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28737 arg3
= wxString_in_helper(obj2
);
28738 if (arg3
== NULL
) SWIG_fail
;
28743 arg4
= wxString_in_helper(obj3
);
28744 if (arg4
== NULL
) SWIG_fail
;
28749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28750 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28752 wxPyEndAllowThreads(__tstate
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28756 resultobj
= wxPyMake_wxObject(result
);
28780 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28781 PyObject
*resultobj
;
28782 wxMenu
*arg1
= (wxMenu
*) 0 ;
28784 wxString
*arg3
= 0 ;
28785 wxMenu
*arg4
= (wxMenu
*) 0 ;
28786 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28787 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28788 wxMenuItem
*result
;
28789 bool temp3
= False
;
28790 bool temp5
= False
;
28791 PyObject
* obj0
= 0 ;
28792 PyObject
* obj1
= 0 ;
28793 PyObject
* obj2
= 0 ;
28794 PyObject
* obj3
= 0 ;
28795 PyObject
* obj4
= 0 ;
28796 char *kwnames
[] = {
28797 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28803 arg2
= (int) SWIG_AsInt(obj1
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28806 arg3
= wxString_in_helper(obj2
);
28807 if (arg3
== NULL
) SWIG_fail
;
28810 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28814 arg5
= wxString_in_helper(obj4
);
28815 if (arg5
== NULL
) SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= wxPyMake_wxObject(result
);
28851 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
;
28853 wxMenu
*arg1
= (wxMenu
*) 0 ;
28854 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28855 wxMenuItem
*result
;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 char *kwnames
[] = {
28859 (char *) "self",(char *) "item", NULL
28862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28871 wxPyEndAllowThreads(__tstate
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28875 resultobj
= wxPyMake_wxObject(result
);
28883 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
;
28885 wxMenu
*arg1
= (wxMenu
*) 0 ;
28886 PyObject
* obj0
= 0 ;
28887 char *kwnames
[] = {
28888 (char *) "self", NULL
28891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28901 Py_INCREF(Py_None
); resultobj
= Py_None
;
28908 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28909 PyObject
*resultobj
;
28910 wxMenu
*arg1
= (wxMenu
*) 0 ;
28912 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28913 wxMenuItem
*result
;
28914 PyObject
* obj0
= 0 ;
28915 PyObject
* obj1
= 0 ;
28916 PyObject
* obj2
= 0 ;
28917 char *kwnames
[] = {
28918 (char *) "self",(char *) "pos",(char *) "item", NULL
28921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28924 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28926 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28930 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28932 wxPyEndAllowThreads(__tstate
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28936 resultobj
= wxPyMake_wxObject(result
);
28944 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28945 PyObject
*resultobj
;
28946 wxMenu
*arg1
= (wxMenu
*) 0 ;
28949 wxString
*arg4
= 0 ;
28950 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28951 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28952 int arg6
= (int) wxITEM_NORMAL
;
28953 wxMenuItem
*result
;
28954 bool temp4
= False
;
28955 bool temp5
= False
;
28956 PyObject
* obj0
= 0 ;
28957 PyObject
* obj1
= 0 ;
28958 PyObject
* obj2
= 0 ;
28959 PyObject
* obj3
= 0 ;
28960 PyObject
* obj4
= 0 ;
28961 PyObject
* obj5
= 0 ;
28962 char *kwnames
[] = {
28963 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28969 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28971 arg3
= (int) SWIG_AsInt(obj2
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28974 arg4
= wxString_in_helper(obj3
);
28975 if (arg4
== NULL
) SWIG_fail
;
28980 arg5
= wxString_in_helper(obj4
);
28981 if (arg5
== NULL
) SWIG_fail
;
28986 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28997 resultobj
= wxPyMake_wxObject(result
);
29021 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29022 PyObject
*resultobj
;
29023 wxMenu
*arg1
= (wxMenu
*) 0 ;
29025 wxMenuItem
*result
;
29026 PyObject
* obj0
= 0 ;
29027 PyObject
* obj1
= 0 ;
29028 char *kwnames
[] = {
29029 (char *) "self",(char *) "pos", NULL
29032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29035 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29039 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29045 resultobj
= wxPyMake_wxObject(result
);
29053 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29054 PyObject
*resultobj
;
29055 wxMenu
*arg1
= (wxMenu
*) 0 ;
29058 wxString
*arg4
= 0 ;
29059 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29060 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29061 wxMenuItem
*result
;
29062 bool temp4
= False
;
29063 bool temp5
= False
;
29064 PyObject
* obj0
= 0 ;
29065 PyObject
* obj1
= 0 ;
29066 PyObject
* obj2
= 0 ;
29067 PyObject
* obj3
= 0 ;
29068 PyObject
* obj4
= 0 ;
29069 char *kwnames
[] = {
29070 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29076 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29078 arg3
= (int) SWIG_AsInt(obj2
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29081 arg4
= wxString_in_helper(obj3
);
29082 if (arg4
== NULL
) SWIG_fail
;
29087 arg5
= wxString_in_helper(obj4
);
29088 if (arg5
== NULL
) SWIG_fail
;
29093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29094 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29096 wxPyEndAllowThreads(__tstate
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29100 resultobj
= wxPyMake_wxObject(result
);
29124 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29125 PyObject
*resultobj
;
29126 wxMenu
*arg1
= (wxMenu
*) 0 ;
29129 wxString
*arg4
= 0 ;
29130 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29131 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29132 wxMenuItem
*result
;
29133 bool temp4
= False
;
29134 bool temp5
= False
;
29135 PyObject
* obj0
= 0 ;
29136 PyObject
* obj1
= 0 ;
29137 PyObject
* obj2
= 0 ;
29138 PyObject
* obj3
= 0 ;
29139 PyObject
* obj4
= 0 ;
29140 char *kwnames
[] = {
29141 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29147 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29149 arg3
= (int) SWIG_AsInt(obj2
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29152 arg4
= wxString_in_helper(obj3
);
29153 if (arg4
== NULL
) SWIG_fail
;
29158 arg5
= wxString_in_helper(obj4
);
29159 if (arg5
== NULL
) SWIG_fail
;
29164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29165 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29167 wxPyEndAllowThreads(__tstate
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29171 resultobj
= wxPyMake_wxObject(result
);
29195 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
;
29197 wxMenu
*arg1
= (wxMenu
*) 0 ;
29200 wxString
*arg4
= 0 ;
29201 wxMenu
*arg5
= (wxMenu
*) 0 ;
29202 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29203 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29204 wxMenuItem
*result
;
29205 bool temp4
= False
;
29206 bool temp6
= False
;
29207 PyObject
* obj0
= 0 ;
29208 PyObject
* obj1
= 0 ;
29209 PyObject
* obj2
= 0 ;
29210 PyObject
* obj3
= 0 ;
29211 PyObject
* obj4
= 0 ;
29212 PyObject
* obj5
= 0 ;
29213 char *kwnames
[] = {
29214 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29220 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29222 arg3
= (int) SWIG_AsInt(obj2
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 arg4
= wxString_in_helper(obj3
);
29226 if (arg4
== NULL
) SWIG_fail
;
29229 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29233 arg6
= wxString_in_helper(obj5
);
29234 if (arg6
== NULL
) SWIG_fail
;
29239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29240 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29242 wxPyEndAllowThreads(__tstate
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29246 resultobj
= wxPyMake_wxObject(result
);
29270 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29271 PyObject
*resultobj
;
29272 wxMenu
*arg1
= (wxMenu
*) 0 ;
29273 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29274 wxMenuItem
*result
;
29275 PyObject
* obj0
= 0 ;
29276 PyObject
* obj1
= 0 ;
29277 char *kwnames
[] = {
29278 (char *) "self",(char *) "item", NULL
29281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29288 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29290 wxPyEndAllowThreads(__tstate
);
29291 if (PyErr_Occurred()) SWIG_fail
;
29294 resultobj
= wxPyMake_wxObject(result
);
29302 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29303 PyObject
*resultobj
;
29304 wxMenu
*arg1
= (wxMenu
*) 0 ;
29306 wxString
*arg3
= 0 ;
29307 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29308 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29309 int arg5
= (int) wxITEM_NORMAL
;
29310 wxMenuItem
*result
;
29311 bool temp3
= False
;
29312 bool temp4
= False
;
29313 PyObject
* obj0
= 0 ;
29314 PyObject
* obj1
= 0 ;
29315 PyObject
* obj2
= 0 ;
29316 PyObject
* obj3
= 0 ;
29317 PyObject
* obj4
= 0 ;
29318 char *kwnames
[] = {
29319 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29325 arg2
= (int) SWIG_AsInt(obj1
);
29326 if (PyErr_Occurred()) SWIG_fail
;
29328 arg3
= wxString_in_helper(obj2
);
29329 if (arg3
== NULL
) SWIG_fail
;
29334 arg4
= wxString_in_helper(obj3
);
29335 if (arg4
== NULL
) SWIG_fail
;
29340 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29341 if (PyErr_Occurred()) SWIG_fail
;
29344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29347 wxPyEndAllowThreads(__tstate
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29351 resultobj
= wxPyMake_wxObject(result
);
29375 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29376 PyObject
*resultobj
;
29377 wxMenu
*arg1
= (wxMenu
*) 0 ;
29378 wxMenuItem
*result
;
29379 PyObject
* obj0
= 0 ;
29380 char *kwnames
[] = {
29381 (char *) "self", NULL
29384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29389 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29391 wxPyEndAllowThreads(__tstate
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= wxPyMake_wxObject(result
);
29403 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29404 PyObject
*resultobj
;
29405 wxMenu
*arg1
= (wxMenu
*) 0 ;
29407 wxString
*arg3
= 0 ;
29408 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29409 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29410 wxMenuItem
*result
;
29411 bool temp3
= False
;
29412 bool temp4
= False
;
29413 PyObject
* obj0
= 0 ;
29414 PyObject
* obj1
= 0 ;
29415 PyObject
* obj2
= 0 ;
29416 PyObject
* obj3
= 0 ;
29417 char *kwnames
[] = {
29418 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29424 arg2
= (int) SWIG_AsInt(obj1
);
29425 if (PyErr_Occurred()) SWIG_fail
;
29427 arg3
= wxString_in_helper(obj2
);
29428 if (arg3
== NULL
) SWIG_fail
;
29433 arg4
= wxString_in_helper(obj3
);
29434 if (arg4
== NULL
) SWIG_fail
;
29439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29442 wxPyEndAllowThreads(__tstate
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= wxPyMake_wxObject(result
);
29470 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29471 PyObject
*resultobj
;
29472 wxMenu
*arg1
= (wxMenu
*) 0 ;
29474 wxString
*arg3
= 0 ;
29475 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29476 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29477 wxMenuItem
*result
;
29478 bool temp3
= False
;
29479 bool temp4
= False
;
29480 PyObject
* obj0
= 0 ;
29481 PyObject
* obj1
= 0 ;
29482 PyObject
* obj2
= 0 ;
29483 PyObject
* obj3
= 0 ;
29484 char *kwnames
[] = {
29485 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29491 arg2
= (int) SWIG_AsInt(obj1
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29494 arg3
= wxString_in_helper(obj2
);
29495 if (arg3
== NULL
) SWIG_fail
;
29500 arg4
= wxString_in_helper(obj3
);
29501 if (arg4
== NULL
) SWIG_fail
;
29506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29507 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29509 wxPyEndAllowThreads(__tstate
);
29510 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= wxPyMake_wxObject(result
);
29537 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29538 PyObject
*resultobj
;
29539 wxMenu
*arg1
= (wxMenu
*) 0 ;
29541 wxString
*arg3
= 0 ;
29542 wxMenu
*arg4
= (wxMenu
*) 0 ;
29543 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29544 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29545 wxMenuItem
*result
;
29546 bool temp3
= False
;
29547 bool temp5
= False
;
29548 PyObject
* obj0
= 0 ;
29549 PyObject
* obj1
= 0 ;
29550 PyObject
* obj2
= 0 ;
29551 PyObject
* obj3
= 0 ;
29552 PyObject
* obj4
= 0 ;
29553 char *kwnames
[] = {
29554 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29560 arg2
= (int) SWIG_AsInt(obj1
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29563 arg3
= wxString_in_helper(obj2
);
29564 if (arg3
== NULL
) SWIG_fail
;
29567 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29571 arg5
= wxString_in_helper(obj4
);
29572 if (arg5
== NULL
) SWIG_fail
;
29577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29578 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29580 wxPyEndAllowThreads(__tstate
);
29581 if (PyErr_Occurred()) SWIG_fail
;
29584 resultobj
= wxPyMake_wxObject(result
);
29608 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29609 PyObject
*resultobj
;
29610 wxMenu
*arg1
= (wxMenu
*) 0 ;
29612 wxMenuItem
*result
;
29613 PyObject
* obj0
= 0 ;
29614 PyObject
* obj1
= 0 ;
29615 char *kwnames
[] = {
29616 (char *) "self",(char *) "id", NULL
29619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29622 arg2
= (int) SWIG_AsInt(obj1
);
29623 if (PyErr_Occurred()) SWIG_fail
;
29625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29626 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29628 wxPyEndAllowThreads(__tstate
);
29629 if (PyErr_Occurred()) SWIG_fail
;
29632 resultobj
= wxPyMake_wxObject(result
);
29640 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29641 PyObject
*resultobj
;
29642 wxMenu
*arg1
= (wxMenu
*) 0 ;
29643 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29644 wxMenuItem
*result
;
29645 PyObject
* obj0
= 0 ;
29646 PyObject
* obj1
= 0 ;
29647 char *kwnames
[] = {
29648 (char *) "self",(char *) "item", NULL
29651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29658 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29660 wxPyEndAllowThreads(__tstate
);
29661 if (PyErr_Occurred()) SWIG_fail
;
29664 resultobj
= wxPyMake_wxObject(result
);
29672 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29673 PyObject
*resultobj
;
29674 wxMenu
*arg1
= (wxMenu
*) 0 ;
29677 PyObject
* obj0
= 0 ;
29678 PyObject
* obj1
= 0 ;
29679 char *kwnames
[] = {
29680 (char *) "self",(char *) "id", NULL
29683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29686 arg2
= (int) SWIG_AsInt(obj1
);
29687 if (PyErr_Occurred()) SWIG_fail
;
29689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29690 result
= (bool)(arg1
)->Delete(arg2
);
29692 wxPyEndAllowThreads(__tstate
);
29693 if (PyErr_Occurred()) SWIG_fail
;
29696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29704 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29705 PyObject
*resultobj
;
29706 wxMenu
*arg1
= (wxMenu
*) 0 ;
29707 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29709 PyObject
* obj0
= 0 ;
29710 PyObject
* obj1
= 0 ;
29711 char *kwnames
[] = {
29712 (char *) "self",(char *) "item", NULL
29715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29722 result
= (bool)(arg1
)->Delete(arg2
);
29724 wxPyEndAllowThreads(__tstate
);
29725 if (PyErr_Occurred()) SWIG_fail
;
29728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29736 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
;
29738 wxMenu
*arg1
= (wxMenu
*) 0 ;
29739 PyObject
* obj0
= 0 ;
29740 char *kwnames
[] = {
29741 (char *) "self", NULL
29744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29749 wxMenu_Destroy(arg1
);
29751 wxPyEndAllowThreads(__tstate
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29754 Py_INCREF(Py_None
); resultobj
= Py_None
;
29761 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29762 PyObject
*resultobj
;
29763 wxMenu
*arg1
= (wxMenu
*) 0 ;
29766 PyObject
* obj0
= 0 ;
29767 PyObject
* obj1
= 0 ;
29768 char *kwnames
[] = {
29769 (char *) "self",(char *) "id", NULL
29772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29775 arg2
= (int) SWIG_AsInt(obj1
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29779 result
= (bool)(arg1
)->Destroy(arg2
);
29781 wxPyEndAllowThreads(__tstate
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29793 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29794 PyObject
*resultobj
;
29795 wxMenu
*arg1
= (wxMenu
*) 0 ;
29796 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29798 PyObject
* obj0
= 0 ;
29799 PyObject
* obj1
= 0 ;
29800 char *kwnames
[] = {
29801 (char *) "self",(char *) "item", NULL
29804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29811 result
= (bool)(arg1
)->Destroy(arg2
);
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29825 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29826 PyObject
*resultobj
;
29827 wxMenu
*arg1
= (wxMenu
*) 0 ;
29829 PyObject
* obj0
= 0 ;
29830 char *kwnames
[] = {
29831 (char *) "self", NULL
29834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29839 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29844 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29851 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29852 PyObject
*resultobj
;
29853 wxMenu
*arg1
= (wxMenu
*) 0 ;
29855 PyObject
* obj0
= 0 ;
29856 char *kwnames
[] = {
29857 (char *) "self", NULL
29860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29865 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29867 wxPyEndAllowThreads(__tstate
);
29868 if (PyErr_Occurred()) SWIG_fail
;
29870 resultobj
= result
;
29877 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29878 PyObject
*resultobj
;
29879 wxMenu
*arg1
= (wxMenu
*) 0 ;
29880 wxString
*arg2
= 0 ;
29882 bool temp2
= False
;
29883 PyObject
* obj0
= 0 ;
29884 PyObject
* obj1
= 0 ;
29885 char *kwnames
[] = {
29886 (char *) "self",(char *) "item", NULL
29889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29893 arg2
= wxString_in_helper(obj1
);
29894 if (arg2
== NULL
) SWIG_fail
;
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= SWIG_FromInt((int)result
);
29919 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29920 PyObject
*resultobj
;
29921 wxMenu
*arg1
= (wxMenu
*) 0 ;
29923 wxMenuItem
*result
;
29924 PyObject
* obj0
= 0 ;
29925 PyObject
* obj1
= 0 ;
29926 char *kwnames
[] = {
29927 (char *) "self",(char *) "id", NULL
29930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29933 arg2
= (int) SWIG_AsInt(obj1
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29937 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29943 resultobj
= wxPyMake_wxObject(result
);
29951 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29952 PyObject
*resultobj
;
29953 wxMenu
*arg1
= (wxMenu
*) 0 ;
29955 wxMenuItem
*result
;
29956 PyObject
* obj0
= 0 ;
29957 PyObject
* obj1
= 0 ;
29958 char *kwnames
[] = {
29959 (char *) "self",(char *) "position", NULL
29962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29965 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29966 if (PyErr_Occurred()) SWIG_fail
;
29968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29969 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29971 wxPyEndAllowThreads(__tstate
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29975 resultobj
= wxPyMake_wxObject(result
);
29983 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29984 PyObject
*resultobj
;
29985 wxMenu
*arg1
= (wxMenu
*) 0 ;
29988 PyObject
* obj0
= 0 ;
29989 PyObject
* obj1
= 0 ;
29990 PyObject
* obj2
= 0 ;
29991 char *kwnames
[] = {
29992 (char *) "self",(char *) "id",(char *) "enable", NULL
29995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29998 arg2
= (int) SWIG_AsInt(obj1
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30000 arg3
= (bool) SWIG_AsBool(obj2
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 (arg1
)->Enable(arg2
,arg3
);
30006 wxPyEndAllowThreads(__tstate
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30009 Py_INCREF(Py_None
); resultobj
= Py_None
;
30016 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30017 PyObject
*resultobj
;
30018 wxMenu
*arg1
= (wxMenu
*) 0 ;
30021 PyObject
* obj0
= 0 ;
30022 PyObject
* obj1
= 0 ;
30023 char *kwnames
[] = {
30024 (char *) "self",(char *) "id", NULL
30027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30030 arg2
= (int) SWIG_AsInt(obj1
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30034 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30036 wxPyEndAllowThreads(__tstate
);
30037 if (PyErr_Occurred()) SWIG_fail
;
30040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30048 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30049 PyObject
*resultobj
;
30050 wxMenu
*arg1
= (wxMenu
*) 0 ;
30053 PyObject
* obj0
= 0 ;
30054 PyObject
* obj1
= 0 ;
30055 PyObject
* obj2
= 0 ;
30056 char *kwnames
[] = {
30057 (char *) "self",(char *) "id",(char *) "check", NULL
30060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30063 arg2
= (int) SWIG_AsInt(obj1
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30065 arg3
= (bool) SWIG_AsBool(obj2
);
30066 if (PyErr_Occurred()) SWIG_fail
;
30068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30069 (arg1
)->Check(arg2
,arg3
);
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 Py_INCREF(Py_None
); resultobj
= Py_None
;
30081 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30082 PyObject
*resultobj
;
30083 wxMenu
*arg1
= (wxMenu
*) 0 ;
30086 PyObject
* obj0
= 0 ;
30087 PyObject
* obj1
= 0 ;
30088 char *kwnames
[] = {
30089 (char *) "self",(char *) "id", NULL
30092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30095 arg2
= (int) SWIG_AsInt(obj1
);
30096 if (PyErr_Occurred()) SWIG_fail
;
30098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30113 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30114 PyObject
*resultobj
;
30115 wxMenu
*arg1
= (wxMenu
*) 0 ;
30117 wxString
*arg3
= 0 ;
30118 bool temp3
= False
;
30119 PyObject
* obj0
= 0 ;
30120 PyObject
* obj1
= 0 ;
30121 PyObject
* obj2
= 0 ;
30122 char *kwnames
[] = {
30123 (char *) "self",(char *) "id",(char *) "label", NULL
30126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30129 arg2
= (int) SWIG_AsInt(obj1
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 arg3
= wxString_in_helper(obj2
);
30133 if (arg3
== NULL
) SWIG_fail
;
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30140 wxPyEndAllowThreads(__tstate
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30143 Py_INCREF(Py_None
); resultobj
= Py_None
;
30158 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30159 PyObject
*resultobj
;
30160 wxMenu
*arg1
= (wxMenu
*) 0 ;
30163 PyObject
* obj0
= 0 ;
30164 PyObject
* obj1
= 0 ;
30165 char *kwnames
[] = {
30166 (char *) "self",(char *) "id", NULL
30169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30172 arg2
= (int) SWIG_AsInt(obj1
);
30173 if (PyErr_Occurred()) SWIG_fail
;
30175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30176 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30194 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30195 PyObject
*resultobj
;
30196 wxMenu
*arg1
= (wxMenu
*) 0 ;
30198 wxString
*arg3
= 0 ;
30199 bool temp3
= False
;
30200 PyObject
* obj0
= 0 ;
30201 PyObject
* obj1
= 0 ;
30202 PyObject
* obj2
= 0 ;
30203 char *kwnames
[] = {
30204 (char *) "self",(char *) "id",(char *) "helpString", NULL
30207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30210 arg2
= (int) SWIG_AsInt(obj1
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30213 arg3
= wxString_in_helper(obj2
);
30214 if (arg3
== NULL
) SWIG_fail
;
30218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30219 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30221 wxPyEndAllowThreads(__tstate
);
30222 if (PyErr_Occurred()) SWIG_fail
;
30224 Py_INCREF(Py_None
); resultobj
= Py_None
;
30239 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
;
30241 wxMenu
*arg1
= (wxMenu
*) 0 ;
30244 PyObject
* obj0
= 0 ;
30245 PyObject
* obj1
= 0 ;
30246 char *kwnames
[] = {
30247 (char *) "self",(char *) "id", NULL
30250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30253 arg2
= (int) SWIG_AsInt(obj1
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30275 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30276 PyObject
*resultobj
;
30277 wxMenu
*arg1
= (wxMenu
*) 0 ;
30278 wxString
*arg2
= 0 ;
30279 bool temp2
= False
;
30280 PyObject
* obj0
= 0 ;
30281 PyObject
* obj1
= 0 ;
30282 char *kwnames
[] = {
30283 (char *) "self",(char *) "title", NULL
30286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30290 arg2
= wxString_in_helper(obj1
);
30291 if (arg2
== NULL
) SWIG_fail
;
30295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30296 (arg1
)->SetTitle((wxString
const &)*arg2
);
30298 wxPyEndAllowThreads(__tstate
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30301 Py_INCREF(Py_None
); resultobj
= Py_None
;
30316 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30317 PyObject
*resultobj
;
30318 wxMenu
*arg1
= (wxMenu
*) 0 ;
30320 PyObject
* obj0
= 0 ;
30321 char *kwnames
[] = {
30322 (char *) "self", NULL
30325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30330 result
= ((wxMenu
const *)arg1
)->GetTitle();
30332 wxPyEndAllowThreads(__tstate
);
30333 if (PyErr_Occurred()) SWIG_fail
;
30337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30348 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30349 PyObject
*resultobj
;
30350 wxMenu
*arg1
= (wxMenu
*) 0 ;
30351 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30352 PyObject
* obj0
= 0 ;
30353 PyObject
* obj1
= 0 ;
30354 char *kwnames
[] = {
30355 (char *) "self",(char *) "handler", NULL
30358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 (arg1
)->SetEventHandler(arg2
);
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30370 Py_INCREF(Py_None
); resultobj
= Py_None
;
30377 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
;
30379 wxMenu
*arg1
= (wxMenu
*) 0 ;
30380 wxEvtHandler
*result
;
30381 PyObject
* obj0
= 0 ;
30382 char *kwnames
[] = {
30383 (char *) "self", NULL
30386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30393 wxPyEndAllowThreads(__tstate
);
30394 if (PyErr_Occurred()) SWIG_fail
;
30397 resultobj
= wxPyMake_wxObject(result
);
30405 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30406 PyObject
*resultobj
;
30407 wxMenu
*arg1
= (wxMenu
*) 0 ;
30408 wxWindow
*arg2
= (wxWindow
*) 0 ;
30409 PyObject
* obj0
= 0 ;
30410 PyObject
* obj1
= 0 ;
30411 char *kwnames
[] = {
30412 (char *) "self",(char *) "win", NULL
30415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30422 (arg1
)->SetInvokingWindow(arg2
);
30424 wxPyEndAllowThreads(__tstate
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30427 Py_INCREF(Py_None
); resultobj
= Py_None
;
30434 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30435 PyObject
*resultobj
;
30436 wxMenu
*arg1
= (wxMenu
*) 0 ;
30438 PyObject
* obj0
= 0 ;
30439 char *kwnames
[] = {
30440 (char *) "self", NULL
30443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30448 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30450 wxPyEndAllowThreads(__tstate
);
30451 if (PyErr_Occurred()) SWIG_fail
;
30454 resultobj
= wxPyMake_wxObject(result
);
30462 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30463 PyObject
*resultobj
;
30464 wxMenu
*arg1
= (wxMenu
*) 0 ;
30466 PyObject
* obj0
= 0 ;
30467 char *kwnames
[] = {
30468 (char *) "self", NULL
30471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30481 resultobj
= SWIG_FromLong((long)result
);
30488 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
;
30490 wxMenu
*arg1
= (wxMenu
*) 0 ;
30491 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30492 PyObject
* obj0
= 0 ;
30493 PyObject
* obj1
= 0 ;
30494 char *kwnames
[] = {
30495 (char *) "self",(char *) "source", NULL
30498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 (arg1
)->UpdateUI(arg2
);
30509 wxPyEndAllowThreads(__tstate
);
30510 if (PyErr_Occurred()) SWIG_fail
;
30512 Py_INCREF(Py_None
); resultobj
= Py_None
;
30519 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30520 PyObject
*resultobj
;
30521 wxMenu
*arg1
= (wxMenu
*) 0 ;
30523 PyObject
* obj0
= 0 ;
30524 char *kwnames
[] = {
30525 (char *) "self", NULL
30528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30533 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30535 wxPyEndAllowThreads(__tstate
);
30536 if (PyErr_Occurred()) SWIG_fail
;
30539 resultobj
= wxPyMake_wxObject(result
);
30547 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30548 PyObject
*resultobj
;
30549 wxMenu
*arg1
= (wxMenu
*) 0 ;
30550 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30551 PyObject
* obj0
= 0 ;
30552 PyObject
* obj1
= 0 ;
30553 char *kwnames
[] = {
30554 (char *) "self",(char *) "menubar", NULL
30557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 (arg1
)->Attach(arg2
);
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30569 Py_INCREF(Py_None
); resultobj
= Py_None
;
30576 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
;
30578 wxMenu
*arg1
= (wxMenu
*) 0 ;
30579 PyObject
* obj0
= 0 ;
30580 char *kwnames
[] = {
30581 (char *) "self", NULL
30584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 wxPyEndAllowThreads(__tstate
);
30592 if (PyErr_Occurred()) SWIG_fail
;
30594 Py_INCREF(Py_None
); resultobj
= Py_None
;
30601 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30602 PyObject
*resultobj
;
30603 wxMenu
*arg1
= (wxMenu
*) 0 ;
30605 PyObject
* obj0
= 0 ;
30606 char *kwnames
[] = {
30607 (char *) "self", NULL
30610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30615 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30617 wxPyEndAllowThreads(__tstate
);
30618 if (PyErr_Occurred()) SWIG_fail
;
30621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30629 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30630 PyObject
*resultobj
;
30631 wxMenu
*arg1
= (wxMenu
*) 0 ;
30632 wxMenu
*arg2
= (wxMenu
*) 0 ;
30633 PyObject
* obj0
= 0 ;
30634 PyObject
* obj1
= 0 ;
30635 char *kwnames
[] = {
30636 (char *) "self",(char *) "parent", NULL
30639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30646 (arg1
)->SetParent(arg2
);
30648 wxPyEndAllowThreads(__tstate
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30651 Py_INCREF(Py_None
); resultobj
= Py_None
;
30658 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30659 PyObject
*resultobj
;
30660 wxMenu
*arg1
= (wxMenu
*) 0 ;
30662 PyObject
* obj0
= 0 ;
30663 char *kwnames
[] = {
30664 (char *) "self", NULL
30667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30672 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30678 resultobj
= wxPyMake_wxObject(result
);
30686 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30689 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30691 return Py_BuildValue((char *)"");
30693 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30694 PyObject
*resultobj
;
30695 long arg1
= (long) 0 ;
30697 PyObject
* obj0
= 0 ;
30698 char *kwnames
[] = {
30699 (char *) "style", NULL
30702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30704 arg1
= (long) SWIG_AsLong(obj0
);
30705 if (PyErr_Occurred()) SWIG_fail
;
30708 if (!wxPyCheckForApp()) SWIG_fail
;
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30716 resultobj
= wxPyMake_wxObject(result
);
30724 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30725 PyObject
*resultobj
;
30726 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30727 wxMenu
*arg2
= (wxMenu
*) 0 ;
30728 wxString
*arg3
= 0 ;
30730 bool temp3
= False
;
30731 PyObject
* obj0
= 0 ;
30732 PyObject
* obj1
= 0 ;
30733 PyObject
* obj2
= 0 ;
30734 char *kwnames
[] = {
30735 (char *) "self",(char *) "menu",(char *) "title", NULL
30738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30744 arg3
= wxString_in_helper(obj2
);
30745 if (arg3
== NULL
) SWIG_fail
;
30749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30750 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30752 wxPyEndAllowThreads(__tstate
);
30753 if (PyErr_Occurred()) SWIG_fail
;
30756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30772 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30773 PyObject
*resultobj
;
30774 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30776 wxMenu
*arg3
= (wxMenu
*) 0 ;
30777 wxString
*arg4
= 0 ;
30779 bool temp4
= False
;
30780 PyObject
* obj0
= 0 ;
30781 PyObject
* obj1
= 0 ;
30782 PyObject
* obj2
= 0 ;
30783 PyObject
* obj3
= 0 ;
30784 char *kwnames
[] = {
30785 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30791 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30792 if (PyErr_Occurred()) SWIG_fail
;
30793 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30796 arg4
= wxString_in_helper(obj3
);
30797 if (arg4
== NULL
) SWIG_fail
;
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30804 wxPyEndAllowThreads(__tstate
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30824 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30825 PyObject
*resultobj
;
30826 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30828 PyObject
* obj0
= 0 ;
30829 char *kwnames
[] = {
30830 (char *) "self", NULL
30833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30838 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30840 wxPyEndAllowThreads(__tstate
);
30841 if (PyErr_Occurred()) SWIG_fail
;
30843 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30850 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30851 PyObject
*resultobj
;
30852 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30855 PyObject
* obj0
= 0 ;
30856 PyObject
* obj1
= 0 ;
30857 char *kwnames
[] = {
30858 (char *) "self",(char *) "pos", NULL
30861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30864 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30868 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30870 wxPyEndAllowThreads(__tstate
);
30871 if (PyErr_Occurred()) SWIG_fail
;
30874 resultobj
= wxPyMake_wxObject(result
);
30882 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30883 PyObject
*resultobj
;
30884 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30886 wxMenu
*arg3
= (wxMenu
*) 0 ;
30887 wxString
*arg4
= 0 ;
30889 bool temp4
= False
;
30890 PyObject
* obj0
= 0 ;
30891 PyObject
* obj1
= 0 ;
30892 PyObject
* obj2
= 0 ;
30893 PyObject
* obj3
= 0 ;
30894 char *kwnames
[] = {
30895 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30901 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30903 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30906 arg4
= wxString_in_helper(obj3
);
30907 if (arg4
== NULL
) SWIG_fail
;
30911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30912 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30914 wxPyEndAllowThreads(__tstate
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30918 resultobj
= wxPyMake_wxObject(result
);
30934 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30935 PyObject
*resultobj
;
30936 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30939 PyObject
* obj0
= 0 ;
30940 PyObject
* obj1
= 0 ;
30941 char *kwnames
[] = {
30942 (char *) "self",(char *) "pos", NULL
30945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30948 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30952 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30954 wxPyEndAllowThreads(__tstate
);
30955 if (PyErr_Occurred()) SWIG_fail
;
30958 resultobj
= wxPyMake_wxObject(result
);
30966 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30967 PyObject
*resultobj
;
30968 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30971 PyObject
* obj0
= 0 ;
30972 PyObject
* obj1
= 0 ;
30973 PyObject
* obj2
= 0 ;
30974 char *kwnames
[] = {
30975 (char *) "self",(char *) "pos",(char *) "enable", NULL
30978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30981 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30983 arg3
= (bool) SWIG_AsBool(obj2
);
30984 if (PyErr_Occurred()) SWIG_fail
;
30986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30987 (arg1
)->EnableTop(arg2
,arg3
);
30989 wxPyEndAllowThreads(__tstate
);
30990 if (PyErr_Occurred()) SWIG_fail
;
30992 Py_INCREF(Py_None
); resultobj
= Py_None
;
30999 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
;
31001 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31004 PyObject
* obj0
= 0 ;
31005 PyObject
* obj1
= 0 ;
31006 char *kwnames
[] = {
31007 (char *) "self",(char *) "pos", NULL
31010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31013 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31014 if (PyErr_Occurred()) SWIG_fail
;
31016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31017 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31019 wxPyEndAllowThreads(__tstate
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31031 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31032 PyObject
*resultobj
;
31033 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31035 wxString
*arg3
= 0 ;
31036 bool temp3
= False
;
31037 PyObject
* obj0
= 0 ;
31038 PyObject
* obj1
= 0 ;
31039 PyObject
* obj2
= 0 ;
31040 char *kwnames
[] = {
31041 (char *) "self",(char *) "pos",(char *) "label", NULL
31044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31047 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31048 if (PyErr_Occurred()) SWIG_fail
;
31050 arg3
= wxString_in_helper(obj2
);
31051 if (arg3
== NULL
) SWIG_fail
;
31055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31056 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31058 wxPyEndAllowThreads(__tstate
);
31059 if (PyErr_Occurred()) SWIG_fail
;
31061 Py_INCREF(Py_None
); resultobj
= Py_None
;
31076 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31077 PyObject
*resultobj
;
31078 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31081 PyObject
* obj0
= 0 ;
31082 PyObject
* obj1
= 0 ;
31083 char *kwnames
[] = {
31084 (char *) "self",(char *) "pos", NULL
31087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31090 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31094 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31096 wxPyEndAllowThreads(__tstate
);
31097 if (PyErr_Occurred()) SWIG_fail
;
31101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31112 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31113 PyObject
*resultobj
;
31114 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31115 wxString
*arg2
= 0 ;
31116 wxString
*arg3
= 0 ;
31118 bool temp2
= False
;
31119 bool temp3
= False
;
31120 PyObject
* obj0
= 0 ;
31121 PyObject
* obj1
= 0 ;
31122 PyObject
* obj2
= 0 ;
31123 char *kwnames
[] = {
31124 (char *) "self",(char *) "menu",(char *) "item", NULL
31127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31131 arg2
= wxString_in_helper(obj1
);
31132 if (arg2
== NULL
) SWIG_fail
;
31136 arg3
= wxString_in_helper(obj2
);
31137 if (arg3
== NULL
) SWIG_fail
;
31141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31142 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31144 wxPyEndAllowThreads(__tstate
);
31145 if (PyErr_Occurred()) SWIG_fail
;
31147 resultobj
= SWIG_FromInt((int)result
);
31170 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31171 PyObject
*resultobj
;
31172 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31174 wxMenuItem
*result
;
31175 PyObject
* obj0
= 0 ;
31176 PyObject
* obj1
= 0 ;
31177 char *kwnames
[] = {
31178 (char *) "self",(char *) "id", NULL
31181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31184 arg2
= (int) SWIG_AsInt(obj1
);
31185 if (PyErr_Occurred()) SWIG_fail
;
31187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31188 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31190 wxPyEndAllowThreads(__tstate
);
31191 if (PyErr_Occurred()) SWIG_fail
;
31194 resultobj
= wxPyMake_wxObject(result
);
31202 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31203 PyObject
*resultobj
;
31204 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31205 wxString
*arg2
= 0 ;
31207 bool temp2
= False
;
31208 PyObject
* obj0
= 0 ;
31209 PyObject
* obj1
= 0 ;
31210 char *kwnames
[] = {
31211 (char *) "self",(char *) "title", NULL
31214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31218 arg2
= wxString_in_helper(obj1
);
31219 if (arg2
== NULL
) SWIG_fail
;
31223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31224 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31226 wxPyEndAllowThreads(__tstate
);
31227 if (PyErr_Occurred()) SWIG_fail
;
31229 resultobj
= SWIG_FromInt((int)result
);
31244 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31245 PyObject
*resultobj
;
31246 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31249 PyObject
* obj0
= 0 ;
31250 PyObject
* obj1
= 0 ;
31251 PyObject
* obj2
= 0 ;
31252 char *kwnames
[] = {
31253 (char *) "self",(char *) "id",(char *) "enable", NULL
31256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31259 arg2
= (int) SWIG_AsInt(obj1
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31261 arg3
= (bool) SWIG_AsBool(obj2
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31265 (arg1
)->Enable(arg2
,arg3
);
31267 wxPyEndAllowThreads(__tstate
);
31268 if (PyErr_Occurred()) SWIG_fail
;
31270 Py_INCREF(Py_None
); resultobj
= Py_None
;
31277 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31278 PyObject
*resultobj
;
31279 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31282 PyObject
* obj0
= 0 ;
31283 PyObject
* obj1
= 0 ;
31284 PyObject
* obj2
= 0 ;
31285 char *kwnames
[] = {
31286 (char *) "self",(char *) "id",(char *) "check", NULL
31289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31292 arg2
= (int) SWIG_AsInt(obj1
);
31293 if (PyErr_Occurred()) SWIG_fail
;
31294 arg3
= (bool) SWIG_AsBool(obj2
);
31295 if (PyErr_Occurred()) SWIG_fail
;
31297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31298 (arg1
)->Check(arg2
,arg3
);
31300 wxPyEndAllowThreads(__tstate
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31303 Py_INCREF(Py_None
); resultobj
= Py_None
;
31310 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31311 PyObject
*resultobj
;
31312 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31315 PyObject
* obj0
= 0 ;
31316 PyObject
* obj1
= 0 ;
31317 char *kwnames
[] = {
31318 (char *) "self",(char *) "id", NULL
31321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31324 arg2
= (int) SWIG_AsInt(obj1
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31342 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31343 PyObject
*resultobj
;
31344 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31347 PyObject
* obj0
= 0 ;
31348 PyObject
* obj1
= 0 ;
31349 char *kwnames
[] = {
31350 (char *) "self",(char *) "id", NULL
31353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31356 arg2
= (int) SWIG_AsInt(obj1
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31360 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31362 wxPyEndAllowThreads(__tstate
);
31363 if (PyErr_Occurred()) SWIG_fail
;
31366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31374 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31375 PyObject
*resultobj
;
31376 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31378 wxString
*arg3
= 0 ;
31379 bool temp3
= False
;
31380 PyObject
* obj0
= 0 ;
31381 PyObject
* obj1
= 0 ;
31382 PyObject
* obj2
= 0 ;
31383 char *kwnames
[] = {
31384 (char *) "self",(char *) "id",(char *) "label", NULL
31387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31390 arg2
= (int) SWIG_AsInt(obj1
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31393 arg3
= wxString_in_helper(obj2
);
31394 if (arg3
== NULL
) SWIG_fail
;
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31404 Py_INCREF(Py_None
); resultobj
= Py_None
;
31419 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
;
31421 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31424 PyObject
* obj0
= 0 ;
31425 PyObject
* obj1
= 0 ;
31426 char *kwnames
[] = {
31427 (char *) "self",(char *) "id", NULL
31430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31433 arg2
= (int) SWIG_AsInt(obj1
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31437 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31439 wxPyEndAllowThreads(__tstate
);
31440 if (PyErr_Occurred()) SWIG_fail
;
31444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31455 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31456 PyObject
*resultobj
;
31457 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31459 wxString
*arg3
= 0 ;
31460 bool temp3
= False
;
31461 PyObject
* obj0
= 0 ;
31462 PyObject
* obj1
= 0 ;
31463 PyObject
* obj2
= 0 ;
31464 char *kwnames
[] = {
31465 (char *) "self",(char *) "id",(char *) "helpString", NULL
31468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31471 arg2
= (int) SWIG_AsInt(obj1
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31474 arg3
= wxString_in_helper(obj2
);
31475 if (arg3
== NULL
) SWIG_fail
;
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31485 Py_INCREF(Py_None
); resultobj
= Py_None
;
31500 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31501 PyObject
*resultobj
;
31502 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31505 PyObject
* obj0
= 0 ;
31506 PyObject
* obj1
= 0 ;
31507 char *kwnames
[] = {
31508 (char *) "self",(char *) "id", NULL
31511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31514 arg2
= (int) SWIG_AsInt(obj1
);
31515 if (PyErr_Occurred()) SWIG_fail
;
31517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31518 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31520 wxPyEndAllowThreads(__tstate
);
31521 if (PyErr_Occurred()) SWIG_fail
;
31525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31536 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31537 PyObject
*resultobj
;
31538 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31540 PyObject
* obj0
= 0 ;
31541 char *kwnames
[] = {
31542 (char *) "self", NULL
31545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31550 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31552 wxPyEndAllowThreads(__tstate
);
31553 if (PyErr_Occurred()) SWIG_fail
;
31556 resultobj
= wxPyMake_wxObject(result
);
31564 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31565 PyObject
*resultobj
;
31566 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31568 PyObject
* obj0
= 0 ;
31569 char *kwnames
[] = {
31570 (char *) "self", NULL
31573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31578 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31580 wxPyEndAllowThreads(__tstate
);
31581 if (PyErr_Occurred()) SWIG_fail
;
31584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31592 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31593 PyObject
*resultobj
;
31594 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31595 wxFrame
*arg2
= (wxFrame
*) 0 ;
31596 PyObject
* obj0
= 0 ;
31597 PyObject
* obj1
= 0 ;
31598 char *kwnames
[] = {
31599 (char *) "self",(char *) "frame", NULL
31602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31609 (arg1
)->Attach(arg2
);
31611 wxPyEndAllowThreads(__tstate
);
31612 if (PyErr_Occurred()) SWIG_fail
;
31614 Py_INCREF(Py_None
); resultobj
= Py_None
;
31621 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31622 PyObject
*resultobj
;
31623 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31624 PyObject
* obj0
= 0 ;
31625 char *kwnames
[] = {
31626 (char *) "self", NULL
31629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 wxPyEndAllowThreads(__tstate
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31639 Py_INCREF(Py_None
); resultobj
= Py_None
;
31646 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31649 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31651 return Py_BuildValue((char *)"");
31653 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31654 PyObject
*resultobj
;
31655 wxMenu
*arg1
= (wxMenu
*) NULL
;
31656 int arg2
= (int) wxID_ANY
;
31657 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31659 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31660 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31661 int arg5
= (int) wxITEM_NORMAL
;
31662 wxMenu
*arg6
= (wxMenu
*) NULL
;
31663 wxMenuItem
*result
;
31664 bool temp3
= False
;
31665 bool temp4
= False
;
31666 PyObject
* obj0
= 0 ;
31667 PyObject
* obj1
= 0 ;
31668 PyObject
* obj2
= 0 ;
31669 PyObject
* obj3
= 0 ;
31670 PyObject
* obj4
= 0 ;
31671 PyObject
* obj5
= 0 ;
31672 char *kwnames
[] = {
31673 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31682 arg2
= (int) SWIG_AsInt(obj1
);
31683 if (PyErr_Occurred()) SWIG_fail
;
31687 arg3
= wxString_in_helper(obj2
);
31688 if (arg3
== NULL
) SWIG_fail
;
31694 arg4
= wxString_in_helper(obj3
);
31695 if (arg4
== NULL
) SWIG_fail
;
31700 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31701 if (PyErr_Occurred()) SWIG_fail
;
31704 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31711 wxPyEndAllowThreads(__tstate
);
31712 if (PyErr_Occurred()) SWIG_fail
;
31715 resultobj
= wxPyMake_wxObject(result
);
31739 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31740 PyObject
*resultobj
;
31741 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31743 PyObject
* obj0
= 0 ;
31744 char *kwnames
[] = {
31745 (char *) "self", NULL
31748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31753 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31755 wxPyEndAllowThreads(__tstate
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31759 resultobj
= wxPyMake_wxObject(result
);
31767 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31768 PyObject
*resultobj
;
31769 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31770 wxMenu
*arg2
= (wxMenu
*) 0 ;
31771 PyObject
* obj0
= 0 ;
31772 PyObject
* obj1
= 0 ;
31773 char *kwnames
[] = {
31774 (char *) "self",(char *) "menu", NULL
31777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31784 (arg1
)->SetMenu(arg2
);
31786 wxPyEndAllowThreads(__tstate
);
31787 if (PyErr_Occurred()) SWIG_fail
;
31789 Py_INCREF(Py_None
); resultobj
= Py_None
;
31796 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31797 PyObject
*resultobj
;
31798 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31800 PyObject
* obj0
= 0 ;
31801 PyObject
* obj1
= 0 ;
31802 char *kwnames
[] = {
31803 (char *) "self",(char *) "id", NULL
31806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31809 arg2
= (int) SWIG_AsInt(obj1
);
31810 if (PyErr_Occurred()) SWIG_fail
;
31812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31813 (arg1
)->SetId(arg2
);
31815 wxPyEndAllowThreads(__tstate
);
31816 if (PyErr_Occurred()) SWIG_fail
;
31818 Py_INCREF(Py_None
); resultobj
= Py_None
;
31825 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31826 PyObject
*resultobj
;
31827 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31829 PyObject
* obj0
= 0 ;
31830 char *kwnames
[] = {
31831 (char *) "self", NULL
31834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31839 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 resultobj
= SWIG_FromInt((int)result
);
31851 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31852 PyObject
*resultobj
;
31853 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31855 PyObject
* obj0
= 0 ;
31856 char *kwnames
[] = {
31857 (char *) "self", NULL
31860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31867 wxPyEndAllowThreads(__tstate
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31879 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31880 PyObject
*resultobj
;
31881 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31882 wxString
*arg2
= 0 ;
31883 bool temp2
= False
;
31884 PyObject
* obj0
= 0 ;
31885 PyObject
* obj1
= 0 ;
31886 char *kwnames
[] = {
31887 (char *) "self",(char *) "str", NULL
31890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31894 arg2
= wxString_in_helper(obj1
);
31895 if (arg2
== NULL
) SWIG_fail
;
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 (arg1
)->SetText((wxString
const &)*arg2
);
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31905 Py_INCREF(Py_None
); resultobj
= Py_None
;
31920 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31921 PyObject
*resultobj
;
31922 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31924 PyObject
* obj0
= 0 ;
31925 char *kwnames
[] = {
31926 (char *) "self", NULL
31929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31934 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31936 wxPyEndAllowThreads(__tstate
);
31937 if (PyErr_Occurred()) SWIG_fail
;
31941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31952 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31953 PyObject
*resultobj
;
31954 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31956 PyObject
* obj0
= 0 ;
31957 char *kwnames
[] = {
31958 (char *) "self", NULL
31961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31967 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31968 result
= (wxString
*) &_result_ref
;
31971 wxPyEndAllowThreads(__tstate
);
31972 if (PyErr_Occurred()) SWIG_fail
;
31976 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31978 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31987 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31988 PyObject
*resultobj
;
31989 wxString
*arg1
= 0 ;
31991 bool temp1
= False
;
31992 PyObject
* obj0
= 0 ;
31993 char *kwnames
[] = {
31994 (char *) "text", NULL
31997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31999 arg1
= wxString_in_helper(obj0
);
32000 if (arg1
== NULL
) SWIG_fail
;
32004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32005 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32007 wxPyEndAllowThreads(__tstate
);
32008 if (PyErr_Occurred()) SWIG_fail
;
32012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32031 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32032 PyObject
*resultobj
;
32033 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32035 PyObject
* obj0
= 0 ;
32036 char *kwnames
[] = {
32037 (char *) "self", NULL
32040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32045 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32047 wxPyEndAllowThreads(__tstate
);
32048 if (PyErr_Occurred()) SWIG_fail
;
32050 resultobj
= SWIG_FromInt((int)result
);
32057 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32058 PyObject
*resultobj
;
32059 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32061 PyObject
* obj0
= 0 ;
32062 PyObject
* obj1
= 0 ;
32063 char *kwnames
[] = {
32064 (char *) "self",(char *) "kind", NULL
32067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32070 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32071 if (PyErr_Occurred()) SWIG_fail
;
32073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32074 (arg1
)->SetKind((wxItemKind
)arg2
);
32076 wxPyEndAllowThreads(__tstate
);
32077 if (PyErr_Occurred()) SWIG_fail
;
32079 Py_INCREF(Py_None
); resultobj
= Py_None
;
32086 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32087 PyObject
*resultobj
;
32088 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32090 PyObject
* obj0
= 0 ;
32091 PyObject
* obj1
= 0 ;
32092 char *kwnames
[] = {
32093 (char *) "self",(char *) "checkable", NULL
32096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32099 arg2
= (bool) SWIG_AsBool(obj1
);
32100 if (PyErr_Occurred()) SWIG_fail
;
32102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32103 (arg1
)->SetCheckable(arg2
);
32105 wxPyEndAllowThreads(__tstate
);
32106 if (PyErr_Occurred()) SWIG_fail
;
32108 Py_INCREF(Py_None
); resultobj
= Py_None
;
32115 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32116 PyObject
*resultobj
;
32117 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32119 PyObject
* obj0
= 0 ;
32120 char *kwnames
[] = {
32121 (char *) "self", NULL
32124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32129 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32131 wxPyEndAllowThreads(__tstate
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32143 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32144 PyObject
*resultobj
;
32145 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32147 PyObject
* obj0
= 0 ;
32148 char *kwnames
[] = {
32149 (char *) "self", NULL
32152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32157 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32159 wxPyEndAllowThreads(__tstate
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32171 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32172 PyObject
*resultobj
;
32173 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32174 wxMenu
*arg2
= (wxMenu
*) 0 ;
32175 PyObject
* obj0
= 0 ;
32176 PyObject
* obj1
= 0 ;
32177 char *kwnames
[] = {
32178 (char *) "self",(char *) "menu", NULL
32181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32188 (arg1
)->SetSubMenu(arg2
);
32190 wxPyEndAllowThreads(__tstate
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32193 Py_INCREF(Py_None
); resultobj
= Py_None
;
32200 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32201 PyObject
*resultobj
;
32202 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32204 PyObject
* obj0
= 0 ;
32205 char *kwnames
[] = {
32206 (char *) "self", NULL
32209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32214 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32216 wxPyEndAllowThreads(__tstate
);
32217 if (PyErr_Occurred()) SWIG_fail
;
32220 resultobj
= wxPyMake_wxObject(result
);
32228 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32229 PyObject
*resultobj
;
32230 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32231 bool arg2
= (bool) True
;
32232 PyObject
* obj0
= 0 ;
32233 PyObject
* obj1
= 0 ;
32234 char *kwnames
[] = {
32235 (char *) "self",(char *) "enable", NULL
32238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32242 arg2
= (bool) SWIG_AsBool(obj1
);
32243 if (PyErr_Occurred()) SWIG_fail
;
32246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32247 (arg1
)->Enable(arg2
);
32249 wxPyEndAllowThreads(__tstate
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32252 Py_INCREF(Py_None
); resultobj
= Py_None
;
32259 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32260 PyObject
*resultobj
;
32261 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32263 PyObject
* obj0
= 0 ;
32264 char *kwnames
[] = {
32265 (char *) "self", NULL
32268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32273 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32275 wxPyEndAllowThreads(__tstate
);
32276 if (PyErr_Occurred()) SWIG_fail
;
32279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32287 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32288 PyObject
*resultobj
;
32289 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32290 bool arg2
= (bool) True
;
32291 PyObject
* obj0
= 0 ;
32292 PyObject
* obj1
= 0 ;
32293 char *kwnames
[] = {
32294 (char *) "self",(char *) "check", NULL
32297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32301 arg2
= (bool) SWIG_AsBool(obj1
);
32302 if (PyErr_Occurred()) SWIG_fail
;
32305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32306 (arg1
)->Check(arg2
);
32308 wxPyEndAllowThreads(__tstate
);
32309 if (PyErr_Occurred()) SWIG_fail
;
32311 Py_INCREF(Py_None
); resultobj
= Py_None
;
32318 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32319 PyObject
*resultobj
;
32320 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32322 PyObject
* obj0
= 0 ;
32323 char *kwnames
[] = {
32324 (char *) "self", NULL
32327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32332 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32334 wxPyEndAllowThreads(__tstate
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32346 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32347 PyObject
*resultobj
;
32348 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32349 PyObject
* obj0
= 0 ;
32350 char *kwnames
[] = {
32351 (char *) "self", NULL
32354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 wxPyEndAllowThreads(__tstate
);
32362 if (PyErr_Occurred()) SWIG_fail
;
32364 Py_INCREF(Py_None
); resultobj
= Py_None
;
32371 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32372 PyObject
*resultobj
;
32373 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32374 wxString
*arg2
= 0 ;
32375 bool temp2
= False
;
32376 PyObject
* obj0
= 0 ;
32377 PyObject
* obj1
= 0 ;
32378 char *kwnames
[] = {
32379 (char *) "self",(char *) "str", NULL
32382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32386 arg2
= wxString_in_helper(obj1
);
32387 if (arg2
== NULL
) SWIG_fail
;
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 (arg1
)->SetHelp((wxString
const &)*arg2
);
32394 wxPyEndAllowThreads(__tstate
);
32395 if (PyErr_Occurred()) SWIG_fail
;
32397 Py_INCREF(Py_None
); resultobj
= Py_None
;
32412 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
;
32414 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32416 PyObject
* obj0
= 0 ;
32417 char *kwnames
[] = {
32418 (char *) "self", NULL
32421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32427 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32428 result
= (wxString
*) &_result_ref
;
32431 wxPyEndAllowThreads(__tstate
);
32432 if (PyErr_Occurred()) SWIG_fail
;
32436 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32438 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32447 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32448 PyObject
*resultobj
;
32449 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32450 wxAcceleratorEntry
*result
;
32451 PyObject
* obj0
= 0 ;
32452 char *kwnames
[] = {
32453 (char *) "self", NULL
32456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32461 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32463 wxPyEndAllowThreads(__tstate
);
32464 if (PyErr_Occurred()) SWIG_fail
;
32466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32473 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32474 PyObject
*resultobj
;
32475 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32476 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32477 PyObject
* obj0
= 0 ;
32478 PyObject
* obj1
= 0 ;
32479 char *kwnames
[] = {
32480 (char *) "self",(char *) "accel", NULL
32483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32490 (arg1
)->SetAccel(arg2
);
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32495 Py_INCREF(Py_None
); resultobj
= Py_None
;
32502 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32503 PyObject
*resultobj
;
32504 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32506 PyObject
* obj0
= 0 ;
32507 PyObject
* obj1
= 0 ;
32508 char *kwnames
[] = {
32509 (char *) "self",(char *) "font", NULL
32512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32518 if (arg2
== NULL
) {
32519 PyErr_SetString(PyExc_TypeError
,"null reference");
32523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32524 (arg1
)->SetFont((wxFont
const &)*arg2
);
32526 wxPyEndAllowThreads(__tstate
);
32527 if (PyErr_Occurred()) SWIG_fail
;
32529 Py_INCREF(Py_None
); resultobj
= Py_None
;
32536 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32537 PyObject
*resultobj
;
32538 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32540 PyObject
* obj0
= 0 ;
32541 char *kwnames
[] = {
32542 (char *) "self", NULL
32545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32550 result
= (arg1
)->GetFont();
32552 wxPyEndAllowThreads(__tstate
);
32553 if (PyErr_Occurred()) SWIG_fail
;
32556 wxFont
* resultptr
;
32557 resultptr
= new wxFont((wxFont
&) result
);
32558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32566 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32567 PyObject
*resultobj
;
32568 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32569 wxColour
*arg2
= 0 ;
32571 PyObject
* obj0
= 0 ;
32572 PyObject
* obj1
= 0 ;
32573 char *kwnames
[] = {
32574 (char *) "self",(char *) "colText", NULL
32577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32582 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32586 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32588 wxPyEndAllowThreads(__tstate
);
32589 if (PyErr_Occurred()) SWIG_fail
;
32591 Py_INCREF(Py_None
); resultobj
= Py_None
;
32598 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32599 PyObject
*resultobj
;
32600 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32602 PyObject
* obj0
= 0 ;
32603 char *kwnames
[] = {
32604 (char *) "self", NULL
32607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32612 result
= (arg1
)->GetTextColour();
32614 wxPyEndAllowThreads(__tstate
);
32615 if (PyErr_Occurred()) SWIG_fail
;
32618 wxColour
* resultptr
;
32619 resultptr
= new wxColour((wxColour
&) result
);
32620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32628 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32629 PyObject
*resultobj
;
32630 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32631 wxColour
*arg2
= 0 ;
32633 PyObject
* obj0
= 0 ;
32634 PyObject
* obj1
= 0 ;
32635 char *kwnames
[] = {
32636 (char *) "self",(char *) "colBack", NULL
32639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32644 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32648 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
32650 wxPyEndAllowThreads(__tstate
);
32651 if (PyErr_Occurred()) SWIG_fail
;
32653 Py_INCREF(Py_None
); resultobj
= Py_None
;
32660 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32661 PyObject
*resultobj
;
32662 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32664 PyObject
* obj0
= 0 ;
32665 char *kwnames
[] = {
32666 (char *) "self", NULL
32669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
32670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32674 result
= (arg1
)->GetBackgroundColour();
32676 wxPyEndAllowThreads(__tstate
);
32677 if (PyErr_Occurred()) SWIG_fail
;
32680 wxColour
* resultptr
;
32681 resultptr
= new wxColour((wxColour
&) result
);
32682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32690 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32691 PyObject
*resultobj
;
32692 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32693 wxBitmap
*arg2
= 0 ;
32694 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32695 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32696 PyObject
* obj0
= 0 ;
32697 PyObject
* obj1
= 0 ;
32698 PyObject
* obj2
= 0 ;
32699 char *kwnames
[] = {
32700 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
32703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32709 if (arg2
== NULL
) {
32710 PyErr_SetString(PyExc_TypeError
,"null reference");
32714 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
32715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32717 if (arg3
== NULL
) {
32718 PyErr_SetString(PyExc_TypeError
,"null reference");
32723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32724 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32726 wxPyEndAllowThreads(__tstate
);
32727 if (PyErr_Occurred()) SWIG_fail
;
32729 Py_INCREF(Py_None
); resultobj
= Py_None
;
32736 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32737 PyObject
*resultobj
;
32738 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32739 wxBitmap
*arg2
= 0 ;
32740 PyObject
* obj0
= 0 ;
32741 PyObject
* obj1
= 0 ;
32742 char *kwnames
[] = {
32743 (char *) "self",(char *) "bmpDisabled", NULL
32746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32752 if (arg2
== NULL
) {
32753 PyErr_SetString(PyExc_TypeError
,"null reference");
32757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32758 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
32760 wxPyEndAllowThreads(__tstate
);
32761 if (PyErr_Occurred()) SWIG_fail
;
32763 Py_INCREF(Py_None
); resultobj
= Py_None
;
32770 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32771 PyObject
*resultobj
;
32772 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32774 PyObject
* obj0
= 0 ;
32775 char *kwnames
[] = {
32776 (char *) "self", NULL
32779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
32780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
32786 result
= (wxBitmap
*) &_result_ref
;
32789 wxPyEndAllowThreads(__tstate
);
32790 if (PyErr_Occurred()) SWIG_fail
;
32793 wxBitmap
* resultptr
= new wxBitmap(*result
);
32794 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32802 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32803 PyObject
*resultobj
;
32804 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32806 PyObject
* obj0
= 0 ;
32807 PyObject
* obj1
= 0 ;
32808 char *kwnames
[] = {
32809 (char *) "self",(char *) "nWidth", NULL
32812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
32813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32815 arg2
= (int) SWIG_AsInt(obj1
);
32816 if (PyErr_Occurred()) SWIG_fail
;
32818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32819 (arg1
)->SetMarginWidth(arg2
);
32821 wxPyEndAllowThreads(__tstate
);
32822 if (PyErr_Occurred()) SWIG_fail
;
32824 Py_INCREF(Py_None
); resultobj
= Py_None
;
32831 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32832 PyObject
*resultobj
;
32833 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32835 PyObject
* obj0
= 0 ;
32836 char *kwnames
[] = {
32837 (char *) "self", NULL
32840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
32841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32845 result
= (int)(arg1
)->GetMarginWidth();
32847 wxPyEndAllowThreads(__tstate
);
32848 if (PyErr_Occurred()) SWIG_fail
;
32850 resultobj
= SWIG_FromInt((int)result
);
32857 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32858 PyObject
*resultobj
;
32860 char *kwnames
[] = {
32864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32867 result
= (int)wxMenuItem::GetDefaultMarginWidth();
32869 wxPyEndAllowThreads(__tstate
);
32870 if (PyErr_Occurred()) SWIG_fail
;
32872 resultobj
= SWIG_FromInt((int)result
);
32879 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32880 PyObject
*resultobj
;
32881 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32883 PyObject
* obj0
= 0 ;
32884 char *kwnames
[] = {
32885 (char *) "self", NULL
32888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32893 result
= (bool)(arg1
)->IsOwnerDrawn();
32895 wxPyEndAllowThreads(__tstate
);
32896 if (PyErr_Occurred()) SWIG_fail
;
32899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32907 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32908 PyObject
*resultobj
;
32909 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32910 bool arg2
= (bool) True
;
32911 PyObject
* obj0
= 0 ;
32912 PyObject
* obj1
= 0 ;
32913 char *kwnames
[] = {
32914 (char *) "self",(char *) "ownerDrawn", NULL
32917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
32918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32921 arg2
= (bool) SWIG_AsBool(obj1
);
32922 if (PyErr_Occurred()) SWIG_fail
;
32925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32926 (arg1
)->SetOwnerDrawn(arg2
);
32928 wxPyEndAllowThreads(__tstate
);
32929 if (PyErr_Occurred()) SWIG_fail
;
32931 Py_INCREF(Py_None
); resultobj
= Py_None
;
32938 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32939 PyObject
*resultobj
;
32940 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32941 PyObject
* obj0
= 0 ;
32942 char *kwnames
[] = {
32943 (char *) "self", NULL
32946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32951 (arg1
)->ResetOwnerDrawn();
32953 wxPyEndAllowThreads(__tstate
);
32954 if (PyErr_Occurred()) SWIG_fail
;
32956 Py_INCREF(Py_None
); resultobj
= Py_None
;
32963 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32964 PyObject
*resultobj
;
32965 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32966 wxBitmap
*arg2
= 0 ;
32967 PyObject
* obj0
= 0 ;
32968 PyObject
* obj1
= 0 ;
32969 char *kwnames
[] = {
32970 (char *) "self",(char *) "bitmap", NULL
32973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32979 if (arg2
== NULL
) {
32980 PyErr_SetString(PyExc_TypeError
,"null reference");
32984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32985 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32987 wxPyEndAllowThreads(__tstate
);
32988 if (PyErr_Occurred()) SWIG_fail
;
32990 Py_INCREF(Py_None
); resultobj
= Py_None
;
32997 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32998 PyObject
*resultobj
;
32999 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33001 PyObject
* obj0
= 0 ;
33002 char *kwnames
[] = {
33003 (char *) "self", NULL
33006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33012 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33013 result
= (wxBitmap
*) &_result_ref
;
33016 wxPyEndAllowThreads(__tstate
);
33017 if (PyErr_Occurred()) SWIG_fail
;
33020 wxBitmap
* resultptr
= new wxBitmap(*result
);
33021 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33029 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
33031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33032 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33034 return Py_BuildValue((char *)"");
33036 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
33037 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33042 static PyObject
*_wrap_ControlNameStr_get() {
33047 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33049 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33056 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33057 PyObject
*resultobj
;
33058 wxWindow
*arg1
= (wxWindow
*) 0 ;
33060 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33061 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33062 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33063 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33064 long arg5
= (long) 0 ;
33065 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33066 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33067 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33068 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33072 bool temp7
= False
;
33073 PyObject
* obj0
= 0 ;
33074 PyObject
* obj1
= 0 ;
33075 PyObject
* obj2
= 0 ;
33076 PyObject
* obj3
= 0 ;
33077 PyObject
* obj4
= 0 ;
33078 PyObject
* obj5
= 0 ;
33079 PyObject
* obj6
= 0 ;
33080 char *kwnames
[] = {
33081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33087 arg2
= (int) SWIG_AsInt(obj1
);
33088 if (PyErr_Occurred()) SWIG_fail
;
33092 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33098 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33102 arg5
= (long) SWIG_AsLong(obj4
);
33103 if (PyErr_Occurred()) SWIG_fail
;
33106 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33109 if (arg6
== NULL
) {
33110 PyErr_SetString(PyExc_TypeError
,"null reference");
33116 arg7
= wxString_in_helper(obj6
);
33117 if (arg7
== NULL
) SWIG_fail
;
33122 if (!wxPyCheckForApp()) SWIG_fail
;
33123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33124 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33126 wxPyEndAllowThreads(__tstate
);
33127 if (PyErr_Occurred()) SWIG_fail
;
33130 resultobj
= wxPyMake_wxObject(result
);
33146 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33147 PyObject
*resultobj
;
33149 char *kwnames
[] = {
33153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33155 if (!wxPyCheckForApp()) SWIG_fail
;
33156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33157 result
= (wxControl
*)new wxControl();
33159 wxPyEndAllowThreads(__tstate
);
33160 if (PyErr_Occurred()) SWIG_fail
;
33163 resultobj
= wxPyMake_wxObject(result
);
33171 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33172 PyObject
*resultobj
;
33173 wxControl
*arg1
= (wxControl
*) 0 ;
33174 wxWindow
*arg2
= (wxWindow
*) 0 ;
33176 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33177 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33178 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33179 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33180 long arg6
= (long) 0 ;
33181 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33182 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33183 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33184 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33188 bool temp8
= False
;
33189 PyObject
* obj0
= 0 ;
33190 PyObject
* obj1
= 0 ;
33191 PyObject
* obj2
= 0 ;
33192 PyObject
* obj3
= 0 ;
33193 PyObject
* obj4
= 0 ;
33194 PyObject
* obj5
= 0 ;
33195 PyObject
* obj6
= 0 ;
33196 PyObject
* obj7
= 0 ;
33197 char *kwnames
[] = {
33198 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33206 arg3
= (int) SWIG_AsInt(obj2
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33211 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33217 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33221 arg6
= (long) SWIG_AsLong(obj5
);
33222 if (PyErr_Occurred()) SWIG_fail
;
33225 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33228 if (arg7
== NULL
) {
33229 PyErr_SetString(PyExc_TypeError
,"null reference");
33235 arg8
= wxString_in_helper(obj7
);
33236 if (arg8
== NULL
) SWIG_fail
;
33241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33242 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33244 wxPyEndAllowThreads(__tstate
);
33245 if (PyErr_Occurred()) SWIG_fail
;
33248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33264 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33265 PyObject
*resultobj
;
33266 wxControl
*arg1
= (wxControl
*) 0 ;
33267 wxCommandEvent
*arg2
= 0 ;
33268 PyObject
* obj0
= 0 ;
33269 PyObject
* obj1
= 0 ;
33270 char *kwnames
[] = {
33271 (char *) "self",(char *) "event", NULL
33274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33280 if (arg2
== NULL
) {
33281 PyErr_SetString(PyExc_TypeError
,"null reference");
33285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33286 (arg1
)->Command(*arg2
);
33288 wxPyEndAllowThreads(__tstate
);
33289 if (PyErr_Occurred()) SWIG_fail
;
33291 Py_INCREF(Py_None
); resultobj
= Py_None
;
33298 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33299 PyObject
*resultobj
;
33300 wxControl
*arg1
= (wxControl
*) 0 ;
33302 PyObject
* obj0
= 0 ;
33303 char *kwnames
[] = {
33304 (char *) "self", NULL
33307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33312 result
= (arg1
)->GetLabel();
33314 wxPyEndAllowThreads(__tstate
);
33315 if (PyErr_Occurred()) SWIG_fail
;
33319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33330 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33331 PyObject
*resultobj
;
33332 wxControl
*arg1
= (wxControl
*) 0 ;
33333 wxString
*arg2
= 0 ;
33334 bool temp2
= False
;
33335 PyObject
* obj0
= 0 ;
33336 PyObject
* obj1
= 0 ;
33337 char *kwnames
[] = {
33338 (char *) "self",(char *) "label", NULL
33341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33345 arg2
= wxString_in_helper(obj1
);
33346 if (arg2
== NULL
) SWIG_fail
;
33350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33351 (arg1
)->SetLabel((wxString
const &)*arg2
);
33353 wxPyEndAllowThreads(__tstate
);
33354 if (PyErr_Occurred()) SWIG_fail
;
33356 Py_INCREF(Py_None
); resultobj
= Py_None
;
33371 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33372 PyObject
*resultobj
;
33373 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33374 wxVisualAttributes result
;
33375 PyObject
* obj0
= 0 ;
33376 char *kwnames
[] = {
33377 (char *) "variant", NULL
33380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33382 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33383 if (PyErr_Occurred()) SWIG_fail
;
33386 if (!wxPyCheckForApp()) SWIG_fail
;
33387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33388 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33390 wxPyEndAllowThreads(__tstate
);
33391 if (PyErr_Occurred()) SWIG_fail
;
33394 wxVisualAttributes
* resultptr
;
33395 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33404 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33407 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33409 return Py_BuildValue((char *)"");
33411 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33412 PyObject
*resultobj
;
33413 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33414 wxString
*arg2
= 0 ;
33415 PyObject
*arg3
= (PyObject
*) NULL
;
33417 bool temp2
= False
;
33418 PyObject
* obj0
= 0 ;
33419 PyObject
* obj1
= 0 ;
33420 PyObject
* obj2
= 0 ;
33421 char *kwnames
[] = {
33422 (char *) "self",(char *) "item",(char *) "clientData", NULL
33425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33429 arg2
= wxString_in_helper(obj1
);
33430 if (arg2
== NULL
) SWIG_fail
;
33437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33438 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33440 wxPyEndAllowThreads(__tstate
);
33441 if (PyErr_Occurred()) SWIG_fail
;
33443 resultobj
= SWIG_FromInt((int)result
);
33458 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33459 PyObject
*resultobj
;
33460 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33461 wxArrayString
*arg2
= 0 ;
33462 bool temp2
= False
;
33463 PyObject
* obj0
= 0 ;
33464 PyObject
* obj1
= 0 ;
33465 char *kwnames
[] = {
33466 (char *) "self",(char *) "strings", NULL
33469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33473 if (! PySequence_Check(obj1
)) {
33474 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33477 arg2
= new wxArrayString
;
33479 int i
, len
=PySequence_Length(obj1
);
33480 for (i
=0; i
<len
; i
++) {
33481 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33483 PyObject
* str
= PyObject_Unicode(item
);
33485 PyObject
* str
= PyObject_Str(item
);
33487 if (PyErr_Occurred()) SWIG_fail
;
33488 arg2
->Add(Py2wxString(str
));
33494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33495 (arg1
)->Append((wxArrayString
const &)*arg2
);
33497 wxPyEndAllowThreads(__tstate
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33500 Py_INCREF(Py_None
); resultobj
= Py_None
;
33502 if (temp2
) delete arg2
;
33507 if (temp2
) delete arg2
;
33513 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33514 PyObject
*resultobj
;
33515 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33516 wxString
*arg2
= 0 ;
33518 PyObject
*arg4
= (PyObject
*) NULL
;
33520 bool temp2
= False
;
33521 PyObject
* obj0
= 0 ;
33522 PyObject
* obj1
= 0 ;
33523 PyObject
* obj2
= 0 ;
33524 PyObject
* obj3
= 0 ;
33525 char *kwnames
[] = {
33526 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33533 arg2
= wxString_in_helper(obj1
);
33534 if (arg2
== NULL
) SWIG_fail
;
33537 arg3
= (int) SWIG_AsInt(obj2
);
33538 if (PyErr_Occurred()) SWIG_fail
;
33543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33544 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33546 wxPyEndAllowThreads(__tstate
);
33547 if (PyErr_Occurred()) SWIG_fail
;
33549 resultobj
= SWIG_FromInt((int)result
);
33564 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33565 PyObject
*resultobj
;
33566 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33567 PyObject
* obj0
= 0 ;
33568 char *kwnames
[] = {
33569 (char *) "self", NULL
33572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33579 wxPyEndAllowThreads(__tstate
);
33580 if (PyErr_Occurred()) SWIG_fail
;
33582 Py_INCREF(Py_None
); resultobj
= Py_None
;
33589 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33590 PyObject
*resultobj
;
33591 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33593 PyObject
* obj0
= 0 ;
33594 PyObject
* obj1
= 0 ;
33595 char *kwnames
[] = {
33596 (char *) "self",(char *) "n", NULL
33599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33602 arg2
= (int) SWIG_AsInt(obj1
);
33603 if (PyErr_Occurred()) SWIG_fail
;
33605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33606 (arg1
)->Delete(arg2
);
33608 wxPyEndAllowThreads(__tstate
);
33609 if (PyErr_Occurred()) SWIG_fail
;
33611 Py_INCREF(Py_None
); resultobj
= Py_None
;
33618 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33619 PyObject
*resultobj
;
33620 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33622 PyObject
* obj0
= 0 ;
33623 char *kwnames
[] = {
33624 (char *) "self", NULL
33627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33632 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33634 wxPyEndAllowThreads(__tstate
);
33635 if (PyErr_Occurred()) SWIG_fail
;
33637 resultobj
= SWIG_FromInt((int)result
);
33644 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33645 PyObject
*resultobj
;
33646 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33648 PyObject
* obj0
= 0 ;
33649 char *kwnames
[] = {
33650 (char *) "self", NULL
33653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33658 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33660 wxPyEndAllowThreads(__tstate
);
33661 if (PyErr_Occurred()) SWIG_fail
;
33664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33672 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33673 PyObject
*resultobj
;
33674 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33677 PyObject
* obj0
= 0 ;
33678 PyObject
* obj1
= 0 ;
33679 char *kwnames
[] = {
33680 (char *) "self",(char *) "n", NULL
33683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33686 arg2
= (int) SWIG_AsInt(obj1
);
33687 if (PyErr_Occurred()) SWIG_fail
;
33689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33690 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33692 wxPyEndAllowThreads(__tstate
);
33693 if (PyErr_Occurred()) SWIG_fail
;
33697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33708 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33709 PyObject
*resultobj
;
33710 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33711 wxArrayString result
;
33712 PyObject
* obj0
= 0 ;
33713 char *kwnames
[] = {
33714 (char *) "self", NULL
33717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33722 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33724 wxPyEndAllowThreads(__tstate
);
33725 if (PyErr_Occurred()) SWIG_fail
;
33728 resultobj
= wxArrayString2PyList_helper(result
);
33736 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33737 PyObject
*resultobj
;
33738 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33740 wxString
*arg3
= 0 ;
33741 bool temp3
= False
;
33742 PyObject
* obj0
= 0 ;
33743 PyObject
* obj1
= 0 ;
33744 PyObject
* obj2
= 0 ;
33745 char *kwnames
[] = {
33746 (char *) "self",(char *) "n",(char *) "s", NULL
33749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33752 arg2
= (int) SWIG_AsInt(obj1
);
33753 if (PyErr_Occurred()) SWIG_fail
;
33755 arg3
= wxString_in_helper(obj2
);
33756 if (arg3
== NULL
) SWIG_fail
;
33760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33761 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33763 wxPyEndAllowThreads(__tstate
);
33764 if (PyErr_Occurred()) SWIG_fail
;
33766 Py_INCREF(Py_None
); resultobj
= Py_None
;
33781 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33782 PyObject
*resultobj
;
33783 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33784 wxString
*arg2
= 0 ;
33786 bool temp2
= False
;
33787 PyObject
* obj0
= 0 ;
33788 PyObject
* obj1
= 0 ;
33789 char *kwnames
[] = {
33790 (char *) "self",(char *) "s", NULL
33793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33797 arg2
= wxString_in_helper(obj1
);
33798 if (arg2
== NULL
) SWIG_fail
;
33802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33803 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33805 wxPyEndAllowThreads(__tstate
);
33806 if (PyErr_Occurred()) SWIG_fail
;
33808 resultobj
= SWIG_FromInt((int)result
);
33823 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33824 PyObject
*resultobj
;
33825 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33827 PyObject
* obj0
= 0 ;
33828 PyObject
* obj1
= 0 ;
33829 char *kwnames
[] = {
33830 (char *) "self",(char *) "n", NULL
33833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33836 arg2
= (int) SWIG_AsInt(obj1
);
33837 if (PyErr_Occurred()) SWIG_fail
;
33839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33840 (arg1
)->Select(arg2
);
33842 wxPyEndAllowThreads(__tstate
);
33843 if (PyErr_Occurred()) SWIG_fail
;
33845 Py_INCREF(Py_None
); resultobj
= Py_None
;
33852 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33853 PyObject
*resultobj
;
33854 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33856 PyObject
* obj0
= 0 ;
33857 char *kwnames
[] = {
33858 (char *) "self", NULL
33861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33866 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33868 wxPyEndAllowThreads(__tstate
);
33869 if (PyErr_Occurred()) SWIG_fail
;
33871 resultobj
= SWIG_FromInt((int)result
);
33878 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33879 PyObject
*resultobj
;
33880 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33882 PyObject
* obj0
= 0 ;
33883 char *kwnames
[] = {
33884 (char *) "self", NULL
33887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33892 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33894 wxPyEndAllowThreads(__tstate
);
33895 if (PyErr_Occurred()) SWIG_fail
;
33899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33910 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33911 PyObject
*resultobj
;
33912 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33915 PyObject
* obj0
= 0 ;
33916 PyObject
* obj1
= 0 ;
33917 char *kwnames
[] = {
33918 (char *) "self",(char *) "n", NULL
33921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33924 arg2
= (int) SWIG_AsInt(obj1
);
33925 if (PyErr_Occurred()) SWIG_fail
;
33927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33928 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33930 wxPyEndAllowThreads(__tstate
);
33931 if (PyErr_Occurred()) SWIG_fail
;
33933 resultobj
= result
;
33940 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33941 PyObject
*resultobj
;
33942 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33944 PyObject
*arg3
= (PyObject
*) 0 ;
33945 PyObject
* obj0
= 0 ;
33946 PyObject
* obj1
= 0 ;
33947 PyObject
* obj2
= 0 ;
33948 char *kwnames
[] = {
33949 (char *) "self",(char *) "n",(char *) "clientData", NULL
33952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33955 arg2
= (int) SWIG_AsInt(obj1
);
33956 if (PyErr_Occurred()) SWIG_fail
;
33959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33960 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33962 wxPyEndAllowThreads(__tstate
);
33963 if (PyErr_Occurred()) SWIG_fail
;
33965 Py_INCREF(Py_None
); resultobj
= Py_None
;
33972 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33975 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33977 return Py_BuildValue((char *)"");
33979 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33982 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33984 return Py_BuildValue((char *)"");
33986 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33987 PyObject
*resultobj
;
33988 wxSizerItem
*result
;
33989 char *kwnames
[] = {
33993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33996 result
= (wxSizerItem
*)new wxSizerItem();
33998 wxPyEndAllowThreads(__tstate
);
33999 if (PyErr_Occurred()) SWIG_fail
;
34001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34008 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34009 PyObject
*resultobj
;
34015 wxObject
*arg6
= (wxObject
*) 0 ;
34016 wxSizerItem
*result
;
34017 PyObject
* obj0
= 0 ;
34018 PyObject
* obj1
= 0 ;
34019 PyObject
* obj2
= 0 ;
34020 PyObject
* obj3
= 0 ;
34021 PyObject
* obj4
= 0 ;
34022 PyObject
* obj5
= 0 ;
34023 char *kwnames
[] = {
34024 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34028 arg1
= (int) SWIG_AsInt(obj0
);
34029 if (PyErr_Occurred()) SWIG_fail
;
34030 arg2
= (int) SWIG_AsInt(obj1
);
34031 if (PyErr_Occurred()) SWIG_fail
;
34032 arg3
= (int) SWIG_AsInt(obj2
);
34033 if (PyErr_Occurred()) SWIG_fail
;
34034 arg4
= (int) SWIG_AsInt(obj3
);
34035 if (PyErr_Occurred()) SWIG_fail
;
34036 arg5
= (int) SWIG_AsInt(obj4
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34038 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
34039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34042 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34044 wxPyEndAllowThreads(__tstate
);
34045 if (PyErr_Occurred()) SWIG_fail
;
34047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34054 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34055 PyObject
*resultobj
;
34056 wxWindow
*arg1
= (wxWindow
*) 0 ;
34060 wxObject
*arg5
= (wxObject
*) 0 ;
34061 wxSizerItem
*result
;
34062 PyObject
* obj0
= 0 ;
34063 PyObject
* obj1
= 0 ;
34064 PyObject
* obj2
= 0 ;
34065 PyObject
* obj3
= 0 ;
34066 PyObject
* obj4
= 0 ;
34067 char *kwnames
[] = {
34068 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34074 arg2
= (int) SWIG_AsInt(obj1
);
34075 if (PyErr_Occurred()) SWIG_fail
;
34076 arg3
= (int) SWIG_AsInt(obj2
);
34077 if (PyErr_Occurred()) SWIG_fail
;
34078 arg4
= (int) SWIG_AsInt(obj3
);
34079 if (PyErr_Occurred()) SWIG_fail
;
34080 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34084 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34086 wxPyEndAllowThreads(__tstate
);
34087 if (PyErr_Occurred()) SWIG_fail
;
34089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34096 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34097 PyObject
*resultobj
;
34098 wxSizer
*arg1
= (wxSizer
*) 0 ;
34102 wxObject
*arg5
= (wxObject
*) 0 ;
34103 wxSizerItem
*result
;
34104 PyObject
* obj0
= 0 ;
34105 PyObject
* obj1
= 0 ;
34106 PyObject
* obj2
= 0 ;
34107 PyObject
* obj3
= 0 ;
34108 PyObject
* obj4
= 0 ;
34109 char *kwnames
[] = {
34110 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34116 arg2
= (int) SWIG_AsInt(obj1
);
34117 if (PyErr_Occurred()) SWIG_fail
;
34118 arg3
= (int) SWIG_AsInt(obj2
);
34119 if (PyErr_Occurred()) SWIG_fail
;
34120 arg4
= (int) SWIG_AsInt(obj3
);
34121 if (PyErr_Occurred()) SWIG_fail
;
34122 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34126 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34128 wxPyEndAllowThreads(__tstate
);
34129 if (PyErr_Occurred()) SWIG_fail
;
34131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34138 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34139 PyObject
*resultobj
;
34140 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34141 PyObject
* obj0
= 0 ;
34142 char *kwnames
[] = {
34143 (char *) "self", NULL
34146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34151 (arg1
)->DeleteWindows();
34153 wxPyEndAllowThreads(__tstate
);
34154 if (PyErr_Occurred()) SWIG_fail
;
34156 Py_INCREF(Py_None
); resultobj
= Py_None
;
34163 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34164 PyObject
*resultobj
;
34165 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34166 PyObject
* obj0
= 0 ;
34167 char *kwnames
[] = {
34168 (char *) "self", NULL
34171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34176 (arg1
)->DetachSizer();
34178 wxPyEndAllowThreads(__tstate
);
34179 if (PyErr_Occurred()) SWIG_fail
;
34181 Py_INCREF(Py_None
); resultobj
= Py_None
;
34188 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34189 PyObject
*resultobj
;
34190 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34192 PyObject
* obj0
= 0 ;
34193 char *kwnames
[] = {
34194 (char *) "self", NULL
34197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 result
= (arg1
)->GetSize();
34204 wxPyEndAllowThreads(__tstate
);
34205 if (PyErr_Occurred()) SWIG_fail
;
34208 wxSize
* resultptr
;
34209 resultptr
= new wxSize((wxSize
&) result
);
34210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34218 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34219 PyObject
*resultobj
;
34220 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34222 PyObject
* obj0
= 0 ;
34223 char *kwnames
[] = {
34224 (char *) "self", NULL
34227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34232 result
= (arg1
)->CalcMin();
34234 wxPyEndAllowThreads(__tstate
);
34235 if (PyErr_Occurred()) SWIG_fail
;
34238 wxSize
* resultptr
;
34239 resultptr
= new wxSize((wxSize
&) result
);
34240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34248 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34249 PyObject
*resultobj
;
34250 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34255 PyObject
* obj0
= 0 ;
34256 PyObject
* obj1
= 0 ;
34257 PyObject
* obj2
= 0 ;
34258 char *kwnames
[] = {
34259 (char *) "self",(char *) "pos",(char *) "size", NULL
34262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34265 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34266 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34268 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34269 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34273 (arg1
)->SetDimension(arg2
,arg3
);
34275 wxPyEndAllowThreads(__tstate
);
34276 if (PyErr_Occurred()) SWIG_fail
;
34278 Py_INCREF(Py_None
); resultobj
= Py_None
;
34285 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34286 PyObject
*resultobj
;
34287 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34289 PyObject
* obj0
= 0 ;
34290 char *kwnames
[] = {
34291 (char *) "self", NULL
34294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34299 result
= (arg1
)->GetMinSize();
34301 wxPyEndAllowThreads(__tstate
);
34302 if (PyErr_Occurred()) SWIG_fail
;
34305 wxSize
* resultptr
;
34306 resultptr
= new wxSize((wxSize
&) result
);
34307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34315 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34316 PyObject
*resultobj
;
34317 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34320 PyObject
* obj0
= 0 ;
34321 PyObject
* obj1
= 0 ;
34322 PyObject
* obj2
= 0 ;
34323 char *kwnames
[] = {
34324 (char *) "self",(char *) "x",(char *) "y", NULL
34327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34330 arg2
= (int) SWIG_AsInt(obj1
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34332 arg3
= (int) SWIG_AsInt(obj2
);
34333 if (PyErr_Occurred()) SWIG_fail
;
34335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34336 (arg1
)->SetInitSize(arg2
,arg3
);
34338 wxPyEndAllowThreads(__tstate
);
34339 if (PyErr_Occurred()) SWIG_fail
;
34341 Py_INCREF(Py_None
); resultobj
= Py_None
;
34348 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34349 PyObject
*resultobj
;
34350 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34353 PyObject
* obj0
= 0 ;
34354 PyObject
* obj1
= 0 ;
34355 PyObject
* obj2
= 0 ;
34356 char *kwnames
[] = {
34357 (char *) "self",(char *) "width",(char *) "height", NULL
34360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34363 arg2
= (int) SWIG_AsInt(obj1
);
34364 if (PyErr_Occurred()) SWIG_fail
;
34365 arg3
= (int) SWIG_AsInt(obj2
);
34366 if (PyErr_Occurred()) SWIG_fail
;
34368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34369 (arg1
)->SetRatio(arg2
,arg3
);
34371 wxPyEndAllowThreads(__tstate
);
34372 if (PyErr_Occurred()) SWIG_fail
;
34374 Py_INCREF(Py_None
); resultobj
= Py_None
;
34381 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34382 PyObject
*resultobj
;
34383 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34386 PyObject
* obj0
= 0 ;
34387 PyObject
* obj1
= 0 ;
34388 char *kwnames
[] = {
34389 (char *) "self",(char *) "size", NULL
34392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34395 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34396 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34400 (arg1
)->SetRatio(arg2
);
34402 wxPyEndAllowThreads(__tstate
);
34403 if (PyErr_Occurred()) SWIG_fail
;
34405 Py_INCREF(Py_None
); resultobj
= Py_None
;
34412 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34413 PyObject
*resultobj
;
34414 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34416 PyObject
* obj0
= 0 ;
34417 PyObject
* obj1
= 0 ;
34418 char *kwnames
[] = {
34419 (char *) "self",(char *) "ratio", NULL
34422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34425 arg2
= (float) SWIG_AsFloat(obj1
);
34426 if (PyErr_Occurred()) SWIG_fail
;
34428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34429 (arg1
)->SetRatio(arg2
);
34431 wxPyEndAllowThreads(__tstate
);
34432 if (PyErr_Occurred()) SWIG_fail
;
34434 Py_INCREF(Py_None
); resultobj
= Py_None
;
34441 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34442 PyObject
*resultobj
;
34443 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34445 PyObject
* obj0
= 0 ;
34446 char *kwnames
[] = {
34447 (char *) "self", NULL
34450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34455 result
= (float)(arg1
)->GetRatio();
34457 wxPyEndAllowThreads(__tstate
);
34458 if (PyErr_Occurred()) SWIG_fail
;
34460 resultobj
= SWIG_FromFloat((float)result
);
34467 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34468 PyObject
*resultobj
;
34469 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34471 PyObject
* obj0
= 0 ;
34472 char *kwnames
[] = {
34473 (char *) "self", NULL
34476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34481 result
= (bool)(arg1
)->IsWindow();
34483 wxPyEndAllowThreads(__tstate
);
34484 if (PyErr_Occurred()) SWIG_fail
;
34487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34495 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34496 PyObject
*resultobj
;
34497 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34499 PyObject
* obj0
= 0 ;
34500 char *kwnames
[] = {
34501 (char *) "self", NULL
34504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34509 result
= (bool)(arg1
)->IsSizer();
34511 wxPyEndAllowThreads(__tstate
);
34512 if (PyErr_Occurred()) SWIG_fail
;
34515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34523 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34524 PyObject
*resultobj
;
34525 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34527 PyObject
* obj0
= 0 ;
34528 char *kwnames
[] = {
34529 (char *) "self", NULL
34532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34537 result
= (bool)(arg1
)->IsSpacer();
34539 wxPyEndAllowThreads(__tstate
);
34540 if (PyErr_Occurred()) SWIG_fail
;
34543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34551 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34552 PyObject
*resultobj
;
34553 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34555 PyObject
* obj0
= 0 ;
34556 PyObject
* obj1
= 0 ;
34557 char *kwnames
[] = {
34558 (char *) "self",(char *) "proportion", NULL
34561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34564 arg2
= (int) SWIG_AsInt(obj1
);
34565 if (PyErr_Occurred()) SWIG_fail
;
34567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34568 (arg1
)->SetProportion(arg2
);
34570 wxPyEndAllowThreads(__tstate
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34573 Py_INCREF(Py_None
); resultobj
= Py_None
;
34580 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34581 PyObject
*resultobj
;
34582 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34584 PyObject
* obj0
= 0 ;
34585 char *kwnames
[] = {
34586 (char *) "self", NULL
34589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34594 result
= (int)(arg1
)->GetProportion();
34596 wxPyEndAllowThreads(__tstate
);
34597 if (PyErr_Occurred()) SWIG_fail
;
34599 resultobj
= SWIG_FromInt((int)result
);
34606 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34607 PyObject
*resultobj
;
34608 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34610 PyObject
* obj0
= 0 ;
34611 PyObject
* obj1
= 0 ;
34612 char *kwnames
[] = {
34613 (char *) "self",(char *) "flag", NULL
34616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34619 arg2
= (int) SWIG_AsInt(obj1
);
34620 if (PyErr_Occurred()) SWIG_fail
;
34622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34623 (arg1
)->SetFlag(arg2
);
34625 wxPyEndAllowThreads(__tstate
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34628 Py_INCREF(Py_None
); resultobj
= Py_None
;
34635 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34636 PyObject
*resultobj
;
34637 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34639 PyObject
* obj0
= 0 ;
34640 char *kwnames
[] = {
34641 (char *) "self", NULL
34644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34649 result
= (int)(arg1
)->GetFlag();
34651 wxPyEndAllowThreads(__tstate
);
34652 if (PyErr_Occurred()) SWIG_fail
;
34654 resultobj
= SWIG_FromInt((int)result
);
34661 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34662 PyObject
*resultobj
;
34663 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34665 PyObject
* obj0
= 0 ;
34666 PyObject
* obj1
= 0 ;
34667 char *kwnames
[] = {
34668 (char *) "self",(char *) "border", NULL
34671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34674 arg2
= (int) SWIG_AsInt(obj1
);
34675 if (PyErr_Occurred()) SWIG_fail
;
34677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34678 (arg1
)->SetBorder(arg2
);
34680 wxPyEndAllowThreads(__tstate
);
34681 if (PyErr_Occurred()) SWIG_fail
;
34683 Py_INCREF(Py_None
); resultobj
= Py_None
;
34690 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34691 PyObject
*resultobj
;
34692 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34694 PyObject
* obj0
= 0 ;
34695 char *kwnames
[] = {
34696 (char *) "self", NULL
34699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34704 result
= (int)(arg1
)->GetBorder();
34706 wxPyEndAllowThreads(__tstate
);
34707 if (PyErr_Occurred()) SWIG_fail
;
34709 resultobj
= SWIG_FromInt((int)result
);
34716 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34717 PyObject
*resultobj
;
34718 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34720 PyObject
* obj0
= 0 ;
34721 char *kwnames
[] = {
34722 (char *) "self", NULL
34725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34730 result
= (wxWindow
*)(arg1
)->GetWindow();
34732 wxPyEndAllowThreads(__tstate
);
34733 if (PyErr_Occurred()) SWIG_fail
;
34736 resultobj
= wxPyMake_wxObject(result
);
34744 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34745 PyObject
*resultobj
;
34746 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34747 wxWindow
*arg2
= (wxWindow
*) 0 ;
34748 PyObject
* obj0
= 0 ;
34749 PyObject
* obj1
= 0 ;
34750 char *kwnames
[] = {
34751 (char *) "self",(char *) "window", NULL
34754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34761 (arg1
)->SetWindow(arg2
);
34763 wxPyEndAllowThreads(__tstate
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34766 Py_INCREF(Py_None
); resultobj
= Py_None
;
34773 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34774 PyObject
*resultobj
;
34775 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34777 PyObject
* obj0
= 0 ;
34778 char *kwnames
[] = {
34779 (char *) "self", NULL
34782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34787 result
= (wxSizer
*)(arg1
)->GetSizer();
34789 wxPyEndAllowThreads(__tstate
);
34790 if (PyErr_Occurred()) SWIG_fail
;
34793 resultobj
= wxPyMake_wxSizer(result
);
34801 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34802 PyObject
*resultobj
;
34803 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34804 wxSizer
*arg2
= (wxSizer
*) 0 ;
34805 PyObject
* obj0
= 0 ;
34806 PyObject
* obj1
= 0 ;
34807 char *kwnames
[] = {
34808 (char *) "self",(char *) "sizer", NULL
34811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34818 (arg1
)->SetSizer(arg2
);
34820 wxPyEndAllowThreads(__tstate
);
34821 if (PyErr_Occurred()) SWIG_fail
;
34823 Py_INCREF(Py_None
); resultobj
= Py_None
;
34830 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34831 PyObject
*resultobj
;
34832 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34834 PyObject
* obj0
= 0 ;
34835 char *kwnames
[] = {
34836 (char *) "self", NULL
34839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34845 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34846 result
= (wxSize
*) &_result_ref
;
34849 wxPyEndAllowThreads(__tstate
);
34850 if (PyErr_Occurred()) SWIG_fail
;
34852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34859 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34860 PyObject
*resultobj
;
34861 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34864 PyObject
* obj0
= 0 ;
34865 PyObject
* obj1
= 0 ;
34866 char *kwnames
[] = {
34867 (char *) "self",(char *) "size", NULL
34870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34875 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34879 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34881 wxPyEndAllowThreads(__tstate
);
34882 if (PyErr_Occurred()) SWIG_fail
;
34884 Py_INCREF(Py_None
); resultobj
= Py_None
;
34891 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34892 PyObject
*resultobj
;
34893 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34895 PyObject
* obj0
= 0 ;
34896 PyObject
* obj1
= 0 ;
34897 char *kwnames
[] = {
34898 (char *) "self",(char *) "show", NULL
34901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34904 arg2
= (bool) SWIG_AsBool(obj1
);
34905 if (PyErr_Occurred()) SWIG_fail
;
34907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34908 (arg1
)->Show(arg2
);
34910 wxPyEndAllowThreads(__tstate
);
34911 if (PyErr_Occurred()) SWIG_fail
;
34913 Py_INCREF(Py_None
); resultobj
= Py_None
;
34920 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34921 PyObject
*resultobj
;
34922 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34924 PyObject
* obj0
= 0 ;
34925 char *kwnames
[] = {
34926 (char *) "self", NULL
34929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34934 result
= (bool)(arg1
)->IsShown();
34936 wxPyEndAllowThreads(__tstate
);
34937 if (PyErr_Occurred()) SWIG_fail
;
34940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34948 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34949 PyObject
*resultobj
;
34950 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34952 PyObject
* obj0
= 0 ;
34953 char *kwnames
[] = {
34954 (char *) "self", NULL
34957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34962 result
= (arg1
)->GetPosition();
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34968 wxPoint
* resultptr
;
34969 resultptr
= new wxPoint((wxPoint
&) result
);
34970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34978 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34979 PyObject
*resultobj
;
34980 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34982 PyObject
* obj0
= 0 ;
34983 char *kwnames
[] = {
34984 (char *) "self", NULL
34987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34992 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34994 wxPyEndAllowThreads(__tstate
);
34995 if (PyErr_Occurred()) SWIG_fail
;
34997 resultobj
= result
;
35004 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35007 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35009 return Py_BuildValue((char *)"");
35011 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35012 PyObject
*resultobj
;
35013 wxSizer
*arg1
= (wxSizer
*) 0 ;
35014 PyObject
*arg2
= (PyObject
*) 0 ;
35015 PyObject
* obj0
= 0 ;
35016 PyObject
* obj1
= 0 ;
35017 char *kwnames
[] = {
35018 (char *) "self",(char *) "_self", NULL
35021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35027 wxSizer__setOORInfo(arg1
,arg2
);
35029 wxPyEndAllowThreads(__tstate
);
35030 if (PyErr_Occurred()) SWIG_fail
;
35032 Py_INCREF(Py_None
); resultobj
= Py_None
;
35039 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35040 PyObject
*resultobj
;
35041 wxSizer
*arg1
= (wxSizer
*) 0 ;
35042 PyObject
*arg2
= (PyObject
*) 0 ;
35043 int arg3
= (int) 0 ;
35044 int arg4
= (int) 0 ;
35045 int arg5
= (int) 0 ;
35046 PyObject
*arg6
= (PyObject
*) NULL
;
35047 PyObject
* obj0
= 0 ;
35048 PyObject
* obj1
= 0 ;
35049 PyObject
* obj2
= 0 ;
35050 PyObject
* obj3
= 0 ;
35051 PyObject
* obj4
= 0 ;
35052 PyObject
* obj5
= 0 ;
35053 char *kwnames
[] = {
35054 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35062 arg3
= (int) SWIG_AsInt(obj2
);
35063 if (PyErr_Occurred()) SWIG_fail
;
35066 arg4
= (int) SWIG_AsInt(obj3
);
35067 if (PyErr_Occurred()) SWIG_fail
;
35070 arg5
= (int) SWIG_AsInt(obj4
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35078 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35080 wxPyEndAllowThreads(__tstate
);
35081 if (PyErr_Occurred()) SWIG_fail
;
35083 Py_INCREF(Py_None
); resultobj
= Py_None
;
35090 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35091 PyObject
*resultobj
;
35092 wxSizer
*arg1
= (wxSizer
*) 0 ;
35094 PyObject
*arg3
= (PyObject
*) 0 ;
35095 int arg4
= (int) 0 ;
35096 int arg5
= (int) 0 ;
35097 int arg6
= (int) 0 ;
35098 PyObject
*arg7
= (PyObject
*) NULL
;
35099 PyObject
* obj0
= 0 ;
35100 PyObject
* obj1
= 0 ;
35101 PyObject
* obj2
= 0 ;
35102 PyObject
* obj3
= 0 ;
35103 PyObject
* obj4
= 0 ;
35104 PyObject
* obj5
= 0 ;
35105 PyObject
* obj6
= 0 ;
35106 char *kwnames
[] = {
35107 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35113 arg2
= (int) SWIG_AsInt(obj1
);
35114 if (PyErr_Occurred()) SWIG_fail
;
35117 arg4
= (int) SWIG_AsInt(obj3
);
35118 if (PyErr_Occurred()) SWIG_fail
;
35121 arg5
= (int) SWIG_AsInt(obj4
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35125 arg6
= (int) SWIG_AsInt(obj5
);
35126 if (PyErr_Occurred()) SWIG_fail
;
35132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35133 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35135 wxPyEndAllowThreads(__tstate
);
35136 if (PyErr_Occurred()) SWIG_fail
;
35138 Py_INCREF(Py_None
); resultobj
= Py_None
;
35145 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35146 PyObject
*resultobj
;
35147 wxSizer
*arg1
= (wxSizer
*) 0 ;
35148 PyObject
*arg2
= (PyObject
*) 0 ;
35149 int arg3
= (int) 0 ;
35150 int arg4
= (int) 0 ;
35151 int arg5
= (int) 0 ;
35152 PyObject
*arg6
= (PyObject
*) NULL
;
35153 PyObject
* obj0
= 0 ;
35154 PyObject
* obj1
= 0 ;
35155 PyObject
* obj2
= 0 ;
35156 PyObject
* obj3
= 0 ;
35157 PyObject
* obj4
= 0 ;
35158 PyObject
* obj5
= 0 ;
35159 char *kwnames
[] = {
35160 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35168 arg3
= (int) SWIG_AsInt(obj2
);
35169 if (PyErr_Occurred()) SWIG_fail
;
35172 arg4
= (int) SWIG_AsInt(obj3
);
35173 if (PyErr_Occurred()) SWIG_fail
;
35176 arg5
= (int) SWIG_AsInt(obj4
);
35177 if (PyErr_Occurred()) SWIG_fail
;
35183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35184 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35186 wxPyEndAllowThreads(__tstate
);
35187 if (PyErr_Occurred()) SWIG_fail
;
35189 Py_INCREF(Py_None
); resultobj
= Py_None
;
35196 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35197 PyObject
*resultobj
;
35198 wxSizer
*arg1
= (wxSizer
*) 0 ;
35199 PyObject
*arg2
= (PyObject
*) 0 ;
35201 PyObject
* obj0
= 0 ;
35202 PyObject
* obj1
= 0 ;
35203 char *kwnames
[] = {
35204 (char *) "self",(char *) "item", NULL
35207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35213 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35215 wxPyEndAllowThreads(__tstate
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35227 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35228 PyObject
*resultobj
;
35229 wxSizer
*arg1
= (wxSizer
*) 0 ;
35230 PyObject
*arg2
= (PyObject
*) 0 ;
35232 PyObject
* obj0
= 0 ;
35233 PyObject
* obj1
= 0 ;
35234 char *kwnames
[] = {
35235 (char *) "self",(char *) "item", NULL
35238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35244 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35246 wxPyEndAllowThreads(__tstate
);
35247 if (PyErr_Occurred()) SWIG_fail
;
35250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35258 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35259 PyObject
*resultobj
;
35260 wxSizer
*arg1
= (wxSizer
*) 0 ;
35261 PyObject
*arg2
= (PyObject
*) 0 ;
35264 PyObject
* obj0
= 0 ;
35265 PyObject
* obj1
= 0 ;
35266 PyObject
* obj2
= 0 ;
35267 char *kwnames
[] = {
35268 (char *) "self",(char *) "item",(char *) "size", NULL
35271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35277 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35281 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35283 wxPyEndAllowThreads(__tstate
);
35284 if (PyErr_Occurred()) SWIG_fail
;
35286 Py_INCREF(Py_None
); resultobj
= Py_None
;
35293 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35294 PyObject
*resultobj
;
35295 wxSizer
*arg1
= (wxSizer
*) 0 ;
35296 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35297 PyObject
* obj0
= 0 ;
35298 PyObject
* obj1
= 0 ;
35299 char *kwnames
[] = {
35300 (char *) "self",(char *) "item", NULL
35303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 wxPyEndAllowThreads(__tstate
);
35313 if (PyErr_Occurred()) SWIG_fail
;
35315 Py_INCREF(Py_None
); resultobj
= Py_None
;
35322 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35323 PyObject
*resultobj
;
35324 wxSizer
*arg1
= (wxSizer
*) 0 ;
35326 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35327 PyObject
* obj0
= 0 ;
35328 PyObject
* obj1
= 0 ;
35329 PyObject
* obj2
= 0 ;
35330 char *kwnames
[] = {
35331 (char *) "self",(char *) "index",(char *) "item", NULL
35334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35337 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35338 if (PyErr_Occurred()) SWIG_fail
;
35339 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35343 (arg1
)->Insert(arg2
,arg3
);
35345 wxPyEndAllowThreads(__tstate
);
35346 if (PyErr_Occurred()) SWIG_fail
;
35348 Py_INCREF(Py_None
); resultobj
= Py_None
;
35355 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35356 PyObject
*resultobj
;
35357 wxSizer
*arg1
= (wxSizer
*) 0 ;
35358 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35359 PyObject
* obj0
= 0 ;
35360 PyObject
* obj1
= 0 ;
35361 char *kwnames
[] = {
35362 (char *) "self",(char *) "item", NULL
35365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35372 (arg1
)->Prepend(arg2
);
35374 wxPyEndAllowThreads(__tstate
);
35375 if (PyErr_Occurred()) SWIG_fail
;
35377 Py_INCREF(Py_None
); resultobj
= Py_None
;
35384 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35385 PyObject
*resultobj
;
35386 wxSizer
*arg1
= (wxSizer
*) 0 ;
35391 PyObject
* obj0
= 0 ;
35392 PyObject
* obj1
= 0 ;
35393 PyObject
* obj2
= 0 ;
35394 PyObject
* obj3
= 0 ;
35395 PyObject
* obj4
= 0 ;
35396 char *kwnames
[] = {
35397 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35403 arg2
= (int) SWIG_AsInt(obj1
);
35404 if (PyErr_Occurred()) SWIG_fail
;
35405 arg3
= (int) SWIG_AsInt(obj2
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35407 arg4
= (int) SWIG_AsInt(obj3
);
35408 if (PyErr_Occurred()) SWIG_fail
;
35409 arg5
= (int) SWIG_AsInt(obj4
);
35410 if (PyErr_Occurred()) SWIG_fail
;
35412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35413 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35415 wxPyEndAllowThreads(__tstate
);
35416 if (PyErr_Occurred()) SWIG_fail
;
35418 Py_INCREF(Py_None
); resultobj
= Py_None
;
35425 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35426 PyObject
*resultobj
;
35427 wxSizer
*arg1
= (wxSizer
*) 0 ;
35430 PyObject
* obj0
= 0 ;
35431 PyObject
* obj1
= 0 ;
35432 char *kwnames
[] = {
35433 (char *) "self",(char *) "size", NULL
35436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35441 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35445 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35447 wxPyEndAllowThreads(__tstate
);
35448 if (PyErr_Occurred()) SWIG_fail
;
35450 Py_INCREF(Py_None
); resultobj
= Py_None
;
35457 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35458 PyObject
*resultobj
;
35459 wxSizer
*arg1
= (wxSizer
*) 0 ;
35461 PyObject
* obj0
= 0 ;
35462 char *kwnames
[] = {
35463 (char *) "self", NULL
35466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35471 result
= (arg1
)->GetSize();
35473 wxPyEndAllowThreads(__tstate
);
35474 if (PyErr_Occurred()) SWIG_fail
;
35477 wxSize
* resultptr
;
35478 resultptr
= new wxSize((wxSize
&) result
);
35479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35487 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35488 PyObject
*resultobj
;
35489 wxSizer
*arg1
= (wxSizer
*) 0 ;
35491 PyObject
* obj0
= 0 ;
35492 char *kwnames
[] = {
35493 (char *) "self", NULL
35496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35501 result
= (arg1
)->GetPosition();
35503 wxPyEndAllowThreads(__tstate
);
35504 if (PyErr_Occurred()) SWIG_fail
;
35507 wxPoint
* resultptr
;
35508 resultptr
= new wxPoint((wxPoint
&) result
);
35509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35517 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35518 PyObject
*resultobj
;
35519 wxSizer
*arg1
= (wxSizer
*) 0 ;
35521 PyObject
* obj0
= 0 ;
35522 char *kwnames
[] = {
35523 (char *) "self", NULL
35526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35531 result
= (arg1
)->GetMinSize();
35533 wxPyEndAllowThreads(__tstate
);
35534 if (PyErr_Occurred()) SWIG_fail
;
35537 wxSize
* resultptr
;
35538 resultptr
= new wxSize((wxSize
&) result
);
35539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35547 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35548 PyObject
*resultobj
;
35549 wxSizer
*arg1
= (wxSizer
*) 0 ;
35550 PyObject
* obj0
= 0 ;
35551 char *kwnames
[] = {
35552 (char *) "self", NULL
35555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35560 (arg1
)->RecalcSizes();
35562 wxPyEndAllowThreads(__tstate
);
35563 if (PyErr_Occurred()) SWIG_fail
;
35565 Py_INCREF(Py_None
); resultobj
= Py_None
;
35572 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35573 PyObject
*resultobj
;
35574 wxSizer
*arg1
= (wxSizer
*) 0 ;
35576 PyObject
* obj0
= 0 ;
35577 char *kwnames
[] = {
35578 (char *) "self", NULL
35581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35586 result
= (arg1
)->CalcMin();
35588 wxPyEndAllowThreads(__tstate
);
35589 if (PyErr_Occurred()) SWIG_fail
;
35592 wxSize
* resultptr
;
35593 resultptr
= new wxSize((wxSize
&) result
);
35594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35602 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35603 PyObject
*resultobj
;
35604 wxSizer
*arg1
= (wxSizer
*) 0 ;
35605 PyObject
* obj0
= 0 ;
35606 char *kwnames
[] = {
35607 (char *) "self", NULL
35610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35617 wxPyEndAllowThreads(__tstate
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35620 Py_INCREF(Py_None
); resultobj
= Py_None
;
35627 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35628 PyObject
*resultobj
;
35629 wxSizer
*arg1
= (wxSizer
*) 0 ;
35630 wxWindow
*arg2
= (wxWindow
*) 0 ;
35632 PyObject
* obj0
= 0 ;
35633 PyObject
* obj1
= 0 ;
35634 char *kwnames
[] = {
35635 (char *) "self",(char *) "window", NULL
35638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35645 result
= (arg1
)->Fit(arg2
);
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
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35662 PyObject
*resultobj
;
35663 wxSizer
*arg1
= (wxSizer
*) 0 ;
35664 wxWindow
*arg2
= (wxWindow
*) 0 ;
35665 PyObject
* obj0
= 0 ;
35666 PyObject
* obj1
= 0 ;
35667 char *kwnames
[] = {
35668 (char *) "self",(char *) "window", NULL
35671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35678 (arg1
)->FitInside(arg2
);
35680 wxPyEndAllowThreads(__tstate
);
35681 if (PyErr_Occurred()) SWIG_fail
;
35683 Py_INCREF(Py_None
); resultobj
= Py_None
;
35690 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35691 PyObject
*resultobj
;
35692 wxSizer
*arg1
= (wxSizer
*) 0 ;
35693 wxWindow
*arg2
= (wxWindow
*) 0 ;
35694 PyObject
* obj0
= 0 ;
35695 PyObject
* obj1
= 0 ;
35696 char *kwnames
[] = {
35697 (char *) "self",(char *) "window", NULL
35700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35707 (arg1
)->SetSizeHints(arg2
);
35709 wxPyEndAllowThreads(__tstate
);
35710 if (PyErr_Occurred()) SWIG_fail
;
35712 Py_INCREF(Py_None
); resultobj
= Py_None
;
35719 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35720 PyObject
*resultobj
;
35721 wxSizer
*arg1
= (wxSizer
*) 0 ;
35722 wxWindow
*arg2
= (wxWindow
*) 0 ;
35723 PyObject
* obj0
= 0 ;
35724 PyObject
* obj1
= 0 ;
35725 char *kwnames
[] = {
35726 (char *) "self",(char *) "window", NULL
35729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35736 (arg1
)->SetVirtualSizeHints(arg2
);
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35741 Py_INCREF(Py_None
); resultobj
= Py_None
;
35748 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35749 PyObject
*resultobj
;
35750 wxSizer
*arg1
= (wxSizer
*) 0 ;
35751 bool arg2
= (bool) False
;
35752 PyObject
* obj0
= 0 ;
35753 PyObject
* obj1
= 0 ;
35754 char *kwnames
[] = {
35755 (char *) "self",(char *) "delete_windows", NULL
35758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35762 arg2
= (bool) SWIG_AsBool(obj1
);
35763 if (PyErr_Occurred()) SWIG_fail
;
35766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35767 (arg1
)->Clear(arg2
);
35769 wxPyEndAllowThreads(__tstate
);
35770 if (PyErr_Occurred()) SWIG_fail
;
35772 Py_INCREF(Py_None
); resultobj
= Py_None
;
35779 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35780 PyObject
*resultobj
;
35781 wxSizer
*arg1
= (wxSizer
*) 0 ;
35782 PyObject
* obj0
= 0 ;
35783 char *kwnames
[] = {
35784 (char *) "self", NULL
35787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35792 (arg1
)->DeleteWindows();
35794 wxPyEndAllowThreads(__tstate
);
35795 if (PyErr_Occurred()) SWIG_fail
;
35797 Py_INCREF(Py_None
); resultobj
= Py_None
;
35804 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35805 PyObject
*resultobj
;
35806 wxSizer
*arg1
= (wxSizer
*) 0 ;
35808 PyObject
* obj0
= 0 ;
35809 char *kwnames
[] = {
35810 (char *) "self", NULL
35813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35818 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35820 wxPyEndAllowThreads(__tstate
);
35821 if (PyErr_Occurred()) SWIG_fail
;
35823 resultobj
= result
;
35830 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35831 PyObject
*resultobj
;
35832 wxSizer
*arg1
= (wxSizer
*) 0 ;
35833 PyObject
*arg2
= (PyObject
*) 0 ;
35834 bool arg3
= (bool) True
;
35835 PyObject
* obj0
= 0 ;
35836 PyObject
* obj1
= 0 ;
35837 PyObject
* obj2
= 0 ;
35838 char *kwnames
[] = {
35839 (char *) "self",(char *) "item",(char *) "show", NULL
35842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35847 arg3
= (bool) SWIG_AsBool(obj2
);
35848 if (PyErr_Occurred()) SWIG_fail
;
35851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35852 wxSizer_Show(arg1
,arg2
,arg3
);
35854 wxPyEndAllowThreads(__tstate
);
35855 if (PyErr_Occurred()) SWIG_fail
;
35857 Py_INCREF(Py_None
); resultobj
= Py_None
;
35864 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35865 PyObject
*resultobj
;
35866 wxSizer
*arg1
= (wxSizer
*) 0 ;
35867 PyObject
*arg2
= (PyObject
*) 0 ;
35868 PyObject
* obj0
= 0 ;
35869 PyObject
* obj1
= 0 ;
35870 char *kwnames
[] = {
35871 (char *) "self",(char *) "item", NULL
35874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35880 wxSizer_Hide(arg1
,arg2
);
35882 wxPyEndAllowThreads(__tstate
);
35883 if (PyErr_Occurred()) SWIG_fail
;
35885 Py_INCREF(Py_None
); resultobj
= Py_None
;
35892 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35893 PyObject
*resultobj
;
35894 wxSizer
*arg1
= (wxSizer
*) 0 ;
35895 PyObject
*arg2
= (PyObject
*) 0 ;
35897 PyObject
* obj0
= 0 ;
35898 PyObject
* obj1
= 0 ;
35899 char *kwnames
[] = {
35900 (char *) "self",(char *) "item", NULL
35903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35909 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35911 wxPyEndAllowThreads(__tstate
);
35912 if (PyErr_Occurred()) SWIG_fail
;
35915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35923 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35924 PyObject
*resultobj
;
35925 wxSizer
*arg1
= (wxSizer
*) 0 ;
35927 PyObject
* obj0
= 0 ;
35928 PyObject
* obj1
= 0 ;
35929 char *kwnames
[] = {
35930 (char *) "self",(char *) "show", NULL
35933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35936 arg2
= (bool) SWIG_AsBool(obj1
);
35937 if (PyErr_Occurred()) SWIG_fail
;
35939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35940 (arg1
)->ShowItems(arg2
);
35942 wxPyEndAllowThreads(__tstate
);
35943 if (PyErr_Occurred()) SWIG_fail
;
35945 Py_INCREF(Py_None
); resultobj
= Py_None
;
35952 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35955 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35957 return Py_BuildValue((char *)"");
35959 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35960 PyObject
*resultobj
;
35962 char *kwnames
[] = {
35966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35969 result
= (wxPySizer
*)new wxPySizer();
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35981 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35982 PyObject
*resultobj
;
35983 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35984 PyObject
*arg2
= (PyObject
*) 0 ;
35985 PyObject
*arg3
= (PyObject
*) 0 ;
35986 PyObject
* obj0
= 0 ;
35987 PyObject
* obj1
= 0 ;
35988 PyObject
* obj2
= 0 ;
35989 char *kwnames
[] = {
35990 (char *) "self",(char *) "self",(char *) "_class", NULL
35993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36000 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36002 wxPyEndAllowThreads(__tstate
);
36003 if (PyErr_Occurred()) SWIG_fail
;
36005 Py_INCREF(Py_None
); resultobj
= Py_None
;
36012 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
36014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36015 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36017 return Py_BuildValue((char *)"");
36019 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36020 PyObject
*resultobj
;
36021 int arg1
= (int) wxHORIZONTAL
;
36022 wxBoxSizer
*result
;
36023 PyObject
* obj0
= 0 ;
36024 char *kwnames
[] = {
36025 (char *) "orient", NULL
36028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36030 arg1
= (int) SWIG_AsInt(obj0
);
36031 if (PyErr_Occurred()) SWIG_fail
;
36034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36035 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36037 wxPyEndAllowThreads(__tstate
);
36038 if (PyErr_Occurred()) SWIG_fail
;
36040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36047 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36048 PyObject
*resultobj
;
36049 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36051 PyObject
* obj0
= 0 ;
36052 char *kwnames
[] = {
36053 (char *) "self", NULL
36056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36061 result
= (int)(arg1
)->GetOrientation();
36063 wxPyEndAllowThreads(__tstate
);
36064 if (PyErr_Occurred()) SWIG_fail
;
36066 resultobj
= SWIG_FromInt((int)result
);
36073 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36074 PyObject
*resultobj
;
36075 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36077 PyObject
* obj0
= 0 ;
36078 PyObject
* obj1
= 0 ;
36079 char *kwnames
[] = {
36080 (char *) "self",(char *) "orient", NULL
36083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36086 arg2
= (int) SWIG_AsInt(obj1
);
36087 if (PyErr_Occurred()) SWIG_fail
;
36089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36090 (arg1
)->SetOrientation(arg2
);
36092 wxPyEndAllowThreads(__tstate
);
36093 if (PyErr_Occurred()) SWIG_fail
;
36095 Py_INCREF(Py_None
); resultobj
= Py_None
;
36102 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36103 PyObject
*resultobj
;
36104 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36105 PyObject
* obj0
= 0 ;
36106 char *kwnames
[] = {
36107 (char *) "self", NULL
36110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36115 (arg1
)->RecalcSizes();
36117 wxPyEndAllowThreads(__tstate
);
36118 if (PyErr_Occurred()) SWIG_fail
;
36120 Py_INCREF(Py_None
); resultobj
= Py_None
;
36127 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36128 PyObject
*resultobj
;
36129 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36131 PyObject
* obj0
= 0 ;
36132 char *kwnames
[] = {
36133 (char *) "self", NULL
36136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36141 result
= (arg1
)->CalcMin();
36143 wxPyEndAllowThreads(__tstate
);
36144 if (PyErr_Occurred()) SWIG_fail
;
36147 wxSize
* resultptr
;
36148 resultptr
= new wxSize((wxSize
&) result
);
36149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36157 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36160 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36162 return Py_BuildValue((char *)"");
36164 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36165 PyObject
*resultobj
;
36166 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36167 int arg2
= (int) wxHORIZONTAL
;
36168 wxStaticBoxSizer
*result
;
36169 PyObject
* obj0
= 0 ;
36170 PyObject
* obj1
= 0 ;
36171 char *kwnames
[] = {
36172 (char *) "box",(char *) "orient", NULL
36175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36179 arg2
= (int) SWIG_AsInt(obj1
);
36180 if (PyErr_Occurred()) SWIG_fail
;
36183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36184 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36186 wxPyEndAllowThreads(__tstate
);
36187 if (PyErr_Occurred()) SWIG_fail
;
36189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36196 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36197 PyObject
*resultobj
;
36198 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36199 wxStaticBox
*result
;
36200 PyObject
* obj0
= 0 ;
36201 char *kwnames
[] = {
36202 (char *) "self", NULL
36205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36210 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36212 wxPyEndAllowThreads(__tstate
);
36213 if (PyErr_Occurred()) SWIG_fail
;
36216 resultobj
= wxPyMake_wxObject(result
);
36224 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36225 PyObject
*resultobj
;
36226 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36227 PyObject
* obj0
= 0 ;
36228 char *kwnames
[] = {
36229 (char *) "self", NULL
36232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36237 (arg1
)->RecalcSizes();
36239 wxPyEndAllowThreads(__tstate
);
36240 if (PyErr_Occurred()) SWIG_fail
;
36242 Py_INCREF(Py_None
); resultobj
= Py_None
;
36249 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36250 PyObject
*resultobj
;
36251 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36253 PyObject
* obj0
= 0 ;
36254 char *kwnames
[] = {
36255 (char *) "self", NULL
36258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36263 result
= (arg1
)->CalcMin();
36265 wxPyEndAllowThreads(__tstate
);
36266 if (PyErr_Occurred()) SWIG_fail
;
36269 wxSize
* resultptr
;
36270 resultptr
= new wxSize((wxSize
&) result
);
36271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36279 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36282 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36284 return Py_BuildValue((char *)"");
36286 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36287 PyObject
*resultobj
;
36288 int arg1
= (int) 1 ;
36289 int arg2
= (int) 0 ;
36290 int arg3
= (int) 0 ;
36291 int arg4
= (int) 0 ;
36292 wxGridSizer
*result
;
36293 PyObject
* obj0
= 0 ;
36294 PyObject
* obj1
= 0 ;
36295 PyObject
* obj2
= 0 ;
36296 PyObject
* obj3
= 0 ;
36297 char *kwnames
[] = {
36298 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36303 arg1
= (int) SWIG_AsInt(obj0
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36307 arg2
= (int) SWIG_AsInt(obj1
);
36308 if (PyErr_Occurred()) SWIG_fail
;
36311 arg3
= (int) SWIG_AsInt(obj2
);
36312 if (PyErr_Occurred()) SWIG_fail
;
36315 arg4
= (int) SWIG_AsInt(obj3
);
36316 if (PyErr_Occurred()) SWIG_fail
;
36319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36320 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36322 wxPyEndAllowThreads(__tstate
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36332 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36333 PyObject
*resultobj
;
36334 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36335 PyObject
* obj0
= 0 ;
36336 char *kwnames
[] = {
36337 (char *) "self", NULL
36340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36345 (arg1
)->RecalcSizes();
36347 wxPyEndAllowThreads(__tstate
);
36348 if (PyErr_Occurred()) SWIG_fail
;
36350 Py_INCREF(Py_None
); resultobj
= Py_None
;
36357 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36358 PyObject
*resultobj
;
36359 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36361 PyObject
* obj0
= 0 ;
36362 char *kwnames
[] = {
36363 (char *) "self", NULL
36366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36371 result
= (arg1
)->CalcMin();
36373 wxPyEndAllowThreads(__tstate
);
36374 if (PyErr_Occurred()) SWIG_fail
;
36377 wxSize
* resultptr
;
36378 resultptr
= new wxSize((wxSize
&) result
);
36379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36387 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36388 PyObject
*resultobj
;
36389 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36391 PyObject
* obj0
= 0 ;
36392 PyObject
* obj1
= 0 ;
36393 char *kwnames
[] = {
36394 (char *) "self",(char *) "cols", NULL
36397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36400 arg2
= (int) SWIG_AsInt(obj1
);
36401 if (PyErr_Occurred()) SWIG_fail
;
36403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36404 (arg1
)->SetCols(arg2
);
36406 wxPyEndAllowThreads(__tstate
);
36407 if (PyErr_Occurred()) SWIG_fail
;
36409 Py_INCREF(Py_None
); resultobj
= Py_None
;
36416 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36417 PyObject
*resultobj
;
36418 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36420 PyObject
* obj0
= 0 ;
36421 PyObject
* obj1
= 0 ;
36422 char *kwnames
[] = {
36423 (char *) "self",(char *) "rows", NULL
36426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36429 arg2
= (int) SWIG_AsInt(obj1
);
36430 if (PyErr_Occurred()) SWIG_fail
;
36432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36433 (arg1
)->SetRows(arg2
);
36435 wxPyEndAllowThreads(__tstate
);
36436 if (PyErr_Occurred()) SWIG_fail
;
36438 Py_INCREF(Py_None
); resultobj
= Py_None
;
36445 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36446 PyObject
*resultobj
;
36447 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36449 PyObject
* obj0
= 0 ;
36450 PyObject
* obj1
= 0 ;
36451 char *kwnames
[] = {
36452 (char *) "self",(char *) "gap", NULL
36455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36458 arg2
= (int) SWIG_AsInt(obj1
);
36459 if (PyErr_Occurred()) SWIG_fail
;
36461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36462 (arg1
)->SetVGap(arg2
);
36464 wxPyEndAllowThreads(__tstate
);
36465 if (PyErr_Occurred()) SWIG_fail
;
36467 Py_INCREF(Py_None
); resultobj
= Py_None
;
36474 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36475 PyObject
*resultobj
;
36476 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36478 PyObject
* obj0
= 0 ;
36479 PyObject
* obj1
= 0 ;
36480 char *kwnames
[] = {
36481 (char *) "self",(char *) "gap", NULL
36484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36487 arg2
= (int) SWIG_AsInt(obj1
);
36488 if (PyErr_Occurred()) SWIG_fail
;
36490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36491 (arg1
)->SetHGap(arg2
);
36493 wxPyEndAllowThreads(__tstate
);
36494 if (PyErr_Occurred()) SWIG_fail
;
36496 Py_INCREF(Py_None
); resultobj
= Py_None
;
36503 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36504 PyObject
*resultobj
;
36505 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36507 PyObject
* obj0
= 0 ;
36508 char *kwnames
[] = {
36509 (char *) "self", NULL
36512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36517 result
= (int)(arg1
)->GetCols();
36519 wxPyEndAllowThreads(__tstate
);
36520 if (PyErr_Occurred()) SWIG_fail
;
36522 resultobj
= SWIG_FromInt((int)result
);
36529 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36530 PyObject
*resultobj
;
36531 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36533 PyObject
* obj0
= 0 ;
36534 char *kwnames
[] = {
36535 (char *) "self", NULL
36538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36543 result
= (int)(arg1
)->GetRows();
36545 wxPyEndAllowThreads(__tstate
);
36546 if (PyErr_Occurred()) SWIG_fail
;
36548 resultobj
= SWIG_FromInt((int)result
);
36555 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36556 PyObject
*resultobj
;
36557 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36559 PyObject
* obj0
= 0 ;
36560 char *kwnames
[] = {
36561 (char *) "self", NULL
36564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36569 result
= (int)(arg1
)->GetVGap();
36571 wxPyEndAllowThreads(__tstate
);
36572 if (PyErr_Occurred()) SWIG_fail
;
36574 resultobj
= SWIG_FromInt((int)result
);
36581 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36582 PyObject
*resultobj
;
36583 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36585 PyObject
* obj0
= 0 ;
36586 char *kwnames
[] = {
36587 (char *) "self", NULL
36590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36595 result
= (int)(arg1
)->GetHGap();
36597 wxPyEndAllowThreads(__tstate
);
36598 if (PyErr_Occurred()) SWIG_fail
;
36600 resultobj
= SWIG_FromInt((int)result
);
36607 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36610 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36612 return Py_BuildValue((char *)"");
36614 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36615 PyObject
*resultobj
;
36616 int arg1
= (int) 1 ;
36617 int arg2
= (int) 0 ;
36618 int arg3
= (int) 0 ;
36619 int arg4
= (int) 0 ;
36620 wxFlexGridSizer
*result
;
36621 PyObject
* obj0
= 0 ;
36622 PyObject
* obj1
= 0 ;
36623 PyObject
* obj2
= 0 ;
36624 PyObject
* obj3
= 0 ;
36625 char *kwnames
[] = {
36626 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36631 arg1
= (int) SWIG_AsInt(obj0
);
36632 if (PyErr_Occurred()) SWIG_fail
;
36635 arg2
= (int) SWIG_AsInt(obj1
);
36636 if (PyErr_Occurred()) SWIG_fail
;
36639 arg3
= (int) SWIG_AsInt(obj2
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36643 arg4
= (int) SWIG_AsInt(obj3
);
36644 if (PyErr_Occurred()) SWIG_fail
;
36647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36648 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36650 wxPyEndAllowThreads(__tstate
);
36651 if (PyErr_Occurred()) SWIG_fail
;
36653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36660 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36661 PyObject
*resultobj
;
36662 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36663 PyObject
* obj0
= 0 ;
36664 char *kwnames
[] = {
36665 (char *) "self", NULL
36668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36673 (arg1
)->RecalcSizes();
36675 wxPyEndAllowThreads(__tstate
);
36676 if (PyErr_Occurred()) SWIG_fail
;
36678 Py_INCREF(Py_None
); resultobj
= Py_None
;
36685 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36686 PyObject
*resultobj
;
36687 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36689 PyObject
* obj0
= 0 ;
36690 char *kwnames
[] = {
36691 (char *) "self", NULL
36694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36699 result
= (arg1
)->CalcMin();
36701 wxPyEndAllowThreads(__tstate
);
36702 if (PyErr_Occurred()) SWIG_fail
;
36705 wxSize
* resultptr
;
36706 resultptr
= new wxSize((wxSize
&) result
);
36707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36715 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36716 PyObject
*resultobj
;
36717 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36719 int arg3
= (int) 0 ;
36720 PyObject
* obj0
= 0 ;
36721 PyObject
* obj1
= 0 ;
36722 PyObject
* obj2
= 0 ;
36723 char *kwnames
[] = {
36724 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36730 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36731 if (PyErr_Occurred()) SWIG_fail
;
36733 arg3
= (int) SWIG_AsInt(obj2
);
36734 if (PyErr_Occurred()) SWIG_fail
;
36737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36738 (arg1
)->AddGrowableRow(arg2
,arg3
);
36740 wxPyEndAllowThreads(__tstate
);
36741 if (PyErr_Occurred()) SWIG_fail
;
36743 Py_INCREF(Py_None
); resultobj
= Py_None
;
36750 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36751 PyObject
*resultobj
;
36752 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36754 PyObject
* obj0
= 0 ;
36755 PyObject
* obj1
= 0 ;
36756 char *kwnames
[] = {
36757 (char *) "self",(char *) "idx", NULL
36760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36763 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36764 if (PyErr_Occurred()) SWIG_fail
;
36766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36767 (arg1
)->RemoveGrowableRow(arg2
);
36769 wxPyEndAllowThreads(__tstate
);
36770 if (PyErr_Occurred()) SWIG_fail
;
36772 Py_INCREF(Py_None
); resultobj
= Py_None
;
36779 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36780 PyObject
*resultobj
;
36781 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36783 int arg3
= (int) 0 ;
36784 PyObject
* obj0
= 0 ;
36785 PyObject
* obj1
= 0 ;
36786 PyObject
* obj2
= 0 ;
36787 char *kwnames
[] = {
36788 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36794 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36795 if (PyErr_Occurred()) SWIG_fail
;
36797 arg3
= (int) SWIG_AsInt(obj2
);
36798 if (PyErr_Occurred()) SWIG_fail
;
36801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36802 (arg1
)->AddGrowableCol(arg2
,arg3
);
36804 wxPyEndAllowThreads(__tstate
);
36805 if (PyErr_Occurred()) SWIG_fail
;
36807 Py_INCREF(Py_None
); resultobj
= Py_None
;
36814 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36815 PyObject
*resultobj
;
36816 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36818 PyObject
* obj0
= 0 ;
36819 PyObject
* obj1
= 0 ;
36820 char *kwnames
[] = {
36821 (char *) "self",(char *) "idx", NULL
36824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36827 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36828 if (PyErr_Occurred()) SWIG_fail
;
36830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36831 (arg1
)->RemoveGrowableCol(arg2
);
36833 wxPyEndAllowThreads(__tstate
);
36834 if (PyErr_Occurred()) SWIG_fail
;
36836 Py_INCREF(Py_None
); resultobj
= Py_None
;
36843 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36844 PyObject
*resultobj
;
36845 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36847 PyObject
* obj0
= 0 ;
36848 PyObject
* obj1
= 0 ;
36849 char *kwnames
[] = {
36850 (char *) "self",(char *) "direction", NULL
36853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36856 arg2
= (int) SWIG_AsInt(obj1
);
36857 if (PyErr_Occurred()) SWIG_fail
;
36859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36860 (arg1
)->SetFlexibleDirection(arg2
);
36862 wxPyEndAllowThreads(__tstate
);
36863 if (PyErr_Occurred()) SWIG_fail
;
36865 Py_INCREF(Py_None
); resultobj
= Py_None
;
36872 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36873 PyObject
*resultobj
;
36874 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36876 PyObject
* obj0
= 0 ;
36877 char *kwnames
[] = {
36878 (char *) "self", NULL
36881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36886 result
= (int)(arg1
)->GetFlexibleDirection();
36888 wxPyEndAllowThreads(__tstate
);
36889 if (PyErr_Occurred()) SWIG_fail
;
36891 resultobj
= SWIG_FromInt((int)result
);
36898 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36899 PyObject
*resultobj
;
36900 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36902 PyObject
* obj0
= 0 ;
36903 PyObject
* obj1
= 0 ;
36904 char *kwnames
[] = {
36905 (char *) "self",(char *) "mode", NULL
36908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36911 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36912 if (PyErr_Occurred()) SWIG_fail
;
36914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36915 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36917 wxPyEndAllowThreads(__tstate
);
36918 if (PyErr_Occurred()) SWIG_fail
;
36920 Py_INCREF(Py_None
); resultobj
= Py_None
;
36927 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36928 PyObject
*resultobj
;
36929 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36931 PyObject
* obj0
= 0 ;
36932 char *kwnames
[] = {
36933 (char *) "self", NULL
36936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36941 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36943 wxPyEndAllowThreads(__tstate
);
36944 if (PyErr_Occurred()) SWIG_fail
;
36946 resultobj
= SWIG_FromInt((int)result
);
36953 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36954 PyObject
*resultobj
;
36955 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36956 wxArrayInt
*result
;
36957 PyObject
* obj0
= 0 ;
36958 char *kwnames
[] = {
36959 (char *) "self", NULL
36962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36968 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36969 result
= (wxArrayInt
*) &_result_ref
;
36972 wxPyEndAllowThreads(__tstate
);
36973 if (PyErr_Occurred()) SWIG_fail
;
36976 resultobj
= PyList_New(0);
36978 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36979 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36980 PyList_Append(resultobj
, val
);
36990 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36991 PyObject
*resultobj
;
36992 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36993 wxArrayInt
*result
;
36994 PyObject
* obj0
= 0 ;
36995 char *kwnames
[] = {
36996 (char *) "self", NULL
36999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37005 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37006 result
= (wxArrayInt
*) &_result_ref
;
37009 wxPyEndAllowThreads(__tstate
);
37010 if (PyErr_Occurred()) SWIG_fail
;
37013 resultobj
= PyList_New(0);
37015 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37016 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37017 PyList_Append(resultobj
, val
);
37027 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37030 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37032 return Py_BuildValue((char *)"");
37034 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37035 PyObject
*resultobj
;
37036 int arg1
= (int) 0 ;
37037 int arg2
= (int) 0 ;
37038 wxGBPosition
*result
;
37039 PyObject
* obj0
= 0 ;
37040 PyObject
* obj1
= 0 ;
37041 char *kwnames
[] = {
37042 (char *) "row",(char *) "col", NULL
37045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37047 arg1
= (int) SWIG_AsInt(obj0
);
37048 if (PyErr_Occurred()) SWIG_fail
;
37051 arg2
= (int) SWIG_AsInt(obj1
);
37052 if (PyErr_Occurred()) SWIG_fail
;
37055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37056 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37058 wxPyEndAllowThreads(__tstate
);
37059 if (PyErr_Occurred()) SWIG_fail
;
37061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37068 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37069 PyObject
*resultobj
;
37070 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37072 PyObject
* obj0
= 0 ;
37073 char *kwnames
[] = {
37074 (char *) "self", NULL
37077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37082 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37084 wxPyEndAllowThreads(__tstate
);
37085 if (PyErr_Occurred()) SWIG_fail
;
37087 resultobj
= SWIG_FromInt((int)result
);
37094 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37095 PyObject
*resultobj
;
37096 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37098 PyObject
* obj0
= 0 ;
37099 char *kwnames
[] = {
37100 (char *) "self", NULL
37103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37108 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37110 wxPyEndAllowThreads(__tstate
);
37111 if (PyErr_Occurred()) SWIG_fail
;
37113 resultobj
= SWIG_FromInt((int)result
);
37120 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37121 PyObject
*resultobj
;
37122 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37124 PyObject
* obj0
= 0 ;
37125 PyObject
* obj1
= 0 ;
37126 char *kwnames
[] = {
37127 (char *) "self",(char *) "row", NULL
37130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37133 arg2
= (int) SWIG_AsInt(obj1
);
37134 if (PyErr_Occurred()) SWIG_fail
;
37136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37137 (arg1
)->SetRow(arg2
);
37139 wxPyEndAllowThreads(__tstate
);
37140 if (PyErr_Occurred()) SWIG_fail
;
37142 Py_INCREF(Py_None
); resultobj
= Py_None
;
37149 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37150 PyObject
*resultobj
;
37151 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37153 PyObject
* obj0
= 0 ;
37154 PyObject
* obj1
= 0 ;
37155 char *kwnames
[] = {
37156 (char *) "self",(char *) "col", NULL
37159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37162 arg2
= (int) SWIG_AsInt(obj1
);
37163 if (PyErr_Occurred()) SWIG_fail
;
37165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37166 (arg1
)->SetCol(arg2
);
37168 wxPyEndAllowThreads(__tstate
);
37169 if (PyErr_Occurred()) SWIG_fail
;
37171 Py_INCREF(Py_None
); resultobj
= Py_None
;
37178 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37179 PyObject
*resultobj
;
37180 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37181 wxGBPosition
*arg2
= 0 ;
37183 wxGBPosition temp2
;
37184 PyObject
* obj0
= 0 ;
37185 PyObject
* obj1
= 0 ;
37186 char *kwnames
[] = {
37187 (char *) "self",(char *) "other", NULL
37190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37195 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37199 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37201 wxPyEndAllowThreads(__tstate
);
37202 if (PyErr_Occurred()) SWIG_fail
;
37205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37213 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37214 PyObject
*resultobj
;
37215 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37216 wxGBPosition
*arg2
= 0 ;
37218 wxGBPosition temp2
;
37219 PyObject
* obj0
= 0 ;
37220 PyObject
* obj1
= 0 ;
37221 char *kwnames
[] = {
37222 (char *) "self",(char *) "other", NULL
37225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37230 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37236 wxPyEndAllowThreads(__tstate
);
37237 if (PyErr_Occurred()) SWIG_fail
;
37240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37248 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37249 PyObject
*resultobj
;
37250 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37251 int arg2
= (int) 0 ;
37252 int arg3
= (int) 0 ;
37253 PyObject
* obj0
= 0 ;
37254 PyObject
* obj1
= 0 ;
37255 PyObject
* obj2
= 0 ;
37256 char *kwnames
[] = {
37257 (char *) "self",(char *) "row",(char *) "col", NULL
37260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37264 arg2
= (int) SWIG_AsInt(obj1
);
37265 if (PyErr_Occurred()) SWIG_fail
;
37268 arg3
= (int) SWIG_AsInt(obj2
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37273 wxGBPosition_Set(arg1
,arg2
,arg3
);
37275 wxPyEndAllowThreads(__tstate
);
37276 if (PyErr_Occurred()) SWIG_fail
;
37278 Py_INCREF(Py_None
); resultobj
= Py_None
;
37285 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37286 PyObject
*resultobj
;
37287 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37289 PyObject
* obj0
= 0 ;
37290 char *kwnames
[] = {
37291 (char *) "self", NULL
37294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37299 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37301 wxPyEndAllowThreads(__tstate
);
37302 if (PyErr_Occurred()) SWIG_fail
;
37304 resultobj
= result
;
37311 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37314 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37316 return Py_BuildValue((char *)"");
37318 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37319 PyObject
*resultobj
;
37320 int arg1
= (int) 1 ;
37321 int arg2
= (int) 1 ;
37323 PyObject
* obj0
= 0 ;
37324 PyObject
* obj1
= 0 ;
37325 char *kwnames
[] = {
37326 (char *) "rowspan",(char *) "colspan", NULL
37329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37331 arg1
= (int) SWIG_AsInt(obj0
);
37332 if (PyErr_Occurred()) SWIG_fail
;
37335 arg2
= (int) SWIG_AsInt(obj1
);
37336 if (PyErr_Occurred()) SWIG_fail
;
37339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37340 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37342 wxPyEndAllowThreads(__tstate
);
37343 if (PyErr_Occurred()) SWIG_fail
;
37345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37352 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37353 PyObject
*resultobj
;
37354 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37356 PyObject
* obj0
= 0 ;
37357 char *kwnames
[] = {
37358 (char *) "self", NULL
37361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37366 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37368 wxPyEndAllowThreads(__tstate
);
37369 if (PyErr_Occurred()) SWIG_fail
;
37371 resultobj
= SWIG_FromInt((int)result
);
37378 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37379 PyObject
*resultobj
;
37380 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37382 PyObject
* obj0
= 0 ;
37383 char *kwnames
[] = {
37384 (char *) "self", NULL
37387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37392 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37397 resultobj
= SWIG_FromInt((int)result
);
37404 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37405 PyObject
*resultobj
;
37406 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37408 PyObject
* obj0
= 0 ;
37409 PyObject
* obj1
= 0 ;
37410 char *kwnames
[] = {
37411 (char *) "self",(char *) "rowspan", NULL
37414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37417 arg2
= (int) SWIG_AsInt(obj1
);
37418 if (PyErr_Occurred()) SWIG_fail
;
37420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37421 (arg1
)->SetRowspan(arg2
);
37423 wxPyEndAllowThreads(__tstate
);
37424 if (PyErr_Occurred()) SWIG_fail
;
37426 Py_INCREF(Py_None
); resultobj
= Py_None
;
37433 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37434 PyObject
*resultobj
;
37435 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37437 PyObject
* obj0
= 0 ;
37438 PyObject
* obj1
= 0 ;
37439 char *kwnames
[] = {
37440 (char *) "self",(char *) "colspan", NULL
37443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37446 arg2
= (int) SWIG_AsInt(obj1
);
37447 if (PyErr_Occurred()) SWIG_fail
;
37449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37450 (arg1
)->SetColspan(arg2
);
37452 wxPyEndAllowThreads(__tstate
);
37453 if (PyErr_Occurred()) SWIG_fail
;
37455 Py_INCREF(Py_None
); resultobj
= Py_None
;
37462 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37463 PyObject
*resultobj
;
37464 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37465 wxGBSpan
*arg2
= 0 ;
37468 PyObject
* obj0
= 0 ;
37469 PyObject
* obj1
= 0 ;
37470 char *kwnames
[] = {
37471 (char *) "self",(char *) "other", NULL
37474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37479 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37483 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37485 wxPyEndAllowThreads(__tstate
);
37486 if (PyErr_Occurred()) SWIG_fail
;
37489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37497 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37498 PyObject
*resultobj
;
37499 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37500 wxGBSpan
*arg2
= 0 ;
37503 PyObject
* obj0
= 0 ;
37504 PyObject
* obj1
= 0 ;
37505 char *kwnames
[] = {
37506 (char *) "self",(char *) "other", NULL
37509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37514 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37518 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37520 wxPyEndAllowThreads(__tstate
);
37521 if (PyErr_Occurred()) SWIG_fail
;
37524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37532 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37533 PyObject
*resultobj
;
37534 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37535 int arg2
= (int) 1 ;
37536 int arg3
= (int) 1 ;
37537 PyObject
* obj0
= 0 ;
37538 PyObject
* obj1
= 0 ;
37539 PyObject
* obj2
= 0 ;
37540 char *kwnames
[] = {
37541 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37548 arg2
= (int) SWIG_AsInt(obj1
);
37549 if (PyErr_Occurred()) SWIG_fail
;
37552 arg3
= (int) SWIG_AsInt(obj2
);
37553 if (PyErr_Occurred()) SWIG_fail
;
37556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37557 wxGBSpan_Set(arg1
,arg2
,arg3
);
37559 wxPyEndAllowThreads(__tstate
);
37560 if (PyErr_Occurred()) SWIG_fail
;
37562 Py_INCREF(Py_None
); resultobj
= Py_None
;
37569 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37570 PyObject
*resultobj
;
37571 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37573 PyObject
* obj0
= 0 ;
37574 char *kwnames
[] = {
37575 (char *) "self", NULL
37578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37583 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37585 wxPyEndAllowThreads(__tstate
);
37586 if (PyErr_Occurred()) SWIG_fail
;
37588 resultobj
= result
;
37595 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37598 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37600 return Py_BuildValue((char *)"");
37602 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37603 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37608 static PyObject
*_wrap_DefaultSpan_get() {
37611 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37616 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37617 PyObject
*resultobj
;
37618 wxGBSizerItem
*result
;
37619 char *kwnames
[] = {
37623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37626 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37628 wxPyEndAllowThreads(__tstate
);
37629 if (PyErr_Occurred()) SWIG_fail
;
37631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37638 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37639 PyObject
*resultobj
;
37640 wxWindow
*arg1
= (wxWindow
*) 0 ;
37641 wxGBPosition
*arg2
= 0 ;
37642 wxGBSpan
*arg3
= 0 ;
37645 wxObject
*arg6
= (wxObject
*) 0 ;
37646 wxGBSizerItem
*result
;
37647 wxGBPosition temp2
;
37649 PyObject
* obj0
= 0 ;
37650 PyObject
* obj1
= 0 ;
37651 PyObject
* obj2
= 0 ;
37652 PyObject
* obj3
= 0 ;
37653 PyObject
* obj4
= 0 ;
37654 PyObject
* obj5
= 0 ;
37655 char *kwnames
[] = {
37656 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37664 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37668 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37670 arg4
= (int) SWIG_AsInt(obj3
);
37671 if (PyErr_Occurred()) SWIG_fail
;
37672 arg5
= (int) SWIG_AsInt(obj4
);
37673 if (PyErr_Occurred()) SWIG_fail
;
37674 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37678 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37680 wxPyEndAllowThreads(__tstate
);
37681 if (PyErr_Occurred()) SWIG_fail
;
37683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37690 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37691 PyObject
*resultobj
;
37692 wxSizer
*arg1
= (wxSizer
*) 0 ;
37693 wxGBPosition
*arg2
= 0 ;
37694 wxGBSpan
*arg3
= 0 ;
37697 wxObject
*arg6
= (wxObject
*) 0 ;
37698 wxGBSizerItem
*result
;
37699 wxGBPosition temp2
;
37701 PyObject
* obj0
= 0 ;
37702 PyObject
* obj1
= 0 ;
37703 PyObject
* obj2
= 0 ;
37704 PyObject
* obj3
= 0 ;
37705 PyObject
* obj4
= 0 ;
37706 PyObject
* obj5
= 0 ;
37707 char *kwnames
[] = {
37708 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37716 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37720 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37722 arg4
= (int) SWIG_AsInt(obj3
);
37723 if (PyErr_Occurred()) SWIG_fail
;
37724 arg5
= (int) SWIG_AsInt(obj4
);
37725 if (PyErr_Occurred()) SWIG_fail
;
37726 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37730 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37732 wxPyEndAllowThreads(__tstate
);
37733 if (PyErr_Occurred()) SWIG_fail
;
37735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37742 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37743 PyObject
*resultobj
;
37746 wxGBPosition
*arg3
= 0 ;
37747 wxGBSpan
*arg4
= 0 ;
37750 wxObject
*arg7
= (wxObject
*) 0 ;
37751 wxGBSizerItem
*result
;
37752 wxGBPosition temp3
;
37754 PyObject
* obj0
= 0 ;
37755 PyObject
* obj1
= 0 ;
37756 PyObject
* obj2
= 0 ;
37757 PyObject
* obj3
= 0 ;
37758 PyObject
* obj4
= 0 ;
37759 PyObject
* obj5
= 0 ;
37760 PyObject
* obj6
= 0 ;
37761 char *kwnames
[] = {
37762 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37766 arg1
= (int) SWIG_AsInt(obj0
);
37767 if (PyErr_Occurred()) SWIG_fail
;
37768 arg2
= (int) SWIG_AsInt(obj1
);
37769 if (PyErr_Occurred()) SWIG_fail
;
37772 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37776 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37778 arg5
= (int) SWIG_AsInt(obj4
);
37779 if (PyErr_Occurred()) SWIG_fail
;
37780 arg6
= (int) SWIG_AsInt(obj5
);
37781 if (PyErr_Occurred()) SWIG_fail
;
37782 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37786 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37788 wxPyEndAllowThreads(__tstate
);
37789 if (PyErr_Occurred()) SWIG_fail
;
37791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37798 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37799 PyObject
*resultobj
;
37800 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37801 wxGBPosition result
;
37802 PyObject
* obj0
= 0 ;
37803 char *kwnames
[] = {
37804 (char *) "self", NULL
37807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37812 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37814 wxPyEndAllowThreads(__tstate
);
37815 if (PyErr_Occurred()) SWIG_fail
;
37818 wxGBPosition
* resultptr
;
37819 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37828 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37829 PyObject
*resultobj
;
37830 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37832 PyObject
* obj0
= 0 ;
37833 char *kwnames
[] = {
37834 (char *) "self", NULL
37837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37842 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37844 wxPyEndAllowThreads(__tstate
);
37845 if (PyErr_Occurred()) SWIG_fail
;
37848 wxGBSpan
* resultptr
;
37849 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37858 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37859 PyObject
*resultobj
;
37860 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37861 wxGBPosition
*arg2
= 0 ;
37863 wxGBPosition temp2
;
37864 PyObject
* obj0
= 0 ;
37865 PyObject
* obj1
= 0 ;
37866 char *kwnames
[] = {
37867 (char *) "self",(char *) "pos", NULL
37870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37875 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37879 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37881 wxPyEndAllowThreads(__tstate
);
37882 if (PyErr_Occurred()) SWIG_fail
;
37885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37893 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37894 PyObject
*resultobj
;
37895 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37896 wxGBSpan
*arg2
= 0 ;
37899 PyObject
* obj0
= 0 ;
37900 PyObject
* obj1
= 0 ;
37901 char *kwnames
[] = {
37902 (char *) "self",(char *) "span", NULL
37905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37910 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37914 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37916 wxPyEndAllowThreads(__tstate
);
37917 if (PyErr_Occurred()) SWIG_fail
;
37920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37928 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37929 PyObject
*resultobj
;
37930 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37931 wxGBSizerItem
*arg2
= 0 ;
37933 PyObject
* obj0
= 0 ;
37934 PyObject
* obj1
= 0 ;
37936 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37942 if (arg2
== NULL
) {
37943 PyErr_SetString(PyExc_TypeError
,"null reference");
37947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37948 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37950 wxPyEndAllowThreads(__tstate
);
37951 if (PyErr_Occurred()) SWIG_fail
;
37954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37962 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37963 PyObject
*resultobj
;
37964 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37965 wxGBPosition
*arg2
= 0 ;
37966 wxGBSpan
*arg3
= 0 ;
37968 wxGBPosition temp2
;
37970 PyObject
* obj0
= 0 ;
37971 PyObject
* obj1
= 0 ;
37972 PyObject
* obj2
= 0 ;
37974 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37979 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37983 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37987 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37989 wxPyEndAllowThreads(__tstate
);
37990 if (PyErr_Occurred()) SWIG_fail
;
37993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38001 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
38006 argc
= PyObject_Length(args
);
38007 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38008 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38014 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38024 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38032 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
38040 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38049 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38053 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38056 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
38062 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
38067 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38068 PyObject
*resultobj
;
38069 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38072 PyObject
* obj0
= 0 ;
38073 PyObject
* obj1
= 0 ;
38074 PyObject
* obj2
= 0 ;
38075 char *kwnames
[] = {
38076 (char *) "self",(char *) "row",(char *) "col", NULL
38079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
38083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38085 if (arg2
== NULL
) {
38086 PyErr_SetString(PyExc_TypeError
,"null reference");
38089 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
38090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38092 if (arg3
== NULL
) {
38093 PyErr_SetString(PyExc_TypeError
,"null reference");
38097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38098 (arg1
)->GetEndPos(*arg2
,*arg3
);
38100 wxPyEndAllowThreads(__tstate
);
38101 if (PyErr_Occurred()) SWIG_fail
;
38103 Py_INCREF(Py_None
); resultobj
= Py_None
;
38110 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38111 PyObject
*resultobj
;
38112 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38113 wxGridBagSizer
*result
;
38114 PyObject
* obj0
= 0 ;
38115 char *kwnames
[] = {
38116 (char *) "self", NULL
38119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38124 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38126 wxPyEndAllowThreads(__tstate
);
38127 if (PyErr_Occurred()) SWIG_fail
;
38129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38136 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38137 PyObject
*resultobj
;
38138 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38139 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38140 PyObject
* obj0
= 0 ;
38141 PyObject
* obj1
= 0 ;
38142 char *kwnames
[] = {
38143 (char *) "self",(char *) "sizer", NULL
38146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38153 (arg1
)->SetGBSizer(arg2
);
38155 wxPyEndAllowThreads(__tstate
);
38156 if (PyErr_Occurred()) SWIG_fail
;
38158 Py_INCREF(Py_None
); resultobj
= Py_None
;
38165 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
38167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38168 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38170 return Py_BuildValue((char *)"");
38172 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38173 PyObject
*resultobj
;
38174 int arg1
= (int) 0 ;
38175 int arg2
= (int) 0 ;
38176 wxGridBagSizer
*result
;
38177 PyObject
* obj0
= 0 ;
38178 PyObject
* obj1
= 0 ;
38179 char *kwnames
[] = {
38180 (char *) "vgap",(char *) "hgap", NULL
38183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38185 arg1
= (int) SWIG_AsInt(obj0
);
38186 if (PyErr_Occurred()) SWIG_fail
;
38189 arg2
= (int) SWIG_AsInt(obj1
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38194 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38196 wxPyEndAllowThreads(__tstate
);
38197 if (PyErr_Occurred()) SWIG_fail
;
38199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38206 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38207 PyObject
*resultobj
;
38208 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38209 PyObject
*arg2
= (PyObject
*) 0 ;
38210 wxGBPosition
*arg3
= 0 ;
38211 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38212 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38213 int arg5
= (int) 0 ;
38214 int arg6
= (int) 0 ;
38215 PyObject
*arg7
= (PyObject
*) NULL
;
38217 wxGBPosition temp3
;
38219 PyObject
* obj0
= 0 ;
38220 PyObject
* obj1
= 0 ;
38221 PyObject
* obj2
= 0 ;
38222 PyObject
* obj3
= 0 ;
38223 PyObject
* obj4
= 0 ;
38224 PyObject
* obj5
= 0 ;
38225 PyObject
* obj6
= 0 ;
38226 char *kwnames
[] = {
38227 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38236 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38241 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38245 arg5
= (int) SWIG_AsInt(obj4
);
38246 if (PyErr_Occurred()) SWIG_fail
;
38249 arg6
= (int) SWIG_AsInt(obj5
);
38250 if (PyErr_Occurred()) SWIG_fail
;
38256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38257 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38259 wxPyEndAllowThreads(__tstate
);
38260 if (PyErr_Occurred()) SWIG_fail
;
38263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38271 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38272 PyObject
*resultobj
;
38273 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38274 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38276 PyObject
* obj0
= 0 ;
38277 PyObject
* obj1
= 0 ;
38278 char *kwnames
[] = {
38279 (char *) "self",(char *) "item", NULL
38282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38289 result
= (bool)(arg1
)->Add(arg2
);
38291 wxPyEndAllowThreads(__tstate
);
38292 if (PyErr_Occurred()) SWIG_fail
;
38295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38303 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38304 PyObject
*resultobj
;
38305 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38307 PyObject
* obj0
= 0 ;
38308 char *kwnames
[] = {
38309 (char *) "self", NULL
38312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38317 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38319 wxPyEndAllowThreads(__tstate
);
38320 if (PyErr_Occurred()) SWIG_fail
;
38323 wxSize
* resultptr
;
38324 resultptr
= new wxSize((wxSize
&) result
);
38325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38333 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38334 PyObject
*resultobj
;
38335 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38338 PyObject
* obj0
= 0 ;
38339 PyObject
* obj1
= 0 ;
38340 char *kwnames
[] = {
38341 (char *) "self",(char *) "sz", NULL
38344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38349 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38353 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38355 wxPyEndAllowThreads(__tstate
);
38356 if (PyErr_Occurred()) SWIG_fail
;
38358 Py_INCREF(Py_None
); resultobj
= Py_None
;
38365 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38366 PyObject
*resultobj
;
38367 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38368 wxWindow
*arg2
= (wxWindow
*) 0 ;
38369 wxGBPosition result
;
38370 PyObject
* obj0
= 0 ;
38371 PyObject
* obj1
= 0 ;
38373 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38380 result
= (arg1
)->GetItemPosition(arg2
);
38382 wxPyEndAllowThreads(__tstate
);
38383 if (PyErr_Occurred()) SWIG_fail
;
38386 wxGBPosition
* resultptr
;
38387 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38396 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38397 PyObject
*resultobj
;
38398 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38399 wxSizer
*arg2
= (wxSizer
*) 0 ;
38400 wxGBPosition result
;
38401 PyObject
* obj0
= 0 ;
38402 PyObject
* obj1
= 0 ;
38404 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38411 result
= (arg1
)->GetItemPosition(arg2
);
38413 wxPyEndAllowThreads(__tstate
);
38414 if (PyErr_Occurred()) SWIG_fail
;
38417 wxGBPosition
* resultptr
;
38418 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38427 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38428 PyObject
*resultobj
;
38429 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38431 wxGBPosition result
;
38432 PyObject
* obj0
= 0 ;
38433 PyObject
* obj1
= 0 ;
38435 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38438 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38439 if (PyErr_Occurred()) SWIG_fail
;
38441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38442 result
= (arg1
)->GetItemPosition(arg2
);
38444 wxPyEndAllowThreads(__tstate
);
38445 if (PyErr_Occurred()) SWIG_fail
;
38448 wxGBPosition
* resultptr
;
38449 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38458 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38463 argc
= PyObject_Length(args
);
38464 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38465 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38471 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38481 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38489 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38497 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38507 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38515 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38523 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38531 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38533 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38538 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38543 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38544 PyObject
*resultobj
;
38545 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38546 wxWindow
*arg2
= (wxWindow
*) 0 ;
38547 wxGBPosition
*arg3
= 0 ;
38549 wxGBPosition temp3
;
38550 PyObject
* obj0
= 0 ;
38551 PyObject
* obj1
= 0 ;
38552 PyObject
* obj2
= 0 ;
38554 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38561 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38565 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38567 wxPyEndAllowThreads(__tstate
);
38568 if (PyErr_Occurred()) SWIG_fail
;
38571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38579 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38580 PyObject
*resultobj
;
38581 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38582 wxSizer
*arg2
= (wxSizer
*) 0 ;
38583 wxGBPosition
*arg3
= 0 ;
38585 wxGBPosition temp3
;
38586 PyObject
* obj0
= 0 ;
38587 PyObject
* obj1
= 0 ;
38588 PyObject
* obj2
= 0 ;
38590 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38597 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38601 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38603 wxPyEndAllowThreads(__tstate
);
38604 if (PyErr_Occurred()) SWIG_fail
;
38607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38615 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38616 PyObject
*resultobj
;
38617 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38619 wxGBPosition
*arg3
= 0 ;
38621 wxGBPosition temp3
;
38622 PyObject
* obj0
= 0 ;
38623 PyObject
* obj1
= 0 ;
38624 PyObject
* obj2
= 0 ;
38626 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38629 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38630 if (PyErr_Occurred()) SWIG_fail
;
38633 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38637 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38639 wxPyEndAllowThreads(__tstate
);
38640 if (PyErr_Occurred()) SWIG_fail
;
38643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38651 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38656 argc
= PyObject_Length(args
);
38657 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38658 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38664 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38674 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38683 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38686 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38695 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38705 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38714 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38717 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38726 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38734 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38737 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38740 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38746 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38751 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38752 PyObject
*resultobj
;
38753 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38754 wxWindow
*arg2
= (wxWindow
*) 0 ;
38756 PyObject
* obj0
= 0 ;
38757 PyObject
* obj1
= 0 ;
38759 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38766 result
= (arg1
)->GetItemSpan(arg2
);
38768 wxPyEndAllowThreads(__tstate
);
38769 if (PyErr_Occurred()) SWIG_fail
;
38772 wxGBSpan
* resultptr
;
38773 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38782 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38783 PyObject
*resultobj
;
38784 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38785 wxSizer
*arg2
= (wxSizer
*) 0 ;
38787 PyObject
* obj0
= 0 ;
38788 PyObject
* obj1
= 0 ;
38790 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38797 result
= (arg1
)->GetItemSpan(arg2
);
38799 wxPyEndAllowThreads(__tstate
);
38800 if (PyErr_Occurred()) SWIG_fail
;
38803 wxGBSpan
* resultptr
;
38804 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38813 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38814 PyObject
*resultobj
;
38815 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38818 PyObject
* obj0
= 0 ;
38819 PyObject
* obj1
= 0 ;
38821 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38824 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38825 if (PyErr_Occurred()) SWIG_fail
;
38827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38828 result
= (arg1
)->GetItemSpan(arg2
);
38830 wxPyEndAllowThreads(__tstate
);
38831 if (PyErr_Occurred()) SWIG_fail
;
38834 wxGBSpan
* resultptr
;
38835 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38844 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38849 argc
= PyObject_Length(args
);
38850 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38851 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38857 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38867 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38875 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38883 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38893 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38901 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38909 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38917 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38919 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38924 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38929 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38930 PyObject
*resultobj
;
38931 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38932 wxWindow
*arg2
= (wxWindow
*) 0 ;
38933 wxGBSpan
*arg3
= 0 ;
38936 PyObject
* obj0
= 0 ;
38937 PyObject
* obj1
= 0 ;
38938 PyObject
* obj2
= 0 ;
38940 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38947 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38951 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38953 wxPyEndAllowThreads(__tstate
);
38954 if (PyErr_Occurred()) SWIG_fail
;
38957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38965 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38966 PyObject
*resultobj
;
38967 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38968 wxSizer
*arg2
= (wxSizer
*) 0 ;
38969 wxGBSpan
*arg3
= 0 ;
38972 PyObject
* obj0
= 0 ;
38973 PyObject
* obj1
= 0 ;
38974 PyObject
* obj2
= 0 ;
38976 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38983 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38987 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38989 wxPyEndAllowThreads(__tstate
);
38990 if (PyErr_Occurred()) SWIG_fail
;
38993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39001 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
39002 PyObject
*resultobj
;
39003 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39005 wxGBSpan
*arg3
= 0 ;
39008 PyObject
* obj0
= 0 ;
39009 PyObject
* obj1
= 0 ;
39010 PyObject
* obj2
= 0 ;
39012 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39015 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
39016 if (PyErr_Occurred()) SWIG_fail
;
39019 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39023 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39025 wxPyEndAllowThreads(__tstate
);
39026 if (PyErr_Occurred()) SWIG_fail
;
39029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39037 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39042 argc
= PyObject_Length(args
);
39043 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39044 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39050 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39060 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39069 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39072 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39081 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39091 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39100 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39103 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39112 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39120 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39123 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39126 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39132 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39137 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
39138 PyObject
*resultobj
;
39139 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39140 wxWindow
*arg2
= (wxWindow
*) 0 ;
39141 wxGBSizerItem
*result
;
39142 PyObject
* obj0
= 0 ;
39143 PyObject
* obj1
= 0 ;
39145 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39152 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39154 wxPyEndAllowThreads(__tstate
);
39155 if (PyErr_Occurred()) SWIG_fail
;
39157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39164 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
39165 PyObject
*resultobj
;
39166 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39167 wxSizer
*arg2
= (wxSizer
*) 0 ;
39168 wxGBSizerItem
*result
;
39169 PyObject
* obj0
= 0 ;
39170 PyObject
* obj1
= 0 ;
39172 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39179 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39181 wxPyEndAllowThreads(__tstate
);
39182 if (PyErr_Occurred()) SWIG_fail
;
39184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39191 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39196 argc
= PyObject_Length(args
);
39197 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39198 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39204 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39214 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39222 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39230 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39240 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39248 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39253 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39258 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39259 PyObject
*resultobj
;
39260 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39261 wxGBPosition
*arg2
= 0 ;
39262 wxGBSizerItem
*result
;
39263 wxGBPosition temp2
;
39264 PyObject
* obj0
= 0 ;
39265 PyObject
* obj1
= 0 ;
39266 char *kwnames
[] = {
39267 (char *) "self",(char *) "pos", NULL
39270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39275 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39279 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39281 wxPyEndAllowThreads(__tstate
);
39282 if (PyErr_Occurred()) SWIG_fail
;
39284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39291 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39292 PyObject
*resultobj
;
39293 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39294 wxPoint
*arg2
= 0 ;
39295 wxGBSizerItem
*result
;
39297 PyObject
* obj0
= 0 ;
39298 PyObject
* obj1
= 0 ;
39299 char *kwnames
[] = {
39300 (char *) "self",(char *) "pt", NULL
39303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39312 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39314 wxPyEndAllowThreads(__tstate
);
39315 if (PyErr_Occurred()) SWIG_fail
;
39317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39324 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39325 PyObject
*resultobj
;
39326 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39327 wxObject
*arg2
= (wxObject
*) 0 ;
39328 wxGBSizerItem
*result
;
39329 PyObject
* obj0
= 0 ;
39330 PyObject
* obj1
= 0 ;
39331 char *kwnames
[] = {
39332 (char *) "self",(char *) "userData", NULL
39335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
39336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
39339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39342 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
39344 wxPyEndAllowThreads(__tstate
);
39345 if (PyErr_Occurred()) SWIG_fail
;
39347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39354 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39355 PyObject
*resultobj
;
39356 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39357 PyObject
* obj0
= 0 ;
39358 char *kwnames
[] = {
39359 (char *) "self", NULL
39362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39367 (arg1
)->RecalcSizes();
39369 wxPyEndAllowThreads(__tstate
);
39370 if (PyErr_Occurred()) SWIG_fail
;
39372 Py_INCREF(Py_None
); resultobj
= Py_None
;
39379 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39380 PyObject
*resultobj
;
39381 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39383 PyObject
* obj0
= 0 ;
39384 char *kwnames
[] = {
39385 (char *) "self", NULL
39388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39393 result
= (arg1
)->CalcMin();
39395 wxPyEndAllowThreads(__tstate
);
39396 if (PyErr_Occurred()) SWIG_fail
;
39399 wxSize
* resultptr
;
39400 resultptr
= new wxSize((wxSize
&) result
);
39401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39409 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
39410 PyObject
*resultobj
;
39411 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39412 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39413 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39415 PyObject
* obj0
= 0 ;
39416 PyObject
* obj1
= 0 ;
39417 PyObject
* obj2
= 0 ;
39419 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
39420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39425 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39430 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39432 wxPyEndAllowThreads(__tstate
);
39433 if (PyErr_Occurred()) SWIG_fail
;
39436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39444 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
39445 PyObject
*resultobj
;
39446 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39447 wxGBPosition
*arg2
= 0 ;
39448 wxGBSpan
*arg3
= 0 ;
39449 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39451 wxGBPosition temp2
;
39453 PyObject
* obj0
= 0 ;
39454 PyObject
* obj1
= 0 ;
39455 PyObject
* obj2
= 0 ;
39456 PyObject
* obj3
= 0 ;
39458 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39463 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39467 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39470 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39475 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39477 wxPyEndAllowThreads(__tstate
);
39478 if (PyErr_Occurred()) SWIG_fail
;
39481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39489 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
39494 argc
= PyObject_Length(args
);
39495 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
39496 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39498 if ((argc
>= 2) && (argc
<= 3)) {
39502 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39512 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39521 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39525 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39533 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39538 if ((argc
>= 3) && (argc
<= 4)) {
39542 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39551 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39555 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39559 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39563 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39571 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39578 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39583 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39586 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39588 return Py_BuildValue((char *)"");
39590 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39591 PyObject
*resultobj
;
39592 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39594 wxWindow
*arg3
= (wxWindow
*) 0 ;
39596 int arg5
= (int) 0 ;
39597 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39598 PyObject
* obj0
= 0 ;
39599 PyObject
* obj1
= 0 ;
39600 PyObject
* obj2
= 0 ;
39601 PyObject
* obj3
= 0 ;
39602 PyObject
* obj4
= 0 ;
39603 PyObject
* obj5
= 0 ;
39604 char *kwnames
[] = {
39605 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39611 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39612 if (PyErr_Occurred()) SWIG_fail
;
39613 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39615 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39616 if (PyErr_Occurred()) SWIG_fail
;
39618 arg5
= (int) SWIG_AsInt(obj4
);
39619 if (PyErr_Occurred()) SWIG_fail
;
39622 arg6
= (int) SWIG_AsInt(obj5
);
39623 if (PyErr_Occurred()) SWIG_fail
;
39626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39627 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39629 wxPyEndAllowThreads(__tstate
);
39630 if (PyErr_Occurred()) SWIG_fail
;
39632 Py_INCREF(Py_None
); resultobj
= Py_None
;
39639 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39640 PyObject
*resultobj
;
39641 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39642 wxWindow
*arg2
= (wxWindow
*) 0 ;
39643 int arg3
= (int) 0 ;
39644 PyObject
* obj0
= 0 ;
39645 PyObject
* obj1
= 0 ;
39646 PyObject
* obj2
= 0 ;
39647 char *kwnames
[] = {
39648 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39657 arg3
= (int) SWIG_AsInt(obj2
);
39658 if (PyErr_Occurred()) SWIG_fail
;
39661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39662 (arg1
)->LeftOf(arg2
,arg3
);
39664 wxPyEndAllowThreads(__tstate
);
39665 if (PyErr_Occurred()) SWIG_fail
;
39667 Py_INCREF(Py_None
); resultobj
= Py_None
;
39674 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39675 PyObject
*resultobj
;
39676 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39677 wxWindow
*arg2
= (wxWindow
*) 0 ;
39678 int arg3
= (int) 0 ;
39679 PyObject
* obj0
= 0 ;
39680 PyObject
* obj1
= 0 ;
39681 PyObject
* obj2
= 0 ;
39682 char *kwnames
[] = {
39683 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39692 arg3
= (int) SWIG_AsInt(obj2
);
39693 if (PyErr_Occurred()) SWIG_fail
;
39696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39697 (arg1
)->RightOf(arg2
,arg3
);
39699 wxPyEndAllowThreads(__tstate
);
39700 if (PyErr_Occurred()) SWIG_fail
;
39702 Py_INCREF(Py_None
); resultobj
= Py_None
;
39709 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39710 PyObject
*resultobj
;
39711 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39712 wxWindow
*arg2
= (wxWindow
*) 0 ;
39713 int arg3
= (int) 0 ;
39714 PyObject
* obj0
= 0 ;
39715 PyObject
* obj1
= 0 ;
39716 PyObject
* obj2
= 0 ;
39717 char *kwnames
[] = {
39718 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39727 arg3
= (int) SWIG_AsInt(obj2
);
39728 if (PyErr_Occurred()) SWIG_fail
;
39731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39732 (arg1
)->Above(arg2
,arg3
);
39734 wxPyEndAllowThreads(__tstate
);
39735 if (PyErr_Occurred()) SWIG_fail
;
39737 Py_INCREF(Py_None
); resultobj
= Py_None
;
39744 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39745 PyObject
*resultobj
;
39746 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39747 wxWindow
*arg2
= (wxWindow
*) 0 ;
39748 int arg3
= (int) 0 ;
39749 PyObject
* obj0
= 0 ;
39750 PyObject
* obj1
= 0 ;
39751 PyObject
* obj2
= 0 ;
39752 char *kwnames
[] = {
39753 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39762 arg3
= (int) SWIG_AsInt(obj2
);
39763 if (PyErr_Occurred()) SWIG_fail
;
39766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39767 (arg1
)->Below(arg2
,arg3
);
39769 wxPyEndAllowThreads(__tstate
);
39770 if (PyErr_Occurred()) SWIG_fail
;
39772 Py_INCREF(Py_None
); resultobj
= Py_None
;
39779 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39780 PyObject
*resultobj
;
39781 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39782 wxWindow
*arg2
= (wxWindow
*) 0 ;
39784 int arg4
= (int) 0 ;
39785 PyObject
* obj0
= 0 ;
39786 PyObject
* obj1
= 0 ;
39787 PyObject
* obj2
= 0 ;
39788 PyObject
* obj3
= 0 ;
39789 char *kwnames
[] = {
39790 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39798 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39799 if (PyErr_Occurred()) SWIG_fail
;
39801 arg4
= (int) SWIG_AsInt(obj3
);
39802 if (PyErr_Occurred()) SWIG_fail
;
39805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39806 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39808 wxPyEndAllowThreads(__tstate
);
39809 if (PyErr_Occurred()) SWIG_fail
;
39811 Py_INCREF(Py_None
); resultobj
= Py_None
;
39818 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39819 PyObject
*resultobj
;
39820 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39821 wxWindow
*arg2
= (wxWindow
*) 0 ;
39824 PyObject
* obj0
= 0 ;
39825 PyObject
* obj1
= 0 ;
39826 PyObject
* obj2
= 0 ;
39827 PyObject
* obj3
= 0 ;
39828 char *kwnames
[] = {
39829 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39837 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39838 if (PyErr_Occurred()) SWIG_fail
;
39839 arg4
= (int) SWIG_AsInt(obj3
);
39840 if (PyErr_Occurred()) SWIG_fail
;
39842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39843 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39845 wxPyEndAllowThreads(__tstate
);
39846 if (PyErr_Occurred()) SWIG_fail
;
39848 Py_INCREF(Py_None
); resultobj
= Py_None
;
39855 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39856 PyObject
*resultobj
;
39857 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39859 PyObject
* obj0
= 0 ;
39860 PyObject
* obj1
= 0 ;
39861 char *kwnames
[] = {
39862 (char *) "self",(char *) "val", NULL
39865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39868 arg2
= (int) SWIG_AsInt(obj1
);
39869 if (PyErr_Occurred()) SWIG_fail
;
39871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39872 (arg1
)->Absolute(arg2
);
39874 wxPyEndAllowThreads(__tstate
);
39875 if (PyErr_Occurred()) SWIG_fail
;
39877 Py_INCREF(Py_None
); resultobj
= Py_None
;
39884 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39885 PyObject
*resultobj
;
39886 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39887 PyObject
* obj0
= 0 ;
39888 char *kwnames
[] = {
39889 (char *) "self", NULL
39892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39897 (arg1
)->Unconstrained();
39899 wxPyEndAllowThreads(__tstate
);
39900 if (PyErr_Occurred()) SWIG_fail
;
39902 Py_INCREF(Py_None
); resultobj
= Py_None
;
39909 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39910 PyObject
*resultobj
;
39911 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39912 PyObject
* obj0
= 0 ;
39913 char *kwnames
[] = {
39914 (char *) "self", NULL
39917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39924 wxPyEndAllowThreads(__tstate
);
39925 if (PyErr_Occurred()) SWIG_fail
;
39927 Py_INCREF(Py_None
); resultobj
= Py_None
;
39934 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39935 PyObject
*resultobj
;
39936 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39938 PyObject
* obj0
= 0 ;
39939 char *kwnames
[] = {
39940 (char *) "self", NULL
39943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39948 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39950 wxPyEndAllowThreads(__tstate
);
39951 if (PyErr_Occurred()) SWIG_fail
;
39954 resultobj
= wxPyMake_wxObject(result
);
39962 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39963 PyObject
*resultobj
;
39964 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39966 PyObject
* obj0
= 0 ;
39967 char *kwnames
[] = {
39968 (char *) "self", NULL
39971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39976 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39978 wxPyEndAllowThreads(__tstate
);
39979 if (PyErr_Occurred()) SWIG_fail
;
39981 resultobj
= SWIG_FromInt((int)result
);
39988 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39989 PyObject
*resultobj
;
39990 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39992 PyObject
* obj0
= 0 ;
39993 PyObject
* obj1
= 0 ;
39994 char *kwnames
[] = {
39995 (char *) "self",(char *) "which", NULL
39998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40001 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40002 if (PyErr_Occurred()) SWIG_fail
;
40004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40005 (arg1
)->SetEdge((wxEdge
)arg2
);
40007 wxPyEndAllowThreads(__tstate
);
40008 if (PyErr_Occurred()) SWIG_fail
;
40010 Py_INCREF(Py_None
); resultobj
= Py_None
;
40017 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40018 PyObject
*resultobj
;
40019 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40021 PyObject
* obj0
= 0 ;
40022 PyObject
* obj1
= 0 ;
40023 char *kwnames
[] = {
40024 (char *) "self",(char *) "v", NULL
40027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40030 arg2
= (int) SWIG_AsInt(obj1
);
40031 if (PyErr_Occurred()) SWIG_fail
;
40033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40034 (arg1
)->SetValue(arg2
);
40036 wxPyEndAllowThreads(__tstate
);
40037 if (PyErr_Occurred()) SWIG_fail
;
40039 Py_INCREF(Py_None
); resultobj
= Py_None
;
40046 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40047 PyObject
*resultobj
;
40048 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40050 PyObject
* obj0
= 0 ;
40051 char *kwnames
[] = {
40052 (char *) "self", NULL
40055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40060 result
= (int)(arg1
)->GetMargin();
40062 wxPyEndAllowThreads(__tstate
);
40063 if (PyErr_Occurred()) SWIG_fail
;
40065 resultobj
= SWIG_FromInt((int)result
);
40072 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40073 PyObject
*resultobj
;
40074 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40076 PyObject
* obj0
= 0 ;
40077 PyObject
* obj1
= 0 ;
40078 char *kwnames
[] = {
40079 (char *) "self",(char *) "m", NULL
40082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40085 arg2
= (int) SWIG_AsInt(obj1
);
40086 if (PyErr_Occurred()) SWIG_fail
;
40088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40089 (arg1
)->SetMargin(arg2
);
40091 wxPyEndAllowThreads(__tstate
);
40092 if (PyErr_Occurred()) SWIG_fail
;
40094 Py_INCREF(Py_None
); resultobj
= Py_None
;
40101 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40102 PyObject
*resultobj
;
40103 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40105 PyObject
* obj0
= 0 ;
40106 char *kwnames
[] = {
40107 (char *) "self", NULL
40110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40115 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40117 wxPyEndAllowThreads(__tstate
);
40118 if (PyErr_Occurred()) SWIG_fail
;
40120 resultobj
= SWIG_FromInt((int)result
);
40127 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40128 PyObject
*resultobj
;
40129 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40131 PyObject
* obj0
= 0 ;
40132 char *kwnames
[] = {
40133 (char *) "self", NULL
40136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40141 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40143 wxPyEndAllowThreads(__tstate
);
40144 if (PyErr_Occurred()) SWIG_fail
;
40146 resultobj
= SWIG_FromInt((int)result
);
40153 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40154 PyObject
*resultobj
;
40155 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40157 PyObject
* obj0
= 0 ;
40158 char *kwnames
[] = {
40159 (char *) "self", NULL
40162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40167 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40169 wxPyEndAllowThreads(__tstate
);
40170 if (PyErr_Occurred()) SWIG_fail
;
40172 resultobj
= SWIG_FromInt((int)result
);
40179 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40180 PyObject
*resultobj
;
40181 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40183 PyObject
* obj0
= 0 ;
40184 char *kwnames
[] = {
40185 (char *) "self", NULL
40188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40193 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40195 wxPyEndAllowThreads(__tstate
);
40196 if (PyErr_Occurred()) SWIG_fail
;
40199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40207 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40208 PyObject
*resultobj
;
40209 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40211 PyObject
* obj0
= 0 ;
40212 PyObject
* obj1
= 0 ;
40213 char *kwnames
[] = {
40214 (char *) "self",(char *) "d", NULL
40217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40220 arg2
= (bool) SWIG_AsBool(obj1
);
40221 if (PyErr_Occurred()) SWIG_fail
;
40223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40224 (arg1
)->SetDone(arg2
);
40226 wxPyEndAllowThreads(__tstate
);
40227 if (PyErr_Occurred()) SWIG_fail
;
40229 Py_INCREF(Py_None
); resultobj
= Py_None
;
40236 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40237 PyObject
*resultobj
;
40238 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40240 PyObject
* obj0
= 0 ;
40241 char *kwnames
[] = {
40242 (char *) "self", NULL
40245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40250 result
= (int)(arg1
)->GetRelationship();
40252 wxPyEndAllowThreads(__tstate
);
40253 if (PyErr_Occurred()) SWIG_fail
;
40255 resultobj
= SWIG_FromInt((int)result
);
40262 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40263 PyObject
*resultobj
;
40264 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40266 PyObject
* obj0
= 0 ;
40267 PyObject
* obj1
= 0 ;
40268 char *kwnames
[] = {
40269 (char *) "self",(char *) "r", NULL
40272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40275 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
40276 if (PyErr_Occurred()) SWIG_fail
;
40278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40279 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40281 wxPyEndAllowThreads(__tstate
);
40282 if (PyErr_Occurred()) SWIG_fail
;
40284 Py_INCREF(Py_None
); resultobj
= Py_None
;
40291 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40292 PyObject
*resultobj
;
40293 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40294 wxWindow
*arg2
= (wxWindow
*) 0 ;
40296 PyObject
* obj0
= 0 ;
40297 PyObject
* obj1
= 0 ;
40298 char *kwnames
[] = {
40299 (char *) "self",(char *) "otherW", NULL
40302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40309 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40311 wxPyEndAllowThreads(__tstate
);
40312 if (PyErr_Occurred()) SWIG_fail
;
40315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40323 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40324 PyObject
*resultobj
;
40325 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40326 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40327 wxWindow
*arg3
= (wxWindow
*) 0 ;
40329 PyObject
* obj0
= 0 ;
40330 PyObject
* obj1
= 0 ;
40331 PyObject
* obj2
= 0 ;
40332 char *kwnames
[] = {
40333 (char *) "self",(char *) "constraints",(char *) "win", NULL
40336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40341 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40345 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40347 wxPyEndAllowThreads(__tstate
);
40348 if (PyErr_Occurred()) SWIG_fail
;
40351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40359 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40360 PyObject
*resultobj
;
40361 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40363 wxWindow
*arg3
= (wxWindow
*) 0 ;
40364 wxWindow
*arg4
= (wxWindow
*) 0 ;
40366 PyObject
* obj0
= 0 ;
40367 PyObject
* obj1
= 0 ;
40368 PyObject
* obj2
= 0 ;
40369 PyObject
* obj3
= 0 ;
40370 char *kwnames
[] = {
40371 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40377 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40378 if (PyErr_Occurred()) SWIG_fail
;
40379 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40381 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40385 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40387 wxPyEndAllowThreads(__tstate
);
40388 if (PyErr_Occurred()) SWIG_fail
;
40390 resultobj
= SWIG_FromInt((int)result
);
40397 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40400 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40402 return Py_BuildValue((char *)"");
40404 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40405 PyObject
*resultobj
;
40406 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40407 wxIndividualLayoutConstraint
*result
;
40408 PyObject
* obj0
= 0 ;
40409 char *kwnames
[] = {
40410 (char *) "self", NULL
40413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40416 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40425 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40426 PyObject
*resultobj
;
40427 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40428 wxIndividualLayoutConstraint
*result
;
40429 PyObject
* obj0
= 0 ;
40430 char *kwnames
[] = {
40431 (char *) "self", NULL
40434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40437 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40446 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40447 PyObject
*resultobj
;
40448 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40449 wxIndividualLayoutConstraint
*result
;
40450 PyObject
* obj0
= 0 ;
40451 char *kwnames
[] = {
40452 (char *) "self", NULL
40455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40458 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40467 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40468 PyObject
*resultobj
;
40469 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40470 wxIndividualLayoutConstraint
*result
;
40471 PyObject
* obj0
= 0 ;
40472 char *kwnames
[] = {
40473 (char *) "self", NULL
40476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40479 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40488 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40489 PyObject
*resultobj
;
40490 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40491 wxIndividualLayoutConstraint
*result
;
40492 PyObject
* obj0
= 0 ;
40493 char *kwnames
[] = {
40494 (char *) "self", NULL
40497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40500 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40509 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40510 PyObject
*resultobj
;
40511 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40512 wxIndividualLayoutConstraint
*result
;
40513 PyObject
* obj0
= 0 ;
40514 char *kwnames
[] = {
40515 (char *) "self", NULL
40518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40521 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40530 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40531 PyObject
*resultobj
;
40532 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40533 wxIndividualLayoutConstraint
*result
;
40534 PyObject
* obj0
= 0 ;
40535 char *kwnames
[] = {
40536 (char *) "self", NULL
40539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40542 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40551 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40552 PyObject
*resultobj
;
40553 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40554 wxIndividualLayoutConstraint
*result
;
40555 PyObject
* obj0
= 0 ;
40556 char *kwnames
[] = {
40557 (char *) "self", NULL
40560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40563 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40572 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40573 PyObject
*resultobj
;
40574 wxLayoutConstraints
*result
;
40575 char *kwnames
[] = {
40579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40582 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40584 wxPyEndAllowThreads(__tstate
);
40585 if (PyErr_Occurred()) SWIG_fail
;
40587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40594 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40595 PyObject
*resultobj
;
40596 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40597 wxWindow
*arg2
= (wxWindow
*) 0 ;
40598 int *arg3
= (int *) 0 ;
40601 PyObject
* obj0
= 0 ;
40602 PyObject
* obj1
= 0 ;
40603 char *kwnames
[] = {
40604 (char *) "self",(char *) "win", NULL
40608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40615 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40617 wxPyEndAllowThreads(__tstate
);
40618 if (PyErr_Occurred()) SWIG_fail
;
40621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40624 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40625 resultobj
= t_output_helper(resultobj
,o
);
40633 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40634 PyObject
*resultobj
;
40635 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40637 PyObject
* obj0
= 0 ;
40638 char *kwnames
[] = {
40639 (char *) "self", NULL
40642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40647 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40649 wxPyEndAllowThreads(__tstate
);
40650 if (PyErr_Occurred()) SWIG_fail
;
40653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40661 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40664 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40666 return Py_BuildValue((char *)"");
40668 static PyMethodDef SwigMethods
[] = {
40669 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40670 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40671 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40674 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40695 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40708 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40723 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40774 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40802 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40820 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40822 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40830 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40831 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40843 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40854 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40859 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40865 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40875 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40885 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40889 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40960 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40962 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40964 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40966 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40968 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40970 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40972 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40974 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40976 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40978 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40980 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40982 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40996 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
41014 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
41017 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
41020 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
41032 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
41037 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
41043 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
41049 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
41111 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
41118 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
41153 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
41163 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
41173 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
41175 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
41177 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
41180 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
41184 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
41187 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
41190 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
41192 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
41197 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
41205 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
41209 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
41212 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
41214 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
41218 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
41235 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
41237 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
41240 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
41242 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
41246 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
41250 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
41258 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
41261 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
41264 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
41268 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
41275 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
41280 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
41285 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
41329 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
41344 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
41348 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
41358 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
41407 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
41408 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41413 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41432 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41434 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41437 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41451 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41468 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41471 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41476 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41493 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41494 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41496 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41497 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41498 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41499 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41500 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41502 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41506 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41510 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41511 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41512 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41513 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41514 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41515 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41516 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41517 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41518 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41519 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41520 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41521 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41522 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41523 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41524 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41525 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41526 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41527 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41528 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41529 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41530 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41531 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41532 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41533 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41534 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41535 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41536 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41537 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41538 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41539 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41540 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41541 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41542 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41543 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41544 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41545 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41546 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41547 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41548 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41549 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41550 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41551 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41552 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41553 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41554 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41555 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41556 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41557 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41558 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41559 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41560 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41561 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41562 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41563 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41564 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41565 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41566 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41567 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41568 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41569 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41570 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41571 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41572 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41573 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41574 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41575 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41576 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41577 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41578 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41579 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41580 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41581 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41582 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41583 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41584 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41585 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41586 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41587 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41588 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41589 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41590 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41591 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41592 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41593 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41594 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41595 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41596 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41597 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41598 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41599 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41600 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41601 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41602 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41603 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41604 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41605 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41606 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41607 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41608 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41609 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41610 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41611 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41612 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41613 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41614 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41615 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41616 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41617 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41618 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41619 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41620 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41621 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41622 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41623 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41624 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41625 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41626 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41627 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41628 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41629 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41630 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41631 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41632 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41633 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41634 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41635 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41636 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41637 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41638 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41639 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41640 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41641 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41642 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41643 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41644 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41645 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41646 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41647 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41648 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41649 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41650 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41651 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41652 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41653 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41654 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41655 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41656 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41657 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41658 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41659 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41660 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41661 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41662 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41663 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41664 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41665 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41666 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41667 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41668 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41669 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41670 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41671 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41672 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41673 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41674 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41675 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41676 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41677 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41678 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41679 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41680 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41681 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41682 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41683 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41684 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41685 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41686 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41687 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41688 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41689 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41690 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41691 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41692 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41693 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41694 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41695 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41696 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41697 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41698 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41699 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41700 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41701 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41702 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41703 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41704 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41705 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41706 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41707 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41708 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41709 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41710 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41711 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41712 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41713 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41714 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41715 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41716 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41717 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41718 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41719 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41720 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41721 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41722 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41723 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41724 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41725 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41726 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41727 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41728 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41729 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41730 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41731 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41732 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41733 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41734 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41735 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41736 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41737 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41738 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41739 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41740 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41741 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41742 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41743 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41744 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41745 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41746 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41747 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41748 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41749 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41750 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41751 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41752 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41753 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41754 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41755 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41756 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41757 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41758 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41759 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41760 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41761 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41762 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41763 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41764 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41765 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41766 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41767 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41768 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41769 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41770 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41771 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41772 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41773 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41774 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41775 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41776 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41777 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41778 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41779 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41780 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41781 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41782 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41783 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41784 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41785 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41786 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41787 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41788 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41789 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41790 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41791 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41792 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41793 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41794 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41795 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41796 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41797 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41798 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41799 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41800 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41801 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41802 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41803 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41804 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41805 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41806 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41807 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41808 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41809 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41810 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41811 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41812 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41813 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41814 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41815 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41816 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41817 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41818 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41819 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41820 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41821 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41822 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41823 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41824 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41825 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41826 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41827 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41828 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41829 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41830 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41831 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41832 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41833 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41834 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41835 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41836 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41837 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41838 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41839 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41840 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41841 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41842 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41843 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41844 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41845 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41846 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41847 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41848 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41849 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41850 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41851 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41852 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41853 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41854 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41855 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41856 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41857 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41858 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41859 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41860 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41861 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41862 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41863 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41864 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41865 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41866 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41867 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41868 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41869 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41870 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41871 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41872 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41873 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41874 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41875 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41876 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41877 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41878 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41879 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41880 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41881 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41882 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41883 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41884 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41885 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41886 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41887 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41888 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41889 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41890 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41891 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41892 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41893 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41894 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41895 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41896 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41897 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41898 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41899 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41900 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41901 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41902 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41903 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41904 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41905 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41906 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41907 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41908 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41909 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41910 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41911 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41912 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41913 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41914 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41915 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41916 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41917 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41922 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41924 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41925 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41927 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41928 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41930 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41931 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41933 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41934 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41936 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41937 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41939 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41940 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41942 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41943 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41945 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41946 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41948 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41949 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41951 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41952 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41954 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41955 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41957 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41958 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41960 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41961 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41963 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41964 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41966 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41967 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41969 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41970 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41972 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41973 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41975 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41976 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41978 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41979 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41981 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41982 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41984 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41985 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41987 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41988 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41990 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41991 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41993 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41994 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41996 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41997 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41999 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42000 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42002 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42003 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42005 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42006 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42008 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42009 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42011 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42012 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42014 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42015 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42017 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42018 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42020 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42021 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42023 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42024 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42026 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42027 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42029 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42030 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42032 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42033 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42035 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42036 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42038 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42039 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42041 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42042 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42044 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42045 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42047 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42048 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42050 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42051 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42053 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42054 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42056 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42057 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42059 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42060 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42062 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42063 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42065 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42066 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42068 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42069 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42071 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42072 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42074 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42077 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42078 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42080 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42081 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42083 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42084 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42086 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42087 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42089 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42090 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42092 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42093 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42095 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42096 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42098 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42099 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42101 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42102 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42104 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42105 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42107 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42108 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42110 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42111 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42113 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42114 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42116 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42117 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42119 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42120 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42122 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42123 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42125 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42126 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42128 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42129 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42131 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42132 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42134 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42135 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42137 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42138 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42140 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42141 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42143 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42144 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42146 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42147 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42149 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42150 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42152 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42153 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42155 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42156 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42158 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42159 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42161 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42162 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42164 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42165 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42167 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42168 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42170 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42171 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42173 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42174 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42176 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42179 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42182 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42183 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42185 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42186 return (void *)((wxObject
*) ((wxSizer
*) x
));
42188 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42189 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42191 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42192 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42194 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42195 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42197 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42198 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42200 static void *_p_wxImageTo_p_wxObject(void *x
) {
42201 return (void *)((wxObject
*) ((wxImage
*) x
));
42203 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42204 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42206 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42207 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42209 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42210 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42212 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42213 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42215 static void *_p_wxControlTo_p_wxObject(void *x
) {
42216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42218 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42219 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42221 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42222 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42224 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42225 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42227 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42228 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42230 static void *_p_wxEventTo_p_wxObject(void *x
) {
42231 return (void *)((wxObject
*) ((wxEvent
*) x
));
42233 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42234 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42236 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42237 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42239 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42240 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42242 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42243 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42245 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42246 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42248 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42249 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42251 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42252 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42254 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42255 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42257 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42260 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42261 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42263 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42264 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42266 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42267 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42269 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42270 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42272 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42273 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42275 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42276 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42278 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42279 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42281 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42282 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42284 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42285 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42287 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42288 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42290 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42291 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42293 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42294 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42296 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42297 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42299 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42300 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42302 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42303 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42305 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42306 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42308 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42309 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42311 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42312 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42314 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42315 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42317 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42318 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42320 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42321 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42323 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42324 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42326 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42327 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42329 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42330 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42332 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42333 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42335 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42336 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42338 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42339 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42341 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42342 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42344 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42345 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42347 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42348 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42350 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42351 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42353 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42354 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42356 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42357 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42359 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42360 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42362 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42363 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42365 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42366 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42368 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42369 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42371 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42372 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42374 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42375 return (void *)((wxWindow
*) ((wxControl
*) x
));
42377 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42378 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42380 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42381 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42383 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42384 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42386 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42387 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42389 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42390 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42392 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42393 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42395 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42396 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42398 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42399 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42401 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42402 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42404 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42405 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42407 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42408 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42410 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}};
42411 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}};
42412 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}};
42413 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}};
42414 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}};
42415 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}};
42416 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}};
42417 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}};
42418 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}};
42419 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}};
42420 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}};
42421 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}};
42422 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}};
42423 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}};
42424 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}};
42425 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}};
42426 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}};
42427 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}};
42428 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}};
42429 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}};
42430 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}};
42431 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}};
42432 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}};
42433 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}};
42434 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}};
42435 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}};
42436 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}};
42437 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}};
42438 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}};
42439 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}};
42440 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}};
42441 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}};
42442 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}};
42443 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}};
42444 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}};
42445 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}};
42446 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}};
42447 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}};
42448 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}};
42449 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}};
42450 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}};
42451 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}};
42452 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}};
42453 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}};
42454 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}};
42455 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}};
42456 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}};
42457 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}};
42458 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}};
42459 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}};
42460 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}};
42461 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}};
42462 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}};
42463 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}};
42464 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}};
42465 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}};
42466 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}};
42467 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}};
42468 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}};
42469 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}};
42470 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}};
42471 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}};
42472 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}};
42473 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}};
42474 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}};
42475 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}};
42476 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}};
42477 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}};
42478 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}};
42479 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}};
42480 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}};
42481 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}};
42482 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}};
42483 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}};
42484 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}};
42485 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}};
42486 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}};
42487 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}};
42488 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}};
42489 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}};
42490 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}};
42491 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}};
42492 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}};
42493 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}};
42494 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}};
42495 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}};
42496 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}};
42497 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}};
42498 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}};
42499 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}};
42500 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}};
42501 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}};
42502 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}};
42503 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}};
42504 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}};
42505 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}};
42506 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}};
42507 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}};
42508 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}};
42509 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}};
42510 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}};
42511 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}};
42512 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}};
42513 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}};
42514 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}};
42515 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}};
42516 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}};
42517 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}};
42518 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}};
42519 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}};
42520 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}};
42521 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}};
42522 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}};
42523 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}};
42524 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}};
42526 static swig_type_info
*swig_types_initial
[] = {
42527 _swigt__p_wxLayoutConstraints
,
42528 _swigt__p_wxRealPoint
,
42529 _swigt__p_wxSizerItem
,
42530 _swigt__p_wxGBSizerItem
,
42531 _swigt__p_wxScrollEvent
,
42532 _swigt__p_wxIndividualLayoutConstraint
,
42534 _swigt__p_wxBoxSizer
,
42535 _swigt__p_wxStaticBoxSizer
,
42536 _swigt__p_wxGridBagSizer
,
42537 _swigt__p_wxAcceleratorEntry
,
42538 _swigt__p_wxUpdateUIEvent
,
42541 _swigt__p_wxGridSizer
,
42542 _swigt__p_wxFlexGridSizer
,
42543 _swigt__p_wxInitDialogEvent
,
42544 _swigt__p_wxItemContainer
,
42545 _swigt__p_wxNcPaintEvent
,
42546 _swigt__p_wxPaintEvent
,
42547 _swigt__p_wxSysColourChangedEvent
,
42548 _swigt__p_wxMouseCaptureChangedEvent
,
42549 _swigt__p_wxDisplayChangedEvent
,
42550 _swigt__p_wxPaletteChangedEvent
,
42551 _swigt__p_wxControl
,
42553 _swigt__p_wxMenuBarBase
,
42554 _swigt__p_wxSetCursorEvent
,
42555 _swigt__p_wxFSFile
,
42557 _swigt__p_wxRegion
,
42558 _swigt__p_wxPoint2D
,
42562 _swigt__p_wxPySizer
,
42563 _swigt__p_wxVisualAttributes
,
42564 _swigt__p_wxNotifyEvent
,
42565 _swigt__p_wxPyEvent
,
42566 _swigt__p_wxPropagationDisabler
,
42567 _swigt__p_wxAppTraits
,
42568 _swigt__p_wxArrayString
,
42569 _swigt__p_wxShowEvent
,
42570 _swigt__p_wxToolTip
,
42571 _swigt__p_wxMaximizeEvent
,
42572 _swigt__p_wxIconizeEvent
,
42573 _swigt__p_wxActivateEvent
,
42574 _swigt__p_wxMoveEvent
,
42575 _swigt__p_wxSizeEvent
,
42576 _swigt__p_wxQueryNewPaletteEvent
,
42577 _swigt__p_wxWindowCreateEvent
,
42578 _swigt__p_wxIdleEvent
,
42579 _swigt__p_wxMenuItem
,
42580 _swigt__p_wxStaticBox
,
42582 _swigt__p_wxTIFFHandler
,
42583 _swigt__p_wxXPMHandler
,
42584 _swigt__p_wxPNMHandler
,
42585 _swigt__p_wxJPEGHandler
,
42586 _swigt__p_wxPCXHandler
,
42587 _swigt__p_wxGIFHandler
,
42588 _swigt__p_wxPNGHandler
,
42589 _swigt__p_wxANIHandler
,
42590 _swigt__p_wxMemoryFSHandler
,
42591 _swigt__p_wxEvtHandler
,
42592 _swigt__p_wxCURHandler
,
42593 _swigt__p_wxICOHandler
,
42594 _swigt__p_wxBMPHandler
,
42595 _swigt__p_wxImageHandler
,
42596 _swigt__p_wxFileSystemHandler
,
42597 _swigt__p_wxPyFileSystemHandler
,
42598 _swigt__p_wxInternetFSHandler
,
42599 _swigt__p_wxZipFSHandler
,
42601 _swigt__p_wxGBSpan
,
42602 _swigt__p_wxPropagateOnce
,
42603 _swigt__p_wxAcceleratorTable
,
42605 _swigt__p_wxGBPosition
,
42608 _swigt__p_wxScrollWinEvent
,
42609 _swigt__p_wxImageHistogram
,
42612 _swigt__p_wxCursor
,
42613 _swigt__p_wxObject
,
42614 _swigt__p_wxPyInputStream
,
42615 _swigt__p_wxOutputStream
,
42616 _swigt__p_wxInputStream
,
42617 _swigt__p_wxDateTime
,
42618 _swigt__p_wxKeyEvent
,
42619 _swigt__p_wxNavigationKeyEvent
,
42620 _swigt__p_wxWindowDestroyEvent
,
42621 _swigt__p_wxWindow
,
42622 _swigt__p_wxMenuBar
,
42623 _swigt__p_wxFileSystem
,
42624 _swigt__p_wxBitmap
,
42625 _swigt__p_wxMenuEvent
,
42626 _swigt__p_wxContextMenuEvent
,
42627 _swigt__p_unsigned_char
,
42628 _swigt__p_wxCloseEvent
,
42629 _swigt__p_wxEraseEvent
,
42630 _swigt__p_wxMouseEvent
,
42632 _swigt__p_wxCommandEvent
,
42633 _swigt__p_wxPyCommandEvent
,
42634 _swigt__p_wxPyDropTarget
,
42635 _swigt__p_wxChildFocusEvent
,
42636 _swigt__p_wxFocusEvent
,
42637 _swigt__p_wxDropFilesEvent
,
42638 _swigt__p_wxControlWithItems
,
42639 _swigt__p_wxColour
,
42640 _swigt__p_wxValidator
,
42641 _swigt__p_wxPyValidator
,
42646 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42648 static swig_const_info swig_const_table
[] = {
42658 SWIGEXPORT(void) SWIG_init(void) {
42659 static PyObject
*SWIG_globals
= 0;
42660 static int typeinit
= 0;
42663 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42664 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42665 d
= PyModule_GetDict(m
);
42668 for (i
= 0; swig_types_initial
[i
]; i
++) {
42669 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42673 SWIG_InstallConstants(d
,swig_const_table
);
42676 #ifndef wxPyUSE_EXPORT
42677 // Make our API structure a CObject so other modules can import it
42678 // from this module.
42679 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42680 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42684 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42685 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42686 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42687 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42688 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42689 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42690 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42691 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42692 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42693 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42694 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42695 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42696 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42697 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42698 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42699 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42700 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42701 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42702 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42703 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42704 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42705 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42706 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42707 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42708 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42709 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42710 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42711 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42712 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42713 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42714 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42715 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42716 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42717 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42718 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42719 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42720 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42721 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42722 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42723 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42724 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42725 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42726 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42727 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42728 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42729 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42730 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42731 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42732 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42733 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42734 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42735 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42736 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42737 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42738 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42739 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42740 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42741 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42742 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42743 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42744 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42745 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42746 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42747 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42748 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42749 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42750 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42751 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42752 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42753 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42754 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42755 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42756 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42757 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42758 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42759 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42760 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42761 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42762 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42763 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42764 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42765 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42766 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42767 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42768 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42769 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42770 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42771 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42772 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42773 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42774 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42775 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42776 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42777 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42778 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42779 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42780 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42781 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42782 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42783 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42784 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42785 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42786 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42787 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42788 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42789 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42790 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42791 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42792 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42793 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42794 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42795 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42796 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42797 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42798 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42799 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42800 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42801 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42802 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42803 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42804 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42805 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42806 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42807 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42808 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42809 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42810 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42811 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42812 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42813 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42814 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42815 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42816 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42817 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42818 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42819 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42820 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42821 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42822 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42823 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42824 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42825 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42826 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42827 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42828 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42829 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42830 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42831 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42832 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42833 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42834 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42835 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42836 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42837 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42838 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42839 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42840 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42841 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42842 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42843 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42844 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42845 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42846 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42847 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42848 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42849 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42850 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42851 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42852 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42853 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42854 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42855 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42856 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42857 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42858 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42859 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42860 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42861 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42862 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42863 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42864 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42865 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42866 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42867 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42868 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42869 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42870 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42871 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42872 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42873 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42874 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42875 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42876 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42877 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42878 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42879 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42880 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42881 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42882 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42883 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42884 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42885 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42886 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42887 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42888 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42889 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42890 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42891 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42892 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42893 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42894 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42895 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42896 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42897 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42898 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42899 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42900 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42901 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42902 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42903 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42904 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42905 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42906 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42907 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42908 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42909 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42910 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42911 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42912 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42913 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42914 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42915 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42916 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42917 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42918 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42919 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42920 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42921 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42922 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42923 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42924 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42925 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42926 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42927 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42928 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42929 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42930 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42931 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42932 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42933 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42934 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42935 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42936 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42937 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42938 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42939 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42940 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42941 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42942 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42943 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42944 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42945 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42946 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42947 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42948 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42949 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42950 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42951 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42952 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42953 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42954 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42955 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42956 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42957 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42958 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42959 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42960 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42961 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42962 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42963 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42964 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42965 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42966 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42967 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42968 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42969 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42970 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42971 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42972 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42973 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42974 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42975 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42976 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42977 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42978 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42979 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42980 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42981 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42982 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42983 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42984 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42985 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42986 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42987 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42988 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42989 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42990 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42991 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42992 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42993 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42994 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42995 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42996 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42997 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42998 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42999 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
43000 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
43001 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
43002 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
43003 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
43004 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
43005 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
43006 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
43007 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
43008 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
43009 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
43010 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
43011 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
43012 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
43013 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
43014 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
43015 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
43016 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
43017 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
43018 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
43019 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
43020 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
43021 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
43022 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
43023 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
43024 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
43025 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
43026 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
43027 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
43028 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
43029 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
43030 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
43031 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
43032 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
43033 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
43034 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
43035 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
43036 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
43037 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
43038 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
43039 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
43040 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
43041 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
43042 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
43043 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
43044 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
43045 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
43046 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
43047 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
43048 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
43049 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
43050 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
43051 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
43052 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
43053 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
43054 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
43055 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
43056 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
43057 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
43058 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
43059 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
43060 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
43061 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
43062 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
43063 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
43064 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
43065 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
43066 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
43067 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
43068 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
43069 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
43070 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
43071 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
43072 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
43073 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
43074 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
43075 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
43076 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
43077 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
43078 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
43079 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
43080 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
43081 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
43082 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
43083 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
43084 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
43085 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
43086 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
43087 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
43088 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
43089 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
43090 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
43091 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
43092 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
43093 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
43094 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
43095 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
43096 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
43097 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
43098 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
43099 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
43100 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
43101 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
43102 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
43103 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
43104 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
43105 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
43106 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
43107 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
43108 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
43109 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
43110 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
43111 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
43112 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
43113 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
43114 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
43115 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
43116 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
43117 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
43118 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
43119 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
43120 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
43121 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
43122 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
43123 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
43124 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
43125 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
43126 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
43127 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
43128 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
43129 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
43130 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
43131 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
43132 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
43133 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
43134 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
43135 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
43136 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
43137 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
43138 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
43139 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
43140 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
43141 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43142 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
43143 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
43144 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
43145 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
43146 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
43147 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
43148 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
43149 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
43150 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
43151 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
43152 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
43153 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
43154 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43155 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
43156 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
43157 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
43158 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
43159 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
43160 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
43161 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
43162 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
43163 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
43164 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
43165 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
43166 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43167 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
43168 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
43169 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
43170 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
43171 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
43172 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
43173 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
43174 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
43175 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
43176 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
43177 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43178 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43179 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43180 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43181 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
43182 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
43183 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
43184 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
43185 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
43186 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
43187 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43188 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43189 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
43190 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
43191 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
43192 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
43193 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
43194 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
43195 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
43196 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
43197 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
43198 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
43199 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43200 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43201 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
43202 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
43203 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
43204 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
43205 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
43206 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
43207 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
43208 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
43209 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
43210 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
43211 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
43212 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
43213 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
43214 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
43215 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
43216 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
43217 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
43218 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
43219 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
43220 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
43221 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
43222 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
43223 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
43224 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
43225 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
43226 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
43227 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
43228 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
43229 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
43230 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
43231 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
43232 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
43233 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
43234 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
43235 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
43236 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
43237 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
43238 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
43239 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
43240 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
43241 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
43242 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
43243 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
43244 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
43245 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
43246 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
43247 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
43248 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
43249 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
43250 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
43251 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
43252 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43253 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43254 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
43255 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
43256 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
43258 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43261 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43263 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43264 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43265 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43266 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43267 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43268 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43269 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
43270 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
43271 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
43272 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
43273 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
43274 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
43275 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
43276 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
43277 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
43278 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
43279 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
43280 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
43281 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
43282 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43283 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43284 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43285 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43286 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43287 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43288 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43289 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43290 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43291 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43292 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43293 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43294 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43295 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43296 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43297 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43298 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43299 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43300 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43301 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43302 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43303 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43304 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43305 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43306 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43307 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43308 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43309 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43310 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43311 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43312 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43313 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43314 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43315 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43316 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43317 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43318 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43319 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43320 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43321 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43322 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43323 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43324 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43325 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43326 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43327 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43328 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43329 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43330 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43331 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43332 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43333 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43334 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43335 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43336 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43337 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43338 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43339 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43340 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43341 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43342 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43343 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43344 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43345 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43346 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43347 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43348 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43349 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43350 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43351 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43352 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43353 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43354 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43355 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43356 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43357 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43358 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43359 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43360 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43361 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43362 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43363 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43364 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43365 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43366 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43367 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43368 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43369 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43370 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43371 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43372 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43373 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43374 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43375 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43376 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43377 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43378 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43379 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43380 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43381 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43382 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43383 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43384 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43385 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43386 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43387 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43388 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43389 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43390 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43391 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43392 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43393 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43394 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43395 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43396 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
43397 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
43398 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
43399 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
43400 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
43401 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
43402 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43403 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
43404 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
43405 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
43406 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43407 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43408 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43409 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43410 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43411 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43412 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43413 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43414 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43415 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43416 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43417 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43418 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43419 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43420 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43421 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43422 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43423 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43424 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43425 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43426 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43427 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43428 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43429 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43430 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43431 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43432 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43433 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43434 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43435 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43436 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43437 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43438 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43439 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43440 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43441 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43442 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43444 // Initialize threading, some globals and such
43448 // Although these are defined in __version__ they need to be here too so
43449 // that an assert can be done to ensure that the wxPython and the wxWindows
43451 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43452 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43453 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));