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();
1340 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1342 void wxApp_CleanUp() {
1347 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1352 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1353 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1354 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1355 wxWindowList
& list
= self
->GetChildren();
1356 return wxPy_ConvertList(&list
);
1358 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1360 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1365 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1372 long wxWindow_GetHandle(wxWindow
*self
){
1373 return wxPyGetWinHandle(self
);
1376 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1377 return wxWindow::FindWindowById(id
, parent
);
1380 wxWindow
* wxFindWindowByName( const wxString
& name
,
1381 const wxWindow
*parent
= NULL
) {
1382 return wxWindow::FindWindowByName(name
, parent
);
1385 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1386 const wxWindow
*parent
= NULL
) {
1387 return wxWindow::FindWindowByLabel(label
, parent
);
1392 #include <wx/msw/private.h> // to get wxGetWindowId
1396 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1398 WXHWND hWnd
= (WXHWND
)_hWnd
;
1399 long id
= wxGetWindowId(hWnd
);
1400 wxWindow
* win
= new wxWindow
;
1401 parent
->AddChild(win
);
1402 win
->SetEventHandler(win
);
1405 win
->SubclassWin(hWnd
);
1406 win
->AdoptAttributesFromHWND();
1407 win
->SetupColours();
1410 wxPyRaiseNotImplemented();
1416 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1418 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1420 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1422 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1423 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1424 wxMenuItemList
& list
= self
->GetMenuItems();
1425 return wxPy_ConvertList(&list
);
1427 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1428 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1429 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1431 wxPyClientData
* data
= new wxPyClientData(clientData
);
1432 return self
->Append(item
, data
);
1434 return self
->Append(item
);
1436 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1438 wxPyClientData
* data
= new wxPyClientData(clientData
);
1439 return self
->Insert(item
, pos
, data
);
1441 return self
->Insert(item
, pos
);
1443 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1444 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1446 Py_INCREF(data
->m_obj
);
1453 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1454 wxPyClientData
* data
= new wxPyClientData(clientData
);
1455 self
->SetClientObject(n
, data
);
1463 SWIG_FloatCast(double value
)
1466 if (!PyErr_Occurred()) {
1467 if (value
< FLT_MIN
) {
1469 PyString_FromFormat("value %g is less than float minimum %g",
1471 PyErr_SetObject(PyExc_OverflowError
, err
);
1473 } else if (value
> FLT_MAX
) {
1475 PyString_FromFormat("value %g is greater than float maximum %g",
1477 PyErr_SetObject(PyExc_OverflowError
, err
);
1480 f
= swig_numeric_cast(float, value
);
1487 SWIGSTATICINLINE(float)
1488 SWIG_AsFloat(PyObject
*obj
)
1490 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1494 SWIGSTATICINLINE(int)
1495 SWIG_CheckFloat(PyObject
* obj
)
1498 if (PyErr_Occurred()) {
1506 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1507 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1509 Py_INCREF(data
->m_obj
);
1517 // Figure out the type of the sizer item
1519 struct wxPySizerItemInfo
{
1521 : window(NULL
), sizer(NULL
), gotSize(False
),
1522 size(wxDefaultSize
), gotPos(False
), pos(-1)
1533 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1535 wxPySizerItemInfo info
;
1537 wxSize
* sizePtr
= &size
;
1539 // Find out what the type of the item is
1541 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1546 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1550 // try wxSize or (w,h)
1551 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1552 info
.size
= *sizePtr
;
1553 info
.gotSize
= True
;
1557 if (checkIdx
&& PyInt_Check(item
)) {
1558 info
.pos
= PyInt_AsLong(item
);
1564 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1565 // no expected type, figure out what kind of error message to generate
1566 if ( !checkSize
&& !checkIdx
)
1567 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1568 else if ( checkSize
&& !checkIdx
)
1569 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1570 else if ( !checkSize
&& checkIdx
)
1571 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1573 // can this one happen?
1574 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1580 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1581 self
->SetClientObject(new wxPyOORClientData(_self
));
1583 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1585 wxPyUserData
* data
= NULL
;
1586 bool blocked
= wxPyBeginBlockThreads();
1587 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1588 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1589 data
= new wxPyUserData(userData
);
1590 wxPyEndBlockThreads(blocked
);
1592 // Now call the real Add method if a valid item type was found
1594 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1595 else if ( info
.sizer
)
1596 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1597 else if (info
.gotSize
)
1598 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1599 proportion
, flag
, border
, data
);
1601 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1603 wxPyUserData
* data
= NULL
;
1604 bool blocked
= wxPyBeginBlockThreads();
1605 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1606 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1607 data
= new wxPyUserData(userData
);
1608 wxPyEndBlockThreads(blocked
);
1610 // Now call the real Insert method if a valid item type was found
1612 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1613 else if ( info
.sizer
)
1614 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1615 else if (info
.gotSize
)
1616 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1617 proportion
, flag
, border
, data
);
1619 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1621 wxPyUserData
* data
= NULL
;
1622 bool blocked
= wxPyBeginBlockThreads();
1623 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1624 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1625 data
= new wxPyUserData(userData
);
1626 wxPyEndBlockThreads(blocked
);
1628 // Now call the real Prepend method if a valid item type was found
1630 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1631 else if ( info
.sizer
)
1632 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1633 else if (info
.gotSize
)
1634 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1635 proportion
, flag
, border
, data
);
1637 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1638 bool blocked
= wxPyBeginBlockThreads();
1639 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1640 wxPyEndBlockThreads(blocked
);
1642 return self
->Remove(info
.window
);
1643 else if ( info
.sizer
)
1644 return self
->Remove(info
.sizer
);
1645 else if ( info
.gotPos
)
1646 return self
->Remove(info
.pos
);
1650 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1651 bool blocked
= wxPyBeginBlockThreads();
1652 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1653 wxPyEndBlockThreads(blocked
);
1655 return self
->Detach(info
.window
);
1656 else if ( info
.sizer
)
1657 return self
->Detach(info
.sizer
);
1658 else if ( info
.gotPos
)
1659 return self
->Detach(info
.pos
);
1663 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1664 bool blocked
= wxPyBeginBlockThreads();
1665 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1666 wxPyEndBlockThreads(blocked
);
1668 self
->SetItemMinSize(info
.window
, size
);
1669 else if ( info
.sizer
)
1670 self
->SetItemMinSize(info
.sizer
, size
);
1671 else if ( info
.gotPos
)
1672 self
->SetItemMinSize(info
.pos
, size
);
1674 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1675 wxSizerItemList
& list
= self
->GetChildren();
1676 return wxPy_ConvertList(&list
);
1678 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1679 bool blocked
= wxPyBeginBlockThreads();
1680 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1681 wxPyEndBlockThreads(blocked
);
1683 self
->Show(info
.window
, show
);
1684 else if ( info
.sizer
)
1685 self
->Show(info
.sizer
, show
);
1687 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1688 bool blocked
= wxPyBeginBlockThreads();
1689 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1690 wxPyEndBlockThreads(blocked
);
1692 self
->Hide(info
.window
);
1693 else if ( info
.sizer
)
1694 self
->Hide(info
.sizer
);
1696 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1697 bool blocked
= wxPyBeginBlockThreads();
1698 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1699 wxPyEndBlockThreads(blocked
);
1701 return self
->IsShown(info
.window
);
1702 else if ( info
.sizer
)
1703 return self
->IsShown(info
.sizer
);
1709 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1710 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1711 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1716 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1718 if (source
== Py_None
) {
1719 **obj
= wxGBPosition(-1,-1);
1722 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1725 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1727 if (source
== Py_None
) {
1728 **obj
= wxGBSpan(-1,-1);
1731 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1735 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1739 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1740 bool blocked
= wxPyBeginBlockThreads();
1741 PyObject
* tup
= PyTuple_New(2);
1742 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1743 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1744 wxPyEndBlockThreads(blocked
);
1747 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1748 self
->SetRowspan(rowspan
);
1749 self
->SetColspan(colspan
);
1751 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1752 bool blocked
= wxPyBeginBlockThreads();
1753 PyObject
* tup
= PyTuple_New(2);
1754 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1755 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1756 wxPyEndBlockThreads(blocked
);
1759 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1761 wxPyUserData
* data
= NULL
;
1762 bool blocked
= wxPyBeginBlockThreads();
1763 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1764 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1765 data
= new wxPyUserData(userData
);
1766 wxPyEndBlockThreads(blocked
);
1768 // Now call the real Add method if a valid item type was found
1770 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1771 else if ( info
.sizer
)
1772 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1773 else if (info
.gotSize
)
1774 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1775 pos
, span
, flag
, border
, data
);
1783 static int _wrap_EmptyString_set(PyObject
*_val
) {
1784 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1789 static PyObject
*_wrap_EmptyString_get() {
1794 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1796 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1803 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
*resultobj
;
1805 wxObject
*arg1
= (wxObject
*) 0 ;
1807 PyObject
* obj0
= 0 ;
1809 (char *) "self", NULL
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1817 result
= wxObject_GetClassName(arg1
);
1819 wxPyEndAllowThreads(__tstate
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1835 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
*resultobj
;
1837 wxObject
*arg1
= (wxObject
*) 0 ;
1838 PyObject
* obj0
= 0 ;
1840 (char *) "self", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 wxObject_Destroy(arg1
);
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1853 Py_INCREF(Py_None
); resultobj
= Py_None
;
1860 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1863 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1865 return Py_BuildValue((char *)"");
1867 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1869 wxSize
*arg1
= (wxSize
*) 0 ;
1871 PyObject
* obj0
= 0 ;
1872 PyObject
* obj1
= 0 ;
1874 (char *) "self",(char *) "x", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1880 arg2
= (int) SWIG_AsInt(obj1
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1882 if (arg1
) (arg1
)->x
= arg2
;
1884 Py_INCREF(Py_None
); resultobj
= Py_None
;
1891 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
*resultobj
;
1893 wxSize
*arg1
= (wxSize
*) 0 ;
1895 PyObject
* obj0
= 0 ;
1897 (char *) "self", NULL
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1903 result
= (int) ((arg1
)->x
);
1905 resultobj
= SWIG_FromInt((int)result
);
1912 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
*resultobj
;
1914 wxSize
*arg1
= (wxSize
*) 0 ;
1916 PyObject
* obj0
= 0 ;
1917 PyObject
* obj1
= 0 ;
1919 (char *) "self",(char *) "y", NULL
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1925 arg2
= (int) SWIG_AsInt(obj1
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1927 if (arg1
) (arg1
)->y
= arg2
;
1929 Py_INCREF(Py_None
); resultobj
= Py_None
;
1936 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
*resultobj
;
1938 wxSize
*arg1
= (wxSize
*) 0 ;
1940 PyObject
* obj0
= 0 ;
1942 (char *) "self", NULL
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1948 result
= (int) ((arg1
)->y
);
1950 resultobj
= SWIG_FromInt((int)result
);
1957 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 int arg1
= (int) 0 ;
1960 int arg2
= (int) 0 ;
1962 PyObject
* obj0
= 0 ;
1963 PyObject
* obj1
= 0 ;
1965 (char *) "w",(char *) "h", NULL
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1970 arg1
= (int) SWIG_AsInt(obj0
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1974 arg2
= (int) SWIG_AsInt(obj1
);
1975 if (PyErr_Occurred()) SWIG_fail
;
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) SWIG_fail
;
1984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1991 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
*resultobj
;
1993 wxSize
*arg1
= (wxSize
*) 0 ;
1994 PyObject
* obj0
= 0 ;
1996 (char *) "self", NULL
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) SWIG_fail
;
2009 Py_INCREF(Py_None
); resultobj
= Py_None
;
2016 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
*resultobj
;
2018 wxSize
*arg1
= (wxSize
*) 0 ;
2022 PyObject
* obj0
= 0 ;
2023 PyObject
* obj1
= 0 ;
2025 (char *) "self",(char *) "sz", NULL
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2033 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2051 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
*resultobj
;
2053 wxSize
*arg1
= (wxSize
*) 0 ;
2057 PyObject
* obj0
= 0 ;
2058 PyObject
* obj1
= 0 ;
2060 (char *) "self",(char *) "sz", NULL
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2068 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2074 wxPyEndAllowThreads(__tstate
);
2075 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2086 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2088 wxSize
*arg1
= (wxSize
*) 0 ;
2092 PyObject
* obj0
= 0 ;
2093 PyObject
* obj1
= 0 ;
2095 (char *) "self",(char *) "sz", NULL
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2103 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2114 resultptr
= new wxSize((wxSize
&) result
);
2115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2123 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
*resultobj
;
2125 wxSize
*arg1
= (wxSize
*) 0 ;
2129 PyObject
* obj0
= 0 ;
2130 PyObject
* obj1
= 0 ;
2132 (char *) "self",(char *) "sz", NULL
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2140 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2151 resultptr
= new wxSize((wxSize
&) result
);
2152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2160 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
*resultobj
;
2162 wxSize
*arg1
= (wxSize
*) 0 ;
2165 PyObject
* obj0
= 0 ;
2166 PyObject
* obj1
= 0 ;
2168 (char *) "self",(char *) "sz", NULL
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2176 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 (arg1
)->IncTo((wxSize
const &)*arg2
);
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) SWIG_fail
;
2185 Py_INCREF(Py_None
); resultobj
= Py_None
;
2192 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
*resultobj
;
2194 wxSize
*arg1
= (wxSize
*) 0 ;
2197 PyObject
* obj0
= 0 ;
2198 PyObject
* obj1
= 0 ;
2200 (char *) "self",(char *) "sz", NULL
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2208 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 (arg1
)->DecTo((wxSize
const &)*arg2
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2217 Py_INCREF(Py_None
); resultobj
= Py_None
;
2224 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2226 wxSize
*arg1
= (wxSize
*) 0 ;
2229 PyObject
* obj0
= 0 ;
2230 PyObject
* obj1
= 0 ;
2231 PyObject
* obj2
= 0 ;
2233 (char *) "self",(char *) "w",(char *) "h", NULL
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2239 arg2
= (int) SWIG_AsInt(obj1
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2241 arg3
= (int) SWIG_AsInt(obj2
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 (arg1
)->Set(arg2
,arg3
);
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2250 Py_INCREF(Py_None
); resultobj
= Py_None
;
2257 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
*resultobj
;
2259 wxSize
*arg1
= (wxSize
*) 0 ;
2261 PyObject
* obj0
= 0 ;
2262 PyObject
* obj1
= 0 ;
2264 (char *) "self",(char *) "w", NULL
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2270 arg2
= (int) SWIG_AsInt(obj1
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 (arg1
)->SetWidth(arg2
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 Py_INCREF(Py_None
); resultobj
= Py_None
;
2286 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2288 wxSize
*arg1
= (wxSize
*) 0 ;
2290 PyObject
* obj0
= 0 ;
2291 PyObject
* obj1
= 0 ;
2293 (char *) "self",(char *) "h", NULL
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2299 arg2
= (int) SWIG_AsInt(obj1
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 (arg1
)->SetHeight(arg2
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2308 Py_INCREF(Py_None
); resultobj
= Py_None
;
2315 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
*resultobj
;
2317 wxSize
*arg1
= (wxSize
*) 0 ;
2319 PyObject
* obj0
= 0 ;
2321 (char *) "self", NULL
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 resultobj
= SWIG_FromInt((int)result
);
2341 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 wxSize
*arg1
= (wxSize
*) 0 ;
2345 PyObject
* obj0
= 0 ;
2347 (char *) "self", NULL
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2360 resultobj
= SWIG_FromInt((int)result
);
2367 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
*resultobj
;
2369 wxSize
*arg1
= (wxSize
*) 0 ;
2371 PyObject
* obj0
= 0 ;
2373 (char *) "self", NULL
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2395 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2397 wxSize
*arg1
= (wxSize
*) 0 ;
2400 PyObject
* obj0
= 0 ;
2401 PyObject
* obj1
= 0 ;
2403 (char *) "self",(char *) "size", NULL
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2411 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2420 Py_INCREF(Py_None
); resultobj
= Py_None
;
2427 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2429 wxSize
*arg1
= (wxSize
*) 0 ;
2431 PyObject
* obj0
= 0 ;
2433 (char *) "self", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 result
= (PyObject
*)wxSize_Get(arg1
);
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2453 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2456 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2458 return Py_BuildValue((char *)"");
2460 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
*resultobj
;
2462 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2464 PyObject
* obj0
= 0 ;
2465 PyObject
* obj1
= 0 ;
2467 (char *) "self",(char *) "x", NULL
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2473 arg2
= (double) SWIG_AsDouble(obj1
);
2474 if (PyErr_Occurred()) SWIG_fail
;
2475 if (arg1
) (arg1
)->x
= arg2
;
2477 Py_INCREF(Py_None
); resultobj
= Py_None
;
2484 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
*resultobj
;
2486 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2488 PyObject
* obj0
= 0 ;
2490 (char *) "self", NULL
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2496 result
= (double) ((arg1
)->x
);
2498 resultobj
= SWIG_FromDouble((double)result
);
2505 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2507 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2509 PyObject
* obj0
= 0 ;
2510 PyObject
* obj1
= 0 ;
2512 (char *) "self",(char *) "y", NULL
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2518 arg2
= (double) SWIG_AsDouble(obj1
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2520 if (arg1
) (arg1
)->y
= arg2
;
2522 Py_INCREF(Py_None
); resultobj
= Py_None
;
2529 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2533 PyObject
* obj0
= 0 ;
2535 (char *) "self", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2541 result
= (double) ((arg1
)->y
);
2543 resultobj
= SWIG_FromDouble((double)result
);
2550 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2552 double arg1
= (double) 0.0 ;
2553 double arg2
= (double) 0.0 ;
2554 wxRealPoint
*result
;
2555 PyObject
* obj0
= 0 ;
2556 PyObject
* obj1
= 0 ;
2558 (char *) "x",(char *) "y", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2563 arg1
= (double) SWIG_AsDouble(obj0
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2567 arg2
= (double) SWIG_AsDouble(obj1
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2584 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2587 PyObject
* obj0
= 0 ;
2589 (char *) "self", NULL
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2602 Py_INCREF(Py_None
); resultobj
= Py_None
;
2609 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
*resultobj
;
2611 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2612 wxRealPoint
*arg2
= 0 ;
2615 PyObject
* obj0
= 0 ;
2616 PyObject
* obj1
= 0 ;
2618 (char *) "self",(char *) "pt", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2626 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2644 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
*resultobj
;
2646 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2647 wxRealPoint
*arg2
= 0 ;
2650 PyObject
* obj0
= 0 ;
2651 PyObject
* obj1
= 0 ;
2653 (char *) "self",(char *) "pt", NULL
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2661 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2665 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2667 wxPyEndAllowThreads(__tstate
);
2668 if (PyErr_Occurred()) SWIG_fail
;
2671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2679 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2682 wxRealPoint
*arg2
= 0 ;
2685 PyObject
* obj0
= 0 ;
2686 PyObject
* obj1
= 0 ;
2688 (char *) "self",(char *) "pt", NULL
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2696 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2706 wxRealPoint
* resultptr
;
2707 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2716 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
*resultobj
;
2718 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2719 wxRealPoint
*arg2
= 0 ;
2722 PyObject
* obj0
= 0 ;
2723 PyObject
* obj1
= 0 ;
2725 (char *) "self",(char *) "pt", NULL
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2733 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2743 wxRealPoint
* resultptr
;
2744 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2753 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2758 PyObject
* obj0
= 0 ;
2759 PyObject
* obj1
= 0 ;
2760 PyObject
* obj2
= 0 ;
2762 (char *) "self",(char *) "x",(char *) "y", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2768 arg2
= (double) SWIG_AsDouble(obj1
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2770 arg3
= (double) SWIG_AsDouble(obj2
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 wxRealPoint_Set(arg1
,arg2
,arg3
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 Py_INCREF(Py_None
); resultobj
= Py_None
;
2786 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
*resultobj
;
2788 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2790 PyObject
* obj0
= 0 ;
2792 (char *) "self", NULL
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2812 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2815 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2817 return Py_BuildValue((char *)"");
2819 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2821 wxPoint
*arg1
= (wxPoint
*) 0 ;
2823 PyObject
* obj0
= 0 ;
2824 PyObject
* obj1
= 0 ;
2826 (char *) "self",(char *) "x", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2832 arg2
= (int) SWIG_AsInt(obj1
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2834 if (arg1
) (arg1
)->x
= arg2
;
2836 Py_INCREF(Py_None
); resultobj
= Py_None
;
2843 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
*resultobj
;
2845 wxPoint
*arg1
= (wxPoint
*) 0 ;
2847 PyObject
* obj0
= 0 ;
2849 (char *) "self", NULL
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2855 result
= (int) ((arg1
)->x
);
2857 resultobj
= SWIG_FromInt((int)result
);
2864 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
*resultobj
;
2866 wxPoint
*arg1
= (wxPoint
*) 0 ;
2868 PyObject
* obj0
= 0 ;
2869 PyObject
* obj1
= 0 ;
2871 (char *) "self",(char *) "y", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2877 arg2
= (int) SWIG_AsInt(obj1
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2879 if (arg1
) (arg1
)->y
= arg2
;
2881 Py_INCREF(Py_None
); resultobj
= Py_None
;
2888 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
*resultobj
;
2890 wxPoint
*arg1
= (wxPoint
*) 0 ;
2892 PyObject
* obj0
= 0 ;
2894 (char *) "self", NULL
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2900 result
= (int) ((arg1
)->y
);
2902 resultobj
= SWIG_FromInt((int)result
);
2909 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 int arg1
= (int) 0 ;
2912 int arg2
= (int) 0 ;
2914 PyObject
* obj0
= 0 ;
2915 PyObject
* obj1
= 0 ;
2917 (char *) "x",(char *) "y", NULL
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2922 arg1
= (int) SWIG_AsInt(obj0
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2926 arg2
= (int) SWIG_AsInt(obj1
);
2927 if (PyErr_Occurred()) SWIG_fail
;
2930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2931 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2933 wxPyEndAllowThreads(__tstate
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2943 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2945 wxPoint
*arg1
= (wxPoint
*) 0 ;
2946 PyObject
* obj0
= 0 ;
2948 (char *) "self", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2961 Py_INCREF(Py_None
); resultobj
= Py_None
;
2968 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxPoint
*arg1
= (wxPoint
*) 0 ;
2974 PyObject
* obj0
= 0 ;
2975 PyObject
* obj1
= 0 ;
2977 (char *) "self",(char *) "pt", NULL
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2985 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3003 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxPoint
*arg1
= (wxPoint
*) 0 ;
3009 PyObject
* obj0
= 0 ;
3010 PyObject
* obj1
= 0 ;
3012 (char *) "self",(char *) "pt", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3020 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3038 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
*resultobj
;
3040 wxPoint
*arg1
= (wxPoint
*) 0 ;
3044 PyObject
* obj0
= 0 ;
3045 PyObject
* obj1
= 0 ;
3047 (char *) "self",(char *) "pt", NULL
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3059 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3061 wxPyEndAllowThreads(__tstate
);
3062 if (PyErr_Occurred()) SWIG_fail
;
3065 wxPoint
* resultptr
;
3066 resultptr
= new wxPoint((wxPoint
&) result
);
3067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3075 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
;
3077 wxPoint
*arg1
= (wxPoint
*) 0 ;
3081 PyObject
* obj0
= 0 ;
3082 PyObject
* obj1
= 0 ;
3084 (char *) "self",(char *) "pt", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3092 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3102 wxPoint
* resultptr
;
3103 resultptr
= new wxPoint((wxPoint
&) result
);
3104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3112 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
*resultobj
;
3114 wxPoint
*arg1
= (wxPoint
*) 0 ;
3118 PyObject
* obj0
= 0 ;
3119 PyObject
* obj1
= 0 ;
3121 (char *) "self",(char *) "pt", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3129 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3135 result
= (wxPoint
*) &_result_ref
;
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3148 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
;
3150 wxPoint
*arg1
= (wxPoint
*) 0 ;
3154 PyObject
* obj0
= 0 ;
3155 PyObject
* obj1
= 0 ;
3157 (char *) "self",(char *) "pt", NULL
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3165 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3171 result
= (wxPoint
*) &_result_ref
;
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3184 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
*resultobj
;
3186 wxPoint
*arg1
= (wxPoint
*) 0 ;
3189 PyObject
* obj0
= 0 ;
3190 PyObject
* obj1
= 0 ;
3191 PyObject
* obj2
= 0 ;
3193 (char *) "self",(char *) "x",(char *) "y", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3199 arg2
= (long) SWIG_AsLong(obj1
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3201 arg3
= (long) SWIG_AsLong(obj2
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 wxPoint_Set(arg1
,arg2
,arg3
);
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3210 Py_INCREF(Py_None
); resultobj
= Py_None
;
3217 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxPoint
*arg1
= (wxPoint
*) 0 ;
3221 PyObject
* obj0
= 0 ;
3223 (char *) "self", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 result
= (PyObject
*)wxPoint_Get(arg1
);
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3243 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3246 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3248 return Py_BuildValue((char *)"");
3250 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 int arg1
= (int) 0 ;
3253 int arg2
= (int) 0 ;
3254 int arg3
= (int) 0 ;
3255 int arg4
= (int) 0 ;
3257 PyObject
* obj0
= 0 ;
3258 PyObject
* obj1
= 0 ;
3259 PyObject
* obj2
= 0 ;
3260 PyObject
* obj3
= 0 ;
3262 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3267 arg1
= (int) SWIG_AsInt(obj0
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3271 arg2
= (int) SWIG_AsInt(obj1
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3275 arg3
= (int) SWIG_AsInt(obj2
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3279 arg4
= (int) SWIG_AsInt(obj3
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3296 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3303 PyObject
* obj0
= 0 ;
3304 PyObject
* obj1
= 0 ;
3306 (char *) "topLeft",(char *) "bottomRight", NULL
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3312 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3316 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3332 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
*resultobj
;
3339 PyObject
* obj0
= 0 ;
3340 PyObject
* obj1
= 0 ;
3342 (char *) "pos",(char *) "size", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3348 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3352 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3368 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxRect
*arg1
= (wxRect
*) 0 ;
3371 PyObject
* obj0
= 0 ;
3373 (char *) "self", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3386 Py_INCREF(Py_None
); resultobj
= Py_None
;
3393 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
*resultobj
;
3395 wxRect
*arg1
= (wxRect
*) 0 ;
3397 PyObject
* obj0
= 0 ;
3399 (char *) "self", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 result
= (int)((wxRect
const *)arg1
)->GetX();
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= SWIG_FromInt((int)result
);
3419 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
*resultobj
;
3421 wxRect
*arg1
= (wxRect
*) 0 ;
3423 PyObject
* obj0
= 0 ;
3424 PyObject
* obj1
= 0 ;
3426 (char *) "self",(char *) "x", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3432 arg2
= (int) SWIG_AsInt(obj1
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 Py_INCREF(Py_None
); resultobj
= Py_None
;
3448 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxRect
*arg1
= (wxRect
*) 0 ;
3452 PyObject
* obj0
= 0 ;
3454 (char *) "self", NULL
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 result
= (int)(arg1
)->GetY();
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3467 resultobj
= SWIG_FromInt((int)result
);
3474 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3476 wxRect
*arg1
= (wxRect
*) 0 ;
3478 PyObject
* obj0
= 0 ;
3479 PyObject
* obj1
= 0 ;
3481 (char *) "self",(char *) "y", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3487 arg2
= (int) SWIG_AsInt(obj1
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3496 Py_INCREF(Py_None
); resultobj
= Py_None
;
3503 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxRect
*arg1
= (wxRect
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3509 (char *) "self", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 resultobj
= SWIG_FromInt((int)result
);
3529 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxRect
*arg1
= (wxRect
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3536 (char *) "self",(char *) "w", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3542 arg2
= (int) SWIG_AsInt(obj1
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 (arg1
)->SetWidth(arg2
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 Py_INCREF(Py_None
); resultobj
= Py_None
;
3558 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxRect
*arg1
= (wxRect
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3564 (char *) "self", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_FromInt((int)result
);
3584 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxRect
*arg1
= (wxRect
*) 0 ;
3588 PyObject
* obj0
= 0 ;
3589 PyObject
* obj1
= 0 ;
3591 (char *) "self",(char *) "h", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3597 arg2
= (int) SWIG_AsInt(obj1
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 (arg1
)->SetHeight(arg2
);
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 Py_INCREF(Py_None
); resultobj
= Py_None
;
3613 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxRect
*arg1
= (wxRect
*) 0 ;
3617 PyObject
* obj0
= 0 ;
3619 (char *) "self", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= ((wxRect
const *)arg1
)->GetPosition();
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3633 wxPoint
* resultptr
;
3634 resultptr
= new wxPoint((wxPoint
&) result
);
3635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3643 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3645 wxRect
*arg1
= (wxRect
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3649 PyObject
* obj1
= 0 ;
3651 (char *) "self",(char *) "p", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 Py_INCREF(Py_None
); resultobj
= Py_None
;
3675 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxRect
*arg1
= (wxRect
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3681 (char *) "self", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 result
= ((wxRect
const *)arg1
)->GetSize();
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3696 resultptr
= new wxSize((wxSize
&) result
);
3697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3705 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
*resultobj
;
3707 wxRect
*arg1
= (wxRect
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3711 PyObject
* obj1
= 0 ;
3713 (char *) "self",(char *) "s", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3721 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 (arg1
)->SetSize((wxSize
const &)*arg2
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 Py_INCREF(Py_None
); resultobj
= Py_None
;
3737 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3739 wxRect
*arg1
= (wxRect
*) 0 ;
3741 PyObject
* obj0
= 0 ;
3743 (char *) "self", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3757 wxPoint
* resultptr
;
3758 resultptr
= new wxPoint((wxPoint
&) result
);
3759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3767 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 wxRect
*arg1
= (wxRect
*) 0 ;
3772 PyObject
* obj0
= 0 ;
3773 PyObject
* obj1
= 0 ;
3775 (char *) "self",(char *) "p", NULL
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3783 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 Py_INCREF(Py_None
); resultobj
= Py_None
;
3799 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3801 wxRect
*arg1
= (wxRect
*) 0 ;
3803 PyObject
* obj0
= 0 ;
3805 (char *) "self", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3819 wxPoint
* resultptr
;
3820 resultptr
= new wxPoint((wxPoint
&) result
);
3821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3829 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
*resultobj
;
3831 wxRect
*arg1
= (wxRect
*) 0 ;
3834 PyObject
* obj0
= 0 ;
3835 PyObject
* obj1
= 0 ;
3837 (char *) "self",(char *) "p", NULL
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3845 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 Py_INCREF(Py_None
); resultobj
= Py_None
;
3861 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 wxRect
*arg1
= (wxRect
*) 0 ;
3865 PyObject
* obj0
= 0 ;
3867 (char *) "self", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3880 resultobj
= SWIG_FromInt((int)result
);
3887 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxRect
*arg1
= (wxRect
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3893 (char *) "self", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (int)((wxRect
const *)arg1
)->GetTop();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_FromInt((int)result
);
3913 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxRect
*arg1
= (wxRect
*) 0 ;
3917 PyObject
* obj0
= 0 ;
3919 (char *) "self", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_FromInt((int)result
);
3939 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxRect
*arg1
= (wxRect
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "self", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 result
= (int)((wxRect
const *)arg1
)->GetRight();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 resultobj
= SWIG_FromInt((int)result
);
3965 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxRect
*arg1
= (wxRect
*) 0 ;
3969 PyObject
* obj0
= 0 ;
3970 PyObject
* obj1
= 0 ;
3972 (char *) "self",(char *) "left", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 arg2
= (int) SWIG_AsInt(obj1
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 (arg1
)->SetLeft(arg2
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 Py_INCREF(Py_None
); resultobj
= Py_None
;
3994 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxRect
*arg1
= (wxRect
*) 0 ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4001 (char *) "self",(char *) "right", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4007 arg2
= (int) SWIG_AsInt(obj1
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 (arg1
)->SetRight(arg2
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 Py_INCREF(Py_None
); resultobj
= Py_None
;
4023 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxRect
*arg1
= (wxRect
*) 0 ;
4027 PyObject
* obj0
= 0 ;
4028 PyObject
* obj1
= 0 ;
4030 (char *) "self",(char *) "top", NULL
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4036 arg2
= (int) SWIG_AsInt(obj1
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 (arg1
)->SetTop(arg2
);
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4045 Py_INCREF(Py_None
); resultobj
= Py_None
;
4052 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxRect
*arg1
= (wxRect
*) 0 ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4059 (char *) "self",(char *) "bottom", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 arg2
= (int) SWIG_AsInt(obj1
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 (arg1
)->SetBottom(arg2
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 Py_INCREF(Py_None
); resultobj
= Py_None
;
4081 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxRect
*arg1
= (wxRect
*) 0 ;
4087 PyObject
* obj0
= 0 ;
4088 PyObject
* obj1
= 0 ;
4089 PyObject
* obj2
= 0 ;
4091 (char *) "self",(char *) "dx",(char *) "dy", NULL
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4097 arg2
= (int) SWIG_AsInt(obj1
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4099 arg3
= (int) SWIG_AsInt(obj2
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4105 result
= (wxRect
*) &_result_ref
;
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4118 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
;
4120 wxRect
*arg1
= (wxRect
*) 0 ;
4124 PyObject
* obj0
= 0 ;
4125 PyObject
* obj1
= 0 ;
4126 PyObject
* obj2
= 0 ;
4128 (char *) "self",(char *) "dx",(char *) "dy", NULL
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4134 arg2
= (int) SWIG_AsInt(obj1
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4136 arg3
= (int) SWIG_AsInt(obj2
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4142 result
= (wxRect
*) &_result_ref
;
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4155 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 wxRect
*arg1
= (wxRect
*) 0 ;
4160 PyObject
* obj0
= 0 ;
4161 PyObject
* obj1
= 0 ;
4162 PyObject
* obj2
= 0 ;
4164 (char *) "self",(char *) "dx",(char *) "dy", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4170 arg2
= (int) SWIG_AsInt(obj1
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4172 arg3
= (int) SWIG_AsInt(obj2
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 (arg1
)->Offset(arg2
,arg3
);
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 Py_INCREF(Py_None
); resultobj
= Py_None
;
4188 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxRect
*arg1
= (wxRect
*) 0 ;
4193 PyObject
* obj0
= 0 ;
4194 PyObject
* obj1
= 0 ;
4196 (char *) "self",(char *) "pt", NULL
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 (arg1
)->Offset((wxPoint
const &)*arg2
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 Py_INCREF(Py_None
); resultobj
= Py_None
;
4220 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxRect
*arg1
= (wxRect
*) 0 ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4229 (char *) "self",(char *) "rect", NULL
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4237 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4243 result
= (wxRect
*) &_result_ref
;
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4256 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4258 wxRect
*arg1
= (wxRect
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4265 (char *) "self",(char *) "rect", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4273 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4284 resultptr
= new wxRect((wxRect
&) result
);
4285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4293 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
*resultobj
;
4295 wxRect
*arg1
= (wxRect
*) 0 ;
4299 PyObject
* obj0
= 0 ;
4300 PyObject
* obj1
= 0 ;
4302 (char *) "self",(char *) "rect", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4310 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4316 result
= (wxRect
*) &_result_ref
;
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4329 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
*resultobj
;
4331 wxRect
*arg1
= (wxRect
*) 0 ;
4335 PyObject
* obj0
= 0 ;
4336 PyObject
* obj1
= 0 ;
4338 (char *) "self",(char *) "rect", NULL
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4346 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4364 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
*resultobj
;
4366 wxRect
*arg1
= (wxRect
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4371 PyObject
* obj1
= 0 ;
4373 (char *) "self",(char *) "rect", NULL
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4381 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4399 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4401 wxRect
*arg1
= (wxRect
*) 0 ;
4405 PyObject
* obj0
= 0 ;
4406 PyObject
* obj1
= 0 ;
4407 PyObject
* obj2
= 0 ;
4409 (char *) "self",(char *) "x",(char *) "y", NULL
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4415 arg2
= (int) SWIG_AsInt(obj1
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4417 arg3
= (int) SWIG_AsInt(obj2
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4435 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxRect
*arg1
= (wxRect
*) 0 ;
4441 PyObject
* obj0
= 0 ;
4442 PyObject
* obj1
= 0 ;
4444 (char *) "self",(char *) "pt", NULL
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4452 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4470 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
*resultobj
;
4472 wxRect
*arg1
= (wxRect
*) 0 ;
4476 PyObject
* obj0
= 0 ;
4477 PyObject
* obj1
= 0 ;
4479 (char *) "self",(char *) "rect", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4487 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4505 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4507 wxRect
*arg1
= (wxRect
*) 0 ;
4509 PyObject
* obj0
= 0 ;
4510 PyObject
* obj1
= 0 ;
4512 (char *) "self",(char *) "x", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4518 arg2
= (int) SWIG_AsInt(obj1
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4520 if (arg1
) (arg1
)->x
= arg2
;
4522 Py_INCREF(Py_None
); resultobj
= Py_None
;
4529 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxRect
*arg1
= (wxRect
*) 0 ;
4533 PyObject
* obj0
= 0 ;
4535 (char *) "self", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4541 result
= (int) ((arg1
)->x
);
4543 resultobj
= SWIG_FromInt((int)result
);
4550 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxRect
*arg1
= (wxRect
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4555 PyObject
* obj1
= 0 ;
4557 (char *) "self",(char *) "y", NULL
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4563 arg2
= (int) SWIG_AsInt(obj1
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4565 if (arg1
) (arg1
)->y
= arg2
;
4567 Py_INCREF(Py_None
); resultobj
= Py_None
;
4574 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
;
4576 wxRect
*arg1
= (wxRect
*) 0 ;
4578 PyObject
* obj0
= 0 ;
4580 (char *) "self", NULL
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4586 result
= (int) ((arg1
)->y
);
4588 resultobj
= SWIG_FromInt((int)result
);
4595 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
;
4597 wxRect
*arg1
= (wxRect
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4602 (char *) "self",(char *) "width", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4608 arg2
= (int) SWIG_AsInt(obj1
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4610 if (arg1
) (arg1
)->width
= arg2
;
4612 Py_INCREF(Py_None
); resultobj
= Py_None
;
4619 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxRect
*arg1
= (wxRect
*) 0 ;
4623 PyObject
* obj0
= 0 ;
4625 (char *) "self", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4631 result
= (int) ((arg1
)->width
);
4633 resultobj
= SWIG_FromInt((int)result
);
4640 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4642 wxRect
*arg1
= (wxRect
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4647 (char *) "self",(char *) "height", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4653 arg2
= (int) SWIG_AsInt(obj1
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4655 if (arg1
) (arg1
)->height
= arg2
;
4657 Py_INCREF(Py_None
); resultobj
= Py_None
;
4664 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 wxRect
*arg1
= (wxRect
*) 0 ;
4668 PyObject
* obj0
= 0 ;
4670 (char *) "self", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4676 result
= (int) ((arg1
)->height
);
4678 resultobj
= SWIG_FromInt((int)result
);
4685 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
;
4687 wxRect
*arg1
= (wxRect
*) 0 ;
4688 int arg2
= (int) 0 ;
4689 int arg3
= (int) 0 ;
4690 int arg4
= (int) 0 ;
4691 int arg5
= (int) 0 ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4694 PyObject
* obj2
= 0 ;
4695 PyObject
* obj3
= 0 ;
4696 PyObject
* obj4
= 0 ;
4698 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4705 arg2
= (int) SWIG_AsInt(obj1
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4709 arg3
= (int) SWIG_AsInt(obj2
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4713 arg4
= (int) SWIG_AsInt(obj3
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4717 arg5
= (int) SWIG_AsInt(obj4
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 Py_INCREF(Py_None
); resultobj
= Py_None
;
4734 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
*resultobj
;
4736 wxRect
*arg1
= (wxRect
*) 0 ;
4738 PyObject
* obj0
= 0 ;
4740 (char *) "self", NULL
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (PyObject
*)wxRect_Get(arg1
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4760 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4763 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4765 return Py_BuildValue((char *)"");
4767 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4769 wxRect
*arg1
= (wxRect
*) 0 ;
4770 wxRect
*arg2
= (wxRect
*) 0 ;
4772 PyObject
* obj0
= 0 ;
4773 PyObject
* obj1
= 0 ;
4775 (char *) "r1",(char *) "r2", NULL
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4784 if (!wxPyCheckForApp()) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4798 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 double arg1
= (double) 0.0 ;
4801 double arg2
= (double) 0.0 ;
4803 PyObject
* obj0
= 0 ;
4804 PyObject
* obj1
= 0 ;
4806 (char *) "x",(char *) "y", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4811 arg1
= (double) SWIG_AsDouble(obj0
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4815 arg2
= (double) SWIG_AsDouble(obj1
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4832 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4834 wxPoint2D
*arg1
= 0 ;
4837 PyObject
* obj0
= 0 ;
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4845 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4861 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4866 PyObject
* obj0
= 0 ;
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4874 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4890 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
;
4892 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4893 int *arg2
= (int *) 0 ;
4894 int *arg3
= (int *) 0 ;
4897 PyObject
* obj0
= 0 ;
4899 (char *) "self", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 Py_INCREF(Py_None
); resultobj
= Py_None
;
4916 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4917 resultobj
= t_output_helper(resultobj
,o
);
4920 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4921 resultobj
= t_output_helper(resultobj
,o
);
4929 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4932 int *arg2
= (int *) 0 ;
4933 int *arg3
= (int *) 0 ;
4936 PyObject
* obj0
= 0 ;
4938 (char *) "self", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 Py_INCREF(Py_None
); resultobj
= Py_None
;
4955 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4956 resultobj
= t_output_helper(resultobj
,o
);
4959 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4960 resultobj
= t_output_helper(resultobj
,o
);
4968 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4970 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4972 PyObject
* obj0
= 0 ;
4974 (char *) "self", NULL
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= SWIG_FromDouble((double)result
);
4994 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4998 PyObject
* obj0
= 0 ;
5000 (char *) "self", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_FromDouble((double)result
);
5020 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
;
5022 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5024 PyObject
* obj0
= 0 ;
5025 PyObject
* obj1
= 0 ;
5027 (char *) "self",(char *) "length", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5033 arg2
= (double) SWIG_AsDouble(obj1
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 (arg1
)->SetVectorLength(arg2
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 Py_INCREF(Py_None
); resultobj
= Py_None
;
5049 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5053 PyObject
* obj0
= 0 ;
5054 PyObject
* obj1
= 0 ;
5056 (char *) "self",(char *) "degrees", NULL
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 arg2
= (double) SWIG_AsDouble(obj1
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 (arg1
)->SetVectorAngle(arg2
);
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 Py_INCREF(Py_None
); resultobj
= Py_None
;
5078 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
;
5080 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5081 wxPoint2D
*arg2
= 0 ;
5084 PyObject
* obj0
= 0 ;
5085 PyObject
* obj1
= 0 ;
5087 (char *) "self",(char *) "pt", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5095 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= SWIG_FromDouble((double)result
);
5111 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5114 wxPoint2D
*arg2
= 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5120 (char *) "self",(char *) "pt", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5128 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= SWIG_FromDouble((double)result
);
5144 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5147 wxPoint2D
*arg2
= 0 ;
5150 PyObject
* obj0
= 0 ;
5151 PyObject
* obj1
= 0 ;
5153 (char *) "self",(char *) "vec", NULL
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5161 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= SWIG_FromDouble((double)result
);
5177 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5180 wxPoint2D
*arg2
= 0 ;
5183 PyObject
* obj0
= 0 ;
5184 PyObject
* obj1
= 0 ;
5186 (char *) "self",(char *) "vec", NULL
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5194 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= SWIG_FromDouble((double)result
);
5210 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5212 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5214 PyObject
* obj0
= 0 ;
5216 (char *) "self", NULL
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 result
= (arg1
)->operator -();
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5230 wxPoint2D
* resultptr
;
5231 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5240 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
;
5242 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5243 wxPoint2D
*arg2
= 0 ;
5246 PyObject
* obj0
= 0 ;
5247 PyObject
* obj1
= 0 ;
5249 (char *) "self",(char *) "pt", NULL
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5257 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5263 result
= (wxPoint2D
*) &_result_ref
;
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5276 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5279 wxPoint2D
*arg2
= 0 ;
5282 PyObject
* obj0
= 0 ;
5283 PyObject
* obj1
= 0 ;
5285 (char *) "self",(char *) "pt", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5293 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5299 result
= (wxPoint2D
*) &_result_ref
;
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5312 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
;
5314 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5315 wxPoint2D
*arg2
= 0 ;
5318 PyObject
* obj0
= 0 ;
5319 PyObject
* obj1
= 0 ;
5321 (char *) "self",(char *) "pt", NULL
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5329 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5335 result
= (wxPoint2D
*) &_result_ref
;
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5348 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5351 wxPoint2D
*arg2
= 0 ;
5354 PyObject
* obj0
= 0 ;
5355 PyObject
* obj1
= 0 ;
5357 (char *) "self",(char *) "pt", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5365 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5371 result
= (wxPoint2D
*) &_result_ref
;
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5384 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5387 wxPoint2D
*arg2
= 0 ;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5393 (char *) "self",(char *) "pt", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5401 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5419 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5422 wxPoint2D
*arg2
= 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5428 (char *) "self",(char *) "pt", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5454 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
;
5456 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5461 (char *) "self",(char *) "m_x", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5467 arg2
= (double) SWIG_AsDouble(obj1
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5469 if (arg1
) (arg1
)->m_x
= arg2
;
5471 Py_INCREF(Py_None
); resultobj
= Py_None
;
5478 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5482 PyObject
* obj0
= 0 ;
5484 (char *) "self", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5490 result
= (double) ((arg1
)->m_x
);
5492 resultobj
= SWIG_FromDouble((double)result
);
5499 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
*resultobj
;
5501 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5503 PyObject
* obj0
= 0 ;
5504 PyObject
* obj1
= 0 ;
5506 (char *) "self",(char *) "m_y", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5512 arg2
= (double) SWIG_AsDouble(obj1
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5514 if (arg1
) (arg1
)->m_y
= arg2
;
5516 Py_INCREF(Py_None
); resultobj
= Py_None
;
5523 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
*resultobj
;
5525 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5527 PyObject
* obj0
= 0 ;
5529 (char *) "self", NULL
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5535 result
= (double) ((arg1
)->m_y
);
5537 resultobj
= SWIG_FromDouble((double)result
);
5544 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5547 double arg2
= (double) 0 ;
5548 double arg3
= (double) 0 ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5551 PyObject
* obj2
= 0 ;
5553 (char *) "self",(char *) "x",(char *) "y", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5560 arg2
= (double) SWIG_AsDouble(obj1
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5564 arg3
= (double) SWIG_AsDouble(obj2
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 wxPoint2D_Set(arg1
,arg2
,arg3
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 Py_INCREF(Py_None
); resultobj
= Py_None
;
5581 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5585 PyObject
* obj0
= 0 ;
5587 (char *) "self", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5607 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5610 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5612 return Py_BuildValue((char *)"");
5614 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5615 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5620 static PyObject
*_wrap_DefaultPosition_get() {
5623 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5628 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5629 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5634 static PyObject
*_wrap_DefaultSize_get() {
5637 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5642 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
;
5644 PyObject
*arg1
= (PyObject
*) 0 ;
5645 wxPyInputStream
*result
;
5646 PyObject
* obj0
= 0 ;
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5667 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5670 PyObject
* obj0
= 0 ;
5672 (char *) "self", NULL
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 Py_INCREF(Py_None
); resultobj
= Py_None
;
5692 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5695 PyObject
* obj0
= 0 ;
5697 (char *) "self", NULL
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 Py_INCREF(Py_None
); resultobj
= Py_None
;
5717 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
;
5719 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5721 PyObject
* obj0
= 0 ;
5723 (char *) "self", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 result
= (bool)(arg1
)->eof();
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5745 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5748 int arg2
= (int) -1 ;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5753 (char *) "self",(char *) "size", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 arg2
= (int) SWIG_AsInt(obj1
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (PyObject
*)(arg1
)->read(arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5777 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5780 int arg2
= (int) -1 ;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj1
= 0 ;
5785 (char *) "self",(char *) "size", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5792 arg2
= (int) SWIG_AsInt(obj1
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (PyObject
*)(arg1
)->readline(arg2
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5809 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5812 int arg2
= (int) -1 ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5817 (char *) "self",(char *) "sizehint", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5824 arg2
= (int) SWIG_AsInt(obj1
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5841 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5845 int arg3
= (int) 0 ;
5846 PyObject
* obj0
= 0 ;
5847 PyObject
* obj1
= 0 ;
5848 PyObject
* obj2
= 0 ;
5850 (char *) "self",(char *) "offset",(char *) "whence", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5856 arg2
= (int) SWIG_AsInt(obj1
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 arg3
= (int) SWIG_AsInt(obj2
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 (arg1
)->seek(arg2
,arg3
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 Py_INCREF(Py_None
); resultobj
= Py_None
;
5876 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
;
5878 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5880 PyObject
* obj0
= 0 ;
5882 (char *) "self", NULL
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 result
= (int)(arg1
)->tell();
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= SWIG_FromInt((int)result
);
5902 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
;
5904 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5906 PyObject
* obj0
= 0 ;
5908 (char *) "self", NULL
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (char)(arg1
)->Peek();
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= SWIG_FromChar((char)result
);
5928 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5930 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5932 PyObject
* obj0
= 0 ;
5934 (char *) "self", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 result
= (char)(arg1
)->GetC();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_FromChar((char)result
);
5954 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5960 (char *) "self", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (size_t)(arg1
)->LastRead();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5980 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5986 (char *) "self", NULL
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (bool)(arg1
)->CanRead();
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6008 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6014 (char *) "self", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (bool)(arg1
)->Eof();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6036 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6044 (char *) "self",(char *) "c", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6050 arg2
= (char) SWIG_AsChar(obj1
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 result
= (bool)(arg1
)->Ungetch(arg2
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6068 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6072 int arg3
= (int) wxFromStart
;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6076 PyObject
* obj2
= 0 ;
6078 (char *) "self",(char *) "pos",(char *) "mode", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6084 arg2
= (long) SWIG_AsLong(obj1
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= SWIG_FromLong((long)result
);
6104 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6106 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6110 (char *) "self", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (long)(arg1
)->TellI();
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_FromLong((long)result
);
6130 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6133 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6135 return Py_BuildValue((char *)"");
6137 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6139 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6140 PyObject
*arg2
= (PyObject
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6142 PyObject
* obj1
= 0 ;
6144 (char *) "self",(char *) "obj", NULL
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 wxOutputStream_write(arg1
,arg2
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 Py_INCREF(Py_None
); resultobj
= Py_None
;
6165 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6168 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6170 return Py_BuildValue((char *)"");
6172 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6175 wxString
*arg2
= 0 ;
6176 wxString
*arg3
= 0 ;
6177 wxString
*arg4
= 0 ;
6180 wxPyInputStream
*temp1
;
6182 bool temp2
= False
;
6183 bool temp3
= False
;
6184 bool temp4
= False
;
6186 PyObject
* obj0
= 0 ;
6187 PyObject
* obj1
= 0 ;
6188 PyObject
* obj2
= 0 ;
6189 PyObject
* obj3
= 0 ;
6190 PyObject
* obj4
= 0 ;
6192 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6197 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6198 arg1
= temp1
->m_wxis
;
6201 PyErr_Clear(); // clear the failure of the wxPyConvert above
6202 arg1
= wxPyCBInputStream_create(obj0
, False
);
6204 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6211 arg2
= wxString_in_helper(obj1
);
6212 if (arg2
== NULL
) SWIG_fail
;
6216 arg3
= wxString_in_helper(obj2
);
6217 if (arg3
== NULL
) SWIG_fail
;
6221 arg4
= wxString_in_helper(obj3
);
6222 if (arg4
== NULL
) SWIG_fail
;
6225 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6226 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= wxPyMake_wxObject(result
);
6276 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
;
6278 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6279 PyObject
* obj0
= 0 ;
6281 (char *) "self", NULL
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 Py_INCREF(Py_None
); resultobj
= Py_None
;
6301 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6304 wxInputStream
*result
;
6305 PyObject
* obj0
= 0 ;
6307 (char *) "self", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (wxInputStream
*)(arg1
)->GetStream();
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6321 wxPyInputStream
* _ptr
= NULL
;
6324 _ptr
= new wxPyInputStream(result
);
6326 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6334 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
;
6336 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6338 PyObject
* obj0
= 0 ;
6340 (char *) "self", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6350 result
= (wxString
*) &_result_ref
;
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6360 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6369 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6373 PyObject
* obj0
= 0 ;
6375 (char *) "self", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 wxString
const &_result_ref
= (arg1
)->GetLocation();
6385 result
= (wxString
*) &_result_ref
;
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6395 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6404 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6408 PyObject
* obj0
= 0 ;
6410 (char *) "self", NULL
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6420 result
= (wxString
*) &_result_ref
;
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6428 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6430 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6439 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6445 (char *) "self", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (arg1
)->GetModificationTime();
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6459 wxDateTime
* resultptr
;
6460 resultptr
= new wxDateTime((wxDateTime
&) result
);
6461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6469 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6472 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6474 return Py_BuildValue((char *)"");
6476 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6479 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6481 return Py_BuildValue((char *)"");
6483 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
*resultobj
;
6485 wxPyFileSystemHandler
*result
;
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6505 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6508 PyObject
*arg2
= (PyObject
*) 0 ;
6509 PyObject
*arg3
= (PyObject
*) 0 ;
6510 PyObject
* obj0
= 0 ;
6511 PyObject
* obj1
= 0 ;
6512 PyObject
* obj2
= 0 ;
6514 (char *) "self",(char *) "self",(char *) "_class", NULL
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 Py_INCREF(Py_None
); resultobj
= Py_None
;
6536 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6539 wxString
*arg2
= 0 ;
6541 bool temp2
= False
;
6542 PyObject
* obj0
= 0 ;
6543 PyObject
* obj1
= 0 ;
6545 (char *) "self",(char *) "location", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6552 arg2
= wxString_in_helper(obj1
);
6553 if (arg2
== NULL
) SWIG_fail
;
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6580 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
;
6582 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6583 wxFileSystem
*arg2
= 0 ;
6584 wxString
*arg3
= 0 ;
6586 bool temp3
= False
;
6587 PyObject
* obj0
= 0 ;
6588 PyObject
* obj1
= 0 ;
6589 PyObject
* obj2
= 0 ;
6591 (char *) "self",(char *) "fs",(char *) "location", NULL
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6601 PyErr_SetString(PyExc_TypeError
,"null reference");
6605 arg3
= wxString_in_helper(obj2
);
6606 if (arg3
== NULL
) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= wxPyMake_wxObject(result
);
6633 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6636 wxString
*arg2
= 0 ;
6637 int arg3
= (int) 0 ;
6639 bool temp2
= False
;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6642 PyObject
* obj2
= 0 ;
6644 (char *) "self",(char *) "spec",(char *) "flags", NULL
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6651 arg2
= wxString_in_helper(obj1
);
6652 if (arg2
== NULL
) SWIG_fail
;
6656 arg3
= (int) SWIG_AsInt(obj2
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6687 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6691 PyObject
* obj0
= 0 ;
6693 (char *) "self", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (arg1
)->FindNext();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6719 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
;
6721 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6722 wxString
*arg2
= 0 ;
6724 bool temp2
= False
;
6725 PyObject
* obj0
= 0 ;
6726 PyObject
* obj1
= 0 ;
6728 (char *) "self",(char *) "location", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6735 arg2
= wxString_in_helper(obj1
);
6736 if (arg2
== NULL
) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6767 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
*resultobj
;
6769 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6770 wxString
*arg2
= 0 ;
6772 bool temp2
= False
;
6773 PyObject
* obj0
= 0 ;
6774 PyObject
* obj1
= 0 ;
6776 (char *) "self",(char *) "location", NULL
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6783 arg2
= wxString_in_helper(obj1
);
6784 if (arg2
== NULL
) SWIG_fail
;
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6815 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
;
6817 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6818 wxString
*arg2
= 0 ;
6820 bool temp2
= False
;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6824 (char *) "self",(char *) "location", NULL
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6831 arg2
= wxString_in_helper(obj1
);
6832 if (arg2
== NULL
) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6863 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
;
6865 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6866 wxString
*arg2
= 0 ;
6868 bool temp2
= False
;
6869 PyObject
* obj0
= 0 ;
6870 PyObject
* obj1
= 0 ;
6872 (char *) "self",(char *) "location", NULL
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6879 arg2
= wxString_in_helper(obj1
);
6880 if (arg2
== NULL
) SWIG_fail
;
6884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6885 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6887 wxPyEndAllowThreads(__tstate
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6911 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6914 wxString
*arg2
= 0 ;
6916 bool temp2
= False
;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6920 (char *) "self",(char *) "location", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6927 arg2
= wxString_in_helper(obj1
);
6928 if (arg2
== NULL
) SWIG_fail
;
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6959 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6962 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6964 return Py_BuildValue((char *)"");
6966 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxFileSystem
*result
;
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (wxFileSystem
*)new wxFileSystem();
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6982 resultobj
= wxPyMake_wxObject(result
);
6990 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6993 PyObject
* obj0
= 0 ;
6995 (char *) "self", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 Py_INCREF(Py_None
); resultobj
= Py_None
;
7015 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7018 wxString
*arg2
= 0 ;
7019 bool arg3
= (bool) False
;
7020 bool temp2
= False
;
7021 PyObject
* obj0
= 0 ;
7022 PyObject
* obj1
= 0 ;
7023 PyObject
* obj2
= 0 ;
7025 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7032 arg2
= wxString_in_helper(obj1
);
7033 if (arg2
== NULL
) SWIG_fail
;
7037 arg3
= (bool) SWIG_AsBool(obj2
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 Py_INCREF(Py_None
); resultobj
= Py_None
;
7062 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7064 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7066 PyObject
* obj0
= 0 ;
7068 (char *) "self", NULL
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 result
= (arg1
)->GetPath();
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7094 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
*resultobj
;
7096 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7097 wxString
*arg2
= 0 ;
7099 bool temp2
= False
;
7100 PyObject
* obj0
= 0 ;
7101 PyObject
* obj1
= 0 ;
7103 (char *) "self",(char *) "location", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7110 arg2
= wxString_in_helper(obj1
);
7111 if (arg2
== NULL
) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7122 resultobj
= wxPyMake_wxObject(result
);
7138 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7141 wxString
*arg2
= 0 ;
7142 int arg3
= (int) 0 ;
7144 bool temp2
= False
;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7147 PyObject
* obj2
= 0 ;
7149 (char *) "self",(char *) "spec",(char *) "flags", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7156 arg2
= wxString_in_helper(obj1
);
7157 if (arg2
== NULL
) SWIG_fail
;
7161 arg3
= (int) SWIG_AsInt(obj2
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7192 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7198 (char *) "self", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (arg1
)->FindNext();
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7224 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "handler", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 wxFileSystem::AddHandler(arg1
);
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 Py_INCREF(Py_None
); resultobj
= Py_None
;
7249 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 wxFileSystem::CleanUpHandlers();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 Py_INCREF(Py_None
); resultobj
= Py_None
;
7270 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
;
7272 wxString
*arg1
= 0 ;
7274 bool temp1
= False
;
7275 PyObject
* obj0
= 0 ;
7277 (char *) "filename", NULL
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7282 arg1
= wxString_in_helper(obj0
);
7283 if (arg1
== NULL
) SWIG_fail
;
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7314 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7317 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7319 return Py_BuildValue((char *)"");
7321 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
*resultobj
;
7323 wxString
*arg1
= 0 ;
7325 bool temp1
= False
;
7326 PyObject
* obj0
= 0 ;
7328 (char *) "url", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7333 arg1
= wxString_in_helper(obj0
);
7334 if (arg1
== NULL
) SWIG_fail
;
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7365 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxInternetFSHandler
*result
;
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7387 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7390 wxString
*arg2
= 0 ;
7392 bool temp2
= False
;
7393 PyObject
* obj0
= 0 ;
7394 PyObject
* obj1
= 0 ;
7396 (char *) "self",(char *) "location", NULL
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7403 arg2
= wxString_in_helper(obj1
);
7404 if (arg2
== NULL
) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7431 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7434 wxFileSystem
*arg2
= 0 ;
7435 wxString
*arg3
= 0 ;
7437 bool temp3
= False
;
7438 PyObject
* obj0
= 0 ;
7439 PyObject
* obj1
= 0 ;
7440 PyObject
* obj2
= 0 ;
7442 (char *) "self",(char *) "fs",(char *) "location", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7452 PyErr_SetString(PyExc_TypeError
,"null reference");
7456 arg3
= wxString_in_helper(obj2
);
7457 if (arg3
== NULL
) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= wxPyMake_wxObject(result
);
7484 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7487 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7489 return Py_BuildValue((char *)"");
7491 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxZipFSHandler
*result
;
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7513 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
;
7515 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7516 wxString
*arg2
= 0 ;
7518 bool temp2
= False
;
7519 PyObject
* obj0
= 0 ;
7520 PyObject
* obj1
= 0 ;
7522 (char *) "self",(char *) "location", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7529 arg2
= wxString_in_helper(obj1
);
7530 if (arg2
== NULL
) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7557 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7560 wxFileSystem
*arg2
= 0 ;
7561 wxString
*arg3
= 0 ;
7563 bool temp3
= False
;
7564 PyObject
* obj0
= 0 ;
7565 PyObject
* obj1
= 0 ;
7566 PyObject
* obj2
= 0 ;
7568 (char *) "self",(char *) "fs",(char *) "location", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7578 PyErr_SetString(PyExc_TypeError
,"null reference");
7582 arg3
= wxString_in_helper(obj2
);
7583 if (arg3
== NULL
) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= wxPyMake_wxObject(result
);
7610 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7613 wxString
*arg2
= 0 ;
7614 int arg3
= (int) 0 ;
7616 bool temp2
= False
;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7619 PyObject
* obj2
= 0 ;
7621 (char *) "self",(char *) "spec",(char *) "flags", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7628 arg2
= wxString_in_helper(obj1
);
7629 if (arg2
== NULL
) SWIG_fail
;
7633 arg3
= (int) SWIG_AsInt(obj2
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7664 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7668 PyObject
* obj0
= 0 ;
7670 (char *) "self", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 result
= (arg1
)->FindNext();
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7696 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7699 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7701 return Py_BuildValue((char *)"");
7703 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
*resultobj
;
7705 wxString
*arg1
= 0 ;
7708 bool temp1
= False
;
7709 PyObject
* obj0
= 0 ;
7710 PyObject
* obj1
= 0 ;
7711 PyObject
* obj2
= 0 ;
7713 (char *) "filename",(char *) "image",(char *) "type", NULL
7716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7718 arg1
= wxString_in_helper(obj0
);
7719 if (arg1
== NULL
) SWIG_fail
;
7722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7726 PyErr_SetString(PyExc_TypeError
,"null reference");
7729 arg3
= (long) SWIG_AsLong(obj2
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 Py_INCREF(Py_None
); resultobj
= Py_None
;
7753 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxString
*arg1
= 0 ;
7756 wxBitmap
*arg2
= 0 ;
7758 bool temp1
= False
;
7759 PyObject
* obj0
= 0 ;
7760 PyObject
* obj1
= 0 ;
7761 PyObject
* obj2
= 0 ;
7763 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7768 arg1
= wxString_in_helper(obj0
);
7769 if (arg1
== NULL
) SWIG_fail
;
7772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7776 PyErr_SetString(PyExc_TypeError
,"null reference");
7779 arg3
= (long) SWIG_AsLong(obj2
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 Py_INCREF(Py_None
); resultobj
= Py_None
;
7803 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxString
*arg1
= 0 ;
7806 PyObject
*arg2
= (PyObject
*) 0 ;
7807 bool temp1
= False
;
7808 PyObject
* obj0
= 0 ;
7809 PyObject
* obj1
= 0 ;
7811 (char *) "filename",(char *) "data", NULL
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7816 arg1
= wxString_in_helper(obj0
);
7817 if (arg1
== NULL
) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 Py_INCREF(Py_None
); resultobj
= Py_None
;
7843 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxMemoryFSHandler
*result
;
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7865 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxString
*arg1
= 0 ;
7868 bool temp1
= False
;
7869 PyObject
* obj0
= 0 ;
7871 (char *) "filename", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7876 arg1
= wxString_in_helper(obj0
);
7877 if (arg1
== NULL
) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 Py_INCREF(Py_None
); resultobj
= Py_None
;
7902 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7905 wxString
*arg2
= 0 ;
7907 bool temp2
= False
;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7911 (char *) "self",(char *) "location", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7918 arg2
= wxString_in_helper(obj1
);
7919 if (arg2
== NULL
) SWIG_fail
;
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7946 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7949 wxFileSystem
*arg2
= 0 ;
7950 wxString
*arg3
= 0 ;
7952 bool temp3
= False
;
7953 PyObject
* obj0
= 0 ;
7954 PyObject
* obj1
= 0 ;
7955 PyObject
* obj2
= 0 ;
7957 (char *) "self",(char *) "fs",(char *) "location", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7967 PyErr_SetString(PyExc_TypeError
,"null reference");
7971 arg3
= wxString_in_helper(obj2
);
7972 if (arg3
== NULL
) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= wxPyMake_wxObject(result
);
7999 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8001 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8002 wxString
*arg2
= 0 ;
8003 int arg3
= (int) 0 ;
8005 bool temp2
= False
;
8006 PyObject
* obj0
= 0 ;
8007 PyObject
* obj1
= 0 ;
8008 PyObject
* obj2
= 0 ;
8010 (char *) "self",(char *) "spec",(char *) "flags", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8017 arg2
= wxString_in_helper(obj1
);
8018 if (arg2
== NULL
) SWIG_fail
;
8022 arg3
= (int) SWIG_AsInt(obj2
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8053 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8057 PyObject
* obj0
= 0 ;
8059 (char *) "self", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= (arg1
)->FindNext();
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8085 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8088 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8090 return Py_BuildValue((char *)"");
8092 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8096 PyObject
* obj0
= 0 ;
8098 (char *) "self", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= (arg1
)->GetName();
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8124 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
;
8126 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8128 PyObject
* obj0
= 0 ;
8130 (char *) "self", NULL
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 result
= (arg1
)->GetExtension();
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8156 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8160 PyObject
* obj0
= 0 ;
8162 (char *) "self", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 result
= (long)(arg1
)->GetType();
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= SWIG_FromLong((long)result
);
8182 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
*resultobj
;
8184 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8186 PyObject
* obj0
= 0 ;
8188 (char *) "self", NULL
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (arg1
)->GetMimeType();
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8214 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8217 wxString
*arg2
= 0 ;
8219 bool temp2
= False
;
8220 PyObject
* obj0
= 0 ;
8221 PyObject
* obj1
= 0 ;
8223 (char *) "self",(char *) "name", NULL
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8230 arg2
= wxString_in_helper(obj1
);
8231 if (arg2
== NULL
) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8258 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8261 wxString
*arg2
= 0 ;
8262 bool temp2
= False
;
8263 PyObject
* obj0
= 0 ;
8264 PyObject
* obj1
= 0 ;
8266 (char *) "self",(char *) "name", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8273 arg2
= wxString_in_helper(obj1
);
8274 if (arg2
== NULL
) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 (arg1
)->SetName((wxString
const &)*arg2
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 Py_INCREF(Py_None
); resultobj
= Py_None
;
8299 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
;
8301 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8302 wxString
*arg2
= 0 ;
8303 bool temp2
= False
;
8304 PyObject
* obj0
= 0 ;
8305 PyObject
* obj1
= 0 ;
8307 (char *) "self",(char *) "extension", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8314 arg2
= wxString_in_helper(obj1
);
8315 if (arg2
== NULL
) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 (arg1
)->SetExtension((wxString
const &)*arg2
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 Py_INCREF(Py_None
); resultobj
= Py_None
;
8340 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8344 PyObject
* obj0
= 0 ;
8345 PyObject
* obj1
= 0 ;
8347 (char *) "self",(char *) "type", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8353 arg2
= (long) SWIG_AsLong(obj1
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 (arg1
)->SetType(arg2
);
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 Py_INCREF(Py_None
); resultobj
= Py_None
;
8369 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
;
8371 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8372 wxString
*arg2
= 0 ;
8373 bool temp2
= False
;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8377 (char *) "self",(char *) "mimetype", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8384 arg2
= wxString_in_helper(obj1
);
8385 if (arg2
== NULL
) SWIG_fail
;
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 Py_INCREF(Py_None
); resultobj
= Py_None
;
8410 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8413 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8415 return Py_BuildValue((char *)"");
8417 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxImageHistogram
*result
;
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8427 result
= (wxImageHistogram
*)new wxImageHistogram();
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8439 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8441 unsigned char arg1
;
8442 unsigned char arg2
;
8443 unsigned char arg3
;
8444 unsigned long result
;
8445 PyObject
* obj0
= 0 ;
8446 PyObject
* obj1
= 0 ;
8447 PyObject
* obj2
= 0 ;
8449 (char *) "r",(char *) "g",(char *) "b", NULL
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8453 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8455 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8457 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8473 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8476 unsigned char *arg2
= (unsigned char *) 0 ;
8477 unsigned char *arg3
= (unsigned char *) 0 ;
8478 unsigned char *arg4
= (unsigned char *) 0 ;
8479 unsigned char arg5
= (unsigned char) 1 ;
8480 unsigned char arg6
= (unsigned char) 0 ;
8481 unsigned char arg7
= (unsigned char) 0 ;
8483 unsigned char temp2
;
8484 unsigned char temp3
;
8485 unsigned char temp4
;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8488 PyObject
* obj2
= 0 ;
8489 PyObject
* obj3
= 0 ;
8491 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8501 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8505 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8509 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8523 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8524 resultobj
= t_output_helper(resultobj
,o
);
8527 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8528 resultobj
= t_output_helper(resultobj
,o
);
8531 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8532 resultobj
= t_output_helper(resultobj
,o
);
8540 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8543 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8545 return Py_BuildValue((char *)"");
8547 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxString
*arg1
= 0 ;
8550 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8551 int arg3
= (int) -1 ;
8553 bool temp1
= False
;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8556 PyObject
* obj2
= 0 ;
8558 (char *) "name",(char *) "type",(char *) "index", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8563 arg1
= wxString_in_helper(obj0
);
8564 if (arg1
== NULL
) SWIG_fail
;
8568 arg2
= (long) SWIG_AsLong(obj1
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8572 arg3
= (int) SWIG_AsInt(obj2
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8597 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxImage
*arg1
= (wxImage
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8602 (char *) "self", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 Py_INCREF(Py_None
); resultobj
= Py_None
;
8622 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
;
8624 wxString
*arg1
= 0 ;
8625 wxString
*arg2
= 0 ;
8626 int arg3
= (int) -1 ;
8628 bool temp1
= False
;
8629 bool temp2
= False
;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8632 PyObject
* obj2
= 0 ;
8634 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8639 arg1
= wxString_in_helper(obj0
);
8640 if (arg1
== NULL
) SWIG_fail
;
8644 arg2
= wxString_in_helper(obj1
);
8645 if (arg2
== NULL
) SWIG_fail
;
8649 arg3
= (int) SWIG_AsInt(obj2
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8682 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
;
8684 wxInputStream
*arg1
= 0 ;
8685 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8686 int arg3
= (int) -1 ;
8688 wxPyInputStream
*temp1
;
8690 PyObject
* obj0
= 0 ;
8691 PyObject
* obj1
= 0 ;
8692 PyObject
* obj2
= 0 ;
8694 (char *) "stream",(char *) "type",(char *) "index", NULL
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8699 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8700 arg1
= temp1
->m_wxis
;
8703 PyErr_Clear(); // clear the failure of the wxPyConvert above
8704 arg1
= wxPyCBInputStream_create(obj0
, False
);
8706 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8713 arg2
= (long) SWIG_AsLong(obj1
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8717 arg3
= (int) SWIG_AsInt(obj2
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8742 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8744 wxInputStream
*arg1
= 0 ;
8745 wxString
*arg2
= 0 ;
8746 int arg3
= (int) -1 ;
8748 wxPyInputStream
*temp1
;
8750 bool temp2
= False
;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8753 PyObject
* obj2
= 0 ;
8755 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8760 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8761 arg1
= temp1
->m_wxis
;
8764 PyErr_Clear(); // clear the failure of the wxPyConvert above
8765 arg1
= wxPyCBInputStream_create(obj0
, False
);
8767 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8774 arg2
= wxString_in_helper(obj1
);
8775 if (arg2
== NULL
) SWIG_fail
;
8779 arg3
= (int) SWIG_AsInt(obj2
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8812 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 int arg1
= (int) 0 ;
8815 int arg2
= (int) 0 ;
8816 bool arg3
= (bool) True
;
8818 PyObject
* obj0
= 0 ;
8819 PyObject
* obj1
= 0 ;
8820 PyObject
* obj2
= 0 ;
8822 (char *) "width",(char *) "height",(char *) "clear", NULL
8825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8827 arg1
= (int) SWIG_AsInt(obj0
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8831 arg2
= (int) SWIG_AsInt(obj1
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8835 arg3
= (bool) SWIG_AsBool(obj2
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8852 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxBitmap
*arg1
= 0 ;
8856 PyObject
* obj0
= 0 ;
8858 (char *) "bitmap", NULL
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8866 PyErr_SetString(PyExc_TypeError
,"null reference");
8870 if (!wxPyCheckForApp()) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8884 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8888 unsigned char *arg3
= (unsigned char *) 0 ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8892 PyObject
* obj2
= 0 ;
8894 (char *) "width",(char *) "height",(char *) "data", NULL
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8898 arg1
= (int) SWIG_AsInt(obj0
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8900 arg2
= (int) SWIG_AsInt(obj1
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8902 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8918 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxImage
*arg1
= (wxImage
*) 0 ;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8925 PyObject
* obj2
= 0 ;
8927 (char *) "self",(char *) "width",(char *) "height", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8933 arg2
= (int) SWIG_AsInt(obj1
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8935 arg3
= (int) SWIG_AsInt(obj2
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 (arg1
)->Create(arg2
,arg3
);
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 Py_INCREF(Py_None
); resultobj
= Py_None
;
8951 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 wxImage
*arg1
= (wxImage
*) 0 ;
8954 PyObject
* obj0
= 0 ;
8956 (char *) "self", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 Py_INCREF(Py_None
); resultobj
= Py_None
;
8976 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
;
8978 wxImage
*arg1
= (wxImage
*) 0 ;
8981 SwigValueWrapper
< wxImage
> result
;
8982 PyObject
* obj0
= 0 ;
8983 PyObject
* obj1
= 0 ;
8984 PyObject
* obj2
= 0 ;
8986 (char *) "self",(char *) "width",(char *) "height", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8992 arg2
= (int) SWIG_AsInt(obj1
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8994 arg3
= (int) SWIG_AsInt(obj2
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (arg1
)->Scale(arg2
,arg3
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9004 wxImage
* resultptr
;
9005 resultptr
= new wxImage((wxImage
&) result
);
9006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9014 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9016 wxImage
*arg1
= (wxImage
*) 0 ;
9019 SwigValueWrapper
< wxImage
> result
;
9020 PyObject
* obj0
= 0 ;
9021 PyObject
* obj1
= 0 ;
9022 PyObject
* obj2
= 0 ;
9024 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9030 arg2
= (int) SWIG_AsInt(obj1
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9032 arg3
= (int) SWIG_AsInt(obj2
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9042 wxImage
* resultptr
;
9043 resultptr
= new wxImage((wxImage
&) result
);
9044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9052 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxImage
*arg1
= (wxImage
*) 0 ;
9058 PyObject
* obj0
= 0 ;
9059 PyObject
* obj1
= 0 ;
9060 PyObject
* obj2
= 0 ;
9062 (char *) "self",(char *) "width",(char *) "height", NULL
9065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9068 arg2
= (int) SWIG_AsInt(obj1
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9070 arg3
= (int) SWIG_AsInt(obj2
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9076 result
= (wxImage
*) &_result_ref
;
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9089 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxImage
*arg1
= (wxImage
*) 0 ;
9094 unsigned char arg4
;
9095 unsigned char arg5
;
9096 unsigned char arg6
;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9099 PyObject
* obj2
= 0 ;
9100 PyObject
* obj3
= 0 ;
9101 PyObject
* obj4
= 0 ;
9102 PyObject
* obj5
= 0 ;
9104 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9110 arg2
= (int) SWIG_AsInt(obj1
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9112 arg3
= (int) SWIG_AsInt(obj2
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9114 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9116 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9118 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 Py_INCREF(Py_None
); resultobj
= Py_None
;
9134 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 wxImage
*arg1
= (wxImage
*) 0 ;
9139 unsigned char result
;
9140 PyObject
* obj0
= 0 ;
9141 PyObject
* obj1
= 0 ;
9142 PyObject
* obj2
= 0 ;
9144 (char *) "self",(char *) "x",(char *) "y", NULL
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9150 arg2
= (int) SWIG_AsInt(obj1
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9152 arg3
= (int) SWIG_AsInt(obj2
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9161 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9168 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
;
9170 wxImage
*arg1
= (wxImage
*) 0 ;
9173 unsigned char result
;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9176 PyObject
* obj2
= 0 ;
9178 (char *) "self",(char *) "x",(char *) "y", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9184 arg2
= (int) SWIG_AsInt(obj1
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9186 arg3
= (int) SWIG_AsInt(obj2
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9202 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxImage
*arg1
= (wxImage
*) 0 ;
9207 unsigned char result
;
9208 PyObject
* obj0
= 0 ;
9209 PyObject
* obj1
= 0 ;
9210 PyObject
* obj2
= 0 ;
9212 (char *) "self",(char *) "x",(char *) "y", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9218 arg2
= (int) SWIG_AsInt(obj1
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9220 arg3
= (int) SWIG_AsInt(obj2
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9236 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxImage
*arg1
= (wxImage
*) 0 ;
9241 unsigned char arg4
;
9242 PyObject
* obj0
= 0 ;
9243 PyObject
* obj1
= 0 ;
9244 PyObject
* obj2
= 0 ;
9245 PyObject
* obj3
= 0 ;
9247 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9253 arg2
= (int) SWIG_AsInt(obj1
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9255 arg3
= (int) SWIG_AsInt(obj2
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9257 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9266 Py_INCREF(Py_None
); resultobj
= Py_None
;
9273 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
;
9275 wxImage
*arg1
= (wxImage
*) 0 ;
9278 unsigned char result
;
9279 PyObject
* obj0
= 0 ;
9280 PyObject
* obj1
= 0 ;
9281 PyObject
* obj2
= 0 ;
9283 (char *) "self",(char *) "x",(char *) "y", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9289 arg2
= (int) SWIG_AsInt(obj1
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9291 arg3
= (int) SWIG_AsInt(obj2
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9307 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxImage
*arg1
= (wxImage
*) 0 ;
9311 PyObject
* obj0
= 0 ;
9313 (char *) "self", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (bool)(arg1
)->HasAlpha();
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9335 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 wxImage
*arg1
= (wxImage
*) 0 ;
9338 byte
*arg2
= (byte
*) 0 ;
9339 byte
*arg3
= (byte
*) 0 ;
9340 byte
*arg4
= (byte
*) 0 ;
9341 byte arg5
= (byte
) 0 ;
9342 byte arg6
= (byte
) 0 ;
9343 byte arg7
= (byte
) 0 ;
9348 PyObject
* obj0
= 0 ;
9349 PyObject
* obj1
= 0 ;
9350 PyObject
* obj2
= 0 ;
9351 PyObject
* obj3
= 0 ;
9353 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9363 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9367 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9385 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9386 resultobj
= t_output_helper(resultobj
,o
);
9389 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9390 resultobj
= t_output_helper(resultobj
,o
);
9393 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9394 resultobj
= t_output_helper(resultobj
,o
);
9402 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxImage
*arg1
= (wxImage
*) 0 ;
9410 PyObject
* obj0
= 0 ;
9411 PyObject
* obj1
= 0 ;
9412 PyObject
* obj2
= 0 ;
9413 PyObject
* obj3
= 0 ;
9414 PyObject
* obj4
= 0 ;
9416 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9426 PyErr_SetString(PyExc_TypeError
,"null reference");
9429 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9431 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9433 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9451 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxString
*arg1
= 0 ;
9455 bool temp1
= False
;
9456 PyObject
* obj0
= 0 ;
9458 (char *) "name", NULL
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9463 arg1
= wxString_in_helper(obj0
);
9464 if (arg1
== NULL
) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9491 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxString
*arg1
= 0 ;
9494 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9496 bool temp1
= False
;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9500 (char *) "name",(char *) "type", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9505 arg1
= wxString_in_helper(obj0
);
9506 if (arg1
== NULL
) SWIG_fail
;
9510 arg2
= (long) SWIG_AsLong(obj1
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= SWIG_FromInt((int)result
);
9535 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxImage
*arg1
= (wxImage
*) 0 ;
9538 wxString
*arg2
= 0 ;
9539 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9540 int arg4
= (int) -1 ;
9542 bool temp2
= False
;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9545 PyObject
* obj2
= 0 ;
9546 PyObject
* obj3
= 0 ;
9548 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9555 arg2
= wxString_in_helper(obj1
);
9556 if (arg2
== NULL
) SWIG_fail
;
9560 arg3
= (long) SWIG_AsLong(obj2
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9564 arg4
= (int) SWIG_AsInt(obj3
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9591 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxImage
*arg1
= (wxImage
*) 0 ;
9594 wxString
*arg2
= 0 ;
9595 wxString
*arg3
= 0 ;
9596 int arg4
= (int) -1 ;
9598 bool temp2
= False
;
9599 bool temp3
= False
;
9600 PyObject
* obj0
= 0 ;
9601 PyObject
* obj1
= 0 ;
9602 PyObject
* obj2
= 0 ;
9603 PyObject
* obj3
= 0 ;
9605 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9612 arg2
= wxString_in_helper(obj1
);
9613 if (arg2
== NULL
) SWIG_fail
;
9617 arg3
= wxString_in_helper(obj2
);
9618 if (arg3
== NULL
) SWIG_fail
;
9622 arg4
= (int) SWIG_AsInt(obj3
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9657 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxImage
*arg1
= (wxImage
*) 0 ;
9660 wxString
*arg2
= 0 ;
9663 bool temp2
= False
;
9664 PyObject
* obj0
= 0 ;
9665 PyObject
* obj1
= 0 ;
9666 PyObject
* obj2
= 0 ;
9668 (char *) "self",(char *) "name",(char *) "type", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9675 arg2
= wxString_in_helper(obj1
);
9676 if (arg2
== NULL
) SWIG_fail
;
9679 arg3
= (int) SWIG_AsInt(obj2
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9705 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
;
9707 wxImage
*arg1
= (wxImage
*) 0 ;
9708 wxString
*arg2
= 0 ;
9709 wxString
*arg3
= 0 ;
9711 bool temp2
= False
;
9712 bool temp3
= False
;
9713 PyObject
* obj0
= 0 ;
9714 PyObject
* obj1
= 0 ;
9715 PyObject
* obj2
= 0 ;
9717 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9724 arg2
= wxString_in_helper(obj1
);
9725 if (arg2
== NULL
) SWIG_fail
;
9729 arg3
= wxString_in_helper(obj2
);
9730 if (arg3
== NULL
) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9765 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxInputStream
*arg1
= 0 ;
9769 wxPyInputStream
*temp1
;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "stream", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9778 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9779 arg1
= temp1
->m_wxis
;
9782 PyErr_Clear(); // clear the failure of the wxPyConvert above
9783 arg1
= wxPyCBInputStream_create(obj0
, False
);
9785 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 result
= (bool)wxImage::CanRead(*arg1
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9815 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxImage
*arg1
= (wxImage
*) 0 ;
9818 wxInputStream
*arg2
= 0 ;
9819 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9820 int arg4
= (int) -1 ;
9822 wxPyInputStream
*temp2
;
9824 PyObject
* obj0
= 0 ;
9825 PyObject
* obj1
= 0 ;
9826 PyObject
* obj2
= 0 ;
9827 PyObject
* obj3
= 0 ;
9829 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9836 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9837 arg2
= temp2
->m_wxis
;
9840 PyErr_Clear(); // clear the failure of the wxPyConvert above
9841 arg2
= wxPyCBInputStream_create(obj1
, False
);
9843 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9850 arg3
= (long) SWIG_AsLong(obj2
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 arg4
= (int) SWIG_AsInt(obj3
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9881 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
;
9883 wxImage
*arg1
= (wxImage
*) 0 ;
9884 wxInputStream
*arg2
= 0 ;
9885 wxString
*arg3
= 0 ;
9886 int arg4
= (int) -1 ;
9888 wxPyInputStream
*temp2
;
9890 bool temp3
= False
;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9893 PyObject
* obj2
= 0 ;
9894 PyObject
* obj3
= 0 ;
9896 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9903 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9904 arg2
= temp2
->m_wxis
;
9907 PyErr_Clear(); // clear the failure of the wxPyConvert above
9908 arg2
= wxPyCBInputStream_create(obj1
, False
);
9910 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9917 arg3
= wxString_in_helper(obj2
);
9918 if (arg3
== NULL
) SWIG_fail
;
9922 arg4
= (int) SWIG_AsInt(obj3
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9927 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9957 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
;
9959 wxImage
*arg1
= (wxImage
*) 0 ;
9961 PyObject
* obj0
= 0 ;
9963 (char *) "self", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (bool)(arg1
)->Ok();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9985 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxImage
*arg1
= (wxImage
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9991 (char *) "self", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (int)(arg1
)->GetWidth();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 resultobj
= SWIG_FromInt((int)result
);
10011 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
;
10013 wxImage
*arg1
= (wxImage
*) 0 ;
10015 PyObject
* obj0
= 0 ;
10016 char *kwnames
[] = {
10017 (char *) "self", NULL
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 result
= (int)(arg1
)->GetHeight();
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 resultobj
= SWIG_FromInt((int)result
);
10037 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxImage
*arg1
= (wxImage
*) 0 ;
10041 PyObject
* obj0
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= wxImage_GetSize(arg1
);
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10057 wxSize
* resultptr
;
10058 resultptr
= new wxSize((wxSize
&) result
);
10059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10067 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
;
10069 wxImage
*arg1
= (wxImage
*) 0 ;
10071 SwigValueWrapper
< wxImage
> result
;
10073 PyObject
* obj0
= 0 ;
10074 PyObject
* obj1
= 0 ;
10075 char *kwnames
[] = {
10076 (char *) "self",(char *) "rect", NULL
10079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10084 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10094 wxImage
* resultptr
;
10095 resultptr
= new wxImage((wxImage
&) result
);
10096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10104 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
;
10106 wxImage
*arg1
= (wxImage
*) 0 ;
10107 SwigValueWrapper
< wxImage
> result
;
10108 PyObject
* obj0
= 0 ;
10109 char *kwnames
[] = {
10110 (char *) "self", NULL
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 result
= (arg1
)->Copy();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10124 wxImage
* resultptr
;
10125 resultptr
= new wxImage((wxImage
&) result
);
10126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10134 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxImage
*arg1
= (wxImage
*) 0 ;
10137 wxImage
*arg2
= 0 ;
10140 PyObject
* obj0
= 0 ;
10141 PyObject
* obj1
= 0 ;
10142 PyObject
* obj2
= 0 ;
10143 PyObject
* obj3
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10154 if (arg2
== NULL
) {
10155 PyErr_SetString(PyExc_TypeError
,"null reference");
10158 arg3
= (int) SWIG_AsInt(obj2
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10160 arg4
= (int) SWIG_AsInt(obj3
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 Py_INCREF(Py_None
); resultobj
= Py_None
;
10176 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxImage
*arg1
= (wxImage
*) 0 ;
10180 PyObject
* obj0
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (PyObject
*)wxImage_GetData(arg1
);
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= result
;
10202 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxImage
*arg1
= (wxImage
*) 0 ;
10205 PyObject
*arg2
= (PyObject
*) 0 ;
10206 PyObject
* obj0
= 0 ;
10207 PyObject
* obj1
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self",(char *) "data", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 wxImage_SetData(arg1
,arg2
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 Py_INCREF(Py_None
); resultobj
= Py_None
;
10230 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxImage
*arg1
= (wxImage
*) 0 ;
10234 PyObject
* obj0
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= result
;
10256 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxImage
*arg1
= (wxImage
*) 0 ;
10259 PyObject
*arg2
= (PyObject
*) 0 ;
10260 PyObject
* obj0
= 0 ;
10261 PyObject
* obj1
= 0 ;
10262 char *kwnames
[] = {
10263 (char *) "self",(char *) "data", NULL
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 wxImage_SetDataBuffer(arg1
,arg2
);
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10277 Py_INCREF(Py_None
); resultobj
= Py_None
;
10284 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
*resultobj
;
10286 wxImage
*arg1
= (wxImage
*) 0 ;
10288 PyObject
* obj0
= 0 ;
10289 char *kwnames
[] = {
10290 (char *) "self", NULL
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= result
;
10310 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxImage
*arg1
= (wxImage
*) 0 ;
10313 PyObject
*arg2
= (PyObject
*) 0 ;
10314 PyObject
* obj0
= 0 ;
10315 PyObject
* obj1
= 0 ;
10316 char *kwnames
[] = {
10317 (char *) "self",(char *) "data", NULL
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 wxImage_SetAlphaData(arg1
,arg2
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 Py_INCREF(Py_None
); resultobj
= Py_None
;
10338 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxImage
*arg1
= (wxImage
*) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "self", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10357 resultobj
= result
;
10364 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
*resultobj
;
10366 wxImage
*arg1
= (wxImage
*) 0 ;
10367 PyObject
*arg2
= (PyObject
*) 0 ;
10368 PyObject
* obj0
= 0 ;
10369 PyObject
* obj1
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self",(char *) "data", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 wxImage_SetAlphaBuffer(arg1
,arg2
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 Py_INCREF(Py_None
); resultobj
= Py_None
;
10392 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxImage
*arg1
= (wxImage
*) 0 ;
10395 unsigned char arg2
;
10396 unsigned char arg3
;
10397 unsigned char arg4
;
10398 PyObject
* obj0
= 0 ;
10399 PyObject
* obj1
= 0 ;
10400 PyObject
* obj2
= 0 ;
10401 PyObject
* obj3
= 0 ;
10402 char *kwnames
[] = {
10403 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10409 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10411 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10413 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10422 Py_INCREF(Py_None
); resultobj
= Py_None
;
10429 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10430 PyObject
*resultobj
;
10431 wxImage
*arg1
= (wxImage
*) 0 ;
10432 unsigned char result
;
10433 PyObject
* obj0
= 0 ;
10434 char *kwnames
[] = {
10435 (char *) "self", NULL
10438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10443 result
= (unsigned char)(arg1
)->GetMaskRed();
10445 wxPyEndAllowThreads(__tstate
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10448 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10455 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
;
10457 wxImage
*arg1
= (wxImage
*) 0 ;
10458 unsigned char result
;
10459 PyObject
* obj0
= 0 ;
10460 char *kwnames
[] = {
10461 (char *) "self", NULL
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 result
= (unsigned char)(arg1
)->GetMaskGreen();
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10481 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
;
10483 wxImage
*arg1
= (wxImage
*) 0 ;
10484 unsigned char result
;
10485 PyObject
* obj0
= 0 ;
10486 char *kwnames
[] = {
10487 (char *) "self", NULL
10490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 result
= (unsigned char)(arg1
)->GetMaskBlue();
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10507 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxImage
*arg1
= (wxImage
*) 0 ;
10510 bool arg2
= (bool) True
;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self",(char *) "mask", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10521 arg2
= (bool) SWIG_AsBool(obj1
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 (arg1
)->SetMask(arg2
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 Py_INCREF(Py_None
); resultobj
= Py_None
;
10538 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxImage
*arg1
= (wxImage
*) 0 ;
10542 PyObject
* obj0
= 0 ;
10543 char *kwnames
[] = {
10544 (char *) "self", NULL
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 result
= (bool)(arg1
)->HasMask();
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10566 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxImage
*arg1
= (wxImage
*) 0 ;
10570 wxPoint
*arg3
= 0 ;
10571 bool arg4
= (bool) True
;
10572 wxPoint
*arg5
= (wxPoint
*) NULL
;
10573 SwigValueWrapper
< wxImage
> result
;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 PyObject
* obj2
= 0 ;
10578 PyObject
* obj3
= 0 ;
10579 PyObject
* obj4
= 0 ;
10580 char *kwnames
[] = {
10581 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10587 arg2
= (double) SWIG_AsDouble(obj1
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10594 arg4
= (bool) SWIG_AsBool(obj3
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10598 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10609 wxImage
* resultptr
;
10610 resultptr
= new wxImage((wxImage
&) result
);
10611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10619 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxImage
*arg1
= (wxImage
*) 0 ;
10622 bool arg2
= (bool) True
;
10623 SwigValueWrapper
< wxImage
> result
;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 char *kwnames
[] = {
10627 (char *) "self",(char *) "clockwise", NULL
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10634 arg2
= (bool) SWIG_AsBool(obj1
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= (arg1
)->Rotate90(arg2
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10645 wxImage
* resultptr
;
10646 resultptr
= new wxImage((wxImage
&) result
);
10647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10655 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxImage
*arg1
= (wxImage
*) 0 ;
10658 bool arg2
= (bool) True
;
10659 SwigValueWrapper
< wxImage
> result
;
10660 PyObject
* obj0
= 0 ;
10661 PyObject
* obj1
= 0 ;
10662 char *kwnames
[] = {
10663 (char *) "self",(char *) "horizontally", NULL
10666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10670 arg2
= (bool) SWIG_AsBool(obj1
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (arg1
)->Mirror(arg2
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10681 wxImage
* resultptr
;
10682 resultptr
= new wxImage((wxImage
&) result
);
10683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10691 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxImage
*arg1
= (wxImage
*) 0 ;
10694 unsigned char arg2
;
10695 unsigned char arg3
;
10696 unsigned char arg4
;
10697 unsigned char arg5
;
10698 unsigned char arg6
;
10699 unsigned char arg7
;
10700 PyObject
* obj0
= 0 ;
10701 PyObject
* obj1
= 0 ;
10702 PyObject
* obj2
= 0 ;
10703 PyObject
* obj3
= 0 ;
10704 PyObject
* obj4
= 0 ;
10705 PyObject
* obj5
= 0 ;
10706 PyObject
* obj6
= 0 ;
10707 char *kwnames
[] = {
10708 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10714 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10716 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10718 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10720 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10722 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10724 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 Py_INCREF(Py_None
); resultobj
= Py_None
;
10740 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10742 wxImage
*arg1
= (wxImage
*) 0 ;
10743 unsigned char arg2
;
10744 unsigned char arg3
;
10745 unsigned char arg4
;
10746 SwigValueWrapper
< wxImage
> result
;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 PyObject
* obj2
= 0 ;
10750 PyObject
* obj3
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10758 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10760 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10762 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10772 wxImage
* resultptr
;
10773 resultptr
= new wxImage((wxImage
&) result
);
10774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10782 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
;
10784 wxImage
*arg1
= (wxImage
*) 0 ;
10785 wxString
*arg2
= 0 ;
10786 wxString
*arg3
= 0 ;
10787 bool temp2
= False
;
10788 bool temp3
= False
;
10789 PyObject
* obj0
= 0 ;
10790 PyObject
* obj1
= 0 ;
10791 PyObject
* obj2
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self",(char *) "name",(char *) "value", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10800 arg2
= wxString_in_helper(obj1
);
10801 if (arg2
== NULL
) SWIG_fail
;
10805 arg3
= wxString_in_helper(obj2
);
10806 if (arg3
== NULL
) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10839 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
;
10841 wxImage
*arg1
= (wxImage
*) 0 ;
10842 wxString
*arg2
= 0 ;
10844 bool temp2
= False
;
10845 PyObject
* obj0
= 0 ;
10846 PyObject
* obj1
= 0 ;
10847 PyObject
* obj2
= 0 ;
10848 char *kwnames
[] = {
10849 (char *) "self",(char *) "name",(char *) "value", NULL
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10856 arg2
= wxString_in_helper(obj1
);
10857 if (arg2
== NULL
) SWIG_fail
;
10860 arg3
= (int) SWIG_AsInt(obj2
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 Py_INCREF(Py_None
); resultobj
= Py_None
;
10884 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
;
10886 wxImage
*arg1
= (wxImage
*) 0 ;
10887 wxString
*arg2
= 0 ;
10889 bool temp2
= False
;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self",(char *) "name", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10900 arg2
= wxString_in_helper(obj1
);
10901 if (arg2
== NULL
) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10932 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxImage
*arg1
= (wxImage
*) 0 ;
10935 wxString
*arg2
= 0 ;
10937 bool temp2
= False
;
10938 PyObject
* obj0
= 0 ;
10939 PyObject
* obj1
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self",(char *) "name", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10948 arg2
= wxString_in_helper(obj1
);
10949 if (arg2
== NULL
) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= SWIG_FromInt((int)result
);
10974 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxImage
*arg1
= (wxImage
*) 0 ;
10977 wxString
*arg2
= 0 ;
10979 bool temp2
= False
;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self",(char *) "name", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10990 arg2
= wxString_in_helper(obj1
);
10991 if (arg2
== NULL
) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11018 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxImage
*arg1
= (wxImage
*) 0 ;
11021 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11022 unsigned long result
;
11023 PyObject
* obj0
= 0 ;
11024 PyObject
* obj1
= 0 ;
11025 char *kwnames
[] = {
11026 (char *) "self",(char *) "stopafter", NULL
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11033 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11050 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11052 wxImage
*arg1
= (wxImage
*) 0 ;
11053 wxImageHistogram
*arg2
= 0 ;
11054 unsigned long result
;
11055 PyObject
* obj0
= 0 ;
11056 PyObject
* obj1
= 0 ;
11057 char *kwnames
[] = {
11058 (char *) "self",(char *) "h", NULL
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11067 if (arg2
== NULL
) {
11068 PyErr_SetString(PyExc_TypeError
,"null reference");
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11085 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11088 PyObject
* obj0
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "handler", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 wxImage::AddHandler(arg1
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 Py_INCREF(Py_None
); resultobj
= Py_None
;
11110 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11113 PyObject
* obj0
= 0 ;
11114 char *kwnames
[] = {
11115 (char *) "handler", NULL
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 wxImage::InsertHandler(arg1
);
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 Py_INCREF(Py_None
); resultobj
= Py_None
;
11135 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxString
*arg1
= 0 ;
11139 bool temp1
= False
;
11140 PyObject
* obj0
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "name", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11147 arg1
= wxString_in_helper(obj0
);
11148 if (arg1
== NULL
) SWIG_fail
;
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11175 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11178 char *kwnames
[] = {
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 result
= wxImage::GetImageExtWildcard();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11203 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxImage
*arg1
= (wxImage
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11216 if (!wxPyCheckForApp()) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= wxImage_ConvertToBitmap(arg1
);
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 wxBitmap
* resultptr
;
11225 resultptr
= new wxBitmap((wxBitmap
&) result
);
11226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11234 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxImage
*arg1
= (wxImage
*) 0 ;
11237 unsigned char arg2
;
11238 unsigned char arg3
;
11239 unsigned char arg4
;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 PyObject
* obj2
= 0 ;
11244 PyObject
* obj3
= 0 ;
11245 char *kwnames
[] = {
11246 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11252 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11254 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11256 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 if (!wxPyCheckForApp()) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11267 wxBitmap
* resultptr
;
11268 resultptr
= new wxBitmap((wxBitmap
&) result
);
11269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11277 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11280 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11282 return Py_BuildValue((char *)"");
11284 static int _wrap_NullImage_set(PyObject
*_val
) {
11285 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11290 static PyObject
*_wrap_NullImage_get() {
11293 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11298 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11299 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11304 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11309 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11311 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11318 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11319 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11324 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11329 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11331 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11338 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11339 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11344 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11349 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11351 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11358 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11359 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11364 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11369 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11371 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11378 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11379 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11384 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11389 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11391 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11398 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxBMPHandler
*result
;
11401 char *kwnames
[] = {
11405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (wxBMPHandler
*)new wxBMPHandler();
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11420 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11423 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11425 return Py_BuildValue((char *)"");
11427 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
;
11429 wxICOHandler
*result
;
11430 char *kwnames
[] = {
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 result
= (wxICOHandler
*)new wxICOHandler();
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11449 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11452 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11454 return Py_BuildValue((char *)"");
11456 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxCURHandler
*result
;
11459 char *kwnames
[] = {
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= (wxCURHandler
*)new wxCURHandler();
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11478 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11481 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11483 return Py_BuildValue((char *)"");
11485 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxANIHandler
*result
;
11488 char *kwnames
[] = {
11492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 result
= (wxANIHandler
*)new wxANIHandler();
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11507 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11510 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11512 return Py_BuildValue((char *)"");
11514 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxPNGHandler
*result
;
11517 char *kwnames
[] = {
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 result
= (wxPNGHandler
*)new wxPNGHandler();
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11536 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11539 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11541 return Py_BuildValue((char *)"");
11543 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxGIFHandler
*result
;
11546 char *kwnames
[] = {
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 result
= (wxGIFHandler
*)new wxGIFHandler();
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11565 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11568 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11570 return Py_BuildValue((char *)"");
11572 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxPCXHandler
*result
;
11575 char *kwnames
[] = {
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 result
= (wxPCXHandler
*)new wxPCXHandler();
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11594 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11597 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11599 return Py_BuildValue((char *)"");
11601 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
;
11603 wxJPEGHandler
*result
;
11604 char *kwnames
[] = {
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11623 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11626 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11628 return Py_BuildValue((char *)"");
11630 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11632 wxPNMHandler
*result
;
11633 char *kwnames
[] = {
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 result
= (wxPNMHandler
*)new wxPNMHandler();
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11652 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11655 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11657 return Py_BuildValue((char *)"");
11659 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxXPMHandler
*result
;
11662 char *kwnames
[] = {
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 result
= (wxXPMHandler
*)new wxXPMHandler();
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11681 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11684 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11686 return Py_BuildValue((char *)"");
11688 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
;
11690 wxTIFFHandler
*result
;
11691 char *kwnames
[] = {
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11710 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11713 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11715 return Py_BuildValue((char *)"");
11717 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxEvtHandler
*result
;
11720 char *kwnames
[] = {
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 result
= (wxEvtHandler
*)new wxEvtHandler();
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11733 resultobj
= wxPyMake_wxObject(result
);
11741 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11744 wxEvtHandler
*result
;
11745 PyObject
* obj0
= 0 ;
11746 char *kwnames
[] = {
11747 (char *) "self", NULL
11750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= wxPyMake_wxObject(result
);
11769 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11772 wxEvtHandler
*result
;
11773 PyObject
* obj0
= 0 ;
11774 char *kwnames
[] = {
11775 (char *) "self", NULL
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= wxPyMake_wxObject(result
);
11797 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11798 PyObject
*resultobj
;
11799 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11800 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj1
= 0 ;
11803 char *kwnames
[] = {
11804 (char *) "self",(char *) "handler", NULL
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 (arg1
)->SetNextHandler(arg2
);
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 Py_INCREF(Py_None
); resultobj
= Py_None
;
11826 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
;
11828 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11829 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self",(char *) "handler", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 (arg1
)->SetPreviousHandler(arg2
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 Py_INCREF(Py_None
); resultobj
= Py_None
;
11855 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "self", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11883 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11887 PyObject
* obj0
= 0 ;
11888 PyObject
* obj1
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "self",(char *) "enabled", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11896 arg2
= (bool) SWIG_AsBool(obj1
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 (arg1
)->SetEvtHandlerEnabled(arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 Py_INCREF(Py_None
); resultobj
= Py_None
;
11912 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11915 wxEvent
*arg2
= 0 ;
11917 PyObject
* obj0
= 0 ;
11918 PyObject
* obj1
= 0 ;
11919 char *kwnames
[] = {
11920 (char *) "self",(char *) "event", NULL
11923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11929 if (arg2
== NULL
) {
11930 PyErr_SetString(PyExc_TypeError
,"null reference");
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11949 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11952 wxEvent
*arg2
= 0 ;
11953 PyObject
* obj0
= 0 ;
11954 PyObject
* obj1
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self",(char *) "event", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11965 if (arg2
== NULL
) {
11966 PyErr_SetString(PyExc_TypeError
,"null reference");
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 (arg1
)->AddPendingEvent(*arg2
);
11973 wxPyEndAllowThreads(__tstate
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11976 Py_INCREF(Py_None
); resultobj
= Py_None
;
11983 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
;
11985 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 char *kwnames
[] = {
11988 (char *) "self", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 (arg1
)->ProcessPendingEvents();
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12001 Py_INCREF(Py_None
); resultobj
= Py_None
;
12008 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
*resultobj
;
12010 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12014 PyObject
*arg5
= (PyObject
*) 0 ;
12015 PyObject
* obj0
= 0 ;
12016 PyObject
* obj1
= 0 ;
12017 PyObject
* obj2
= 0 ;
12018 PyObject
* obj3
= 0 ;
12019 PyObject
* obj4
= 0 ;
12020 char *kwnames
[] = {
12021 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12027 arg2
= (int) SWIG_AsInt(obj1
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12029 arg3
= (int) SWIG_AsInt(obj2
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12031 arg4
= (int) SWIG_AsInt(obj3
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12041 Py_INCREF(Py_None
); resultobj
= Py_None
;
12048 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
;
12050 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12052 int arg3
= (int) -1 ;
12053 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12055 PyObject
* obj0
= 0 ;
12056 PyObject
* obj1
= 0 ;
12057 PyObject
* obj2
= 0 ;
12058 PyObject
* obj3
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12066 arg2
= (int) SWIG_AsInt(obj1
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 arg3
= (int) SWIG_AsInt(obj2
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12073 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12092 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12095 PyObject
*arg2
= (PyObject
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 PyObject
* obj1
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self",(char *) "_self", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 wxEvtHandler__setOORInfo(arg1
,arg2
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12113 Py_INCREF(Py_None
); resultobj
= Py_None
;
12120 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12123 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12125 return Py_BuildValue((char *)"");
12127 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxEventType result
;
12130 char *kwnames
[] = {
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 result
= (wxEventType
)wxNewEventType();
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= SWIG_FromInt((int)result
);
12149 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
*resultobj
;
12151 wxEvent
*arg1
= (wxEvent
*) 0 ;
12152 PyObject
* obj0
= 0 ;
12153 char *kwnames
[] = {
12154 (char *) "self", NULL
12157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 Py_INCREF(Py_None
); resultobj
= Py_None
;
12174 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12176 wxEvent
*arg1
= (wxEvent
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "typ", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12187 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 (arg1
)->SetEventType(arg2
);
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 Py_INCREF(Py_None
); resultobj
= Py_None
;
12203 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxEvent
*arg1
= (wxEvent
*) 0 ;
12206 wxEventType result
;
12207 PyObject
* obj0
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= SWIG_FromInt((int)result
);
12229 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxEvent
*arg1
= (wxEvent
*) 0 ;
12233 PyObject
* obj0
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "self", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12249 resultobj
= wxPyMake_wxObject(result
);
12257 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
;
12259 wxEvent
*arg1
= (wxEvent
*) 0 ;
12260 wxObject
*arg2
= (wxObject
*) 0 ;
12261 PyObject
* obj0
= 0 ;
12262 PyObject
* obj1
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self",(char *) "obj", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 (arg1
)->SetEventObject(arg2
);
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 Py_INCREF(Py_None
); resultobj
= Py_None
;
12286 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
;
12288 wxEvent
*arg1
= (wxEvent
*) 0 ;
12290 PyObject
* obj0
= 0 ;
12291 char *kwnames
[] = {
12292 (char *) "self", NULL
12295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= SWIG_FromLong((long)result
);
12312 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
;
12314 wxEvent
*arg1
= (wxEvent
*) 0 ;
12315 long arg2
= (long) 0 ;
12316 PyObject
* obj0
= 0 ;
12317 PyObject
* obj1
= 0 ;
12318 char *kwnames
[] = {
12319 (char *) "self",(char *) "ts", NULL
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12326 arg2
= (long) SWIG_AsLong(obj1
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 (arg1
)->SetTimestamp(arg2
);
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 Py_INCREF(Py_None
); resultobj
= Py_None
;
12343 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxEvent
*arg1
= (wxEvent
*) 0 ;
12347 PyObject
* obj0
= 0 ;
12348 char *kwnames
[] = {
12349 (char *) "self", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 result
= (int)((wxEvent
const *)arg1
)->GetId();
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_FromInt((int)result
);
12369 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
;
12371 wxEvent
*arg1
= (wxEvent
*) 0 ;
12373 PyObject
* obj0
= 0 ;
12374 PyObject
* obj1
= 0 ;
12375 char *kwnames
[] = {
12376 (char *) "self",(char *) "Id", NULL
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12382 arg2
= (int) SWIG_AsInt(obj1
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 (arg1
)->SetId(arg2
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 Py_INCREF(Py_None
); resultobj
= Py_None
;
12398 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
;
12400 wxEvent
*arg1
= (wxEvent
*) 0 ;
12402 PyObject
* obj0
= 0 ;
12403 char *kwnames
[] = {
12404 (char *) "self", NULL
12407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12426 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxEvent
*arg1
= (wxEvent
*) 0 ;
12429 bool arg2
= (bool) True
;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self",(char *) "skip", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12440 arg2
= (bool) SWIG_AsBool(obj1
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 (arg1
)->Skip(arg2
);
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 Py_INCREF(Py_None
); resultobj
= Py_None
;
12457 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
;
12459 wxEvent
*arg1
= (wxEvent
*) 0 ;
12461 PyObject
* obj0
= 0 ;
12462 char *kwnames
[] = {
12463 (char *) "self", NULL
12466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12485 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxEvent
*arg1
= (wxEvent
*) 0 ;
12489 PyObject
* obj0
= 0 ;
12490 char *kwnames
[] = {
12491 (char *) "self", NULL
12494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12513 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
;
12515 wxEvent
*arg1
= (wxEvent
*) 0 ;
12517 PyObject
* obj0
= 0 ;
12518 char *kwnames
[] = {
12519 (char *) "self", NULL
12522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 result
= (int)(arg1
)->StopPropagation();
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 resultobj
= SWIG_FromInt((int)result
);
12539 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxEvent
*arg1
= (wxEvent
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 PyObject
* obj1
= 0 ;
12545 char *kwnames
[] = {
12546 (char *) "self",(char *) "propagationLevel", NULL
12549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12552 arg2
= (int) SWIG_AsInt(obj1
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 (arg1
)->ResumePropagation(arg2
);
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 Py_INCREF(Py_None
); resultobj
= Py_None
;
12568 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxEvent
*arg1
= (wxEvent
*) 0 ;
12572 PyObject
* obj0
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 result
= (wxEvent
*)(arg1
)->Clone();
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12594 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12597 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12599 return Py_BuildValue((char *)"");
12601 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
;
12603 wxEvent
*arg1
= 0 ;
12604 wxPropagationDisabler
*result
;
12605 PyObject
* obj0
= 0 ;
12606 char *kwnames
[] = {
12607 (char *) "event", NULL
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12614 if (arg1
== NULL
) {
12615 PyErr_SetString(PyExc_TypeError
,"null reference");
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12632 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12633 PyObject
*resultobj
;
12634 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12635 PyObject
* obj0
= 0 ;
12636 char *kwnames
[] = {
12637 (char *) "self", NULL
12640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12650 Py_INCREF(Py_None
); resultobj
= Py_None
;
12657 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12660 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12662 return Py_BuildValue((char *)"");
12664 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxEvent
*arg1
= 0 ;
12667 wxPropagateOnce
*result
;
12668 PyObject
* obj0
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "event", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12677 if (arg1
== NULL
) {
12678 PyErr_SetString(PyExc_TypeError
,"null reference");
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12695 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12698 PyObject
* obj0
= 0 ;
12699 char *kwnames
[] = {
12700 (char *) "self", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 Py_INCREF(Py_None
); resultobj
= Py_None
;
12720 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12723 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12725 return Py_BuildValue((char *)"");
12727 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12730 int arg2
= (int) 0 ;
12731 wxCommandEvent
*result
;
12732 PyObject
* obj0
= 0 ;
12733 PyObject
* obj1
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "commandType",(char *) "winid", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12740 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12744 arg2
= (int) SWIG_AsInt(obj1
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12761 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
;
12763 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12765 PyObject
* obj0
= 0 ;
12766 char *kwnames
[] = {
12767 (char *) "self", NULL
12770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 resultobj
= SWIG_FromInt((int)result
);
12787 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12790 wxString
*arg2
= 0 ;
12791 bool temp2
= False
;
12792 PyObject
* obj0
= 0 ;
12793 PyObject
* obj1
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "self",(char *) "s", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12802 arg2
= wxString_in_helper(obj1
);
12803 if (arg2
== NULL
) SWIG_fail
;
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 (arg1
)->SetString((wxString
const &)*arg2
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 Py_INCREF(Py_None
); resultobj
= Py_None
;
12828 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12860 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12864 PyObject
* obj0
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "self", NULL
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12888 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
;
12890 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12916 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12920 PyObject
* obj0
= 0 ;
12921 PyObject
* obj1
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self",(char *) "extraLong", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12929 arg2
= (long) SWIG_AsLong(obj1
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 (arg1
)->SetExtraLong(arg2
);
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12938 Py_INCREF(Py_None
); resultobj
= Py_None
;
12945 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
;
12947 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12949 PyObject
* obj0
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_FromLong((long)result
);
12971 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
;
12973 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12975 PyObject
* obj0
= 0 ;
12976 PyObject
* obj1
= 0 ;
12977 char *kwnames
[] = {
12978 (char *) "self",(char *) "i", NULL
12981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12984 arg2
= (int) SWIG_AsInt(obj1
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 (arg1
)->SetInt(arg2
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12993 Py_INCREF(Py_None
); resultobj
= Py_None
;
13000 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
;
13002 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13004 PyObject
* obj0
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 resultobj
= SWIG_FromLong((long)result
);
13026 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13030 PyObject
* obj0
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13052 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13055 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13057 return Py_BuildValue((char *)"");
13059 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13062 int arg2
= (int) 0 ;
13063 wxNotifyEvent
*result
;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "commandType",(char *) "winid", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13072 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13076 arg2
= (int) SWIG_AsInt(obj1
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13093 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
;
13095 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13096 PyObject
* obj0
= 0 ;
13097 char *kwnames
[] = {
13098 (char *) "self", NULL
13101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 Py_INCREF(Py_None
); resultobj
= Py_None
;
13118 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13121 PyObject
* obj0
= 0 ;
13122 char *kwnames
[] = {
13123 (char *) "self", NULL
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 Py_INCREF(Py_None
); resultobj
= Py_None
;
13143 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
;
13145 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13147 PyObject
* obj0
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "self", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 result
= (bool)(arg1
)->IsAllowed();
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13171 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13174 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13176 return Py_BuildValue((char *)"");
13178 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13181 int arg2
= (int) 0 ;
13182 int arg3
= (int) 0 ;
13183 int arg4
= (int) 0 ;
13184 wxScrollEvent
*result
;
13185 PyObject
* obj0
= 0 ;
13186 PyObject
* obj1
= 0 ;
13187 PyObject
* obj2
= 0 ;
13188 PyObject
* obj3
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13195 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13199 arg2
= (int) SWIG_AsInt(obj1
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13203 arg3
= (int) SWIG_AsInt(obj2
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 arg4
= (int) SWIG_AsInt(obj3
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13224 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
;
13226 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13228 PyObject
* obj0
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= SWIG_FromInt((int)result
);
13250 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13254 PyObject
* obj0
= 0 ;
13255 char *kwnames
[] = {
13256 (char *) "self", NULL
13259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= SWIG_FromInt((int)result
);
13276 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13277 PyObject
*resultobj
;
13278 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13280 PyObject
* obj0
= 0 ;
13281 PyObject
* obj1
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self",(char *) "orient", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13289 arg2
= (int) SWIG_AsInt(obj1
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 (arg1
)->SetOrientation(arg2
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 Py_INCREF(Py_None
); resultobj
= Py_None
;
13305 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
;
13307 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13309 PyObject
* obj0
= 0 ;
13310 PyObject
* obj1
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "self",(char *) "pos", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13318 arg2
= (int) SWIG_AsInt(obj1
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 (arg1
)->SetPosition(arg2
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 Py_INCREF(Py_None
); resultobj
= Py_None
;
13334 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13337 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13339 return Py_BuildValue((char *)"");
13341 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13344 int arg2
= (int) 0 ;
13345 int arg3
= (int) 0 ;
13346 wxScrollWinEvent
*result
;
13347 PyObject
* obj0
= 0 ;
13348 PyObject
* obj1
= 0 ;
13349 PyObject
* obj2
= 0 ;
13350 char *kwnames
[] = {
13351 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13356 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13360 arg2
= (int) SWIG_AsInt(obj1
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13364 arg3
= (int) SWIG_AsInt(obj2
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13381 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= SWIG_FromInt((int)result
);
13407 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
;
13409 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13411 PyObject
* obj0
= 0 ;
13412 char *kwnames
[] = {
13413 (char *) "self", NULL
13416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 resultobj
= SWIG_FromInt((int)result
);
13433 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13437 PyObject
* obj0
= 0 ;
13438 PyObject
* obj1
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self",(char *) "orient", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13446 arg2
= (int) SWIG_AsInt(obj1
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 (arg1
)->SetOrientation(arg2
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 Py_INCREF(Py_None
); resultobj
= Py_None
;
13462 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13466 PyObject
* obj0
= 0 ;
13467 PyObject
* obj1
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self",(char *) "pos", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13475 arg2
= (int) SWIG_AsInt(obj1
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 (arg1
)->SetPosition(arg2
);
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 Py_INCREF(Py_None
); resultobj
= Py_None
;
13491 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13494 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13496 return Py_BuildValue((char *)"");
13498 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13501 wxMouseEvent
*result
;
13502 PyObject
* obj0
= 0 ;
13503 char *kwnames
[] = {
13504 (char *) "mouseType", NULL
13507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13509 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= wxPyMake_wxObject(result
);
13528 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
;
13530 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13532 PyObject
* obj0
= 0 ;
13533 char *kwnames
[] = {
13534 (char *) "self", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13556 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13559 int arg2
= (int) wxMOUSE_BTN_ANY
;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "but", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13571 arg2
= (int) SWIG_AsInt(obj1
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13590 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13593 int arg2
= (int) wxMOUSE_BTN_ANY
;
13595 PyObject
* obj0
= 0 ;
13596 PyObject
* obj1
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "self",(char *) "but", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13605 arg2
= (int) SWIG_AsInt(obj1
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13624 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
;
13626 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13627 int arg2
= (int) wxMOUSE_BTN_ANY
;
13629 PyObject
* obj0
= 0 ;
13630 PyObject
* obj1
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self",(char *) "but", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13639 arg2
= (int) SWIG_AsInt(obj1
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13658 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
;
13660 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13663 PyObject
* obj0
= 0 ;
13664 PyObject
* obj1
= 0 ;
13665 char *kwnames
[] = {
13666 (char *) "self",(char *) "but", NULL
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13672 arg2
= (int) SWIG_AsInt(obj1
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13690 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
;
13692 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 char *kwnames
[] = {
13698 (char *) "self",(char *) "but", NULL
13701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13704 arg2
= (int) SWIG_AsInt(obj1
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13722 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
;
13724 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13726 PyObject
* obj0
= 0 ;
13727 char *kwnames
[] = {
13728 (char *) "self", NULL
13731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_FromInt((int)result
);
13748 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13752 PyObject
* obj0
= 0 ;
13753 char *kwnames
[] = {
13754 (char *) "self", NULL
13757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13776 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
;
13778 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13780 PyObject
* obj0
= 0 ;
13781 char *kwnames
[] = {
13782 (char *) "self", NULL
13785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13804 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13808 PyObject
* obj0
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13832 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
;
13834 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13836 PyObject
* obj0
= 0 ;
13837 char *kwnames
[] = {
13838 (char *) "self", NULL
13841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13846 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13860 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
;
13862 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13864 PyObject
* obj0
= 0 ;
13865 char *kwnames
[] = {
13866 (char *) "self", NULL
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13888 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
;
13890 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13892 PyObject
* obj0
= 0 ;
13893 char *kwnames
[] = {
13894 (char *) "self", NULL
13897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13916 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13944 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
;
13946 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13948 PyObject
* obj0
= 0 ;
13949 char *kwnames
[] = {
13950 (char *) "self", NULL
13953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13972 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13973 PyObject
*resultobj
;
13974 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13976 PyObject
* obj0
= 0 ;
13977 char *kwnames
[] = {
13978 (char *) "self", NULL
13981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14000 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
;
14002 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14004 PyObject
* obj0
= 0 ;
14005 char *kwnames
[] = {
14006 (char *) "self", NULL
14009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14016 wxPyEndAllowThreads(__tstate
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14028 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14029 PyObject
*resultobj
;
14030 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14032 PyObject
* obj0
= 0 ;
14033 char *kwnames
[] = {
14034 (char *) "self", NULL
14037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14056 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14060 PyObject
* obj0
= 0 ;
14061 char *kwnames
[] = {
14062 (char *) "self", NULL
14065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14084 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14085 PyObject
*resultobj
;
14086 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14088 PyObject
* obj0
= 0 ;
14089 char *kwnames
[] = {
14090 (char *) "self", NULL
14093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14112 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
;
14114 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14116 PyObject
* obj0
= 0 ;
14117 char *kwnames
[] = {
14118 (char *) "self", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= (bool)(arg1
)->LeftIsDown();
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14140 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (bool)(arg1
)->MiddleIsDown();
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14168 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 char *kwnames
[] = {
14174 (char *) "self", NULL
14177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (bool)(arg1
)->RightIsDown();
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14196 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 char *kwnames
[] = {
14202 (char *) "self", NULL
14205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14224 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14252 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14280 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
;
14282 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14284 PyObject
* obj0
= 0 ;
14285 char *kwnames
[] = {
14286 (char *) "self", NULL
14289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14308 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
;
14310 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (arg1
)->GetPosition();
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14328 wxPoint
* resultptr
;
14329 resultptr
= new wxPoint((wxPoint
&) result
);
14330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14338 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14341 long *arg2
= (long *) 0 ;
14342 long *arg3
= (long *) 0 ;
14345 PyObject
* obj0
= 0 ;
14346 char *kwnames
[] = {
14347 (char *) "self", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 (arg1
)->GetPosition(arg2
,arg3
);
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14362 Py_INCREF(Py_None
); resultobj
= Py_None
;
14364 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14365 resultobj
= t_output_helper(resultobj
,o
);
14368 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14369 resultobj
= t_output_helper(resultobj
,o
);
14377 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14378 PyObject
*resultobj
;
14379 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self",(char *) "dc", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14394 if (arg2
== NULL
) {
14395 PyErr_SetString(PyExc_TypeError
,"null reference");
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14406 wxPoint
* resultptr
;
14407 resultptr
= new wxPoint((wxPoint
&) result
);
14408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14416 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= SWIG_FromInt((int)result
);
14442 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= SWIG_FromInt((int)result
);
14468 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
;
14470 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14487 resultobj
= SWIG_FromInt((int)result
);
14494 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= SWIG_FromInt((int)result
);
14520 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14524 PyObject
* obj0
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "self", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= SWIG_FromInt((int)result
);
14546 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14574 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 PyObject
* obj1
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self",(char *) "m_x", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14587 arg2
= (int) SWIG_AsInt(obj1
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14589 if (arg1
) (arg1
)->m_x
= arg2
;
14591 Py_INCREF(Py_None
); resultobj
= Py_None
;
14598 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 char *kwnames
[] = {
14604 (char *) "self", NULL
14607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14610 result
= (int) ((arg1
)->m_x
);
14612 resultobj
= SWIG_FromInt((int)result
);
14619 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14623 PyObject
* obj0
= 0 ;
14624 PyObject
* obj1
= 0 ;
14625 char *kwnames
[] = {
14626 (char *) "self",(char *) "m_y", NULL
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14632 arg2
= (int) SWIG_AsInt(obj1
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14634 if (arg1
) (arg1
)->m_y
= arg2
;
14636 Py_INCREF(Py_None
); resultobj
= Py_None
;
14643 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14647 PyObject
* obj0
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "self", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14655 result
= (int) ((arg1
)->m_y
);
14657 resultobj
= SWIG_FromInt((int)result
);
14664 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 PyObject
* obj1
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self",(char *) "m_leftDown", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14677 arg2
= (bool) SWIG_AsBool(obj1
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14679 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14681 Py_INCREF(Py_None
); resultobj
= Py_None
;
14688 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14692 PyObject
* obj0
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14700 result
= (bool) ((arg1
)->m_leftDown
);
14703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14711 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
;
14713 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14715 PyObject
* obj0
= 0 ;
14716 PyObject
* obj1
= 0 ;
14717 char *kwnames
[] = {
14718 (char *) "self",(char *) "m_middleDown", NULL
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14724 arg2
= (bool) SWIG_AsBool(obj1
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14726 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14728 Py_INCREF(Py_None
); resultobj
= Py_None
;
14735 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14736 PyObject
*resultobj
;
14737 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14739 PyObject
* obj0
= 0 ;
14740 char *kwnames
[] = {
14741 (char *) "self", NULL
14744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14747 result
= (bool) ((arg1
)->m_middleDown
);
14750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14758 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 PyObject
* obj1
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "self",(char *) "m_rightDown", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14771 arg2
= (bool) SWIG_AsBool(obj1
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14773 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14775 Py_INCREF(Py_None
); resultobj
= Py_None
;
14782 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14786 PyObject
* obj0
= 0 ;
14787 char *kwnames
[] = {
14788 (char *) "self", NULL
14791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14794 result
= (bool) ((arg1
)->m_rightDown
);
14797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14805 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14809 PyObject
* obj0
= 0 ;
14810 PyObject
* obj1
= 0 ;
14811 char *kwnames
[] = {
14812 (char *) "self",(char *) "m_controlDown", NULL
14815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14818 arg2
= (bool) SWIG_AsBool(obj1
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14820 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14822 Py_INCREF(Py_None
); resultobj
= Py_None
;
14829 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14830 PyObject
*resultobj
;
14831 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14833 PyObject
* obj0
= 0 ;
14834 char *kwnames
[] = {
14835 (char *) "self", NULL
14838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14841 result
= (bool) ((arg1
)->m_controlDown
);
14844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14852 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14856 PyObject
* obj0
= 0 ;
14857 PyObject
* obj1
= 0 ;
14858 char *kwnames
[] = {
14859 (char *) "self",(char *) "m_shiftDown", NULL
14862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14865 arg2
= (bool) SWIG_AsBool(obj1
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14867 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14869 Py_INCREF(Py_None
); resultobj
= Py_None
;
14876 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14880 PyObject
* obj0
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "self", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14888 result
= (bool) ((arg1
)->m_shiftDown
);
14891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14899 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
;
14901 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 PyObject
* obj1
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "self",(char *) "m_altDown", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14912 arg2
= (bool) SWIG_AsBool(obj1
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14914 if (arg1
) (arg1
)->m_altDown
= arg2
;
14916 Py_INCREF(Py_None
); resultobj
= Py_None
;
14923 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14927 PyObject
* obj0
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "self", NULL
14932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14935 result
= (bool) ((arg1
)->m_altDown
);
14938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14946 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
;
14948 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 PyObject
* obj1
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "self",(char *) "m_metaDown", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14959 arg2
= (bool) SWIG_AsBool(obj1
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14961 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14963 Py_INCREF(Py_None
); resultobj
= Py_None
;
14970 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 char *kwnames
[] = {
14976 (char *) "self", NULL
14979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14982 result
= (bool) ((arg1
)->m_metaDown
);
14985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14993 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
;
14995 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14997 PyObject
* obj0
= 0 ;
14998 PyObject
* obj1
= 0 ;
14999 char *kwnames
[] = {
15000 (char *) "self",(char *) "m_wheelRotation", NULL
15003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15006 arg2
= (int) SWIG_AsInt(obj1
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15008 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15010 Py_INCREF(Py_None
); resultobj
= Py_None
;
15017 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15029 result
= (int) ((arg1
)->m_wheelRotation
);
15031 resultobj
= SWIG_FromInt((int)result
);
15038 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
;
15040 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 char *kwnames
[] = {
15045 (char *) "self",(char *) "m_wheelDelta", NULL
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15051 arg2
= (int) SWIG_AsInt(obj1
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15053 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15055 Py_INCREF(Py_None
); resultobj
= Py_None
;
15062 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15063 PyObject
*resultobj
;
15064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15066 PyObject
* obj0
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15074 result
= (int) ((arg1
)->m_wheelDelta
);
15076 resultobj
= SWIG_FromInt((int)result
);
15083 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15087 PyObject
* obj0
= 0 ;
15088 PyObject
* obj1
= 0 ;
15089 char *kwnames
[] = {
15090 (char *) "self",(char *) "m_linesPerAction", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15096 arg2
= (int) SWIG_AsInt(obj1
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15098 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15100 Py_INCREF(Py_None
); resultobj
= Py_None
;
15107 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15108 PyObject
*resultobj
;
15109 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15111 PyObject
* obj0
= 0 ;
15112 char *kwnames
[] = {
15113 (char *) "self", NULL
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15119 result
= (int) ((arg1
)->m_linesPerAction
);
15121 resultobj
= SWIG_FromInt((int)result
);
15128 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15131 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15133 return Py_BuildValue((char *)"");
15135 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
;
15137 int arg1
= (int) 0 ;
15138 int arg2
= (int) 0 ;
15139 wxSetCursorEvent
*result
;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "x",(char *) "y", NULL
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15148 arg1
= (int) SWIG_AsInt(obj0
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15152 arg2
= (int) SWIG_AsInt(obj1
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15169 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
;
15171 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15173 PyObject
* obj0
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15188 resultobj
= SWIG_FromInt((int)result
);
15195 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15199 PyObject
* obj0
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15214 resultobj
= SWIG_FromInt((int)result
);
15221 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15224 wxCursor
*arg2
= 0 ;
15225 PyObject
* obj0
= 0 ;
15226 PyObject
* obj1
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "self",(char *) "cursor", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15237 if (arg2
== NULL
) {
15238 PyErr_SetString(PyExc_TypeError
,"null reference");
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 Py_INCREF(Py_None
); resultobj
= Py_None
;
15255 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
;
15257 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15259 PyObject
* obj0
= 0 ;
15260 char *kwnames
[] = {
15261 (char *) "self", NULL
15264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15271 result
= (wxCursor
*) &_result_ref
;
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15278 wxCursor
* resultptr
= new wxCursor(*result
);
15279 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15287 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
;
15289 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15291 PyObject
* obj0
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15315 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15318 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15320 return Py_BuildValue((char *)"");
15322 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15325 wxKeyEvent
*result
;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "keyType", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15333 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15350 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15354 PyObject
* obj0
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15378 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15382 PyObject
* obj0
= 0 ;
15383 char *kwnames
[] = {
15384 (char *) "self", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15406 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15410 PyObject
* obj0
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15434 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15462 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15490 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15494 PyObject
* obj0
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= SWIG_FromInt((int)result
);
15516 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= SWIG_FromInt((int)result
);
15542 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15545 unsigned int result
;
15546 PyObject
* obj0
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15568 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
;
15570 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15571 unsigned int result
;
15572 PyObject
* obj0
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "self", NULL
15577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15594 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15595 PyObject
*resultobj
;
15596 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15598 PyObject
* obj0
= 0 ;
15599 char *kwnames
[] = {
15600 (char *) "self", NULL
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (arg1
)->GetPosition();
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15614 wxPoint
* resultptr
;
15615 resultptr
= new wxPoint((wxPoint
&) result
);
15616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15624 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15627 long *arg2
= (long *) 0 ;
15628 long *arg3
= (long *) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "self", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 (arg1
)->GetPosition(arg2
,arg3
);
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15648 Py_INCREF(Py_None
); resultobj
= Py_None
;
15650 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15651 resultobj
= t_output_helper(resultobj
,o
);
15654 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15655 resultobj
= t_output_helper(resultobj
,o
);
15663 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
;
15665 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15667 PyObject
* obj0
= 0 ;
15668 char *kwnames
[] = {
15669 (char *) "self", NULL
15672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15682 resultobj
= SWIG_FromInt((int)result
);
15689 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15691 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15693 PyObject
* obj0
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "self", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= SWIG_FromInt((int)result
);
15715 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15719 PyObject
* obj0
= 0 ;
15720 PyObject
* obj1
= 0 ;
15721 char *kwnames
[] = {
15722 (char *) "self",(char *) "m_x", NULL
15725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15728 arg2
= (int) SWIG_AsInt(obj1
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15730 if (arg1
) (arg1
)->m_x
= arg2
;
15732 Py_INCREF(Py_None
); resultobj
= Py_None
;
15739 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
;
15741 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15743 PyObject
* obj0
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15751 result
= (int) ((arg1
)->m_x
);
15753 resultobj
= SWIG_FromInt((int)result
);
15760 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
;
15762 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15764 PyObject
* obj0
= 0 ;
15765 PyObject
* obj1
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self",(char *) "m_y", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15773 arg2
= (int) SWIG_AsInt(obj1
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15775 if (arg1
) (arg1
)->m_y
= arg2
;
15777 Py_INCREF(Py_None
); resultobj
= Py_None
;
15784 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
;
15786 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15788 PyObject
* obj0
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15796 result
= (int) ((arg1
)->m_y
);
15798 resultobj
= SWIG_FromInt((int)result
);
15805 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15807 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15809 PyObject
* obj0
= 0 ;
15810 PyObject
* obj1
= 0 ;
15811 char *kwnames
[] = {
15812 (char *) "self",(char *) "m_keyCode", NULL
15815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15818 arg2
= (long) SWIG_AsLong(obj1
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15820 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15822 Py_INCREF(Py_None
); resultobj
= Py_None
;
15829 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
;
15831 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15841 result
= (long) ((arg1
)->m_keyCode
);
15843 resultobj
= SWIG_FromLong((long)result
);
15850 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15854 PyObject
* obj0
= 0 ;
15855 PyObject
* obj1
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "self",(char *) "m_controlDown", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15863 arg2
= (bool) SWIG_AsBool(obj1
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15865 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15867 Py_INCREF(Py_None
); resultobj
= Py_None
;
15874 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15886 result
= (bool) ((arg1
)->m_controlDown
);
15889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15897 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self",(char *) "m_shiftDown", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15910 arg2
= (bool) SWIG_AsBool(obj1
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15912 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15914 Py_INCREF(Py_None
); resultobj
= Py_None
;
15921 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15922 PyObject
*resultobj
;
15923 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15925 PyObject
* obj0
= 0 ;
15926 char *kwnames
[] = {
15927 (char *) "self", NULL
15930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15933 result
= (bool) ((arg1
)->m_shiftDown
);
15936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15944 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15948 PyObject
* obj0
= 0 ;
15949 PyObject
* obj1
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self",(char *) "m_altDown", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15957 arg2
= (bool) SWIG_AsBool(obj1
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15959 if (arg1
) (arg1
)->m_altDown
= arg2
;
15961 Py_INCREF(Py_None
); resultobj
= Py_None
;
15968 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
;
15970 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15972 PyObject
* obj0
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15980 result
= (bool) ((arg1
)->m_altDown
);
15983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15991 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
;
15993 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15995 PyObject
* obj0
= 0 ;
15996 PyObject
* obj1
= 0 ;
15997 char *kwnames
[] = {
15998 (char *) "self",(char *) "m_metaDown", NULL
16001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16004 arg2
= (bool) SWIG_AsBool(obj1
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16006 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16008 Py_INCREF(Py_None
); resultobj
= Py_None
;
16015 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16019 PyObject
* obj0
= 0 ;
16020 char *kwnames
[] = {
16021 (char *) "self", NULL
16024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16027 result
= (bool) ((arg1
)->m_metaDown
);
16030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16038 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
;
16040 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 PyObject
* obj1
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self",(char *) "m_scanCode", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16051 arg2
= (bool) SWIG_AsBool(obj1
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16053 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16055 Py_INCREF(Py_None
); resultobj
= Py_None
;
16062 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16066 PyObject
* obj0
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16074 result
= (bool) ((arg1
)->m_scanCode
);
16077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16085 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16086 PyObject
*resultobj
;
16087 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16088 unsigned int arg2
;
16089 PyObject
* obj0
= 0 ;
16090 PyObject
* obj1
= 0 ;
16091 char *kwnames
[] = {
16092 (char *) "self",(char *) "m_rawCode", NULL
16095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16098 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16100 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16102 Py_INCREF(Py_None
); resultobj
= Py_None
;
16109 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16112 unsigned int result
;
16113 PyObject
* obj0
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16121 result
= (unsigned int) ((arg1
)->m_rawCode
);
16123 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16130 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
;
16132 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16133 unsigned int arg2
;
16134 PyObject
* obj0
= 0 ;
16135 PyObject
* obj1
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "self",(char *) "m_rawFlags", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16143 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16145 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16147 Py_INCREF(Py_None
); resultobj
= Py_None
;
16154 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
;
16156 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16157 unsigned int result
;
16158 PyObject
* obj0
= 0 ;
16159 char *kwnames
[] = {
16160 (char *) "self", NULL
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16166 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16168 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16175 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16178 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16180 return Py_BuildValue((char *)"");
16182 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16183 PyObject
*resultobj
;
16184 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16185 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16186 int arg2
= (int) 0 ;
16187 wxSizeEvent
*result
;
16189 PyObject
* obj0
= 0 ;
16190 PyObject
* obj1
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "sz",(char *) "winid", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16199 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16203 arg2
= (int) SWIG_AsInt(obj1
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16220 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16224 PyObject
* obj0
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "self", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16240 wxSize
* resultptr
;
16241 resultptr
= new wxSize((wxSize
&) result
);
16242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16250 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16251 PyObject
*resultobj
;
16252 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16254 PyObject
* obj0
= 0 ;
16255 char *kwnames
[] = {
16256 (char *) "self", NULL
16259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16270 wxRect
* resultptr
;
16271 resultptr
= new wxRect((wxRect
&) result
);
16272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16280 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16281 PyObject
*resultobj
;
16282 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16285 PyObject
* obj0
= 0 ;
16286 PyObject
* obj1
= 0 ;
16287 char *kwnames
[] = {
16288 (char *) "self",(char *) "rect", NULL
16291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16294 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16295 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 (arg1
)->SetRect(arg2
);
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16304 Py_INCREF(Py_None
); resultobj
= Py_None
;
16311 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self",(char *) "size", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16325 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16326 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 wxSizeEvent_SetSize(arg1
,arg2
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 Py_INCREF(Py_None
); resultobj
= Py_None
;
16342 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16345 wxSize
*arg2
= (wxSize
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 PyObject
* obj1
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self",(char *) "m_size", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16357 if (arg1
) (arg1
)->m_size
= *arg2
;
16359 Py_INCREF(Py_None
); resultobj
= Py_None
;
16366 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
;
16368 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16370 PyObject
* obj0
= 0 ;
16371 char *kwnames
[] = {
16372 (char *) "self", NULL
16375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16378 result
= (wxSize
*)& ((arg1
)->m_size
);
16380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16387 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16390 wxRect
*arg2
= (wxRect
*) 0 ;
16391 PyObject
* obj0
= 0 ;
16392 PyObject
* obj1
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self",(char *) "m_rect", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16402 if (arg1
) (arg1
)->m_rect
= *arg2
;
16404 Py_INCREF(Py_None
); resultobj
= Py_None
;
16411 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
;
16413 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16415 PyObject
* obj0
= 0 ;
16416 char *kwnames
[] = {
16417 (char *) "self", NULL
16420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16423 result
= (wxRect
*)& ((arg1
)->m_rect
);
16425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16432 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16435 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16437 return Py_BuildValue((char *)"");
16439 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16442 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16443 int arg2
= (int) 0 ;
16444 wxMoveEvent
*result
;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "pos",(char *) "winid", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16456 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16460 arg2
= (int) SWIG_AsInt(obj1
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16477 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16481 PyObject
* obj0
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16497 wxPoint
* resultptr
;
16498 resultptr
= new wxPoint((wxPoint
&) result
);
16499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16507 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16511 PyObject
* obj0
= 0 ;
16512 char *kwnames
[] = {
16513 (char *) "self", NULL
16516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16527 wxRect
* resultptr
;
16528 resultptr
= new wxRect((wxRect
&) result
);
16529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16537 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16538 PyObject
*resultobj
;
16539 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16542 PyObject
* obj0
= 0 ;
16543 PyObject
* obj1
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "self",(char *) "rect", NULL
16548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16551 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16552 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 (arg1
)->SetRect(arg2
);
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16561 Py_INCREF(Py_None
); resultobj
= Py_None
;
16568 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16570 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16573 PyObject
* obj0
= 0 ;
16574 PyObject
* obj1
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self",(char *) "pos", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16582 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16583 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 wxMoveEvent_SetPosition(arg1
,arg2
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16592 Py_INCREF(Py_None
); resultobj
= Py_None
;
16599 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16601 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16602 wxPoint
*arg2
= (wxPoint
*) 0 ;
16603 PyObject
* obj0
= 0 ;
16604 PyObject
* obj1
= 0 ;
16605 char *kwnames
[] = {
16606 (char *) "self",(char *) "m_pos", NULL
16609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16614 if (arg1
) (arg1
)->m_pos
= *arg2
;
16616 Py_INCREF(Py_None
); resultobj
= Py_None
;
16623 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16627 PyObject
* obj0
= 0 ;
16628 char *kwnames
[] = {
16629 (char *) "self", NULL
16632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16635 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16644 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16647 wxRect
*arg2
= (wxRect
*) 0 ;
16648 PyObject
* obj0
= 0 ;
16649 PyObject
* obj1
= 0 ;
16650 char *kwnames
[] = {
16651 (char *) "self",(char *) "m_rect", NULL
16654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16659 if (arg1
) (arg1
)->m_rect
= *arg2
;
16661 Py_INCREF(Py_None
); resultobj
= Py_None
;
16668 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16672 PyObject
* obj0
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "self", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16680 result
= (wxRect
*)& ((arg1
)->m_rect
);
16682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16689 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16692 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16694 return Py_BuildValue((char *)"");
16696 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 int arg1
= (int) 0 ;
16699 wxPaintEvent
*result
;
16700 PyObject
* obj0
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "Id", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16707 arg1
= (int) SWIG_AsInt(obj0
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16724 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16727 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16729 return Py_BuildValue((char *)"");
16731 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 int arg1
= (int) 0 ;
16734 wxNcPaintEvent
*result
;
16735 PyObject
* obj0
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "winid", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16742 arg1
= (int) SWIG_AsInt(obj0
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16759 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16762 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16764 return Py_BuildValue((char *)"");
16766 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
;
16768 int arg1
= (int) 0 ;
16769 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16770 wxEraseEvent
*result
;
16771 PyObject
* obj0
= 0 ;
16772 PyObject
* obj1
= 0 ;
16773 char *kwnames
[] = {
16774 (char *) "Id",(char *) "dc", NULL
16777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16779 arg1
= (int) SWIG_AsInt(obj0
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16800 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16802 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16804 PyObject
* obj0
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "self", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= wxPyMake_wxObject(result
);
16828 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16831 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16833 return Py_BuildValue((char *)"");
16835 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16836 PyObject
*resultobj
;
16837 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16838 int arg2
= (int) 0 ;
16839 wxFocusEvent
*result
;
16840 PyObject
* obj0
= 0 ;
16841 PyObject
* obj1
= 0 ;
16842 char *kwnames
[] = {
16843 (char *) "type",(char *) "winid", NULL
16846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16848 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16852 arg2
= (int) SWIG_AsInt(obj1
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16869 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16873 PyObject
* obj0
= 0 ;
16874 char *kwnames
[] = {
16875 (char *) "self", NULL
16878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16883 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16889 resultobj
= wxPyMake_wxObject(result
);
16897 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
;
16899 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16900 wxWindow
*arg2
= (wxWindow
*) 0 ;
16901 PyObject
* obj0
= 0 ;
16902 PyObject
* obj1
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self",(char *) "win", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 (arg1
)->SetWindow(arg2
);
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16919 Py_INCREF(Py_None
); resultobj
= Py_None
;
16926 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16929 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16931 return Py_BuildValue((char *)"");
16933 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
;
16935 wxWindow
*arg1
= (wxWindow
*) NULL
;
16936 wxChildFocusEvent
*result
;
16937 PyObject
* obj0
= 0 ;
16938 char *kwnames
[] = {
16939 (char *) "win", NULL
16942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16961 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
;
16963 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16965 PyObject
* obj0
= 0 ;
16966 char *kwnames
[] = {
16967 (char *) "self", NULL
16970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16981 resultobj
= wxPyMake_wxObject(result
);
16989 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16992 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16994 return Py_BuildValue((char *)"");
16996 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16997 PyObject
*resultobj
;
16998 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16999 bool arg2
= (bool) True
;
17000 int arg3
= (int) 0 ;
17001 wxActivateEvent
*result
;
17002 PyObject
* obj0
= 0 ;
17003 PyObject
* obj1
= 0 ;
17004 PyObject
* obj2
= 0 ;
17005 char *kwnames
[] = {
17006 (char *) "type",(char *) "active",(char *) "Id", NULL
17009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17011 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17015 arg2
= (bool) SWIG_AsBool(obj1
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17019 arg3
= (int) SWIG_AsInt(obj2
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17036 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17038 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17040 PyObject
* obj0
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17064 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17067 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17069 return Py_BuildValue((char *)"");
17071 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 int arg1
= (int) 0 ;
17074 wxInitDialogEvent
*result
;
17075 PyObject
* obj0
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "Id", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17082 arg1
= (int) SWIG_AsInt(obj0
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17099 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17102 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17104 return Py_BuildValue((char *)"");
17106 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17109 int arg2
= (int) 0 ;
17110 wxMenu
*arg3
= (wxMenu
*) NULL
;
17111 wxMenuEvent
*result
;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 PyObject
* obj2
= 0 ;
17115 char *kwnames
[] = {
17116 (char *) "type",(char *) "winid",(char *) "menu", NULL
17119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17121 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17125 arg2
= (int) SWIG_AsInt(obj1
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17129 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17146 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17150 PyObject
* obj0
= 0 ;
17151 char *kwnames
[] = {
17152 (char *) "self", NULL
17155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= SWIG_FromInt((int)result
);
17172 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17200 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17204 PyObject
* obj0
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= wxPyMake_wxObject(result
);
17228 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17231 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17233 return Py_BuildValue((char *)"");
17235 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17238 int arg2
= (int) 0 ;
17239 wxCloseEvent
*result
;
17240 PyObject
* obj0
= 0 ;
17241 PyObject
* obj1
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "type",(char *) "winid", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17248 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17252 arg2
= (int) SWIG_AsInt(obj1
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17269 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17270 PyObject
*resultobj
;
17271 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17273 PyObject
* obj0
= 0 ;
17274 PyObject
* obj1
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self",(char *) "logOff", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17282 arg2
= (bool) SWIG_AsBool(obj1
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 (arg1
)->SetLoggingOff(arg2
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 Py_INCREF(Py_None
); resultobj
= Py_None
;
17298 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17302 PyObject
* obj0
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17326 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17329 bool arg2
= (bool) True
;
17330 PyObject
* obj0
= 0 ;
17331 PyObject
* obj1
= 0 ;
17332 char *kwnames
[] = {
17333 (char *) "self",(char *) "veto", NULL
17336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17340 arg2
= (bool) SWIG_AsBool(obj1
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 (arg1
)->Veto(arg2
);
17347 wxPyEndAllowThreads(__tstate
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17350 Py_INCREF(Py_None
); resultobj
= Py_None
;
17357 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17358 PyObject
*resultobj
;
17359 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17361 PyObject
* obj0
= 0 ;
17362 PyObject
* obj1
= 0 ;
17363 char *kwnames
[] = {
17364 (char *) "self",(char *) "canVeto", NULL
17367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17370 arg2
= (bool) SWIG_AsBool(obj1
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 (arg1
)->SetCanVeto(arg2
);
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17379 Py_INCREF(Py_None
); resultobj
= Py_None
;
17386 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
;
17388 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17390 PyObject
* obj0
= 0 ;
17391 char *kwnames
[] = {
17392 (char *) "self", NULL
17395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17414 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17418 PyObject
* obj0
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "self", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17442 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17445 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17447 return Py_BuildValue((char *)"");
17449 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
;
17451 int arg1
= (int) 0 ;
17452 bool arg2
= (bool) False
;
17453 wxShowEvent
*result
;
17454 PyObject
* obj0
= 0 ;
17455 PyObject
* obj1
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "winid",(char *) "show", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17462 arg1
= (int) SWIG_AsInt(obj0
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17466 arg2
= (bool) SWIG_AsBool(obj1
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17483 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17487 PyObject
* obj0
= 0 ;
17488 PyObject
* obj1
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "self",(char *) "show", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17496 arg2
= (bool) SWIG_AsBool(obj1
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 (arg1
)->SetShow(arg2
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 Py_INCREF(Py_None
); resultobj
= Py_None
;
17512 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
;
17514 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17516 PyObject
* obj0
= 0 ;
17517 char *kwnames
[] = {
17518 (char *) "self", NULL
17521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17540 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17543 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17545 return Py_BuildValue((char *)"");
17547 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 int arg1
= (int) 0 ;
17550 bool arg2
= (bool) True
;
17551 wxIconizeEvent
*result
;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "id",(char *) "iconized", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17560 arg1
= (int) SWIG_AsInt(obj0
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17564 arg2
= (bool) SWIG_AsBool(obj1
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17581 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
;
17583 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17585 PyObject
* obj0
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 result
= (bool)(arg1
)->Iconized();
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17609 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17612 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17614 return Py_BuildValue((char *)"");
17616 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 int arg1
= (int) 0 ;
17619 wxMaximizeEvent
*result
;
17620 PyObject
* obj0
= 0 ;
17621 char *kwnames
[] = {
17622 (char *) "id", NULL
17625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17627 arg1
= (int) SWIG_AsInt(obj0
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17644 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17647 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17649 return Py_BuildValue((char *)"");
17651 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17655 PyObject
* obj0
= 0 ;
17656 char *kwnames
[] = {
17657 (char *) "self", NULL
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 result
= (arg1
)->GetPosition();
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17671 wxPoint
* resultptr
;
17672 resultptr
= new wxPoint((wxPoint
&) result
);
17673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17681 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17682 PyObject
*resultobj
;
17683 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17685 PyObject
* obj0
= 0 ;
17686 char *kwnames
[] = {
17687 (char *) "self", NULL
17690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (int)(arg1
)->GetNumberOfFiles();
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_FromInt((int)result
);
17707 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17711 PyObject
* obj0
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= result
;
17733 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17736 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17738 return Py_BuildValue((char *)"");
17740 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
;
17742 int arg1
= (int) 0 ;
17743 wxUpdateUIEvent
*result
;
17744 PyObject
* obj0
= 0 ;
17745 char *kwnames
[] = {
17746 (char *) "commandId", NULL
17749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17751 arg1
= (int) SWIG_AsInt(obj0
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17768 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17772 PyObject
* obj0
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "self", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17796 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
;
17798 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17800 PyObject
* obj0
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "self", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17824 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
;
17826 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17828 PyObject
* obj0
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "self", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17856 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17860 PyObject
* obj0
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "self", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17884 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
;
17886 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17888 PyObject
* obj0
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17912 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17916 PyObject
* obj0
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17940 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self",(char *) "check", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17953 arg2
= (bool) SWIG_AsBool(obj1
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 (arg1
)->Check(arg2
);
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 Py_INCREF(Py_None
); resultobj
= Py_None
;
17969 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17973 PyObject
* obj0
= 0 ;
17974 PyObject
* obj1
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self",(char *) "enable", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17982 arg2
= (bool) SWIG_AsBool(obj1
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 (arg1
)->Enable(arg2
);
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 Py_INCREF(Py_None
); resultobj
= Py_None
;
17998 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
;
18000 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18001 wxString
*arg2
= 0 ;
18002 bool temp2
= False
;
18003 PyObject
* obj0
= 0 ;
18004 PyObject
* obj1
= 0 ;
18005 char *kwnames
[] = {
18006 (char *) "self",(char *) "text", NULL
18009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18013 arg2
= wxString_in_helper(obj1
);
18014 if (arg2
== NULL
) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 (arg1
)->SetText((wxString
const &)*arg2
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 Py_INCREF(Py_None
); resultobj
= Py_None
;
18039 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18040 PyObject
*resultobj
;
18042 PyObject
* obj0
= 0 ;
18043 char *kwnames
[] = {
18044 (char *) "updateInterval", NULL
18047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18048 arg1
= (long) SWIG_AsLong(obj0
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 Py_INCREF(Py_None
); resultobj
= Py_None
;
18064 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18067 char *kwnames
[] = {
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18074 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= SWIG_FromLong((long)result
);
18086 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 wxWindow
*arg1
= (wxWindow
*) 0 ;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "win", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18114 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 char *kwnames
[] = {
18120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 wxUpdateUIEvent::ResetUpdateTime();
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 Py_INCREF(Py_None
); resultobj
= Py_None
;
18135 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18138 PyObject
* obj0
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "mode", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18144 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 Py_INCREF(Py_None
); resultobj
= Py_None
;
18160 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18163 char *kwnames
[] = {
18167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 result
= (int)wxUpdateUIEvent::GetMode();
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= SWIG_FromInt((int)result
);
18182 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18185 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18187 return Py_BuildValue((char *)"");
18189 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxSysColourChangedEvent
*result
;
18192 char *kwnames
[] = {
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18211 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18214 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18216 return Py_BuildValue((char *)"");
18218 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
;
18220 int arg1
= (int) 0 ;
18221 wxWindow
*arg2
= (wxWindow
*) NULL
;
18222 wxMouseCaptureChangedEvent
*result
;
18223 PyObject
* obj0
= 0 ;
18224 PyObject
* obj1
= 0 ;
18225 char *kwnames
[] = {
18226 (char *) "winid",(char *) "gainedCapture", NULL
18229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18231 arg1
= (int) SWIG_AsInt(obj0
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18252 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18254 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18256 PyObject
* obj0
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18266 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= wxPyMake_wxObject(result
);
18280 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18283 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18285 return Py_BuildValue((char *)"");
18287 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
;
18289 wxDisplayChangedEvent
*result
;
18290 char *kwnames
[] = {
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18309 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18312 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18314 return Py_BuildValue((char *)"");
18316 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18317 PyObject
*resultobj
;
18318 int arg1
= (int) 0 ;
18319 wxPaletteChangedEvent
*result
;
18320 PyObject
* obj0
= 0 ;
18321 char *kwnames
[] = {
18322 (char *) "id", NULL
18325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18327 arg1
= (int) SWIG_AsInt(obj0
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18344 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
;
18346 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18347 wxWindow
*arg2
= (wxWindow
*) 0 ;
18348 PyObject
* obj0
= 0 ;
18349 PyObject
* obj1
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self",(char *) "win", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 (arg1
)->SetChangedWindow(arg2
);
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 Py_INCREF(Py_None
); resultobj
= Py_None
;
18373 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
;
18375 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= wxPyMake_wxObject(result
);
18401 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18404 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18406 return Py_BuildValue((char *)"");
18408 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
;
18410 int arg1
= (int) 0 ;
18411 wxQueryNewPaletteEvent
*result
;
18412 PyObject
* obj0
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "winid", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18419 arg1
= (int) SWIG_AsInt(obj0
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18436 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18440 PyObject
* obj0
= 0 ;
18441 PyObject
* obj1
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self",(char *) "realized", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18449 arg2
= (bool) SWIG_AsBool(obj1
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 (arg1
)->SetPaletteRealized(arg2
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 Py_INCREF(Py_None
); resultobj
= Py_None
;
18465 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
;
18467 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18469 PyObject
* obj0
= 0 ;
18470 char *kwnames
[] = {
18471 (char *) "self", NULL
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18493 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18496 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18498 return Py_BuildValue((char *)"");
18500 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18502 wxNavigationKeyEvent
*result
;
18503 char *kwnames
[] = {
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18522 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
;
18524 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18526 PyObject
* obj0
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "self", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18550 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18554 PyObject
* obj0
= 0 ;
18555 PyObject
* obj1
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self",(char *) "bForward", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18563 arg2
= (bool) SWIG_AsBool(obj1
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 (arg1
)->SetDirection(arg2
);
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 Py_INCREF(Py_None
); resultobj
= Py_None
;
18579 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18583 PyObject
* obj0
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18607 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
;
18609 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18611 PyObject
* obj0
= 0 ;
18612 PyObject
* obj1
= 0 ;
18613 char *kwnames
[] = {
18614 (char *) "self",(char *) "bIs", NULL
18617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18620 arg2
= (bool) SWIG_AsBool(obj1
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 (arg1
)->SetWindowChange(arg2
);
18626 wxPyEndAllowThreads(__tstate
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18629 Py_INCREF(Py_None
); resultobj
= Py_None
;
18636 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
;
18638 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18640 PyObject
* obj0
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= wxPyMake_wxObject(result
);
18664 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18667 wxWindow
*arg2
= (wxWindow
*) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 PyObject
* obj1
= 0 ;
18670 char *kwnames
[] = {
18671 (char *) "self",(char *) "win", NULL
18674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 (arg1
)->SetCurrentFocus(arg2
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 Py_INCREF(Py_None
); resultobj
= Py_None
;
18693 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18696 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18698 return Py_BuildValue((char *)"");
18700 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
;
18702 wxWindow
*arg1
= (wxWindow
*) NULL
;
18703 wxWindowCreateEvent
*result
;
18704 PyObject
* obj0
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "win", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18728 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18732 PyObject
* obj0
= 0 ;
18733 char *kwnames
[] = {
18734 (char *) "self", NULL
18737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18748 resultobj
= wxPyMake_wxObject(result
);
18756 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18759 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18761 return Py_BuildValue((char *)"");
18763 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18764 PyObject
*resultobj
;
18765 wxWindow
*arg1
= (wxWindow
*) NULL
;
18766 wxWindowDestroyEvent
*result
;
18767 PyObject
* obj0
= 0 ;
18768 char *kwnames
[] = {
18769 (char *) "win", NULL
18772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18791 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18811 resultobj
= wxPyMake_wxObject(result
);
18819 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18822 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18824 return Py_BuildValue((char *)"");
18826 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18829 int arg2
= (int) 0 ;
18830 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18831 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18832 wxContextMenuEvent
*result
;
18834 PyObject
* obj0
= 0 ;
18835 PyObject
* obj1
= 0 ;
18836 PyObject
* obj2
= 0 ;
18837 char *kwnames
[] = {
18838 (char *) "type",(char *) "winid",(char *) "pt", NULL
18841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18843 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18847 arg2
= (int) SWIG_AsInt(obj1
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18853 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18870 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18886 result
= (wxPoint
*) &_result_ref
;
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18899 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18902 wxPoint
*arg2
= 0 ;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj1
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self",(char *) "pos", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18915 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 Py_INCREF(Py_None
); resultobj
= Py_None
;
18931 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18934 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18936 return Py_BuildValue((char *)"");
18938 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxIdleEvent
*result
;
18941 char *kwnames
[] = {
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 result
= (wxIdleEvent
*)new wxIdleEvent();
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18960 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18963 bool arg2
= (bool) True
;
18964 PyObject
* obj0
= 0 ;
18965 PyObject
* obj1
= 0 ;
18966 char *kwnames
[] = {
18967 (char *) "self",(char *) "needMore", NULL
18970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18974 arg2
= (bool) SWIG_AsBool(obj1
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18979 (arg1
)->RequestMore(arg2
);
18981 wxPyEndAllowThreads(__tstate
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18984 Py_INCREF(Py_None
); resultobj
= Py_None
;
18991 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18992 PyObject
*resultobj
;
18993 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18995 PyObject
* obj0
= 0 ;
18996 char *kwnames
[] = {
18997 (char *) "self", NULL
19000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19019 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19022 PyObject
* obj0
= 0 ;
19023 char *kwnames
[] = {
19024 (char *) "mode", NULL
19027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19028 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19034 wxPyEndAllowThreads(__tstate
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19037 Py_INCREF(Py_None
); resultobj
= Py_None
;
19044 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19047 char *kwnames
[] = {
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 result
= (int)wxIdleEvent::GetMode();
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 resultobj
= SWIG_FromInt((int)result
);
19066 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxWindow
*arg1
= (wxWindow
*) 0 ;
19070 PyObject
* obj0
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "win", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 result
= (bool)wxIdleEvent::CanSend(arg1
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19094 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19097 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19099 return Py_BuildValue((char *)"");
19101 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 int arg1
= (int) 0 ;
19104 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 char *kwnames
[] = {
19109 (char *) "winid",(char *) "commandType", NULL
19112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19114 arg1
= (int) SWIG_AsInt(obj0
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19118 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19135 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19137 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 Py_INCREF(Py_None
); resultobj
= Py_None
;
19160 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19163 PyObject
*arg2
= (PyObject
*) 0 ;
19164 PyObject
* obj0
= 0 ;
19165 PyObject
* obj1
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "self",(char *) "self", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 (arg1
)->SetSelf(arg2
);
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 Py_INCREF(Py_None
); resultobj
= Py_None
;
19188 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
;
19190 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19192 PyObject
* obj0
= 0 ;
19193 char *kwnames
[] = {
19194 (char *) "self", NULL
19197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 result
= (PyObject
*)(arg1
)->GetSelf();
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 resultobj
= result
;
19214 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19217 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19219 return Py_BuildValue((char *)"");
19221 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19222 PyObject
*resultobj
;
19223 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19224 int arg2
= (int) 0 ;
19225 wxPyCommandEvent
*result
;
19226 PyObject
* obj0
= 0 ;
19227 PyObject
* obj1
= 0 ;
19228 char *kwnames
[] = {
19229 (char *) "commandType",(char *) "id", NULL
19232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19234 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19238 arg2
= (int) SWIG_AsInt(obj1
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19255 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
;
19257 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19258 PyObject
* obj0
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 Py_INCREF(Py_None
); resultobj
= Py_None
;
19280 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19283 PyObject
*arg2
= (PyObject
*) 0 ;
19284 PyObject
* obj0
= 0 ;
19285 PyObject
* obj1
= 0 ;
19286 char *kwnames
[] = {
19287 (char *) "self",(char *) "self", NULL
19290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 (arg1
)->SetSelf(arg2
);
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 Py_INCREF(Py_None
); resultobj
= Py_None
;
19308 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19309 PyObject
*resultobj
;
19310 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19312 PyObject
* obj0
= 0 ;
19313 char *kwnames
[] = {
19314 (char *) "self", NULL
19317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 result
= (PyObject
*)(arg1
)->GetSelf();
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 resultobj
= result
;
19334 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19337 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19339 return Py_BuildValue((char *)"");
19341 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19342 PyObject
*resultobj
;
19344 char *kwnames
[] = {
19348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 result
= (wxPyApp
*)new_wxPyApp();
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19357 resultobj
= wxPyMake_wxObject(result
);
19365 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
;
19367 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19368 PyObject
* obj0
= 0 ;
19369 char *kwnames
[] = {
19370 (char *) "self", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 Py_INCREF(Py_None
); resultobj
= Py_None
;
19390 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19393 PyObject
*arg2
= (PyObject
*) 0 ;
19394 PyObject
*arg3
= (PyObject
*) 0 ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 PyObject
* obj2
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self",(char *) "self",(char *) "_class", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 Py_INCREF(Py_None
); resultobj
= Py_None
;
19421 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19425 PyObject
* obj0
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19453 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
;
19455 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19456 wxString
*arg2
= 0 ;
19457 bool temp2
= False
;
19458 PyObject
* obj0
= 0 ;
19459 PyObject
* obj1
= 0 ;
19460 char *kwnames
[] = {
19461 (char *) "self",(char *) "name", NULL
19464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19468 arg2
= wxString_in_helper(obj1
);
19469 if (arg2
== NULL
) SWIG_fail
;
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 (arg1
)->SetAppName((wxString
const &)*arg2
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19479 Py_INCREF(Py_None
); resultobj
= Py_None
;
19494 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19498 PyObject
* obj0
= 0 ;
19499 char *kwnames
[] = {
19500 (char *) "self", NULL
19503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19526 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19527 PyObject
*resultobj
;
19528 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19529 wxString
*arg2
= 0 ;
19530 bool temp2
= False
;
19531 PyObject
* obj0
= 0 ;
19532 PyObject
* obj1
= 0 ;
19533 char *kwnames
[] = {
19534 (char *) "self",(char *) "name", NULL
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19541 arg2
= wxString_in_helper(obj1
);
19542 if (arg2
== NULL
) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 (arg1
)->SetClassName((wxString
const &)*arg2
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 Py_INCREF(Py_None
); resultobj
= Py_None
;
19567 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19571 PyObject
* obj0
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "self", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19583 result
= (wxString
*) &_result_ref
;
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19593 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19602 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19605 wxString
*arg2
= 0 ;
19606 bool temp2
= False
;
19607 PyObject
* obj0
= 0 ;
19608 PyObject
* obj1
= 0 ;
19609 char *kwnames
[] = {
19610 (char *) "self",(char *) "name", NULL
19613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19617 arg2
= wxString_in_helper(obj1
);
19618 if (arg2
== NULL
) SWIG_fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 Py_INCREF(Py_None
); resultobj
= Py_None
;
19643 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
;
19645 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19646 wxAppTraits
*result
;
19647 PyObject
* obj0
= 0 ;
19648 char *kwnames
[] = {
19649 (char *) "self", NULL
19652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19669 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19670 PyObject
*resultobj
;
19671 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19672 PyObject
* obj0
= 0 ;
19673 char *kwnames
[] = {
19674 (char *) "self", NULL
19677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 (arg1
)->ProcessPendingEvents();
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19687 Py_INCREF(Py_None
); resultobj
= Py_None
;
19694 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19695 PyObject
*resultobj
;
19696 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19697 bool arg2
= (bool) False
;
19699 PyObject
* obj0
= 0 ;
19700 PyObject
* obj1
= 0 ;
19701 char *kwnames
[] = {
19702 (char *) "self",(char *) "onlyIfNeeded", NULL
19705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19709 arg2
= (bool) SWIG_AsBool(obj1
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 result
= (bool)(arg1
)->Yield(arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19728 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
;
19730 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19731 PyObject
* obj0
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 (arg1
)->WakeUpIdle();
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 Py_INCREF(Py_None
); resultobj
= Py_None
;
19753 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19757 PyObject
* obj0
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (int)(arg1
)->MainLoop();
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= SWIG_FromInt((int)result
);
19779 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19782 PyObject
* obj0
= 0 ;
19783 char *kwnames
[] = {
19784 (char *) "self", NULL
19787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 Py_INCREF(Py_None
); resultobj
= Py_None
;
19804 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
;
19806 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19807 PyObject
* obj0
= 0 ;
19808 char *kwnames
[] = {
19809 (char *) "self", NULL
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 (arg1
)->ExitMainLoop();
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 Py_INCREF(Py_None
); resultobj
= Py_None
;
19829 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19833 PyObject
* obj0
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 result
= (bool)(arg1
)->Pending();
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19857 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
;
19859 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19861 PyObject
* obj0
= 0 ;
19862 char *kwnames
[] = {
19863 (char *) "self", NULL
19866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (bool)(arg1
)->Dispatch();
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19885 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
;
19887 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19889 PyObject
* obj0
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (bool)(arg1
)->ProcessIdle();
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19913 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19916 wxWindow
*arg2
= (wxWindow
*) 0 ;
19917 wxIdleEvent
*arg3
= 0 ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 PyObject
* obj2
= 0 ;
19922 char *kwnames
[] = {
19923 (char *) "self",(char *) "win",(char *) "event", NULL
19926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19931 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19932 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19934 if (arg3
== NULL
) {
19935 PyErr_SetString(PyExc_TypeError
,"null reference");
19939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19940 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19942 wxPyEndAllowThreads(__tstate
);
19943 if (PyErr_Occurred()) SWIG_fail
;
19946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19954 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
;
19956 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19958 PyObject
* obj0
= 0 ;
19959 char *kwnames
[] = {
19960 (char *) "self", NULL
19963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19982 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
;
19984 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19985 wxWindow
*arg2
= (wxWindow
*) 0 ;
19986 PyObject
* obj0
= 0 ;
19987 PyObject
* obj1
= 0 ;
19988 char *kwnames
[] = {
19989 (char *) "self",(char *) "win", NULL
19992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 (arg1
)->SetTopWindow(arg2
);
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 Py_INCREF(Py_None
); resultobj
= Py_None
;
20011 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20012 PyObject
*resultobj
;
20013 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20015 PyObject
* obj0
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= wxPyMake_wxObject(result
);
20039 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self",(char *) "flag", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20052 arg2
= (bool) SWIG_AsBool(obj1
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 (arg1
)->SetExitOnFrameDelete(arg2
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 Py_INCREF(Py_None
); resultobj
= Py_None
;
20068 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
;
20070 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20072 PyObject
* obj0
= 0 ;
20073 char *kwnames
[] = {
20074 (char *) "self", NULL
20077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20096 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
;
20098 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20100 PyObject
* obj0
= 0 ;
20101 PyObject
* obj1
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self",(char *) "flag", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20109 arg2
= (bool) SWIG_AsBool(obj1
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 (arg1
)->SetUseBestVisual(arg2
);
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 Py_INCREF(Py_None
); resultobj
= Py_None
;
20125 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
;
20127 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20129 PyObject
* obj0
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "self", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20153 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20157 PyObject
* obj0
= 0 ;
20158 PyObject
* obj1
= 0 ;
20159 char *kwnames
[] = {
20160 (char *) "self",(char *) "mode", NULL
20163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20166 arg2
= (int) SWIG_AsInt(obj1
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 (arg1
)->SetPrintMode(arg2
);
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 Py_INCREF(Py_None
); resultobj
= Py_None
;
20182 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 resultobj
= SWIG_FromInt((int)result
);
20208 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
;
20210 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20214 char *kwnames
[] = {
20215 (char *) "self",(char *) "mode", NULL
20218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20221 arg2
= (int) SWIG_AsInt(obj1
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 (arg1
)->SetAssertMode(arg2
);
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20230 Py_INCREF(Py_None
); resultobj
= Py_None
;
20237 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20238 PyObject
*resultobj
;
20239 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20241 PyObject
* obj0
= 0 ;
20242 char *kwnames
[] = {
20243 (char *) "self", NULL
20246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 result
= (int)(arg1
)->GetAssertMode();
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20256 resultobj
= SWIG_FromInt((int)result
);
20263 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
;
20266 char *kwnames
[] = {
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20287 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20290 char *kwnames
[] = {
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20302 resultobj
= SWIG_FromLong((long)result
);
20309 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20312 char *kwnames
[] = {
20316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 resultobj
= SWIG_FromLong((long)result
);
20331 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20334 char *kwnames
[] = {
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20341 result
= (long)wxPyApp::GetMacExitMenuItemId();
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= SWIG_FromLong((long)result
);
20353 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
;
20356 char *kwnames
[] = {
20360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= wxPyApp::GetMacHelpMenuTitleName();
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20381 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "val", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20390 arg1
= (bool) SWIG_AsBool(obj0
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 Py_INCREF(Py_None
); resultobj
= Py_None
;
20406 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
;
20409 PyObject
* obj0
= 0 ;
20410 char *kwnames
[] = {
20411 (char *) "val", NULL
20414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20415 arg1
= (long) SWIG_AsLong(obj0
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 wxPyApp::SetMacAboutMenuItemId(arg1
);
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 Py_INCREF(Py_None
); resultobj
= Py_None
;
20431 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
;
20434 PyObject
* obj0
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "val", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20440 arg1
= (long) SWIG_AsLong(obj0
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20449 Py_INCREF(Py_None
); resultobj
= Py_None
;
20456 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20459 PyObject
* obj0
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "val", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20465 arg1
= (long) SWIG_AsLong(obj0
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 wxPyApp::SetMacExitMenuItemId(arg1
);
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 Py_INCREF(Py_None
); resultobj
= Py_None
;
20481 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20482 PyObject
*resultobj
;
20483 wxString
*arg1
= 0 ;
20484 bool temp1
= False
;
20485 PyObject
* obj0
= 0 ;
20486 char *kwnames
[] = {
20487 (char *) "val", NULL
20490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20492 arg1
= wxString_in_helper(obj0
);
20493 if (arg1
== NULL
) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 Py_INCREF(Py_None
); resultobj
= Py_None
;
20518 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
;
20520 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20521 PyObject
* obj0
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 (arg1
)->_BootstrapApp();
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 Py_INCREF(Py_None
); resultobj
= Py_None
;
20543 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
;
20546 char *kwnames
[] = {
20550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 result
= (int)PyApp_GetComCtl32Version();
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 resultobj
= SWIG_FromInt((int)result
);
20565 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20568 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20570 return Py_BuildValue((char *)"");
20572 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20573 PyObject
*resultobj
;
20574 char *kwnames
[] = {
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 Py_INCREF(Py_None
); resultobj
= Py_None
;
20593 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
;
20596 char *kwnames
[] = {
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 result
= (bool)wxYield();
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20617 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
;
20620 char *kwnames
[] = {
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= (bool)wxYieldIfNeeded();
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20641 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20643 wxWindow
*arg1
= (wxWindow
*) NULL
;
20644 bool arg2
= (bool) False
;
20646 PyObject
* obj0
= 0 ;
20647 PyObject
* obj1
= 0 ;
20648 char *kwnames
[] = {
20649 (char *) "win",(char *) "onlyIfNeeded", NULL
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20658 arg2
= (bool) SWIG_AsBool(obj1
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= (bool)wxSafeYield(arg1
,arg2
);
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20677 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
;
20679 char *kwnames
[] = {
20683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 Py_INCREF(Py_None
); resultobj
= Py_None
;
20698 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20700 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20701 wxEvent
*arg2
= 0 ;
20702 PyObject
* obj0
= 0 ;
20703 PyObject
* obj1
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "dest",(char *) "event", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20714 if (arg2
== NULL
) {
20715 PyErr_SetString(PyExc_TypeError
,"null reference");
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 wxPostEvent(arg1
,*arg2
);
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20725 Py_INCREF(Py_None
); resultobj
= Py_None
;
20732 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
;
20734 char *kwnames
[] = {
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 Py_INCREF(Py_None
); resultobj
= Py_None
;
20753 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20756 char *kwnames
[] = {
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 result
= (wxPyApp
*)wxPyGetApp();
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= wxPyMake_wxObject(result
);
20777 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 int arg1
= (int) 0 ;
20780 int arg2
= (int) 0 ;
20781 int arg3
= (int) 0 ;
20782 wxAcceleratorEntry
*result
;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 PyObject
* obj2
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20792 arg1
= (int) SWIG_AsInt(obj0
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20796 arg2
= (int) SWIG_AsInt(obj1
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20800 arg3
= (int) SWIG_AsInt(obj2
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20817 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20818 PyObject
*resultobj
;
20819 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20820 PyObject
* obj0
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20835 Py_INCREF(Py_None
); resultobj
= Py_None
;
20842 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
;
20844 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20848 PyObject
* obj0
= 0 ;
20849 PyObject
* obj1
= 0 ;
20850 PyObject
* obj2
= 0 ;
20851 PyObject
* obj3
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20859 arg2
= (int) SWIG_AsInt(obj1
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20861 arg3
= (int) SWIG_AsInt(obj2
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20863 arg4
= (int) SWIG_AsInt(obj3
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 (arg1
)->Set(arg2
,arg3
,arg4
);
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 Py_INCREF(Py_None
); resultobj
= Py_None
;
20879 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
;
20881 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20883 PyObject
* obj0
= 0 ;
20884 char *kwnames
[] = {
20885 (char *) "self", NULL
20888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 result
= (int)(arg1
)->GetFlags();
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20898 resultobj
= SWIG_FromInt((int)result
);
20905 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20907 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20909 PyObject
* obj0
= 0 ;
20910 char *kwnames
[] = {
20911 (char *) "self", NULL
20914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= (int)(arg1
)->GetKeyCode();
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= SWIG_FromInt((int)result
);
20931 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 char *kwnames
[] = {
20937 (char *) "self", NULL
20940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 result
= (int)(arg1
)->GetCommand();
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 resultobj
= SWIG_FromInt((int)result
);
20957 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20960 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20962 return Py_BuildValue((char *)"");
20964 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
;
20967 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20968 wxAcceleratorTable
*result
;
20969 PyObject
* obj0
= 0 ;
20970 char *kwnames
[] = {
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20976 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20977 if (arg2
) arg1
= PyList_Size(obj0
);
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20982 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20984 wxPyEndAllowThreads(__tstate
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21000 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21003 PyObject
* obj0
= 0 ;
21004 char *kwnames
[] = {
21005 (char *) "self", NULL
21008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 Py_INCREF(Py_None
); resultobj
= Py_None
;
21025 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21026 PyObject
*resultobj
;
21027 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21029 PyObject
* obj0
= 0 ;
21030 char *kwnames
[] = {
21031 (char *) "self", NULL
21034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21039 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21053 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21056 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21058 return Py_BuildValue((char *)"");
21060 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21061 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21066 static PyObject
*_wrap_NullAcceleratorTable_get() {
21069 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21074 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21076 wxString
*arg1
= 0 ;
21077 wxAcceleratorEntry
*result
;
21078 bool temp1
= False
;
21079 PyObject
* obj0
= 0 ;
21080 char *kwnames
[] = {
21081 (char *) "label", NULL
21084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21086 arg1
= wxString_in_helper(obj0
);
21087 if (arg1
== NULL
) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21112 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21113 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21118 static PyObject
*_wrap_PanelNameStr_get() {
21123 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21125 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21132 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
;
21134 wxVisualAttributes
*result
;
21135 char *kwnames
[] = {
21139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21154 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21156 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21157 PyObject
* obj0
= 0 ;
21158 char *kwnames
[] = {
21159 (char *) "self", NULL
21162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 delete_wxVisualAttributes(arg1
);
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21172 Py_INCREF(Py_None
); resultobj
= Py_None
;
21179 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
;
21181 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21182 wxFont
*arg2
= (wxFont
*) 0 ;
21183 PyObject
* obj0
= 0 ;
21184 PyObject
* obj1
= 0 ;
21185 char *kwnames
[] = {
21186 (char *) "self",(char *) "font", NULL
21189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21194 if (arg1
) (arg1
)->font
= *arg2
;
21196 Py_INCREF(Py_None
); resultobj
= Py_None
;
21203 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
;
21205 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21207 PyObject
* obj0
= 0 ;
21208 char *kwnames
[] = {
21209 (char *) "self", NULL
21212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21215 result
= (wxFont
*)& ((arg1
)->font
);
21217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21224 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21227 wxColour
*arg2
= (wxColour
*) 0 ;
21228 PyObject
* obj0
= 0 ;
21229 PyObject
* obj1
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self",(char *) "colFg", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21239 if (arg1
) (arg1
)->colFg
= *arg2
;
21241 Py_INCREF(Py_None
); resultobj
= Py_None
;
21248 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21249 PyObject
*resultobj
;
21250 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21252 PyObject
* obj0
= 0 ;
21253 char *kwnames
[] = {
21254 (char *) "self", NULL
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21260 result
= (wxColour
*)& ((arg1
)->colFg
);
21262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21269 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21272 wxColour
*arg2
= (wxColour
*) 0 ;
21273 PyObject
* obj0
= 0 ;
21274 PyObject
* obj1
= 0 ;
21275 char *kwnames
[] = {
21276 (char *) "self",(char *) "colBg", NULL
21279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21284 if (arg1
) (arg1
)->colBg
= *arg2
;
21286 Py_INCREF(Py_None
); resultobj
= Py_None
;
21293 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 char *kwnames
[] = {
21299 (char *) "self", NULL
21302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21305 result
= (wxColour
*)& ((arg1
)->colBg
);
21307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21314 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21317 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21319 return Py_BuildValue((char *)"");
21321 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21322 PyObject
*resultobj
;
21323 wxWindow
*arg1
= (wxWindow
*) 0 ;
21324 int arg2
= (int) (int)-1 ;
21325 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21326 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21327 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21328 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21329 long arg5
= (long) 0 ;
21330 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21331 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21335 bool temp6
= False
;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 PyObject
* obj2
= 0 ;
21339 PyObject
* obj3
= 0 ;
21340 PyObject
* obj4
= 0 ;
21341 PyObject
* obj5
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21350 arg2
= (int const) SWIG_AsInt(obj1
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21356 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21362 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21366 arg5
= (long) SWIG_AsLong(obj4
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21371 arg6
= wxString_in_helper(obj5
);
21372 if (arg6
== NULL
) SWIG_fail
;
21377 if (!wxPyCheckForApp()) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21385 resultobj
= wxPyMake_wxObject(result
);
21401 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
;
21404 char *kwnames
[] = {
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21410 if (!wxPyCheckForApp()) SWIG_fail
;
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= (wxWindow
*)new wxWindow();
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= wxPyMake_wxObject(result
);
21426 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxWindow
*arg1
= (wxWindow
*) 0 ;
21429 wxWindow
*arg2
= (wxWindow
*) 0 ;
21430 int arg3
= (int) (int)-1 ;
21431 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21432 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21433 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21434 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21435 long arg6
= (long) 0 ;
21436 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21437 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21441 bool temp7
= False
;
21442 PyObject
* obj0
= 0 ;
21443 PyObject
* obj1
= 0 ;
21444 PyObject
* obj2
= 0 ;
21445 PyObject
* obj3
= 0 ;
21446 PyObject
* obj4
= 0 ;
21447 PyObject
* obj5
= 0 ;
21448 PyObject
* obj6
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21459 arg3
= (int const) SWIG_AsInt(obj2
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21475 arg6
= (long) SWIG_AsLong(obj5
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21480 arg7
= wxString_in_helper(obj6
);
21481 if (arg7
== NULL
) SWIG_fail
;
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21509 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxWindow
*arg1
= (wxWindow
*) 0 ;
21512 bool arg2
= (bool) False
;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self",(char *) "force", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21524 arg2
= (bool) SWIG_AsBool(obj1
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (bool)(arg1
)->Close(arg2
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21543 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxWindow
*arg1
= (wxWindow
*) 0 ;
21547 PyObject
* obj0
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 result
= (bool)(arg1
)->Destroy();
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21571 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxWindow
*arg1
= (wxWindow
*) 0 ;
21575 PyObject
* obj0
= 0 ;
21576 char *kwnames
[] = {
21577 (char *) "self", NULL
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (bool)(arg1
)->DestroyChildren();
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21599 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxWindow
*arg1
= (wxWindow
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21627 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxWindow
*arg1
= (wxWindow
*) 0 ;
21630 wxString
*arg2
= 0 ;
21631 bool temp2
= False
;
21632 PyObject
* obj0
= 0 ;
21633 PyObject
* obj1
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "self",(char *) "title", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21642 arg2
= wxString_in_helper(obj1
);
21643 if (arg2
== NULL
) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 (arg1
)->SetTitle((wxString
const &)*arg2
);
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 Py_INCREF(Py_None
); resultobj
= Py_None
;
21668 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
;
21670 wxWindow
*arg1
= (wxWindow
*) 0 ;
21672 PyObject
* obj0
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 result
= ((wxWindow
const *)arg1
)->GetTitle();
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21700 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxWindow
*arg1
= (wxWindow
*) 0 ;
21703 wxString
*arg2
= 0 ;
21704 bool temp2
= False
;
21705 PyObject
* obj0
= 0 ;
21706 PyObject
* obj1
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self",(char *) "label", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21715 arg2
= wxString_in_helper(obj1
);
21716 if (arg2
== NULL
) SWIG_fail
;
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 (arg1
)->SetLabel((wxString
const &)*arg2
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 Py_INCREF(Py_None
); resultobj
= Py_None
;
21741 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
;
21743 wxWindow
*arg1
= (wxWindow
*) 0 ;
21745 PyObject
* obj0
= 0 ;
21746 char *kwnames
[] = {
21747 (char *) "self", NULL
21750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 result
= ((wxWindow
const *)arg1
)->GetLabel();
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21773 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxWindow
*arg1
= (wxWindow
*) 0 ;
21776 wxString
*arg2
= 0 ;
21777 bool temp2
= False
;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "self",(char *) "name", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21788 arg2
= wxString_in_helper(obj1
);
21789 if (arg2
== NULL
) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 (arg1
)->SetName((wxString
const &)*arg2
);
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 Py_INCREF(Py_None
); resultobj
= Py_None
;
21814 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxWindow
*arg1
= (wxWindow
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "self", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 result
= ((wxWindow
const *)arg1
)->GetName();
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21846 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
;
21848 wxWindow
*arg1
= (wxWindow
*) 0 ;
21850 PyObject
* obj0
= 0 ;
21851 PyObject
* obj1
= 0 ;
21852 char *kwnames
[] = {
21853 (char *) "self",(char *) "variant", NULL
21856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21859 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 Py_INCREF(Py_None
); resultobj
= Py_None
;
21875 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxWindow
*arg1
= (wxWindow
*) 0 ;
21879 PyObject
* obj0
= 0 ;
21880 char *kwnames
[] = {
21881 (char *) "self", NULL
21884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= SWIG_FromInt((int)result
);
21901 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
;
21903 wxWindow
*arg1
= (wxWindow
*) 0 ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self",(char *) "winid", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21914 arg2
= (int) SWIG_AsInt(obj1
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 (arg1
)->SetId(arg2
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 Py_INCREF(Py_None
); resultobj
= Py_None
;
21930 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxWindow
*arg1
= (wxWindow
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "self", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= (int)((wxWindow
const *)arg1
)->GetId();
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 resultobj
= SWIG_FromInt((int)result
);
21956 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
;
21959 char *kwnames
[] = {
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 result
= (int)wxWindow::NewControlId();
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= SWIG_FromInt((int)result
);
21978 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21982 PyObject
* obj0
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "winid", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21988 arg1
= (int) SWIG_AsInt(obj0
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21992 result
= (int)wxWindow::NextControlId(arg1
);
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= SWIG_FromInt((int)result
);
22004 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22005 PyObject
*resultobj
;
22008 PyObject
* obj0
= 0 ;
22009 char *kwnames
[] = {
22010 (char *) "winid", NULL
22013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22014 arg1
= (int) SWIG_AsInt(obj0
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 result
= (int)wxWindow::PrevControlId(arg1
);
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22023 resultobj
= SWIG_FromInt((int)result
);
22030 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
;
22032 wxWindow
*arg1
= (wxWindow
*) 0 ;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self",(char *) "size", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22046 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 (arg1
)->SetSize((wxSize
const &)*arg2
);
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 Py_INCREF(Py_None
); resultobj
= Py_None
;
22062 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
;
22064 wxWindow
*arg1
= (wxWindow
*) 0 ;
22069 int arg6
= (int) wxSIZE_AUTO
;
22070 PyObject
* obj0
= 0 ;
22071 PyObject
* obj1
= 0 ;
22072 PyObject
* obj2
= 0 ;
22073 PyObject
* obj3
= 0 ;
22074 PyObject
* obj4
= 0 ;
22075 PyObject
* obj5
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22083 arg2
= (int) SWIG_AsInt(obj1
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22085 arg3
= (int) SWIG_AsInt(obj2
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22087 arg4
= (int) SWIG_AsInt(obj3
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22089 arg5
= (int) SWIG_AsInt(obj4
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22092 arg6
= (int) SWIG_AsInt(obj5
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 Py_INCREF(Py_None
); resultobj
= Py_None
;
22109 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxWindow
*arg1
= (wxWindow
*) 0 ;
22113 int arg3
= (int) wxSIZE_AUTO
;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 PyObject
* obj2
= 0 ;
22118 char *kwnames
[] = {
22119 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22127 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22130 arg3
= (int) SWIG_AsInt(obj2
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 Py_INCREF(Py_None
); resultobj
= Py_None
;
22147 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxWindow
*arg1
= (wxWindow
*) 0 ;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 PyObject
* obj2
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self",(char *) "width",(char *) "height", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22162 arg2
= (int) SWIG_AsInt(obj1
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22164 arg3
= (int) SWIG_AsInt(obj2
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 (arg1
)->SetSize(arg2
,arg3
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 Py_INCREF(Py_None
); resultobj
= Py_None
;
22180 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
;
22182 wxWindow
*arg1
= (wxWindow
*) 0 ;
22183 wxPoint
*arg2
= 0 ;
22184 int arg3
= (int) wxSIZE_USE_EXISTING
;
22186 PyObject
* obj0
= 0 ;
22187 PyObject
* obj1
= 0 ;
22188 PyObject
* obj2
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "self",(char *) "pt",(char *) "flags", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22201 arg3
= (int) SWIG_AsInt(obj2
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 Py_INCREF(Py_None
); resultobj
= Py_None
;
22218 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
;
22220 wxWindow
*arg1
= (wxWindow
*) 0 ;
22223 int arg4
= (int) wxSIZE_USE_EXISTING
;
22224 PyObject
* obj0
= 0 ;
22225 PyObject
* obj1
= 0 ;
22226 PyObject
* obj2
= 0 ;
22227 PyObject
* obj3
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22235 arg2
= (int) SWIG_AsInt(obj1
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22237 arg3
= (int) SWIG_AsInt(obj2
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 arg4
= (int) SWIG_AsInt(obj3
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 (arg1
)->Move(arg2
,arg3
,arg4
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 Py_INCREF(Py_None
); resultobj
= Py_None
;
22257 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxWindow
*arg1
= (wxWindow
*) 0 ;
22260 PyObject
* obj0
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22275 Py_INCREF(Py_None
); resultobj
= Py_None
;
22282 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22283 PyObject
*resultobj
;
22284 wxWindow
*arg1
= (wxWindow
*) 0 ;
22285 PyObject
* obj0
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "self", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22300 Py_INCREF(Py_None
); resultobj
= Py_None
;
22307 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
;
22309 wxWindow
*arg1
= (wxWindow
*) 0 ;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self",(char *) "size", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22323 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22332 Py_INCREF(Py_None
); resultobj
= Py_None
;
22339 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22340 PyObject
*resultobj
;
22341 wxWindow
*arg1
= (wxWindow
*) 0 ;
22344 PyObject
* obj0
= 0 ;
22345 PyObject
* obj1
= 0 ;
22346 PyObject
* obj2
= 0 ;
22347 char *kwnames
[] = {
22348 (char *) "self",(char *) "width",(char *) "height", NULL
22351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22354 arg2
= (int) SWIG_AsInt(obj1
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22356 arg3
= (int) SWIG_AsInt(obj2
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 (arg1
)->SetClientSize(arg2
,arg3
);
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 Py_INCREF(Py_None
); resultobj
= Py_None
;
22372 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxWindow
*arg1
= (wxWindow
*) 0 ;
22377 PyObject
* obj0
= 0 ;
22378 PyObject
* obj1
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self",(char *) "rect", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22388 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 Py_INCREF(Py_None
); resultobj
= Py_None
;
22404 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxWindow
*arg1
= (wxWindow
*) 0 ;
22408 PyObject
* obj0
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 result
= (arg1
)->GetPosition();
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22424 wxPoint
* resultptr
;
22425 resultptr
= new wxPoint((wxPoint
&) result
);
22426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22434 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22435 PyObject
*resultobj
;
22436 wxWindow
*arg1
= (wxWindow
*) 0 ;
22437 int *arg2
= (int *) 0 ;
22438 int *arg3
= (int *) 0 ;
22441 PyObject
* obj0
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "self", NULL
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 (arg1
)->GetPosition(arg2
,arg3
);
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 Py_INCREF(Py_None
); resultobj
= Py_None
;
22460 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22461 resultobj
= t_output_helper(resultobj
,o
);
22464 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22465 resultobj
= t_output_helper(resultobj
,o
);
22473 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxWindow
*arg1
= (wxWindow
*) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 char *kwnames
[] = {
22479 (char *) "self", NULL
22482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= ((wxWindow
const *)arg1
)->GetSize();
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22493 wxSize
* resultptr
;
22494 resultptr
= new wxSize((wxSize
&) result
);
22495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22503 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxWindow
*arg1
= (wxWindow
*) 0 ;
22506 int *arg2
= (int *) 0 ;
22507 int *arg3
= (int *) 0 ;
22510 PyObject
* obj0
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self", NULL
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22527 Py_INCREF(Py_None
); resultobj
= Py_None
;
22529 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22530 resultobj
= t_output_helper(resultobj
,o
);
22533 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22534 resultobj
= t_output_helper(resultobj
,o
);
22542 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22543 PyObject
*resultobj
;
22544 wxWindow
*arg1
= (wxWindow
*) 0 ;
22546 PyObject
* obj0
= 0 ;
22547 char *kwnames
[] = {
22548 (char *) "self", NULL
22551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 result
= ((wxWindow
const *)arg1
)->GetRect();
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22562 wxRect
* resultptr
;
22563 resultptr
= new wxRect((wxRect
&) result
);
22564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22572 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxWindow
*arg1
= (wxWindow
*) 0 ;
22576 PyObject
* obj0
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22592 wxSize
* resultptr
;
22593 resultptr
= new wxSize((wxSize
&) result
);
22594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22602 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxWindow
*arg1
= (wxWindow
*) 0 ;
22605 int *arg2
= (int *) 0 ;
22606 int *arg3
= (int *) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 char *kwnames
[] = {
22611 (char *) "self", NULL
22616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 Py_INCREF(Py_None
); resultobj
= Py_None
;
22628 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22629 resultobj
= t_output_helper(resultobj
,o
);
22632 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22633 resultobj
= t_output_helper(resultobj
,o
);
22641 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxWindow
*arg1
= (wxWindow
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22661 wxPoint
* resultptr
;
22662 resultptr
= new wxPoint((wxPoint
&) result
);
22663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22671 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
;
22673 wxWindow
*arg1
= (wxWindow
*) 0 ;
22675 PyObject
* obj0
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self", NULL
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22691 wxRect
* resultptr
;
22692 resultptr
= new wxRect((wxRect
&) result
);
22693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22701 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22702 PyObject
*resultobj
;
22703 wxWindow
*arg1
= (wxWindow
*) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22721 wxSize
* resultptr
;
22722 resultptr
= new wxSize((wxSize
&) result
);
22723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22731 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxWindow
*arg1
= (wxWindow
*) 0 ;
22734 int *arg2
= (int *) 0 ;
22735 int *arg3
= (int *) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 char *kwnames
[] = {
22740 (char *) "self", NULL
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 Py_INCREF(Py_None
); resultobj
= Py_None
;
22757 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22758 resultobj
= t_output_helper(resultobj
,o
);
22761 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22762 resultobj
= t_output_helper(resultobj
,o
);
22770 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22771 PyObject
*resultobj
;
22772 wxWindow
*arg1
= (wxWindow
*) 0 ;
22774 PyObject
* obj0
= 0 ;
22775 char *kwnames
[] = {
22776 (char *) "self", NULL
22779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22790 wxSize
* resultptr
;
22791 resultptr
= new wxSize((wxSize
&) result
);
22792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22800 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
;
22802 wxWindow
*arg1
= (wxWindow
*) 0 ;
22803 int arg2
= (int) wxBOTH
;
22804 PyObject
* obj0
= 0 ;
22805 PyObject
* obj1
= 0 ;
22806 char *kwnames
[] = {
22807 (char *) "self",(char *) "direction", NULL
22810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22814 arg2
= (int) SWIG_AsInt(obj1
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 (arg1
)->Center(arg2
);
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 Py_INCREF(Py_None
); resultobj
= Py_None
;
22831 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
;
22833 wxWindow
*arg1
= (wxWindow
*) 0 ;
22834 int arg2
= (int) wxBOTH
;
22835 PyObject
* obj0
= 0 ;
22836 PyObject
* obj1
= 0 ;
22837 char *kwnames
[] = {
22838 (char *) "self",(char *) "dir", NULL
22841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22845 arg2
= (int) SWIG_AsInt(obj1
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 (arg1
)->CenterOnScreen(arg2
);
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 Py_INCREF(Py_None
); resultobj
= Py_None
;
22862 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
;
22864 wxWindow
*arg1
= (wxWindow
*) 0 ;
22865 int arg2
= (int) wxBOTH
;
22866 PyObject
* obj0
= 0 ;
22867 PyObject
* obj1
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self",(char *) "dir", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22876 arg2
= (int) SWIG_AsInt(obj1
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 (arg1
)->CenterOnParent(arg2
);
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 Py_INCREF(Py_None
); resultobj
= Py_None
;
22893 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
;
22895 wxWindow
*arg1
= (wxWindow
*) 0 ;
22896 PyObject
* obj0
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self", NULL
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 Py_INCREF(Py_None
); resultobj
= Py_None
;
22918 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22920 wxWindow
*arg1
= (wxWindow
*) 0 ;
22921 PyObject
* obj0
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 (arg1
)->FitInside();
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 Py_INCREF(Py_None
); resultobj
= Py_None
;
22943 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22944 PyObject
*resultobj
;
22945 wxWindow
*arg1
= (wxWindow
*) 0 ;
22948 int arg4
= (int) -1 ;
22949 int arg5
= (int) -1 ;
22950 int arg6
= (int) -1 ;
22951 int arg7
= (int) -1 ;
22952 PyObject
* obj0
= 0 ;
22953 PyObject
* obj1
= 0 ;
22954 PyObject
* obj2
= 0 ;
22955 PyObject
* obj3
= 0 ;
22956 PyObject
* obj4
= 0 ;
22957 PyObject
* obj5
= 0 ;
22958 PyObject
* obj6
= 0 ;
22960 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22963 arg2
= (int) SWIG_AsInt(obj1
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22965 arg3
= (int) SWIG_AsInt(obj2
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 arg4
= (int) SWIG_AsInt(obj3
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22972 arg5
= (int) SWIG_AsInt(obj4
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22976 arg6
= (int) SWIG_AsInt(obj5
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22980 arg7
= (int) SWIG_AsInt(obj6
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 Py_INCREF(Py_None
); resultobj
= Py_None
;
22997 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
22998 PyObject
*resultobj
;
22999 wxWindow
*arg1
= (wxWindow
*) 0 ;
23001 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23002 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23003 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23004 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23008 PyObject
* obj0
= 0 ;
23009 PyObject
* obj1
= 0 ;
23010 PyObject
* obj2
= 0 ;
23011 PyObject
* obj3
= 0 ;
23013 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23018 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23023 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23029 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 Py_INCREF(Py_None
); resultobj
= Py_None
;
23046 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23051 argc
= PyObject_Length(args
);
23052 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23053 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23055 if ((argc
>= 2) && (argc
<= 4)) {
23059 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23068 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23072 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23075 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23079 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23082 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23085 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23091 if ((argc
>= 3) && (argc
<= 7)) {
23095 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23103 _v
= SWIG_CheckInt(argv
[1]);
23105 _v
= SWIG_CheckInt(argv
[2]);
23108 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23110 _v
= SWIG_CheckInt(argv
[3]);
23113 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23115 _v
= SWIG_CheckInt(argv
[4]);
23118 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23120 _v
= SWIG_CheckInt(argv
[5]);
23123 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23125 _v
= SWIG_CheckInt(argv
[6]);
23127 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23137 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23142 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23143 PyObject
*resultobj
;
23144 wxWindow
*arg1
= (wxWindow
*) 0 ;
23147 int arg4
= (int) -1 ;
23148 int arg5
= (int) -1 ;
23149 PyObject
* obj0
= 0 ;
23150 PyObject
* obj1
= 0 ;
23151 PyObject
* obj2
= 0 ;
23152 PyObject
* obj3
= 0 ;
23153 PyObject
* obj4
= 0 ;
23155 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23158 arg2
= (int) SWIG_AsInt(obj1
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23160 arg3
= (int) SWIG_AsInt(obj2
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 arg4
= (int) SWIG_AsInt(obj3
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23167 arg5
= (int) SWIG_AsInt(obj4
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 Py_INCREF(Py_None
); resultobj
= Py_None
;
23184 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23185 PyObject
*resultobj
;
23186 wxWindow
*arg1
= (wxWindow
*) 0 ;
23188 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23189 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 PyObject
* obj2
= 0 ;
23196 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23201 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23206 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 Py_INCREF(Py_None
); resultobj
= Py_None
;
23223 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23228 argc
= PyObject_Length(args
);
23229 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23230 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23232 if ((argc
>= 2) && (argc
<= 3)) {
23236 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23245 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23249 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23252 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23255 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23260 if ((argc
>= 3) && (argc
<= 5)) {
23264 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23272 _v
= SWIG_CheckInt(argv
[1]);
23274 _v
= SWIG_CheckInt(argv
[2]);
23277 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23279 _v
= SWIG_CheckInt(argv
[3]);
23282 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23284 _v
= SWIG_CheckInt(argv
[4]);
23286 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23294 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23299 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxWindow
*arg1
= (wxWindow
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= SWIG_FromInt((int)result
);
23325 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
;
23327 wxWindow
*arg1
= (wxWindow
*) 0 ;
23329 PyObject
* obj0
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "self", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23344 resultobj
= SWIG_FromInt((int)result
);
23351 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23352 PyObject
*resultobj
;
23353 wxWindow
*arg1
= (wxWindow
*) 0 ;
23355 PyObject
* obj0
= 0 ;
23356 char *kwnames
[] = {
23357 (char *) "self", NULL
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= SWIG_FromInt((int)result
);
23377 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
;
23379 wxWindow
*arg1
= (wxWindow
*) 0 ;
23381 PyObject
* obj0
= 0 ;
23382 char *kwnames
[] = {
23383 (char *) "self", NULL
23386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 resultobj
= SWIG_FromInt((int)result
);
23403 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxWindow
*arg1
= (wxWindow
*) 0 ;
23407 PyObject
* obj0
= 0 ;
23408 char *kwnames
[] = {
23409 (char *) "self", NULL
23412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23423 wxSize
* resultptr
;
23424 resultptr
= new wxSize((wxSize
&) result
);
23425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23433 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxWindow
*arg1
= (wxWindow
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23453 wxSize
* resultptr
;
23454 resultptr
= new wxSize((wxSize
&) result
);
23455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23463 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
;
23465 wxWindow
*arg1
= (wxWindow
*) 0 ;
23468 PyObject
* obj0
= 0 ;
23469 PyObject
* obj1
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self",(char *) "size", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23479 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23483 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23488 Py_INCREF(Py_None
); resultobj
= Py_None
;
23495 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23496 PyObject
*resultobj
;
23497 wxWindow
*arg1
= (wxWindow
*) 0 ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 PyObject
* obj2
= 0 ;
23503 char *kwnames
[] = {
23504 (char *) "self",(char *) "w",(char *) "h", NULL
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23510 arg2
= (int) SWIG_AsInt(obj1
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23512 arg3
= (int) SWIG_AsInt(obj2
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 (arg1
)->SetVirtualSize(arg2
,arg3
);
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23521 Py_INCREF(Py_None
); resultobj
= Py_None
;
23528 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23530 wxWindow
*arg1
= (wxWindow
*) 0 ;
23532 PyObject
* obj0
= 0 ;
23533 char *kwnames
[] = {
23534 (char *) "self", NULL
23537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23548 wxSize
* resultptr
;
23549 resultptr
= new wxSize((wxSize
&) result
);
23550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23558 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxWindow
*arg1
= (wxWindow
*) 0 ;
23561 int *arg2
= (int *) 0 ;
23562 int *arg3
= (int *) 0 ;
23565 PyObject
* obj0
= 0 ;
23566 char *kwnames
[] = {
23567 (char *) "self", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 Py_INCREF(Py_None
); resultobj
= Py_None
;
23584 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23585 resultobj
= t_output_helper(resultobj
,o
);
23588 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23589 resultobj
= t_output_helper(resultobj
,o
);
23597 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23598 PyObject
*resultobj
;
23599 wxWindow
*arg1
= (wxWindow
*) 0 ;
23601 PyObject
* obj0
= 0 ;
23602 char *kwnames
[] = {
23603 (char *) "self", NULL
23606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23617 wxSize
* resultptr
;
23618 resultptr
= new wxSize((wxSize
&) result
);
23619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23627 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxWindow
*arg1
= (wxWindow
*) 0 ;
23630 bool arg2
= (bool) True
;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 char *kwnames
[] = {
23635 (char *) "self",(char *) "show", NULL
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23642 arg2
= (bool) SWIG_AsBool(obj1
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 result
= (bool)(arg1
)->Show(arg2
);
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23661 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
;
23663 wxWindow
*arg1
= (wxWindow
*) 0 ;
23665 PyObject
* obj0
= 0 ;
23666 char *kwnames
[] = {
23667 (char *) "self", NULL
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= (bool)(arg1
)->Hide();
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23689 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23691 wxWindow
*arg1
= (wxWindow
*) 0 ;
23692 bool arg2
= (bool) True
;
23694 PyObject
* obj0
= 0 ;
23695 PyObject
* obj1
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self",(char *) "enable", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23704 arg2
= (bool) SWIG_AsBool(obj1
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= (bool)(arg1
)->Enable(arg2
);
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23723 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxWindow
*arg1
= (wxWindow
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 result
= (bool)(arg1
)->Disable();
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23751 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxWindow
*arg1
= (wxWindow
*) 0 ;
23755 PyObject
* obj0
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self", NULL
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23779 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
;
23781 wxWindow
*arg1
= (wxWindow
*) 0 ;
23783 PyObject
* obj0
= 0 ;
23784 char *kwnames
[] = {
23785 (char *) "self", NULL
23788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23807 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
;
23809 wxWindow
*arg1
= (wxWindow
*) 0 ;
23811 PyObject
* obj0
= 0 ;
23812 PyObject
* obj1
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "self",(char *) "style", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23820 arg2
= (long) SWIG_AsLong(obj1
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 (arg1
)->SetWindowStyleFlag(arg2
);
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 Py_INCREF(Py_None
); resultobj
= Py_None
;
23836 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxWindow
*arg1
= (wxWindow
*) 0 ;
23840 PyObject
* obj0
= 0 ;
23841 char *kwnames
[] = {
23842 (char *) "self", NULL
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= SWIG_FromLong((long)result
);
23862 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
;
23864 wxWindow
*arg1
= (wxWindow
*) 0 ;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 char *kwnames
[] = {
23870 (char *) "self",(char *) "flag", NULL
23873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23876 arg2
= (int) SWIG_AsInt(obj1
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23894 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23895 PyObject
*resultobj
;
23896 wxWindow
*arg1
= (wxWindow
*) 0 ;
23898 PyObject
* obj0
= 0 ;
23899 char *kwnames
[] = {
23900 (char *) "self", NULL
23903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23922 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23924 wxWindow
*arg1
= (wxWindow
*) 0 ;
23926 PyObject
* obj0
= 0 ;
23927 PyObject
* obj1
= 0 ;
23928 char *kwnames
[] = {
23929 (char *) "self",(char *) "exStyle", NULL
23932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23935 arg2
= (long) SWIG_AsLong(obj1
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 (arg1
)->SetExtraStyle(arg2
);
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 Py_INCREF(Py_None
); resultobj
= Py_None
;
23951 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
;
23953 wxWindow
*arg1
= (wxWindow
*) 0 ;
23955 PyObject
* obj0
= 0 ;
23956 char *kwnames
[] = {
23957 (char *) "self", NULL
23960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23970 resultobj
= SWIG_FromLong((long)result
);
23977 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
;
23979 wxWindow
*arg1
= (wxWindow
*) 0 ;
23980 bool arg2
= (bool) True
;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 char *kwnames
[] = {
23984 (char *) "self",(char *) "modal", NULL
23987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23991 arg2
= (bool) SWIG_AsBool(obj1
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 (arg1
)->MakeModal(arg2
);
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24001 Py_INCREF(Py_None
); resultobj
= Py_None
;
24008 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
;
24010 wxWindow
*arg1
= (wxWindow
*) 0 ;
24012 PyObject
* obj0
= 0 ;
24013 PyObject
* obj1
= 0 ;
24014 char *kwnames
[] = {
24015 (char *) "self",(char *) "enableTheme", NULL
24018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24021 arg2
= (bool) SWIG_AsBool(obj1
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 (arg1
)->SetThemeEnabled(arg2
);
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 Py_INCREF(Py_None
); resultobj
= Py_None
;
24037 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxWindow
*arg1
= (wxWindow
*) 0 ;
24041 PyObject
* obj0
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "self", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24051 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24053 wxPyEndAllowThreads(__tstate
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24065 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 wxWindow
*arg1
= (wxWindow
*) 0 ;
24068 PyObject
* obj0
= 0 ;
24069 char *kwnames
[] = {
24070 (char *) "self", NULL
24073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 (arg1
)->SetFocus();
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24083 Py_INCREF(Py_None
); resultobj
= Py_None
;
24090 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24091 PyObject
*resultobj
;
24092 wxWindow
*arg1
= (wxWindow
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 char *kwnames
[] = {
24095 (char *) "self", NULL
24098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 (arg1
)->SetFocusFromKbd();
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 Py_INCREF(Py_None
); resultobj
= Py_None
;
24115 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24118 char *kwnames
[] = {
24122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24124 if (!wxPyCheckForApp()) SWIG_fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (wxWindow
*)wxWindow::FindFocus();
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24132 resultobj
= wxPyMake_wxObject(result
);
24140 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24142 wxWindow
*arg1
= (wxWindow
*) 0 ;
24144 PyObject
* obj0
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "self", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24168 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
;
24170 wxWindow
*arg1
= (wxWindow
*) 0 ;
24172 PyObject
* obj0
= 0 ;
24173 char *kwnames
[] = {
24174 (char *) "self", NULL
24177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24196 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxWindow
*arg1
= (wxWindow
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 char *kwnames
[] = {
24202 (char *) "self", NULL
24205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24216 resultobj
= wxPyMake_wxObject(result
);
24224 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxWindow
*arg1
= (wxWindow
*) 0 ;
24227 wxWindow
*arg2
= (wxWindow
*) 0 ;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self",(char *) "child", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24248 resultobj
= wxPyMake_wxObject(result
);
24256 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
;
24258 wxWindow
*arg1
= (wxWindow
*) 0 ;
24259 wxWindow
*arg2
= (wxWindow
*) 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char *kwnames
[] = {
24263 (char *) "self",(char *) "win", NULL
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 (arg1
)->SetTmpDefaultItem(arg2
);
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 Py_INCREF(Py_None
); resultobj
= Py_None
;
24285 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxWindow
*arg1
= (wxWindow
*) 0 ;
24289 PyObject
* obj0
= 0 ;
24290 char *kwnames
[] = {
24291 (char *) "self", NULL
24294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= result
;
24311 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24313 wxWindow
*arg1
= (wxWindow
*) 0 ;
24315 PyObject
* obj0
= 0 ;
24316 char *kwnames
[] = {
24317 (char *) "self", NULL
24320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= wxPyMake_wxObject(result
);
24339 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxWindow
*arg1
= (wxWindow
*) 0 ;
24343 PyObject
* obj0
= 0 ;
24344 char *kwnames
[] = {
24345 (char *) "self", NULL
24348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24359 resultobj
= wxPyMake_wxObject(result
);
24367 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
;
24369 wxWindow
*arg1
= (wxWindow
*) 0 ;
24371 PyObject
* obj0
= 0 ;
24372 char *kwnames
[] = {
24373 (char *) "self", NULL
24376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24395 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
;
24397 wxWindow
*arg1
= (wxWindow
*) 0 ;
24398 wxWindow
*arg2
= (wxWindow
*) 0 ;
24400 PyObject
* obj0
= 0 ;
24401 PyObject
* obj1
= 0 ;
24402 char *kwnames
[] = {
24403 (char *) "self",(char *) "newParent", NULL
24406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= (bool)(arg1
)->Reparent(arg2
);
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24427 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
;
24429 wxWindow
*arg1
= (wxWindow
*) 0 ;
24430 wxWindow
*arg2
= (wxWindow
*) 0 ;
24431 PyObject
* obj0
= 0 ;
24432 PyObject
* obj1
= 0 ;
24433 char *kwnames
[] = {
24434 (char *) "self",(char *) "child", NULL
24437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 (arg1
)->AddChild(arg2
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 Py_INCREF(Py_None
); resultobj
= Py_None
;
24456 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
;
24458 wxWindow
*arg1
= (wxWindow
*) 0 ;
24459 wxWindow
*arg2
= (wxWindow
*) 0 ;
24460 PyObject
* obj0
= 0 ;
24461 PyObject
* obj1
= 0 ;
24462 char *kwnames
[] = {
24463 (char *) "self",(char *) "child", NULL
24466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 (arg1
)->RemoveChild(arg2
);
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 Py_INCREF(Py_None
); resultobj
= Py_None
;
24485 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxWindow
*arg1
= (wxWindow
*) 0 ;
24490 PyObject
* obj0
= 0 ;
24491 PyObject
* obj1
= 0 ;
24492 char *kwnames
[] = {
24493 (char *) "self",(char *) "winid", NULL
24496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24499 arg2
= (long) SWIG_AsLong(obj1
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= wxPyMake_wxObject(result
);
24517 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxWindow
*arg1
= (wxWindow
*) 0 ;
24520 wxString
*arg2
= 0 ;
24522 bool temp2
= False
;
24523 PyObject
* obj0
= 0 ;
24524 PyObject
* obj1
= 0 ;
24525 char *kwnames
[] = {
24526 (char *) "self",(char *) "name", NULL
24529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24533 arg2
= wxString_in_helper(obj1
);
24534 if (arg2
== NULL
) SWIG_fail
;
24538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24541 wxPyEndAllowThreads(__tstate
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24545 resultobj
= wxPyMake_wxObject(result
);
24561 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24562 PyObject
*resultobj
;
24563 wxWindow
*arg1
= (wxWindow
*) 0 ;
24564 wxEvtHandler
*result
;
24565 PyObject
* obj0
= 0 ;
24566 char *kwnames
[] = {
24567 (char *) "self", NULL
24570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24575 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24581 resultobj
= wxPyMake_wxObject(result
);
24589 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
;
24591 wxWindow
*arg1
= (wxWindow
*) 0 ;
24592 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24593 PyObject
* obj0
= 0 ;
24594 PyObject
* obj1
= 0 ;
24595 char *kwnames
[] = {
24596 (char *) "self",(char *) "handler", NULL
24599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 (arg1
)->SetEventHandler(arg2
);
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 Py_INCREF(Py_None
); resultobj
= Py_None
;
24618 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
;
24620 wxWindow
*arg1
= (wxWindow
*) 0 ;
24621 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24622 PyObject
* obj0
= 0 ;
24623 PyObject
* obj1
= 0 ;
24624 char *kwnames
[] = {
24625 (char *) "self",(char *) "handler", NULL
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 (arg1
)->PushEventHandler(arg2
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 Py_INCREF(Py_None
); resultobj
= Py_None
;
24647 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxWindow
*arg1
= (wxWindow
*) 0 ;
24650 bool arg2
= (bool) False
;
24651 wxEvtHandler
*result
;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 char *kwnames
[] = {
24655 (char *) "self",(char *) "deleteHandler", NULL
24658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24662 arg2
= (bool) SWIG_AsBool(obj1
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24667 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= wxPyMake_wxObject(result
);
24681 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxWindow
*arg1
= (wxWindow
*) 0 ;
24684 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24686 PyObject
* obj0
= 0 ;
24687 PyObject
* obj1
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self",(char *) "handler", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24713 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24714 PyObject
*resultobj
;
24715 wxWindow
*arg1
= (wxWindow
*) 0 ;
24716 wxValidator
*arg2
= 0 ;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj1
= 0 ;
24719 char *kwnames
[] = {
24720 (char *) "self",(char *) "validator", NULL
24723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24729 if (arg2
== NULL
) {
24730 PyErr_SetString(PyExc_TypeError
,"null reference");
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24740 Py_INCREF(Py_None
); resultobj
= Py_None
;
24747 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxWindow
*arg1
= (wxWindow
*) 0 ;
24750 wxValidator
*result
;
24751 PyObject
* obj0
= 0 ;
24752 char *kwnames
[] = {
24753 (char *) "self", NULL
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 result
= (wxValidator
*)(arg1
)->GetValidator();
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= wxPyMake_wxObject(result
);
24775 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxWindow
*arg1
= (wxWindow
*) 0 ;
24779 PyObject
* obj0
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (bool)(arg1
)->Validate();
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24803 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxWindow
*arg1
= (wxWindow
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 char *kwnames
[] = {
24809 (char *) "self", NULL
24812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (bool)(arg1
)->TransferDataToWindow();
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24831 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxWindow
*arg1
= (wxWindow
*) 0 ;
24835 PyObject
* obj0
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 result
= (bool)(arg1
)->TransferDataFromWindow();
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24859 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxWindow
*arg1
= (wxWindow
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 char *kwnames
[] = {
24864 (char *) "self", NULL
24867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 (arg1
)->InitDialog();
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 Py_INCREF(Py_None
); resultobj
= Py_None
;
24884 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
;
24886 wxWindow
*arg1
= (wxWindow
*) 0 ;
24887 wxAcceleratorTable
*arg2
= 0 ;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self",(char *) "accel", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24898 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24900 if (arg2
== NULL
) {
24901 PyErr_SetString(PyExc_TypeError
,"null reference");
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 Py_INCREF(Py_None
); resultobj
= Py_None
;
24918 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
;
24920 wxWindow
*arg1
= (wxWindow
*) 0 ;
24921 wxAcceleratorTable
*result
;
24922 PyObject
* obj0
= 0 ;
24923 char *kwnames
[] = {
24924 (char *) "self", NULL
24927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24944 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
;
24946 wxWindow
*arg1
= (wxWindow
*) 0 ;
24951 PyObject
* obj0
= 0 ;
24952 PyObject
* obj1
= 0 ;
24953 PyObject
* obj2
= 0 ;
24954 PyObject
* obj3
= 0 ;
24955 char *kwnames
[] = {
24956 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24962 arg2
= (int) SWIG_AsInt(obj1
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24964 arg3
= (int) SWIG_AsInt(obj2
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24966 arg4
= (int) SWIG_AsInt(obj3
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24984 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
;
24986 wxWindow
*arg1
= (wxWindow
*) 0 ;
24989 PyObject
* obj0
= 0 ;
24990 PyObject
* obj1
= 0 ;
24991 char *kwnames
[] = {
24992 (char *) "self",(char *) "hotkeyId", NULL
24995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24998 arg2
= (int) SWIG_AsInt(obj1
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25016 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25017 PyObject
*resultobj
;
25018 wxWindow
*arg1
= (wxWindow
*) 0 ;
25019 wxPoint
*arg2
= 0 ;
25022 PyObject
* obj0
= 0 ;
25023 PyObject
* obj1
= 0 ;
25024 char *kwnames
[] = {
25025 (char *) "self",(char *) "pt", NULL
25028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25033 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25039 wxPyEndAllowThreads(__tstate
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25043 wxPoint
* resultptr
;
25044 resultptr
= new wxPoint((wxPoint
&) result
);
25045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25053 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25054 PyObject
*resultobj
;
25055 wxWindow
*arg1
= (wxWindow
*) 0 ;
25059 PyObject
* obj0
= 0 ;
25060 PyObject
* obj1
= 0 ;
25061 char *kwnames
[] = {
25062 (char *) "self",(char *) "sz", NULL
25065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25070 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25080 wxSize
* resultptr
;
25081 resultptr
= new wxSize((wxSize
&) result
);
25082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25090 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
;
25092 wxWindow
*arg1
= (wxWindow
*) 0 ;
25093 wxPoint
*arg2
= 0 ;
25096 PyObject
* obj0
= 0 ;
25097 PyObject
* obj1
= 0 ;
25098 char *kwnames
[] = {
25099 (char *) "self",(char *) "pt", NULL
25102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25117 wxPoint
* resultptr
;
25118 resultptr
= new wxPoint((wxPoint
&) result
);
25119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25127 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxWindow
*arg1
= (wxWindow
*) 0 ;
25133 PyObject
* obj0
= 0 ;
25134 PyObject
* obj1
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self",(char *) "sz", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25144 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25154 wxSize
* resultptr
;
25155 resultptr
= new wxSize((wxSize
&) result
);
25156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25164 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
;
25166 wxWindow
*arg1
= (wxWindow
*) 0 ;
25167 wxPoint
*arg2
= 0 ;
25170 PyObject
* obj0
= 0 ;
25171 PyObject
* obj1
= 0 ;
25172 char *kwnames
[] = {
25173 (char *) "self",(char *) "pt", NULL
25176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25191 wxPoint
* resultptr
;
25192 resultptr
= new wxPoint((wxPoint
&) result
);
25193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25201 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxWindow
*arg1
= (wxWindow
*) 0 ;
25207 PyObject
* obj0
= 0 ;
25208 PyObject
* obj1
= 0 ;
25209 char *kwnames
[] = {
25210 (char *) "self",(char *) "sz", NULL
25213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25218 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25228 wxSize
* resultptr
;
25229 resultptr
= new wxSize((wxSize
&) result
);
25230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25238 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
;
25240 wxWindow
*arg1
= (wxWindow
*) 0 ;
25243 PyObject
* obj0
= 0 ;
25244 PyObject
* obj1
= 0 ;
25245 PyObject
* obj2
= 0 ;
25246 char *kwnames
[] = {
25247 (char *) "self",(char *) "x",(char *) "y", NULL
25250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25253 arg2
= (int) SWIG_AsInt(obj1
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25255 arg3
= (int) SWIG_AsInt(obj2
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 (arg1
)->WarpPointer(arg2
,arg3
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 Py_INCREF(Py_None
); resultobj
= Py_None
;
25271 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
;
25273 wxWindow
*arg1
= (wxWindow
*) 0 ;
25274 PyObject
* obj0
= 0 ;
25275 char *kwnames
[] = {
25276 (char *) "self", NULL
25279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 (arg1
)->CaptureMouse();
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 Py_INCREF(Py_None
); resultobj
= Py_None
;
25296 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25298 wxWindow
*arg1
= (wxWindow
*) 0 ;
25299 PyObject
* obj0
= 0 ;
25300 char *kwnames
[] = {
25301 (char *) "self", NULL
25304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 (arg1
)->ReleaseMouse();
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 Py_INCREF(Py_None
); resultobj
= Py_None
;
25321 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
;
25324 char *kwnames
[] = {
25328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25330 if (!wxPyCheckForApp()) SWIG_fail
;
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 result
= (wxWindow
*)wxWindow::GetCapture();
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25338 resultobj
= wxPyMake_wxObject(result
);
25346 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxWindow
*arg1
= (wxWindow
*) 0 ;
25350 PyObject
* obj0
= 0 ;
25351 char *kwnames
[] = {
25352 (char *) "self", NULL
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25374 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25375 PyObject
*resultobj
;
25376 wxWindow
*arg1
= (wxWindow
*) 0 ;
25377 bool arg2
= (bool) True
;
25378 wxRect
*arg3
= (wxRect
*) NULL
;
25379 PyObject
* obj0
= 0 ;
25380 PyObject
* obj1
= 0 ;
25381 PyObject
* obj2
= 0 ;
25382 char *kwnames
[] = {
25383 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25390 arg2
= (bool) SWIG_AsBool(obj1
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25394 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 Py_INCREF(Py_None
); resultobj
= Py_None
;
25411 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25412 PyObject
*resultobj
;
25413 wxWindow
*arg1
= (wxWindow
*) 0 ;
25416 PyObject
* obj0
= 0 ;
25417 PyObject
* obj1
= 0 ;
25418 char *kwnames
[] = {
25419 (char *) "self",(char *) "rect", NULL
25422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25427 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25436 Py_INCREF(Py_None
); resultobj
= Py_None
;
25443 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
;
25445 wxWindow
*arg1
= (wxWindow
*) 0 ;
25446 PyObject
* obj0
= 0 ;
25447 char *kwnames
[] = {
25448 (char *) "self", NULL
25451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 Py_INCREF(Py_None
); resultobj
= Py_None
;
25468 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25470 wxWindow
*arg1
= (wxWindow
*) 0 ;
25471 PyObject
* obj0
= 0 ;
25472 char *kwnames
[] = {
25473 (char *) "self", NULL
25476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 (arg1
)->ClearBackground();
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25486 Py_INCREF(Py_None
); resultobj
= Py_None
;
25493 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
;
25495 wxWindow
*arg1
= (wxWindow
*) 0 ;
25496 PyObject
* obj0
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "self", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 Py_INCREF(Py_None
); resultobj
= Py_None
;
25518 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxWindow
*arg1
= (wxWindow
*) 0 ;
25521 PyObject
* obj0
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25536 Py_INCREF(Py_None
); resultobj
= Py_None
;
25543 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25544 PyObject
*resultobj
;
25545 wxWindow
*arg1
= (wxWindow
*) 0 ;
25547 PyObject
* obj0
= 0 ;
25548 PyObject
* obj1
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "self",(char *) "dc", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25559 if (arg2
== NULL
) {
25560 PyErr_SetString(PyExc_TypeError
,"null reference");
25564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25565 (arg1
)->PrepareDC(*arg2
);
25567 wxPyEndAllowThreads(__tstate
);
25568 if (PyErr_Occurred()) SWIG_fail
;
25570 Py_INCREF(Py_None
); resultobj
= Py_None
;
25577 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25578 PyObject
*resultobj
;
25579 wxWindow
*arg1
= (wxWindow
*) 0 ;
25581 PyObject
* obj0
= 0 ;
25582 char *kwnames
[] = {
25583 (char *) "self", NULL
25586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25593 result
= (wxRegion
*) &_result_ref
;
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25606 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxWindow
*arg1
= (wxWindow
*) 0 ;
25610 PyObject
* obj0
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25626 wxRect
* resultptr
;
25627 resultptr
= new wxRect((wxRect
&) result
);
25628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25636 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxWindow
*arg1
= (wxWindow
*) 0 ;
25641 int arg4
= (int) 1 ;
25642 int arg5
= (int) 1 ;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 PyObject
* obj2
= 0 ;
25647 PyObject
* obj3
= 0 ;
25648 PyObject
* obj4
= 0 ;
25649 char *kwnames
[] = {
25650 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25656 arg2
= (int) SWIG_AsInt(obj1
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25658 arg3
= (int) SWIG_AsInt(obj2
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 arg4
= (int) SWIG_AsInt(obj3
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25665 arg5
= (int) SWIG_AsInt(obj4
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25684 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
;
25686 wxWindow
*arg1
= (wxWindow
*) 0 ;
25687 wxPoint
*arg2
= 0 ;
25690 PyObject
* obj0
= 0 ;
25691 PyObject
* obj1
= 0 ;
25692 char *kwnames
[] = {
25693 (char *) "self",(char *) "pt", NULL
25696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25701 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25719 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
;
25721 wxWindow
*arg1
= (wxWindow
*) 0 ;
25725 PyObject
* obj0
= 0 ;
25726 PyObject
* obj1
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self",(char *) "rect", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25736 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25740 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25742 wxPyEndAllowThreads(__tstate
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25754 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25755 PyObject
*resultobj
;
25756 wxWindow
*arg1
= (wxWindow
*) 0 ;
25757 wxVisualAttributes result
;
25758 PyObject
* obj0
= 0 ;
25759 char *kwnames
[] = {
25760 (char *) "self", NULL
25763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25774 wxVisualAttributes
* resultptr
;
25775 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25784 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
;
25786 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25787 wxVisualAttributes result
;
25788 PyObject
* obj0
= 0 ;
25789 char *kwnames
[] = {
25790 (char *) "variant", NULL
25793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25795 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25799 if (!wxPyCheckForApp()) SWIG_fail
;
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25803 wxPyEndAllowThreads(__tstate
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25807 wxVisualAttributes
* resultptr
;
25808 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25817 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25818 PyObject
*resultobj
;
25819 wxWindow
*arg1
= (wxWindow
*) 0 ;
25820 wxColour
*arg2
= 0 ;
25823 PyObject
* obj0
= 0 ;
25824 PyObject
* obj1
= 0 ;
25825 char *kwnames
[] = {
25826 (char *) "self",(char *) "colour", NULL
25829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25834 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25852 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25853 PyObject
*resultobj
;
25854 wxWindow
*arg1
= (wxWindow
*) 0 ;
25855 wxColour
*arg2
= 0 ;
25857 PyObject
* obj0
= 0 ;
25858 PyObject
* obj1
= 0 ;
25859 char *kwnames
[] = {
25860 (char *) "self",(char *) "colour", NULL
25863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25868 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 Py_INCREF(Py_None
); resultobj
= Py_None
;
25884 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxWindow
*arg1
= (wxWindow
*) 0 ;
25887 wxColour
*arg2
= 0 ;
25890 PyObject
* obj0
= 0 ;
25891 PyObject
* obj1
= 0 ;
25892 char *kwnames
[] = {
25893 (char *) "self",(char *) "colour", NULL
25896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25901 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25919 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
;
25921 wxWindow
*arg1
= (wxWindow
*) 0 ;
25922 wxColour
*arg2
= 0 ;
25924 PyObject
* obj0
= 0 ;
25925 PyObject
* obj1
= 0 ;
25926 char *kwnames
[] = {
25927 (char *) "self",(char *) "colour", NULL
25930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25935 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25939 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
25941 wxPyEndAllowThreads(__tstate
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25944 Py_INCREF(Py_None
); resultobj
= Py_None
;
25951 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25952 PyObject
*resultobj
;
25953 wxWindow
*arg1
= (wxWindow
*) 0 ;
25955 PyObject
* obj0
= 0 ;
25956 char *kwnames
[] = {
25957 (char *) "self", NULL
25960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25965 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25967 wxPyEndAllowThreads(__tstate
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25971 wxColour
* resultptr
;
25972 resultptr
= new wxColour((wxColour
&) result
);
25973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25981 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25982 PyObject
*resultobj
;
25983 wxWindow
*arg1
= (wxWindow
*) 0 ;
25985 PyObject
* obj0
= 0 ;
25986 char *kwnames
[] = {
25987 (char *) "self", NULL
25990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25995 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
25997 wxPyEndAllowThreads(__tstate
);
25998 if (PyErr_Occurred()) SWIG_fail
;
26001 wxColour
* resultptr
;
26002 resultptr
= new wxColour((wxColour
&) result
);
26003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26011 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26012 PyObject
*resultobj
;
26013 wxWindow
*arg1
= (wxWindow
*) 0 ;
26014 wxCursor
*arg2
= 0 ;
26016 PyObject
* obj0
= 0 ;
26017 PyObject
* obj1
= 0 ;
26018 char *kwnames
[] = {
26019 (char *) "self",(char *) "cursor", NULL
26022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26028 if (arg2
== NULL
) {
26029 PyErr_SetString(PyExc_TypeError
,"null reference");
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26048 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
;
26050 wxWindow
*arg1
= (wxWindow
*) 0 ;
26052 PyObject
* obj0
= 0 ;
26053 char *kwnames
[] = {
26054 (char *) "self", NULL
26057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26064 result
= (wxCursor
*) &_result_ref
;
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26071 wxCursor
* resultptr
= new wxCursor(*result
);
26072 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26080 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
;
26082 wxWindow
*arg1
= (wxWindow
*) 0 ;
26085 PyObject
* obj0
= 0 ;
26086 PyObject
* obj1
= 0 ;
26087 char *kwnames
[] = {
26088 (char *) "self",(char *) "font", NULL
26091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26097 if (arg2
== NULL
) {
26098 PyErr_SetString(PyExc_TypeError
,"null reference");
26102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26103 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26105 wxPyEndAllowThreads(__tstate
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26117 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26118 PyObject
*resultobj
;
26119 wxWindow
*arg1
= (wxWindow
*) 0 ;
26121 PyObject
* obj0
= 0 ;
26122 PyObject
* obj1
= 0 ;
26123 char *kwnames
[] = {
26124 (char *) "self",(char *) "font", NULL
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26133 if (arg2
== NULL
) {
26134 PyErr_SetString(PyExc_TypeError
,"null reference");
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 Py_INCREF(Py_None
); resultobj
= Py_None
;
26151 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
;
26153 wxWindow
*arg1
= (wxWindow
*) 0 ;
26155 PyObject
* obj0
= 0 ;
26156 char *kwnames
[] = {
26157 (char *) "self", NULL
26160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 wxFont
&_result_ref
= (arg1
)->GetFont();
26167 result
= (wxFont
*) &_result_ref
;
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26174 wxFont
* resultptr
= new wxFont(*result
);
26175 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26183 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxWindow
*arg1
= (wxWindow
*) 0 ;
26186 wxCaret
*arg2
= (wxCaret
*) 0 ;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self",(char *) "caret", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 (arg1
)->SetCaret(arg2
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 Py_INCREF(Py_None
); resultobj
= Py_None
;
26212 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxWindow
*arg1
= (wxWindow
*) 0 ;
26216 PyObject
* obj0
= 0 ;
26217 char *kwnames
[] = {
26218 (char *) "self", NULL
26221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26238 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26239 PyObject
*resultobj
;
26240 wxWindow
*arg1
= (wxWindow
*) 0 ;
26242 PyObject
* obj0
= 0 ;
26243 char *kwnames
[] = {
26244 (char *) "self", NULL
26247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 resultobj
= SWIG_FromInt((int)result
);
26264 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
;
26266 wxWindow
*arg1
= (wxWindow
*) 0 ;
26268 PyObject
* obj0
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= SWIG_FromInt((int)result
);
26290 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26292 wxWindow
*arg1
= (wxWindow
*) 0 ;
26293 wxString
*arg2
= 0 ;
26294 int *arg3
= (int *) 0 ;
26295 int *arg4
= (int *) 0 ;
26296 bool temp2
= False
;
26299 PyObject
* obj0
= 0 ;
26300 PyObject
* obj1
= 0 ;
26301 char *kwnames
[] = {
26302 (char *) "self",(char *) "string", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26311 arg2
= wxString_in_helper(obj1
);
26312 if (arg2
== NULL
) SWIG_fail
;
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26322 Py_INCREF(Py_None
); resultobj
= Py_None
;
26324 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26325 resultobj
= t_output_helper(resultobj
,o
);
26328 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26329 resultobj
= t_output_helper(resultobj
,o
);
26345 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxWindow
*arg1
= (wxWindow
*) 0 ;
26348 wxString
*arg2
= 0 ;
26349 int *arg3
= (int *) 0 ;
26350 int *arg4
= (int *) 0 ;
26351 int *arg5
= (int *) 0 ;
26352 int *arg6
= (int *) 0 ;
26353 wxFont
*arg7
= (wxFont
*) NULL
;
26354 bool temp2
= False
;
26359 PyObject
* obj0
= 0 ;
26360 PyObject
* obj1
= 0 ;
26361 PyObject
* obj2
= 0 ;
26362 char *kwnames
[] = {
26363 (char *) "self",(char *) "string",(char *) "font", NULL
26370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26374 arg2
= wxString_in_helper(obj1
);
26375 if (arg2
== NULL
) SWIG_fail
;
26379 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 Py_INCREF(Py_None
); resultobj
= Py_None
;
26391 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26392 resultobj
= t_output_helper(resultobj
,o
);
26395 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26396 resultobj
= t_output_helper(resultobj
,o
);
26399 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26400 resultobj
= t_output_helper(resultobj
,o
);
26403 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26404 resultobj
= t_output_helper(resultobj
,o
);
26420 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
;
26422 wxWindow
*arg1
= (wxWindow
*) 0 ;
26423 int *arg2
= (int *) 0 ;
26424 int *arg3
= (int *) 0 ;
26427 PyObject
* obj0
= 0 ;
26428 PyObject
* obj1
= 0 ;
26429 PyObject
* obj2
= 0 ;
26430 char *kwnames
[] = {
26431 (char *) "self",(char *) "x",(char *) "y", NULL
26434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26438 temp2
= PyInt_AsLong(obj1
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26443 temp3
= PyInt_AsLong(obj2
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26454 Py_INCREF(Py_None
); resultobj
= Py_None
;
26456 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26457 resultobj
= t_output_helper(resultobj
,o
);
26460 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26461 resultobj
= t_output_helper(resultobj
,o
);
26469 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26470 PyObject
*resultobj
;
26471 wxWindow
*arg1
= (wxWindow
*) 0 ;
26472 int *arg2
= (int *) 0 ;
26473 int *arg3
= (int *) 0 ;
26476 PyObject
* obj0
= 0 ;
26477 PyObject
* obj1
= 0 ;
26478 PyObject
* obj2
= 0 ;
26479 char *kwnames
[] = {
26480 (char *) "self",(char *) "x",(char *) "y", NULL
26483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26487 temp2
= PyInt_AsLong(obj1
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26492 temp3
= PyInt_AsLong(obj2
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 Py_INCREF(Py_None
); resultobj
= Py_None
;
26505 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26506 resultobj
= t_output_helper(resultobj
,o
);
26509 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26510 resultobj
= t_output_helper(resultobj
,o
);
26518 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
;
26520 wxWindow
*arg1
= (wxWindow
*) 0 ;
26521 wxPoint
*arg2
= 0 ;
26524 PyObject
* obj0
= 0 ;
26525 PyObject
* obj1
= 0 ;
26526 char *kwnames
[] = {
26527 (char *) "self",(char *) "pt", NULL
26530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26535 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26539 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26541 wxPyEndAllowThreads(__tstate
);
26542 if (PyErr_Occurred()) SWIG_fail
;
26545 wxPoint
* resultptr
;
26546 resultptr
= new wxPoint((wxPoint
&) result
);
26547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26555 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26556 PyObject
*resultobj
;
26557 wxWindow
*arg1
= (wxWindow
*) 0 ;
26558 wxPoint
*arg2
= 0 ;
26561 PyObject
* obj0
= 0 ;
26562 PyObject
* obj1
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self",(char *) "pt", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26572 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26582 wxPoint
* resultptr
;
26583 resultptr
= new wxPoint((wxPoint
&) result
);
26584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26592 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26593 PyObject
*resultobj
;
26594 wxWindow
*arg1
= (wxWindow
*) 0 ;
26598 PyObject
* obj0
= 0 ;
26599 PyObject
* obj1
= 0 ;
26600 PyObject
* obj2
= 0 ;
26601 char *kwnames
[] = {
26602 (char *) "self",(char *) "x",(char *) "y", NULL
26605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26608 arg2
= (int) SWIG_AsInt(obj1
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26610 arg3
= (int) SWIG_AsInt(obj2
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_FromInt((int)result
);
26626 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26627 PyObject
*resultobj
;
26628 wxWindow
*arg1
= (wxWindow
*) 0 ;
26629 wxPoint
*arg2
= 0 ;
26632 PyObject
* obj0
= 0 ;
26633 PyObject
* obj1
= 0 ;
26634 char *kwnames
[] = {
26635 (char *) "self",(char *) "pt", NULL
26638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26643 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26647 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26649 wxPyEndAllowThreads(__tstate
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= SWIG_FromInt((int)result
);
26659 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26660 PyObject
*resultobj
;
26661 wxWindow
*arg1
= (wxWindow
*) 0 ;
26664 PyObject
* obj0
= 0 ;
26665 PyObject
* obj1
= 0 ;
26667 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26670 arg2
= (long) SWIG_AsLong(obj1
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26679 resultobj
= SWIG_FromInt((int)result
);
26686 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26687 PyObject
*resultobj
;
26688 wxWindow
*arg1
= (wxWindow
*) 0 ;
26690 PyObject
* obj0
= 0 ;
26692 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 resultobj
= SWIG_FromInt((int)result
);
26709 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26714 argc
= PyObject_Length(args
);
26715 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26716 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26722 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26730 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26737 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26745 _v
= SWIG_CheckLong(argv
[1]);
26747 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26752 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26757 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26758 PyObject
*resultobj
;
26759 wxWindow
*arg1
= (wxWindow
*) 0 ;
26760 long arg2
= (long) wxUPDATE_UI_NONE
;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self",(char *) "flags", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26771 arg2
= (long) SWIG_AsLong(obj1
);
26772 if (PyErr_Occurred()) SWIG_fail
;
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 (arg1
)->UpdateWindowUI(arg2
);
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 Py_INCREF(Py_None
); resultobj
= Py_None
;
26788 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
;
26790 wxWindow
*arg1
= (wxWindow
*) 0 ;
26791 wxMenu
*arg2
= (wxMenu
*) 0 ;
26795 PyObject
* obj0
= 0 ;
26796 PyObject
* obj1
= 0 ;
26797 PyObject
* obj2
= 0 ;
26798 PyObject
* obj3
= 0 ;
26799 char *kwnames
[] = {
26800 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26808 arg3
= (int) SWIG_AsInt(obj2
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26810 arg4
= (int) SWIG_AsInt(obj3
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26828 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
;
26830 wxWindow
*arg1
= (wxWindow
*) 0 ;
26831 wxMenu
*arg2
= (wxMenu
*) 0 ;
26832 wxPoint
*arg3
= 0 ;
26835 PyObject
* obj0
= 0 ;
26836 PyObject
* obj1
= 0 ;
26837 PyObject
* obj2
= 0 ;
26838 char *kwnames
[] = {
26839 (char *) "self",(char *) "menu",(char *) "pos", NULL
26842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26849 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26855 wxPyEndAllowThreads(__tstate
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26867 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26868 PyObject
*resultobj
;
26869 wxWindow
*arg1
= (wxWindow
*) 0 ;
26871 PyObject
* obj0
= 0 ;
26872 char *kwnames
[] = {
26873 (char *) "self", NULL
26876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26881 result
= (long)wxWindow_GetHandle(arg1
);
26883 wxPyEndAllowThreads(__tstate
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26886 resultobj
= SWIG_FromLong((long)result
);
26893 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26894 PyObject
*resultobj
;
26895 wxWindow
*arg1
= (wxWindow
*) 0 ;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 char *kwnames
[] = {
26901 (char *) "self",(char *) "orient", NULL
26904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26907 arg2
= (int) SWIG_AsInt(obj1
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26925 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26926 PyObject
*resultobj
;
26927 wxWindow
*arg1
= (wxWindow
*) 0 ;
26932 bool arg6
= (bool) True
;
26933 PyObject
* obj0
= 0 ;
26934 PyObject
* obj1
= 0 ;
26935 PyObject
* obj2
= 0 ;
26936 PyObject
* obj3
= 0 ;
26937 PyObject
* obj4
= 0 ;
26938 PyObject
* obj5
= 0 ;
26939 char *kwnames
[] = {
26940 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
26943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26946 arg2
= (int) SWIG_AsInt(obj1
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26948 arg3
= (int) SWIG_AsInt(obj2
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26950 arg4
= (int) SWIG_AsInt(obj3
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26952 arg5
= (int) SWIG_AsInt(obj4
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26955 arg6
= (bool) SWIG_AsBool(obj5
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26965 Py_INCREF(Py_None
); resultobj
= Py_None
;
26972 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
;
26974 wxWindow
*arg1
= (wxWindow
*) 0 ;
26977 bool arg4
= (bool) True
;
26978 PyObject
* obj0
= 0 ;
26979 PyObject
* obj1
= 0 ;
26980 PyObject
* obj2
= 0 ;
26981 PyObject
* obj3
= 0 ;
26982 char *kwnames
[] = {
26983 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26989 arg2
= (int) SWIG_AsInt(obj1
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26991 arg3
= (int) SWIG_AsInt(obj2
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 arg4
= (bool) SWIG_AsBool(obj3
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 Py_INCREF(Py_None
); resultobj
= Py_None
;
27011 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
;
27013 wxWindow
*arg1
= (wxWindow
*) 0 ;
27016 PyObject
* obj0
= 0 ;
27017 PyObject
* obj1
= 0 ;
27018 char *kwnames
[] = {
27019 (char *) "self",(char *) "orientation", NULL
27022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27025 arg2
= (int) SWIG_AsInt(obj1
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27029 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27031 wxPyEndAllowThreads(__tstate
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27034 resultobj
= SWIG_FromInt((int)result
);
27041 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27042 PyObject
*resultobj
;
27043 wxWindow
*arg1
= (wxWindow
*) 0 ;
27046 PyObject
* obj0
= 0 ;
27047 PyObject
* obj1
= 0 ;
27048 char *kwnames
[] = {
27049 (char *) "self",(char *) "orientation", NULL
27052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27055 arg2
= (int) SWIG_AsInt(obj1
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27064 resultobj
= SWIG_FromInt((int)result
);
27071 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27072 PyObject
*resultobj
;
27073 wxWindow
*arg1
= (wxWindow
*) 0 ;
27076 PyObject
* obj0
= 0 ;
27077 PyObject
* obj1
= 0 ;
27078 char *kwnames
[] = {
27079 (char *) "self",(char *) "orientation", NULL
27082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27085 arg2
= (int) SWIG_AsInt(obj1
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27094 resultobj
= SWIG_FromInt((int)result
);
27101 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
;
27103 wxWindow
*arg1
= (wxWindow
*) 0 ;
27106 wxRect
*arg4
= (wxRect
*) NULL
;
27107 PyObject
* obj0
= 0 ;
27108 PyObject
* obj1
= 0 ;
27109 PyObject
* obj2
= 0 ;
27110 PyObject
* obj3
= 0 ;
27111 char *kwnames
[] = {
27112 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27118 arg2
= (int) SWIG_AsInt(obj1
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27120 arg3
= (int) SWIG_AsInt(obj2
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27128 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27133 Py_INCREF(Py_None
); resultobj
= Py_None
;
27140 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxWindow
*arg1
= (wxWindow
*) 0 ;
27145 PyObject
* obj0
= 0 ;
27146 PyObject
* obj1
= 0 ;
27147 char *kwnames
[] = {
27148 (char *) "self",(char *) "lines", NULL
27151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27154 arg2
= (int) SWIG_AsInt(obj1
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 result
= (bool)(arg1
)->ScrollLines(arg2
);
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27172 static PyObject
*_wrap_Window_ScrollPages(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 *) "pages", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",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
)->ScrollPages(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_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27205 PyObject
*resultobj
;
27206 wxWindow
*arg1
= (wxWindow
*) 0 ;
27208 PyObject
* obj0
= 0 ;
27209 char *kwnames
[] = {
27210 (char *) "self", NULL
27213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 result
= (bool)(arg1
)->LineUp();
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27232 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27233 PyObject
*resultobj
;
27234 wxWindow
*arg1
= (wxWindow
*) 0 ;
27236 PyObject
* obj0
= 0 ;
27237 char *kwnames
[] = {
27238 (char *) "self", NULL
27241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27246 result
= (bool)(arg1
)->LineDown();
27248 wxPyEndAllowThreads(__tstate
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27260 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27261 PyObject
*resultobj
;
27262 wxWindow
*arg1
= (wxWindow
*) 0 ;
27264 PyObject
* obj0
= 0 ;
27265 char *kwnames
[] = {
27266 (char *) "self", NULL
27269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 result
= (bool)(arg1
)->PageUp();
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27288 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27289 PyObject
*resultobj
;
27290 wxWindow
*arg1
= (wxWindow
*) 0 ;
27292 PyObject
* obj0
= 0 ;
27293 char *kwnames
[] = {
27294 (char *) "self", NULL
27297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 result
= (bool)(arg1
)->PageDown();
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27316 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
;
27318 wxWindow
*arg1
= (wxWindow
*) 0 ;
27319 wxString
*arg2
= 0 ;
27320 bool temp2
= False
;
27321 PyObject
* obj0
= 0 ;
27322 PyObject
* obj1
= 0 ;
27323 char *kwnames
[] = {
27324 (char *) "self",(char *) "text", NULL
27327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27331 arg2
= wxString_in_helper(obj1
);
27332 if (arg2
== NULL
) SWIG_fail
;
27336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27337 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 Py_INCREF(Py_None
); resultobj
= Py_None
;
27357 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27358 PyObject
*resultobj
;
27359 wxWindow
*arg1
= (wxWindow
*) 0 ;
27360 wxString
*arg2
= 0 ;
27361 bool temp2
= False
;
27362 PyObject
* obj0
= 0 ;
27363 PyObject
* obj1
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self",(char *) "text", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27372 arg2
= wxString_in_helper(obj1
);
27373 if (arg2
== NULL
) SWIG_fail
;
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27380 wxPyEndAllowThreads(__tstate
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27383 Py_INCREF(Py_None
); resultobj
= Py_None
;
27398 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
;
27400 wxWindow
*arg1
= (wxWindow
*) 0 ;
27402 PyObject
* obj0
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27430 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
;
27432 wxWindow
*arg1
= (wxWindow
*) 0 ;
27433 wxString
*arg2
= 0 ;
27434 bool temp2
= False
;
27435 PyObject
* obj0
= 0 ;
27436 PyObject
* obj1
= 0 ;
27437 char *kwnames
[] = {
27438 (char *) "self",(char *) "tip", NULL
27441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27445 arg2
= wxString_in_helper(obj1
);
27446 if (arg2
== NULL
) SWIG_fail
;
27450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27451 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27456 Py_INCREF(Py_None
); resultobj
= Py_None
;
27471 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27472 PyObject
*resultobj
;
27473 wxWindow
*arg1
= (wxWindow
*) 0 ;
27474 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27475 PyObject
* obj0
= 0 ;
27476 PyObject
* obj1
= 0 ;
27477 char *kwnames
[] = {
27478 (char *) "self",(char *) "tip", NULL
27481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27488 (arg1
)->SetToolTip(arg2
);
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27493 Py_INCREF(Py_None
); resultobj
= Py_None
;
27500 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27501 PyObject
*resultobj
;
27502 wxWindow
*arg1
= (wxWindow
*) 0 ;
27504 PyObject
* obj0
= 0 ;
27505 char *kwnames
[] = {
27506 (char *) "self", NULL
27509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= wxPyMake_wxObject(result
);
27528 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27529 PyObject
*resultobj
;
27530 wxWindow
*arg1
= (wxWindow
*) 0 ;
27531 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27532 PyObject
* obj0
= 0 ;
27533 PyObject
* obj1
= 0 ;
27534 char *kwnames
[] = {
27535 (char *) "self",(char *) "dropTarget", NULL
27538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27542 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27545 (arg1
)->SetDropTarget(arg2
);
27547 wxPyEndAllowThreads(__tstate
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27550 Py_INCREF(Py_None
); resultobj
= Py_None
;
27557 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27558 PyObject
*resultobj
;
27559 wxWindow
*arg1
= (wxWindow
*) 0 ;
27560 wxPyDropTarget
*result
;
27561 PyObject
* obj0
= 0 ;
27562 char *kwnames
[] = {
27563 (char *) "self", NULL
27566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27571 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27583 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27584 PyObject
*resultobj
;
27585 wxWindow
*arg1
= (wxWindow
*) 0 ;
27586 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27587 PyObject
* obj0
= 0 ;
27588 PyObject
* obj1
= 0 ;
27589 char *kwnames
[] = {
27590 (char *) "self",(char *) "constraints", NULL
27593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27600 (arg1
)->SetConstraints(arg2
);
27602 wxPyEndAllowThreads(__tstate
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27605 Py_INCREF(Py_None
); resultobj
= Py_None
;
27612 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27613 PyObject
*resultobj
;
27614 wxWindow
*arg1
= (wxWindow
*) 0 ;
27615 wxLayoutConstraints
*result
;
27616 PyObject
* obj0
= 0 ;
27617 char *kwnames
[] = {
27618 (char *) "self", NULL
27621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27626 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27628 wxPyEndAllowThreads(__tstate
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27638 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27639 PyObject
*resultobj
;
27640 wxWindow
*arg1
= (wxWindow
*) 0 ;
27642 PyObject
* obj0
= 0 ;
27643 PyObject
* obj1
= 0 ;
27644 char *kwnames
[] = {
27645 (char *) "self",(char *) "autoLayout", NULL
27648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27651 arg2
= (bool) SWIG_AsBool(obj1
);
27652 if (PyErr_Occurred()) SWIG_fail
;
27654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27655 (arg1
)->SetAutoLayout(arg2
);
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27660 Py_INCREF(Py_None
); resultobj
= Py_None
;
27667 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27668 PyObject
*resultobj
;
27669 wxWindow
*arg1
= (wxWindow
*) 0 ;
27671 PyObject
* obj0
= 0 ;
27672 char *kwnames
[] = {
27673 (char *) "self", NULL
27676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27681 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27683 wxPyEndAllowThreads(__tstate
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27695 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27696 PyObject
*resultobj
;
27697 wxWindow
*arg1
= (wxWindow
*) 0 ;
27699 PyObject
* obj0
= 0 ;
27700 char *kwnames
[] = {
27701 (char *) "self", NULL
27704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 result
= (bool)(arg1
)->Layout();
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27723 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27724 PyObject
*resultobj
;
27725 wxWindow
*arg1
= (wxWindow
*) 0 ;
27726 wxSizer
*arg2
= (wxSizer
*) 0 ;
27727 bool arg3
= (bool) True
;
27728 PyObject
* obj0
= 0 ;
27729 PyObject
* obj1
= 0 ;
27730 PyObject
* obj2
= 0 ;
27731 char *kwnames
[] = {
27732 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27741 arg3
= (bool) SWIG_AsBool(obj2
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 (arg1
)->SetSizer(arg2
,arg3
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 Py_INCREF(Py_None
); resultobj
= Py_None
;
27758 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxWindow
*arg1
= (wxWindow
*) 0 ;
27761 wxSizer
*arg2
= (wxSizer
*) 0 ;
27762 bool arg3
= (bool) True
;
27763 PyObject
* obj0
= 0 ;
27764 PyObject
* obj1
= 0 ;
27765 PyObject
* obj2
= 0 ;
27766 char *kwnames
[] = {
27767 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27776 arg3
= (bool) SWIG_AsBool(obj2
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27781 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 Py_INCREF(Py_None
); resultobj
= Py_None
;
27793 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
;
27795 wxWindow
*arg1
= (wxWindow
*) 0 ;
27797 PyObject
* obj0
= 0 ;
27798 char *kwnames
[] = {
27799 (char *) "self", NULL
27802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27813 resultobj
= wxPyMake_wxSizer(result
);
27821 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27822 PyObject
*resultobj
;
27823 wxWindow
*arg1
= (wxWindow
*) 0 ;
27824 wxSizer
*arg2
= (wxSizer
*) 0 ;
27825 PyObject
* obj0
= 0 ;
27826 PyObject
* obj1
= 0 ;
27827 char *kwnames
[] = {
27828 (char *) "self",(char *) "sizer", NULL
27831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27838 (arg1
)->SetContainingSizer(arg2
);
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27843 Py_INCREF(Py_None
); resultobj
= Py_None
;
27850 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27851 PyObject
*resultobj
;
27852 wxWindow
*arg1
= (wxWindow
*) 0 ;
27854 PyObject
* obj0
= 0 ;
27855 char *kwnames
[] = {
27856 (char *) "self", NULL
27859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= wxPyMake_wxSizer(result
);
27878 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27879 PyObject
*resultobj
;
27880 wxWindow
*arg1
= (wxWindow
*) 0 ;
27881 PyObject
* obj0
= 0 ;
27882 char *kwnames
[] = {
27883 (char *) "self", NULL
27886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
27887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 (arg1
)->InheritAttributes();
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27896 Py_INCREF(Py_None
); resultobj
= Py_None
;
27903 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27904 PyObject
*resultobj
;
27905 wxWindow
*arg1
= (wxWindow
*) 0 ;
27907 PyObject
* obj0
= 0 ;
27908 char *kwnames
[] = {
27909 (char *) "self", NULL
27912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
27913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27917 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
27919 wxPyEndAllowThreads(__tstate
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27931 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
27933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27934 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27936 return Py_BuildValue((char *)"");
27938 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27939 PyObject
*resultobj
;
27941 wxWindow
*arg2
= (wxWindow
*) NULL
;
27943 PyObject
* obj0
= 0 ;
27944 PyObject
* obj1
= 0 ;
27945 char *kwnames
[] = {
27946 (char *) "id",(char *) "parent", NULL
27949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27950 arg1
= (long) SWIG_AsLong(obj0
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27957 if (!wxPyCheckForApp()) SWIG_fail
;
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
27961 wxPyEndAllowThreads(__tstate
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27965 resultobj
= wxPyMake_wxObject(result
);
27973 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27974 PyObject
*resultobj
;
27975 wxString
*arg1
= 0 ;
27976 wxWindow
*arg2
= (wxWindow
*) NULL
;
27978 bool temp1
= False
;
27979 PyObject
* obj0
= 0 ;
27980 PyObject
* obj1
= 0 ;
27981 char *kwnames
[] = {
27982 (char *) "name",(char *) "parent", NULL
27985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27987 arg1
= wxString_in_helper(obj0
);
27988 if (arg1
== NULL
) SWIG_fail
;
27992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27996 if (!wxPyCheckForApp()) SWIG_fail
;
27997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27998 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28000 wxPyEndAllowThreads(__tstate
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28004 resultobj
= wxPyMake_wxObject(result
);
28020 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28021 PyObject
*resultobj
;
28022 wxString
*arg1
= 0 ;
28023 wxWindow
*arg2
= (wxWindow
*) NULL
;
28025 bool temp1
= False
;
28026 PyObject
* obj0
= 0 ;
28027 PyObject
* obj1
= 0 ;
28028 char *kwnames
[] = {
28029 (char *) "label",(char *) "parent", NULL
28032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28034 arg1
= wxString_in_helper(obj0
);
28035 if (arg1
== NULL
) SWIG_fail
;
28039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28043 if (!wxPyCheckForApp()) SWIG_fail
;
28044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28045 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28047 wxPyEndAllowThreads(__tstate
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28051 resultobj
= wxPyMake_wxObject(result
);
28067 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28068 PyObject
*resultobj
;
28069 wxWindow
*arg1
= (wxWindow
*) 0 ;
28070 unsigned long arg2
;
28072 PyObject
* obj0
= 0 ;
28073 PyObject
* obj1
= 0 ;
28074 char *kwnames
[] = {
28075 (char *) "parent",(char *) "_hWnd", NULL
28078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28081 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= wxPyMake_wxObject(result
);
28099 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28100 PyObject
*resultobj
;
28101 wxValidator
*result
;
28102 char *kwnames
[] = {
28106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 result
= (wxValidator
*)new wxValidator();
28111 wxPyEndAllowThreads(__tstate
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= wxPyMake_wxObject(result
);
28123 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
;
28125 wxValidator
*arg1
= (wxValidator
*) 0 ;
28126 wxValidator
*result
;
28127 PyObject
* obj0
= 0 ;
28128 char *kwnames
[] = {
28129 (char *) "self", NULL
28132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 result
= (wxValidator
*)(arg1
)->Clone();
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28143 resultobj
= wxPyMake_wxObject(result
);
28151 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28152 PyObject
*resultobj
;
28153 wxValidator
*arg1
= (wxValidator
*) 0 ;
28154 wxWindow
*arg2
= (wxWindow
*) 0 ;
28156 PyObject
* obj0
= 0 ;
28157 PyObject
* obj1
= 0 ;
28158 char *kwnames
[] = {
28159 (char *) "self",(char *) "parent", NULL
28162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 result
= (bool)(arg1
)->Validate(arg2
);
28171 wxPyEndAllowThreads(__tstate
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28183 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
;
28185 wxValidator
*arg1
= (wxValidator
*) 0 ;
28187 PyObject
* obj0
= 0 ;
28188 char *kwnames
[] = {
28189 (char *) "self", NULL
28192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 result
= (bool)(arg1
)->TransferToWindow();
28199 wxPyEndAllowThreads(__tstate
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28211 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28212 PyObject
*resultobj
;
28213 wxValidator
*arg1
= (wxValidator
*) 0 ;
28215 PyObject
* obj0
= 0 ;
28216 char *kwnames
[] = {
28217 (char *) "self", NULL
28220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28225 result
= (bool)(arg1
)->TransferFromWindow();
28227 wxPyEndAllowThreads(__tstate
);
28228 if (PyErr_Occurred()) SWIG_fail
;
28231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28239 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
;
28241 wxValidator
*arg1
= (wxValidator
*) 0 ;
28243 PyObject
* obj0
= 0 ;
28244 char *kwnames
[] = {
28245 (char *) "self", NULL
28248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28253 result
= (wxWindow
*)(arg1
)->GetWindow();
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28259 resultobj
= wxPyMake_wxObject(result
);
28267 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28268 PyObject
*resultobj
;
28269 wxValidator
*arg1
= (wxValidator
*) 0 ;
28270 wxWindow
*arg2
= (wxWindow
*) 0 ;
28271 PyObject
* obj0
= 0 ;
28272 PyObject
* obj1
= 0 ;
28273 char *kwnames
[] = {
28274 (char *) "self",(char *) "window", NULL
28277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28284 (arg1
)->SetWindow(arg2
);
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28289 Py_INCREF(Py_None
); resultobj
= Py_None
;
28296 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
;
28299 char *kwnames
[] = {
28303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 result
= (bool)wxValidator::IsSilent();
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28320 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 int arg1
= (int) True
;
28323 PyObject
* obj0
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "doIt", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28330 arg1
= (int) SWIG_AsInt(obj0
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 wxValidator::SetBellOnError(arg1
);
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28340 Py_INCREF(Py_None
); resultobj
= Py_None
;
28347 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28350 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28352 return Py_BuildValue((char *)"");
28354 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28355 PyObject
*resultobj
;
28356 wxPyValidator
*result
;
28357 char *kwnames
[] = {
28361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 result
= (wxPyValidator
*)new wxPyValidator();
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28376 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
;
28378 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28379 PyObject
*arg2
= (PyObject
*) 0 ;
28380 PyObject
*arg3
= (PyObject
*) 0 ;
28381 int arg4
= (int) True
;
28382 PyObject
* obj0
= 0 ;
28383 PyObject
* obj1
= 0 ;
28384 PyObject
* obj2
= 0 ;
28385 PyObject
* obj3
= 0 ;
28386 char *kwnames
[] = {
28387 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28396 arg4
= (int) SWIG_AsInt(obj3
);
28397 if (PyErr_Occurred()) SWIG_fail
;
28400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28401 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28406 Py_INCREF(Py_None
); resultobj
= Py_None
;
28413 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28416 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28418 return Py_BuildValue((char *)"");
28420 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28421 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28426 static PyObject
*_wrap_DefaultValidator_get() {
28429 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28434 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
;
28436 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28437 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28438 long arg2
= (long) 0 ;
28440 bool temp1
= False
;
28441 PyObject
* obj0
= 0 ;
28442 PyObject
* obj1
= 0 ;
28443 char *kwnames
[] = {
28444 (char *) "title",(char *) "style", NULL
28447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28450 arg1
= wxString_in_helper(obj0
);
28451 if (arg1
== NULL
) SWIG_fail
;
28456 arg2
= (long) SWIG_AsLong(obj1
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28460 if (!wxPyCheckForApp()) SWIG_fail
;
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28468 resultobj
= wxPyMake_wxObject(result
);
28484 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
;
28486 wxMenu
*arg1
= (wxMenu
*) 0 ;
28488 wxString
*arg3
= 0 ;
28489 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28490 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28491 int arg5
= (int) wxITEM_NORMAL
;
28492 wxMenuItem
*result
;
28493 bool temp3
= False
;
28494 bool temp4
= False
;
28495 PyObject
* obj0
= 0 ;
28496 PyObject
* obj1
= 0 ;
28497 PyObject
* obj2
= 0 ;
28498 PyObject
* obj3
= 0 ;
28499 PyObject
* obj4
= 0 ;
28500 char *kwnames
[] = {
28501 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28507 arg2
= (int) SWIG_AsInt(obj1
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 arg3
= wxString_in_helper(obj2
);
28511 if (arg3
== NULL
) SWIG_fail
;
28516 arg4
= wxString_in_helper(obj3
);
28517 if (arg4
== NULL
) SWIG_fail
;
28522 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28533 resultobj
= wxPyMake_wxObject(result
);
28557 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28558 PyObject
*resultobj
;
28559 wxMenu
*arg1
= (wxMenu
*) 0 ;
28560 wxMenuItem
*result
;
28561 PyObject
* obj0
= 0 ;
28562 char *kwnames
[] = {
28563 (char *) "self", NULL
28566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28573 wxPyEndAllowThreads(__tstate
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28577 resultobj
= wxPyMake_wxObject(result
);
28585 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28586 PyObject
*resultobj
;
28587 wxMenu
*arg1
= (wxMenu
*) 0 ;
28589 wxString
*arg3
= 0 ;
28590 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28591 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28592 wxMenuItem
*result
;
28593 bool temp3
= False
;
28594 bool temp4
= False
;
28595 PyObject
* obj0
= 0 ;
28596 PyObject
* obj1
= 0 ;
28597 PyObject
* obj2
= 0 ;
28598 PyObject
* obj3
= 0 ;
28599 char *kwnames
[] = {
28600 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28606 arg2
= (int) SWIG_AsInt(obj1
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 arg3
= wxString_in_helper(obj2
);
28610 if (arg3
== NULL
) SWIG_fail
;
28615 arg4
= wxString_in_helper(obj3
);
28616 if (arg4
== NULL
) SWIG_fail
;
28621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28622 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28628 resultobj
= wxPyMake_wxObject(result
);
28652 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28653 PyObject
*resultobj
;
28654 wxMenu
*arg1
= (wxMenu
*) 0 ;
28656 wxString
*arg3
= 0 ;
28657 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28658 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28659 wxMenuItem
*result
;
28660 bool temp3
= False
;
28661 bool temp4
= False
;
28662 PyObject
* obj0
= 0 ;
28663 PyObject
* obj1
= 0 ;
28664 PyObject
* obj2
= 0 ;
28665 PyObject
* obj3
= 0 ;
28666 char *kwnames
[] = {
28667 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28673 arg2
= (int) SWIG_AsInt(obj1
);
28674 if (PyErr_Occurred()) SWIG_fail
;
28676 arg3
= wxString_in_helper(obj2
);
28677 if (arg3
== NULL
) SWIG_fail
;
28682 arg4
= wxString_in_helper(obj3
);
28683 if (arg4
== NULL
) SWIG_fail
;
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= wxPyMake_wxObject(result
);
28719 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28720 PyObject
*resultobj
;
28721 wxMenu
*arg1
= (wxMenu
*) 0 ;
28723 wxString
*arg3
= 0 ;
28724 wxMenu
*arg4
= (wxMenu
*) 0 ;
28725 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28726 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28727 wxMenuItem
*result
;
28728 bool temp3
= False
;
28729 bool temp5
= False
;
28730 PyObject
* obj0
= 0 ;
28731 PyObject
* obj1
= 0 ;
28732 PyObject
* obj2
= 0 ;
28733 PyObject
* obj3
= 0 ;
28734 PyObject
* obj4
= 0 ;
28735 char *kwnames
[] = {
28736 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28742 arg2
= (int) SWIG_AsInt(obj1
);
28743 if (PyErr_Occurred()) SWIG_fail
;
28745 arg3
= wxString_in_helper(obj2
);
28746 if (arg3
== NULL
) SWIG_fail
;
28749 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28753 arg5
= wxString_in_helper(obj4
);
28754 if (arg5
== NULL
) SWIG_fail
;
28759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28760 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28766 resultobj
= wxPyMake_wxObject(result
);
28790 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28791 PyObject
*resultobj
;
28792 wxMenu
*arg1
= (wxMenu
*) 0 ;
28793 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28794 wxMenuItem
*result
;
28795 PyObject
* obj0
= 0 ;
28796 PyObject
* obj1
= 0 ;
28797 char *kwnames
[] = {
28798 (char *) "self",(char *) "item", NULL
28801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28814 resultobj
= wxPyMake_wxObject(result
);
28822 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28823 PyObject
*resultobj
;
28824 wxMenu
*arg1
= (wxMenu
*) 0 ;
28825 PyObject
* obj0
= 0 ;
28826 char *kwnames
[] = {
28827 (char *) "self", NULL
28830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 wxPyEndAllowThreads(__tstate
);
28838 if (PyErr_Occurred()) SWIG_fail
;
28840 Py_INCREF(Py_None
); resultobj
= Py_None
;
28847 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28848 PyObject
*resultobj
;
28849 wxMenu
*arg1
= (wxMenu
*) 0 ;
28851 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28852 wxMenuItem
*result
;
28853 PyObject
* obj0
= 0 ;
28854 PyObject
* obj1
= 0 ;
28855 PyObject
* obj2
= 0 ;
28856 char *kwnames
[] = {
28857 (char *) "self",(char *) "pos",(char *) "item", NULL
28860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28863 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28864 if (PyErr_Occurred()) SWIG_fail
;
28865 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28871 wxPyEndAllowThreads(__tstate
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28875 resultobj
= wxPyMake_wxObject(result
);
28883 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
;
28885 wxMenu
*arg1
= (wxMenu
*) 0 ;
28888 wxString
*arg4
= 0 ;
28889 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28890 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28891 int arg6
= (int) wxITEM_NORMAL
;
28892 wxMenuItem
*result
;
28893 bool temp4
= False
;
28894 bool temp5
= False
;
28895 PyObject
* obj0
= 0 ;
28896 PyObject
* obj1
= 0 ;
28897 PyObject
* obj2
= 0 ;
28898 PyObject
* obj3
= 0 ;
28899 PyObject
* obj4
= 0 ;
28900 PyObject
* obj5
= 0 ;
28901 char *kwnames
[] = {
28902 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28908 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28910 arg3
= (int) SWIG_AsInt(obj2
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 arg4
= wxString_in_helper(obj3
);
28914 if (arg4
== NULL
) SWIG_fail
;
28919 arg5
= wxString_in_helper(obj4
);
28920 if (arg5
== NULL
) SWIG_fail
;
28925 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28930 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28932 wxPyEndAllowThreads(__tstate
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28936 resultobj
= wxPyMake_wxObject(result
);
28960 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28961 PyObject
*resultobj
;
28962 wxMenu
*arg1
= (wxMenu
*) 0 ;
28964 wxMenuItem
*result
;
28965 PyObject
* obj0
= 0 ;
28966 PyObject
* obj1
= 0 ;
28967 char *kwnames
[] = {
28968 (char *) "self",(char *) "pos", NULL
28971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
28972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28974 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28975 if (PyErr_Occurred()) SWIG_fail
;
28977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28978 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
28980 wxPyEndAllowThreads(__tstate
);
28981 if (PyErr_Occurred()) SWIG_fail
;
28984 resultobj
= wxPyMake_wxObject(result
);
28992 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28993 PyObject
*resultobj
;
28994 wxMenu
*arg1
= (wxMenu
*) 0 ;
28997 wxString
*arg4
= 0 ;
28998 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28999 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29000 wxMenuItem
*result
;
29001 bool temp4
= False
;
29002 bool temp5
= False
;
29003 PyObject
* obj0
= 0 ;
29004 PyObject
* obj1
= 0 ;
29005 PyObject
* obj2
= 0 ;
29006 PyObject
* obj3
= 0 ;
29007 PyObject
* obj4
= 0 ;
29008 char *kwnames
[] = {
29009 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29015 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29017 arg3
= (int) SWIG_AsInt(obj2
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29020 arg4
= wxString_in_helper(obj3
);
29021 if (arg4
== NULL
) SWIG_fail
;
29026 arg5
= wxString_in_helper(obj4
);
29027 if (arg5
== NULL
) SWIG_fail
;
29032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29033 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29035 wxPyEndAllowThreads(__tstate
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= wxPyMake_wxObject(result
);
29063 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29064 PyObject
*resultobj
;
29065 wxMenu
*arg1
= (wxMenu
*) 0 ;
29068 wxString
*arg4
= 0 ;
29069 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29070 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29071 wxMenuItem
*result
;
29072 bool temp4
= False
;
29073 bool temp5
= False
;
29074 PyObject
* obj0
= 0 ;
29075 PyObject
* obj1
= 0 ;
29076 PyObject
* obj2
= 0 ;
29077 PyObject
* obj3
= 0 ;
29078 PyObject
* obj4
= 0 ;
29079 char *kwnames
[] = {
29080 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29086 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29088 arg3
= (int) SWIG_AsInt(obj2
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29091 arg4
= wxString_in_helper(obj3
);
29092 if (arg4
== NULL
) SWIG_fail
;
29097 arg5
= wxString_in_helper(obj4
);
29098 if (arg5
== NULL
) SWIG_fail
;
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29110 resultobj
= wxPyMake_wxObject(result
);
29134 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
;
29136 wxMenu
*arg1
= (wxMenu
*) 0 ;
29139 wxString
*arg4
= 0 ;
29140 wxMenu
*arg5
= (wxMenu
*) 0 ;
29141 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29142 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29143 wxMenuItem
*result
;
29144 bool temp4
= False
;
29145 bool temp6
= False
;
29146 PyObject
* obj0
= 0 ;
29147 PyObject
* obj1
= 0 ;
29148 PyObject
* obj2
= 0 ;
29149 PyObject
* obj3
= 0 ;
29150 PyObject
* obj4
= 0 ;
29151 PyObject
* obj5
= 0 ;
29152 char *kwnames
[] = {
29153 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29159 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29161 arg3
= (int) SWIG_AsInt(obj2
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29164 arg4
= wxString_in_helper(obj3
);
29165 if (arg4
== NULL
) SWIG_fail
;
29168 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29172 arg6
= wxString_in_helper(obj5
);
29173 if (arg6
== NULL
) SWIG_fail
;
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= wxPyMake_wxObject(result
);
29209 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29210 PyObject
*resultobj
;
29211 wxMenu
*arg1
= (wxMenu
*) 0 ;
29212 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29213 wxMenuItem
*result
;
29214 PyObject
* obj0
= 0 ;
29215 PyObject
* obj1
= 0 ;
29216 char *kwnames
[] = {
29217 (char *) "self",(char *) "item", NULL
29220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29227 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29229 wxPyEndAllowThreads(__tstate
);
29230 if (PyErr_Occurred()) SWIG_fail
;
29233 resultobj
= wxPyMake_wxObject(result
);
29241 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29242 PyObject
*resultobj
;
29243 wxMenu
*arg1
= (wxMenu
*) 0 ;
29245 wxString
*arg3
= 0 ;
29246 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29247 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29248 int arg5
= (int) wxITEM_NORMAL
;
29249 wxMenuItem
*result
;
29250 bool temp3
= False
;
29251 bool temp4
= False
;
29252 PyObject
* obj0
= 0 ;
29253 PyObject
* obj1
= 0 ;
29254 PyObject
* obj2
= 0 ;
29255 PyObject
* obj3
= 0 ;
29256 PyObject
* obj4
= 0 ;
29257 char *kwnames
[] = {
29258 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29264 arg2
= (int) SWIG_AsInt(obj1
);
29265 if (PyErr_Occurred()) SWIG_fail
;
29267 arg3
= wxString_in_helper(obj2
);
29268 if (arg3
== NULL
) SWIG_fail
;
29273 arg4
= wxString_in_helper(obj3
);
29274 if (arg4
== NULL
) SWIG_fail
;
29279 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29286 wxPyEndAllowThreads(__tstate
);
29287 if (PyErr_Occurred()) SWIG_fail
;
29290 resultobj
= wxPyMake_wxObject(result
);
29314 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29315 PyObject
*resultobj
;
29316 wxMenu
*arg1
= (wxMenu
*) 0 ;
29317 wxMenuItem
*result
;
29318 PyObject
* obj0
= 0 ;
29319 char *kwnames
[] = {
29320 (char *) "self", NULL
29323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29328 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29330 wxPyEndAllowThreads(__tstate
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29334 resultobj
= wxPyMake_wxObject(result
);
29342 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29343 PyObject
*resultobj
;
29344 wxMenu
*arg1
= (wxMenu
*) 0 ;
29346 wxString
*arg3
= 0 ;
29347 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29348 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29349 wxMenuItem
*result
;
29350 bool temp3
= False
;
29351 bool temp4
= False
;
29352 PyObject
* obj0
= 0 ;
29353 PyObject
* obj1
= 0 ;
29354 PyObject
* obj2
= 0 ;
29355 PyObject
* obj3
= 0 ;
29356 char *kwnames
[] = {
29357 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29363 arg2
= (int) SWIG_AsInt(obj1
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29366 arg3
= wxString_in_helper(obj2
);
29367 if (arg3
== NULL
) SWIG_fail
;
29372 arg4
= wxString_in_helper(obj3
);
29373 if (arg4
== NULL
) SWIG_fail
;
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29385 resultobj
= wxPyMake_wxObject(result
);
29409 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29410 PyObject
*resultobj
;
29411 wxMenu
*arg1
= (wxMenu
*) 0 ;
29413 wxString
*arg3
= 0 ;
29414 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29415 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29416 wxMenuItem
*result
;
29417 bool temp3
= False
;
29418 bool temp4
= False
;
29419 PyObject
* obj0
= 0 ;
29420 PyObject
* obj1
= 0 ;
29421 PyObject
* obj2
= 0 ;
29422 PyObject
* obj3
= 0 ;
29423 char *kwnames
[] = {
29424 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29430 arg2
= (int) SWIG_AsInt(obj1
);
29431 if (PyErr_Occurred()) SWIG_fail
;
29433 arg3
= wxString_in_helper(obj2
);
29434 if (arg3
== NULL
) SWIG_fail
;
29439 arg4
= wxString_in_helper(obj3
);
29440 if (arg4
== NULL
) SWIG_fail
;
29445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29446 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= wxPyMake_wxObject(result
);
29476 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29477 PyObject
*resultobj
;
29478 wxMenu
*arg1
= (wxMenu
*) 0 ;
29480 wxString
*arg3
= 0 ;
29481 wxMenu
*arg4
= (wxMenu
*) 0 ;
29482 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29483 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29484 wxMenuItem
*result
;
29485 bool temp3
= False
;
29486 bool temp5
= False
;
29487 PyObject
* obj0
= 0 ;
29488 PyObject
* obj1
= 0 ;
29489 PyObject
* obj2
= 0 ;
29490 PyObject
* obj3
= 0 ;
29491 PyObject
* obj4
= 0 ;
29492 char *kwnames
[] = {
29493 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29499 arg2
= (int) SWIG_AsInt(obj1
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29502 arg3
= wxString_in_helper(obj2
);
29503 if (arg3
== NULL
) SWIG_fail
;
29506 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29510 arg5
= wxString_in_helper(obj4
);
29511 if (arg5
== NULL
) SWIG_fail
;
29516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29517 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29519 wxPyEndAllowThreads(__tstate
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29523 resultobj
= wxPyMake_wxObject(result
);
29547 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
;
29549 wxMenu
*arg1
= (wxMenu
*) 0 ;
29551 wxMenuItem
*result
;
29552 PyObject
* obj0
= 0 ;
29553 PyObject
* obj1
= 0 ;
29554 char *kwnames
[] = {
29555 (char *) "self",(char *) "id", NULL
29558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29561 arg2
= (int) SWIG_AsInt(obj1
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29565 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29567 wxPyEndAllowThreads(__tstate
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29571 resultobj
= wxPyMake_wxObject(result
);
29579 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29580 PyObject
*resultobj
;
29581 wxMenu
*arg1
= (wxMenu
*) 0 ;
29582 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29583 wxMenuItem
*result
;
29584 PyObject
* obj0
= 0 ;
29585 PyObject
* obj1
= 0 ;
29586 char *kwnames
[] = {
29587 (char *) "self",(char *) "item", NULL
29590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29597 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29599 wxPyEndAllowThreads(__tstate
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29603 resultobj
= wxPyMake_wxObject(result
);
29611 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
;
29613 wxMenu
*arg1
= (wxMenu
*) 0 ;
29616 PyObject
* obj0
= 0 ;
29617 PyObject
* obj1
= 0 ;
29618 char *kwnames
[] = {
29619 (char *) "self",(char *) "id", NULL
29622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29625 arg2
= (int) SWIG_AsInt(obj1
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29629 result
= (bool)(arg1
)->Delete(arg2
);
29631 wxPyEndAllowThreads(__tstate
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29643 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
;
29645 wxMenu
*arg1
= (wxMenu
*) 0 ;
29646 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29648 PyObject
* obj0
= 0 ;
29649 PyObject
* obj1
= 0 ;
29650 char *kwnames
[] = {
29651 (char *) "self",(char *) "item", NULL
29654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29661 result
= (bool)(arg1
)->Delete(arg2
);
29663 wxPyEndAllowThreads(__tstate
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29675 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29676 PyObject
*resultobj
;
29677 wxMenu
*arg1
= (wxMenu
*) 0 ;
29678 PyObject
* obj0
= 0 ;
29679 char *kwnames
[] = {
29680 (char *) "self", NULL
29683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29688 wxMenu_Destroy(arg1
);
29690 wxPyEndAllowThreads(__tstate
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29693 Py_INCREF(Py_None
); resultobj
= Py_None
;
29700 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29701 PyObject
*resultobj
;
29702 wxMenu
*arg1
= (wxMenu
*) 0 ;
29705 PyObject
* obj0
= 0 ;
29706 PyObject
* obj1
= 0 ;
29707 char *kwnames
[] = {
29708 (char *) "self",(char *) "id", NULL
29711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29714 arg2
= (int) SWIG_AsInt(obj1
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29718 result
= (bool)(arg1
)->Destroy(arg2
);
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29732 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29733 PyObject
*resultobj
;
29734 wxMenu
*arg1
= (wxMenu
*) 0 ;
29735 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29737 PyObject
* obj0
= 0 ;
29738 PyObject
* obj1
= 0 ;
29739 char *kwnames
[] = {
29740 (char *) "self",(char *) "item", NULL
29743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29750 result
= (bool)(arg1
)->Destroy(arg2
);
29752 wxPyEndAllowThreads(__tstate
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29764 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29765 PyObject
*resultobj
;
29766 wxMenu
*arg1
= (wxMenu
*) 0 ;
29768 PyObject
* obj0
= 0 ;
29769 char *kwnames
[] = {
29770 (char *) "self", NULL
29773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29778 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29780 wxPyEndAllowThreads(__tstate
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29783 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29790 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29791 PyObject
*resultobj
;
29792 wxMenu
*arg1
= (wxMenu
*) 0 ;
29794 PyObject
* obj0
= 0 ;
29795 char *kwnames
[] = {
29796 (char *) "self", NULL
29799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29806 wxPyEndAllowThreads(__tstate
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29809 resultobj
= result
;
29816 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29817 PyObject
*resultobj
;
29818 wxMenu
*arg1
= (wxMenu
*) 0 ;
29819 wxString
*arg2
= 0 ;
29821 bool temp2
= False
;
29822 PyObject
* obj0
= 0 ;
29823 PyObject
* obj1
= 0 ;
29824 char *kwnames
[] = {
29825 (char *) "self",(char *) "item", NULL
29828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29832 arg2
= wxString_in_helper(obj1
);
29833 if (arg2
== NULL
) SWIG_fail
;
29837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29838 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29840 wxPyEndAllowThreads(__tstate
);
29841 if (PyErr_Occurred()) SWIG_fail
;
29843 resultobj
= SWIG_FromInt((int)result
);
29858 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
;
29860 wxMenu
*arg1
= (wxMenu
*) 0 ;
29862 wxMenuItem
*result
;
29863 PyObject
* obj0
= 0 ;
29864 PyObject
* obj1
= 0 ;
29865 char *kwnames
[] = {
29866 (char *) "self",(char *) "id", NULL
29869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29872 arg2
= (int) SWIG_AsInt(obj1
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29876 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29878 wxPyEndAllowThreads(__tstate
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29882 resultobj
= wxPyMake_wxObject(result
);
29890 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29891 PyObject
*resultobj
;
29892 wxMenu
*arg1
= (wxMenu
*) 0 ;
29894 wxMenuItem
*result
;
29895 PyObject
* obj0
= 0 ;
29896 PyObject
* obj1
= 0 ;
29897 char *kwnames
[] = {
29898 (char *) "self",(char *) "position", NULL
29901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29904 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29905 if (PyErr_Occurred()) SWIG_fail
;
29907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29908 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29914 resultobj
= wxPyMake_wxObject(result
);
29922 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29923 PyObject
*resultobj
;
29924 wxMenu
*arg1
= (wxMenu
*) 0 ;
29927 PyObject
* obj0
= 0 ;
29928 PyObject
* obj1
= 0 ;
29929 PyObject
* obj2
= 0 ;
29930 char *kwnames
[] = {
29931 (char *) "self",(char *) "id",(char *) "enable", NULL
29934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29937 arg2
= (int) SWIG_AsInt(obj1
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29939 arg3
= (bool) SWIG_AsBool(obj2
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 (arg1
)->Enable(arg2
,arg3
);
29945 wxPyEndAllowThreads(__tstate
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29948 Py_INCREF(Py_None
); resultobj
= Py_None
;
29955 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29956 PyObject
*resultobj
;
29957 wxMenu
*arg1
= (wxMenu
*) 0 ;
29960 PyObject
* obj0
= 0 ;
29961 PyObject
* obj1
= 0 ;
29962 char *kwnames
[] = {
29963 (char *) "self",(char *) "id", NULL
29966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29969 arg2
= (int) SWIG_AsInt(obj1
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
29975 wxPyEndAllowThreads(__tstate
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29987 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
;
29989 wxMenu
*arg1
= (wxMenu
*) 0 ;
29992 PyObject
* obj0
= 0 ;
29993 PyObject
* obj1
= 0 ;
29994 PyObject
* obj2
= 0 ;
29995 char *kwnames
[] = {
29996 (char *) "self",(char *) "id",(char *) "check", NULL
29999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30002 arg2
= (int) SWIG_AsInt(obj1
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30004 arg3
= (bool) SWIG_AsBool(obj2
);
30005 if (PyErr_Occurred()) SWIG_fail
;
30007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30008 (arg1
)->Check(arg2
,arg3
);
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 Py_INCREF(Py_None
); resultobj
= Py_None
;
30020 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30021 PyObject
*resultobj
;
30022 wxMenu
*arg1
= (wxMenu
*) 0 ;
30025 PyObject
* obj0
= 0 ;
30026 PyObject
* obj1
= 0 ;
30027 char *kwnames
[] = {
30028 (char *) "self",(char *) "id", NULL
30031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30034 arg2
= (int) SWIG_AsInt(obj1
);
30035 if (PyErr_Occurred()) SWIG_fail
;
30037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30052 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30053 PyObject
*resultobj
;
30054 wxMenu
*arg1
= (wxMenu
*) 0 ;
30056 wxString
*arg3
= 0 ;
30057 bool temp3
= False
;
30058 PyObject
* obj0
= 0 ;
30059 PyObject
* obj1
= 0 ;
30060 PyObject
* obj2
= 0 ;
30061 char *kwnames
[] = {
30062 (char *) "self",(char *) "id",(char *) "label", NULL
30065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30068 arg2
= (int) SWIG_AsInt(obj1
);
30069 if (PyErr_Occurred()) SWIG_fail
;
30071 arg3
= wxString_in_helper(obj2
);
30072 if (arg3
== NULL
) SWIG_fail
;
30076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30077 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30079 wxPyEndAllowThreads(__tstate
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30082 Py_INCREF(Py_None
); resultobj
= Py_None
;
30097 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30098 PyObject
*resultobj
;
30099 wxMenu
*arg1
= (wxMenu
*) 0 ;
30102 PyObject
* obj0
= 0 ;
30103 PyObject
* obj1
= 0 ;
30104 char *kwnames
[] = {
30105 (char *) "self",(char *) "id", NULL
30108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30111 arg2
= (int) SWIG_AsInt(obj1
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30115 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30117 wxPyEndAllowThreads(__tstate
);
30118 if (PyErr_Occurred()) SWIG_fail
;
30122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30133 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30134 PyObject
*resultobj
;
30135 wxMenu
*arg1
= (wxMenu
*) 0 ;
30137 wxString
*arg3
= 0 ;
30138 bool temp3
= False
;
30139 PyObject
* obj0
= 0 ;
30140 PyObject
* obj1
= 0 ;
30141 PyObject
* obj2
= 0 ;
30142 char *kwnames
[] = {
30143 (char *) "self",(char *) "id",(char *) "helpString", NULL
30146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30149 arg2
= (int) SWIG_AsInt(obj1
);
30150 if (PyErr_Occurred()) SWIG_fail
;
30152 arg3
= wxString_in_helper(obj2
);
30153 if (arg3
== NULL
) SWIG_fail
;
30157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30160 wxPyEndAllowThreads(__tstate
);
30161 if (PyErr_Occurred()) SWIG_fail
;
30163 Py_INCREF(Py_None
); resultobj
= Py_None
;
30178 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30179 PyObject
*resultobj
;
30180 wxMenu
*arg1
= (wxMenu
*) 0 ;
30183 PyObject
* obj0
= 0 ;
30184 PyObject
* obj1
= 0 ;
30185 char *kwnames
[] = {
30186 (char *) "self",(char *) "id", NULL
30189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30192 arg2
= (int) SWIG_AsInt(obj1
);
30193 if (PyErr_Occurred()) SWIG_fail
;
30195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30196 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30214 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30215 PyObject
*resultobj
;
30216 wxMenu
*arg1
= (wxMenu
*) 0 ;
30217 wxString
*arg2
= 0 ;
30218 bool temp2
= False
;
30219 PyObject
* obj0
= 0 ;
30220 PyObject
* obj1
= 0 ;
30221 char *kwnames
[] = {
30222 (char *) "self",(char *) "title", NULL
30225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30229 arg2
= wxString_in_helper(obj1
);
30230 if (arg2
== NULL
) SWIG_fail
;
30234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30235 (arg1
)->SetTitle((wxString
const &)*arg2
);
30237 wxPyEndAllowThreads(__tstate
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30240 Py_INCREF(Py_None
); resultobj
= Py_None
;
30255 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30256 PyObject
*resultobj
;
30257 wxMenu
*arg1
= (wxMenu
*) 0 ;
30259 PyObject
* obj0
= 0 ;
30260 char *kwnames
[] = {
30261 (char *) "self", NULL
30264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30269 result
= ((wxMenu
const *)arg1
)->GetTitle();
30271 wxPyEndAllowThreads(__tstate
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30287 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
;
30289 wxMenu
*arg1
= (wxMenu
*) 0 ;
30290 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30291 PyObject
* obj0
= 0 ;
30292 PyObject
* obj1
= 0 ;
30293 char *kwnames
[] = {
30294 (char *) "self",(char *) "handler", NULL
30297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30304 (arg1
)->SetEventHandler(arg2
);
30306 wxPyEndAllowThreads(__tstate
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30309 Py_INCREF(Py_None
); resultobj
= Py_None
;
30316 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30317 PyObject
*resultobj
;
30318 wxMenu
*arg1
= (wxMenu
*) 0 ;
30319 wxEvtHandler
*result
;
30320 PyObject
* obj0
= 0 ;
30321 char *kwnames
[] = {
30322 (char *) "self", NULL
30325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",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
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30332 wxPyEndAllowThreads(__tstate
);
30333 if (PyErr_Occurred()) SWIG_fail
;
30336 resultobj
= wxPyMake_wxObject(result
);
30344 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30345 PyObject
*resultobj
;
30346 wxMenu
*arg1
= (wxMenu
*) 0 ;
30347 wxWindow
*arg2
= (wxWindow
*) 0 ;
30348 PyObject
* obj0
= 0 ;
30349 PyObject
* obj1
= 0 ;
30350 char *kwnames
[] = {
30351 (char *) "self",(char *) "win", NULL
30354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 (arg1
)->SetInvokingWindow(arg2
);
30363 wxPyEndAllowThreads(__tstate
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30366 Py_INCREF(Py_None
); resultobj
= Py_None
;
30373 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30374 PyObject
*resultobj
;
30375 wxMenu
*arg1
= (wxMenu
*) 0 ;
30377 PyObject
* obj0
= 0 ;
30378 char *kwnames
[] = {
30379 (char *) "self", NULL
30382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30393 resultobj
= wxPyMake_wxObject(result
);
30401 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30402 PyObject
*resultobj
;
30403 wxMenu
*arg1
= (wxMenu
*) 0 ;
30405 PyObject
* obj0
= 0 ;
30406 char *kwnames
[] = {
30407 (char *) "self", NULL
30410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30415 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30417 wxPyEndAllowThreads(__tstate
);
30418 if (PyErr_Occurred()) SWIG_fail
;
30420 resultobj
= SWIG_FromLong((long)result
);
30427 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30428 PyObject
*resultobj
;
30429 wxMenu
*arg1
= (wxMenu
*) 0 ;
30430 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30431 PyObject
* obj0
= 0 ;
30432 PyObject
* obj1
= 0 ;
30433 char *kwnames
[] = {
30434 (char *) "self",(char *) "source", NULL
30437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->UpdateUI(arg2
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 Py_INCREF(Py_None
); resultobj
= Py_None
;
30458 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30459 PyObject
*resultobj
;
30460 wxMenu
*arg1
= (wxMenu
*) 0 ;
30462 PyObject
* obj0
= 0 ;
30463 char *kwnames
[] = {
30464 (char *) "self", NULL
30467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30478 resultobj
= wxPyMake_wxObject(result
);
30486 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
;
30488 wxMenu
*arg1
= (wxMenu
*) 0 ;
30489 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30490 PyObject
* obj0
= 0 ;
30491 PyObject
* obj1
= 0 ;
30492 char *kwnames
[] = {
30493 (char *) "self",(char *) "menubar", NULL
30496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 (arg1
)->Attach(arg2
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 Py_INCREF(Py_None
); resultobj
= Py_None
;
30515 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
;
30517 wxMenu
*arg1
= (wxMenu
*) 0 ;
30518 PyObject
* obj0
= 0 ;
30519 char *kwnames
[] = {
30520 (char *) "self", NULL
30523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 Py_INCREF(Py_None
); resultobj
= Py_None
;
30540 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30541 PyObject
*resultobj
;
30542 wxMenu
*arg1
= (wxMenu
*) 0 ;
30544 PyObject
* obj0
= 0 ;
30545 char *kwnames
[] = {
30546 (char *) "self", NULL
30549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30554 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30556 wxPyEndAllowThreads(__tstate
);
30557 if (PyErr_Occurred()) SWIG_fail
;
30560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30568 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30569 PyObject
*resultobj
;
30570 wxMenu
*arg1
= (wxMenu
*) 0 ;
30571 wxMenu
*arg2
= (wxMenu
*) 0 ;
30572 PyObject
* obj0
= 0 ;
30573 PyObject
* obj1
= 0 ;
30574 char *kwnames
[] = {
30575 (char *) "self",(char *) "parent", NULL
30578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30585 (arg1
)->SetParent(arg2
);
30587 wxPyEndAllowThreads(__tstate
);
30588 if (PyErr_Occurred()) SWIG_fail
;
30590 Py_INCREF(Py_None
); resultobj
= Py_None
;
30597 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30598 PyObject
*resultobj
;
30599 wxMenu
*arg1
= (wxMenu
*) 0 ;
30601 PyObject
* obj0
= 0 ;
30602 char *kwnames
[] = {
30603 (char *) "self", NULL
30606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30611 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30613 wxPyEndAllowThreads(__tstate
);
30614 if (PyErr_Occurred()) SWIG_fail
;
30617 resultobj
= wxPyMake_wxObject(result
);
30625 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30628 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30630 return Py_BuildValue((char *)"");
30632 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
;
30634 long arg1
= (long) 0 ;
30636 PyObject
* obj0
= 0 ;
30637 char *kwnames
[] = {
30638 (char *) "style", NULL
30641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30643 arg1
= (long) SWIG_AsLong(obj0
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30647 if (!wxPyCheckForApp()) SWIG_fail
;
30648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30649 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30651 wxPyEndAllowThreads(__tstate
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30655 resultobj
= wxPyMake_wxObject(result
);
30663 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30664 PyObject
*resultobj
;
30665 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30666 wxMenu
*arg2
= (wxMenu
*) 0 ;
30667 wxString
*arg3
= 0 ;
30669 bool temp3
= False
;
30670 PyObject
* obj0
= 0 ;
30671 PyObject
* obj1
= 0 ;
30672 PyObject
* obj2
= 0 ;
30673 char *kwnames
[] = {
30674 (char *) "self",(char *) "menu",(char *) "title", NULL
30677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30683 arg3
= wxString_in_helper(obj2
);
30684 if (arg3
== NULL
) SWIG_fail
;
30688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30689 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30691 wxPyEndAllowThreads(__tstate
);
30692 if (PyErr_Occurred()) SWIG_fail
;
30695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30711 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30712 PyObject
*resultobj
;
30713 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30715 wxMenu
*arg3
= (wxMenu
*) 0 ;
30716 wxString
*arg4
= 0 ;
30718 bool temp4
= False
;
30719 PyObject
* obj0
= 0 ;
30720 PyObject
* obj1
= 0 ;
30721 PyObject
* obj2
= 0 ;
30722 PyObject
* obj3
= 0 ;
30723 char *kwnames
[] = {
30724 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30730 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30731 if (PyErr_Occurred()) SWIG_fail
;
30732 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30735 arg4
= wxString_in_helper(obj3
);
30736 if (arg4
== NULL
) SWIG_fail
;
30740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30741 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30743 wxPyEndAllowThreads(__tstate
);
30744 if (PyErr_Occurred()) SWIG_fail
;
30747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30763 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30764 PyObject
*resultobj
;
30765 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30767 PyObject
* obj0
= 0 ;
30768 char *kwnames
[] = {
30769 (char *) "self", NULL
30772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30777 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30779 wxPyEndAllowThreads(__tstate
);
30780 if (PyErr_Occurred()) SWIG_fail
;
30782 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30789 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
;
30791 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30794 PyObject
* obj0
= 0 ;
30795 PyObject
* obj1
= 0 ;
30796 char *kwnames
[] = {
30797 (char *) "self",(char *) "pos", NULL
30800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30803 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30804 if (PyErr_Occurred()) SWIG_fail
;
30806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30807 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30809 wxPyEndAllowThreads(__tstate
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= wxPyMake_wxObject(result
);
30821 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30822 PyObject
*resultobj
;
30823 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30825 wxMenu
*arg3
= (wxMenu
*) 0 ;
30826 wxString
*arg4
= 0 ;
30828 bool temp4
= False
;
30829 PyObject
* obj0
= 0 ;
30830 PyObject
* obj1
= 0 ;
30831 PyObject
* obj2
= 0 ;
30832 PyObject
* obj3
= 0 ;
30833 char *kwnames
[] = {
30834 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30840 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30841 if (PyErr_Occurred()) SWIG_fail
;
30842 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30845 arg4
= wxString_in_helper(obj3
);
30846 if (arg4
== NULL
) SWIG_fail
;
30850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30851 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30853 wxPyEndAllowThreads(__tstate
);
30854 if (PyErr_Occurred()) SWIG_fail
;
30857 resultobj
= wxPyMake_wxObject(result
);
30873 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30874 PyObject
*resultobj
;
30875 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30878 PyObject
* obj0
= 0 ;
30879 PyObject
* obj1
= 0 ;
30880 char *kwnames
[] = {
30881 (char *) "self",(char *) "pos", NULL
30884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30887 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30888 if (PyErr_Occurred()) SWIG_fail
;
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30897 resultobj
= wxPyMake_wxObject(result
);
30905 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30906 PyObject
*resultobj
;
30907 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30910 PyObject
* obj0
= 0 ;
30911 PyObject
* obj1
= 0 ;
30912 PyObject
* obj2
= 0 ;
30913 char *kwnames
[] = {
30914 (char *) "self",(char *) "pos",(char *) "enable", NULL
30917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30920 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30922 arg3
= (bool) SWIG_AsBool(obj2
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30926 (arg1
)->EnableTop(arg2
,arg3
);
30928 wxPyEndAllowThreads(__tstate
);
30929 if (PyErr_Occurred()) SWIG_fail
;
30931 Py_INCREF(Py_None
); resultobj
= Py_None
;
30938 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30939 PyObject
*resultobj
;
30940 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30943 PyObject
* obj0
= 0 ;
30944 PyObject
* obj1
= 0 ;
30945 char *kwnames
[] = {
30946 (char *) "self",(char *) "pos", NULL
30949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30952 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30956 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
30958 wxPyEndAllowThreads(__tstate
);
30959 if (PyErr_Occurred()) SWIG_fail
;
30962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30970 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30971 PyObject
*resultobj
;
30972 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30974 wxString
*arg3
= 0 ;
30975 bool temp3
= False
;
30976 PyObject
* obj0
= 0 ;
30977 PyObject
* obj1
= 0 ;
30978 PyObject
* obj2
= 0 ;
30979 char *kwnames
[] = {
30980 (char *) "self",(char *) "pos",(char *) "label", NULL
30983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30986 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30987 if (PyErr_Occurred()) SWIG_fail
;
30989 arg3
= wxString_in_helper(obj2
);
30990 if (arg3
== NULL
) SWIG_fail
;
30994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30995 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
30997 wxPyEndAllowThreads(__tstate
);
30998 if (PyErr_Occurred()) SWIG_fail
;
31000 Py_INCREF(Py_None
); resultobj
= Py_None
;
31015 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31016 PyObject
*resultobj
;
31017 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31020 PyObject
* obj0
= 0 ;
31021 PyObject
* obj1
= 0 ;
31022 char *kwnames
[] = {
31023 (char *) "self",(char *) "pos", NULL
31026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31029 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31035 wxPyEndAllowThreads(__tstate
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31051 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31052 PyObject
*resultobj
;
31053 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31054 wxString
*arg2
= 0 ;
31055 wxString
*arg3
= 0 ;
31057 bool temp2
= False
;
31058 bool temp3
= False
;
31059 PyObject
* obj0
= 0 ;
31060 PyObject
* obj1
= 0 ;
31061 PyObject
* obj2
= 0 ;
31062 char *kwnames
[] = {
31063 (char *) "self",(char *) "menu",(char *) "item", NULL
31066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31070 arg2
= wxString_in_helper(obj1
);
31071 if (arg2
== NULL
) SWIG_fail
;
31075 arg3
= wxString_in_helper(obj2
);
31076 if (arg3
== NULL
) SWIG_fail
;
31080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31081 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31083 wxPyEndAllowThreads(__tstate
);
31084 if (PyErr_Occurred()) SWIG_fail
;
31086 resultobj
= SWIG_FromInt((int)result
);
31109 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31110 PyObject
*resultobj
;
31111 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31113 wxMenuItem
*result
;
31114 PyObject
* obj0
= 0 ;
31115 PyObject
* obj1
= 0 ;
31116 char *kwnames
[] = {
31117 (char *) "self",(char *) "id", NULL
31120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31123 arg2
= (int) SWIG_AsInt(obj1
);
31124 if (PyErr_Occurred()) SWIG_fail
;
31126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31127 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31129 wxPyEndAllowThreads(__tstate
);
31130 if (PyErr_Occurred()) SWIG_fail
;
31133 resultobj
= wxPyMake_wxObject(result
);
31141 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31142 PyObject
*resultobj
;
31143 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31144 wxString
*arg2
= 0 ;
31146 bool temp2
= False
;
31147 PyObject
* obj0
= 0 ;
31148 PyObject
* obj1
= 0 ;
31149 char *kwnames
[] = {
31150 (char *) "self",(char *) "title", NULL
31153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31157 arg2
= wxString_in_helper(obj1
);
31158 if (arg2
== NULL
) SWIG_fail
;
31162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31163 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31165 wxPyEndAllowThreads(__tstate
);
31166 if (PyErr_Occurred()) SWIG_fail
;
31168 resultobj
= SWIG_FromInt((int)result
);
31183 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31184 PyObject
*resultobj
;
31185 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31188 PyObject
* obj0
= 0 ;
31189 PyObject
* obj1
= 0 ;
31190 PyObject
* obj2
= 0 ;
31191 char *kwnames
[] = {
31192 (char *) "self",(char *) "id",(char *) "enable", NULL
31195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31198 arg2
= (int) SWIG_AsInt(obj1
);
31199 if (PyErr_Occurred()) SWIG_fail
;
31200 arg3
= (bool) SWIG_AsBool(obj2
);
31201 if (PyErr_Occurred()) SWIG_fail
;
31203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31204 (arg1
)->Enable(arg2
,arg3
);
31206 wxPyEndAllowThreads(__tstate
);
31207 if (PyErr_Occurred()) SWIG_fail
;
31209 Py_INCREF(Py_None
); resultobj
= Py_None
;
31216 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31217 PyObject
*resultobj
;
31218 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31221 PyObject
* obj0
= 0 ;
31222 PyObject
* obj1
= 0 ;
31223 PyObject
* obj2
= 0 ;
31224 char *kwnames
[] = {
31225 (char *) "self",(char *) "id",(char *) "check", NULL
31228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31231 arg2
= (int) SWIG_AsInt(obj1
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31233 arg3
= (bool) SWIG_AsBool(obj2
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31237 (arg1
)->Check(arg2
,arg3
);
31239 wxPyEndAllowThreads(__tstate
);
31240 if (PyErr_Occurred()) SWIG_fail
;
31242 Py_INCREF(Py_None
); resultobj
= Py_None
;
31249 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31250 PyObject
*resultobj
;
31251 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31254 PyObject
* obj0
= 0 ;
31255 PyObject
* obj1
= 0 ;
31256 char *kwnames
[] = {
31257 (char *) "self",(char *) "id", NULL
31260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31263 arg2
= (int) SWIG_AsInt(obj1
);
31264 if (PyErr_Occurred()) SWIG_fail
;
31266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31267 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31269 wxPyEndAllowThreads(__tstate
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31281 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31282 PyObject
*resultobj
;
31283 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31286 PyObject
* obj0
= 0 ;
31287 PyObject
* obj1
= 0 ;
31288 char *kwnames
[] = {
31289 (char *) "self",(char *) "id", NULL
31292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31295 arg2
= (int) SWIG_AsInt(obj1
);
31296 if (PyErr_Occurred()) SWIG_fail
;
31298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31299 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31301 wxPyEndAllowThreads(__tstate
);
31302 if (PyErr_Occurred()) SWIG_fail
;
31305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31313 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31314 PyObject
*resultobj
;
31315 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31317 wxString
*arg3
= 0 ;
31318 bool temp3
= False
;
31319 PyObject
* obj0
= 0 ;
31320 PyObject
* obj1
= 0 ;
31321 PyObject
* obj2
= 0 ;
31322 char *kwnames
[] = {
31323 (char *) "self",(char *) "id",(char *) "label", NULL
31326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31329 arg2
= (int) SWIG_AsInt(obj1
);
31330 if (PyErr_Occurred()) SWIG_fail
;
31332 arg3
= wxString_in_helper(obj2
);
31333 if (arg3
== NULL
) SWIG_fail
;
31337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31338 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 Py_INCREF(Py_None
); resultobj
= Py_None
;
31358 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
;
31360 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31363 PyObject
* obj0
= 0 ;
31364 PyObject
* obj1
= 0 ;
31365 char *kwnames
[] = {
31366 (char *) "self",(char *) "id", NULL
31369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31372 arg2
= (int) SWIG_AsInt(obj1
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31376 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31378 wxPyEndAllowThreads(__tstate
);
31379 if (PyErr_Occurred()) SWIG_fail
;
31383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31394 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31395 PyObject
*resultobj
;
31396 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31398 wxString
*arg3
= 0 ;
31399 bool temp3
= False
;
31400 PyObject
* obj0
= 0 ;
31401 PyObject
* obj1
= 0 ;
31402 PyObject
* obj2
= 0 ;
31403 char *kwnames
[] = {
31404 (char *) "self",(char *) "id",(char *) "helpString", NULL
31407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31410 arg2
= (int) SWIG_AsInt(obj1
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31413 arg3
= wxString_in_helper(obj2
);
31414 if (arg3
== NULL
) SWIG_fail
;
31418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31419 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31421 wxPyEndAllowThreads(__tstate
);
31422 if (PyErr_Occurred()) SWIG_fail
;
31424 Py_INCREF(Py_None
); resultobj
= Py_None
;
31439 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31440 PyObject
*resultobj
;
31441 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31444 PyObject
* obj0
= 0 ;
31445 PyObject
* obj1
= 0 ;
31446 char *kwnames
[] = {
31447 (char *) "self",(char *) "id", NULL
31450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31453 arg2
= (int) SWIG_AsInt(obj1
);
31454 if (PyErr_Occurred()) SWIG_fail
;
31456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31457 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31459 wxPyEndAllowThreads(__tstate
);
31460 if (PyErr_Occurred()) SWIG_fail
;
31464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31475 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31476 PyObject
*resultobj
;
31477 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31479 PyObject
* obj0
= 0 ;
31480 char *kwnames
[] = {
31481 (char *) "self", NULL
31484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31489 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31491 wxPyEndAllowThreads(__tstate
);
31492 if (PyErr_Occurred()) SWIG_fail
;
31495 resultobj
= wxPyMake_wxObject(result
);
31503 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31504 PyObject
*resultobj
;
31505 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31507 PyObject
* obj0
= 0 ;
31508 char *kwnames
[] = {
31509 (char *) "self", NULL
31512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31517 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31519 wxPyEndAllowThreads(__tstate
);
31520 if (PyErr_Occurred()) SWIG_fail
;
31523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31531 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31532 PyObject
*resultobj
;
31533 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31534 wxFrame
*arg2
= (wxFrame
*) 0 ;
31535 PyObject
* obj0
= 0 ;
31536 PyObject
* obj1
= 0 ;
31537 char *kwnames
[] = {
31538 (char *) "self",(char *) "frame", NULL
31541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31548 (arg1
)->Attach(arg2
);
31550 wxPyEndAllowThreads(__tstate
);
31551 if (PyErr_Occurred()) SWIG_fail
;
31553 Py_INCREF(Py_None
); resultobj
= Py_None
;
31560 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31561 PyObject
*resultobj
;
31562 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31563 PyObject
* obj0
= 0 ;
31564 char *kwnames
[] = {
31565 (char *) "self", NULL
31568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31575 wxPyEndAllowThreads(__tstate
);
31576 if (PyErr_Occurred()) SWIG_fail
;
31578 Py_INCREF(Py_None
); resultobj
= Py_None
;
31585 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31588 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31590 return Py_BuildValue((char *)"");
31592 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31593 PyObject
*resultobj
;
31594 wxMenu
*arg1
= (wxMenu
*) NULL
;
31595 int arg2
= (int) wxID_ANY
;
31596 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31597 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31598 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31599 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31600 int arg5
= (int) wxITEM_NORMAL
;
31601 wxMenu
*arg6
= (wxMenu
*) NULL
;
31602 wxMenuItem
*result
;
31603 bool temp3
= False
;
31604 bool temp4
= False
;
31605 PyObject
* obj0
= 0 ;
31606 PyObject
* obj1
= 0 ;
31607 PyObject
* obj2
= 0 ;
31608 PyObject
* obj3
= 0 ;
31609 PyObject
* obj4
= 0 ;
31610 PyObject
* obj5
= 0 ;
31611 char *kwnames
[] = {
31612 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31621 arg2
= (int) SWIG_AsInt(obj1
);
31622 if (PyErr_Occurred()) SWIG_fail
;
31626 arg3
= wxString_in_helper(obj2
);
31627 if (arg3
== NULL
) SWIG_fail
;
31633 arg4
= wxString_in_helper(obj3
);
31634 if (arg4
== NULL
) SWIG_fail
;
31639 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31640 if (PyErr_Occurred()) SWIG_fail
;
31643 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31648 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31650 wxPyEndAllowThreads(__tstate
);
31651 if (PyErr_Occurred()) SWIG_fail
;
31654 resultobj
= wxPyMake_wxObject(result
);
31678 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31679 PyObject
*resultobj
;
31680 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31682 PyObject
* obj0
= 0 ;
31683 char *kwnames
[] = {
31684 (char *) "self", NULL
31687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31692 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31694 wxPyEndAllowThreads(__tstate
);
31695 if (PyErr_Occurred()) SWIG_fail
;
31698 resultobj
= wxPyMake_wxObject(result
);
31706 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31707 PyObject
*resultobj
;
31708 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31709 wxMenu
*arg2
= (wxMenu
*) 0 ;
31710 PyObject
* obj0
= 0 ;
31711 PyObject
* obj1
= 0 ;
31712 char *kwnames
[] = {
31713 (char *) "self",(char *) "menu", NULL
31716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31723 (arg1
)->SetMenu(arg2
);
31725 wxPyEndAllowThreads(__tstate
);
31726 if (PyErr_Occurred()) SWIG_fail
;
31728 Py_INCREF(Py_None
); resultobj
= Py_None
;
31735 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31736 PyObject
*resultobj
;
31737 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31739 PyObject
* obj0
= 0 ;
31740 PyObject
* obj1
= 0 ;
31741 char *kwnames
[] = {
31742 (char *) "self",(char *) "id", NULL
31745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31748 arg2
= (int) SWIG_AsInt(obj1
);
31749 if (PyErr_Occurred()) SWIG_fail
;
31751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 (arg1
)->SetId(arg2
);
31754 wxPyEndAllowThreads(__tstate
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31757 Py_INCREF(Py_None
); resultobj
= Py_None
;
31764 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31765 PyObject
*resultobj
;
31766 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31768 PyObject
* obj0
= 0 ;
31769 char *kwnames
[] = {
31770 (char *) "self", NULL
31773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31778 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31780 wxPyEndAllowThreads(__tstate
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31783 resultobj
= SWIG_FromInt((int)result
);
31790 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31791 PyObject
*resultobj
;
31792 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31794 PyObject
* obj0
= 0 ;
31795 char *kwnames
[] = {
31796 (char *) "self", NULL
31799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31804 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31806 wxPyEndAllowThreads(__tstate
);
31807 if (PyErr_Occurred()) SWIG_fail
;
31810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31818 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31819 PyObject
*resultobj
;
31820 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31821 wxString
*arg2
= 0 ;
31822 bool temp2
= False
;
31823 PyObject
* obj0
= 0 ;
31824 PyObject
* obj1
= 0 ;
31825 char *kwnames
[] = {
31826 (char *) "self",(char *) "str", NULL
31829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31833 arg2
= wxString_in_helper(obj1
);
31834 if (arg2
== NULL
) SWIG_fail
;
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31839 (arg1
)->SetText((wxString
const &)*arg2
);
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 Py_INCREF(Py_None
); resultobj
= Py_None
;
31859 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31860 PyObject
*resultobj
;
31861 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31863 PyObject
* obj0
= 0 ;
31864 char *kwnames
[] = {
31865 (char *) "self", NULL
31868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31873 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31875 wxPyEndAllowThreads(__tstate
);
31876 if (PyErr_Occurred()) SWIG_fail
;
31880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31891 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31892 PyObject
*resultobj
;
31893 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31895 PyObject
* obj0
= 0 ;
31896 char *kwnames
[] = {
31897 (char *) "self", NULL
31900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31906 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31907 result
= (wxString
*) &_result_ref
;
31910 wxPyEndAllowThreads(__tstate
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31915 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31917 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31926 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31927 PyObject
*resultobj
;
31928 wxString
*arg1
= 0 ;
31930 bool temp1
= False
;
31931 PyObject
* obj0
= 0 ;
31932 char *kwnames
[] = {
31933 (char *) "text", NULL
31936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31938 arg1
= wxString_in_helper(obj0
);
31939 if (arg1
== NULL
) SWIG_fail
;
31943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31944 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
31946 wxPyEndAllowThreads(__tstate
);
31947 if (PyErr_Occurred()) SWIG_fail
;
31951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31970 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31971 PyObject
*resultobj
;
31972 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31974 PyObject
* obj0
= 0 ;
31975 char *kwnames
[] = {
31976 (char *) "self", NULL
31979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
31980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31984 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
31986 wxPyEndAllowThreads(__tstate
);
31987 if (PyErr_Occurred()) SWIG_fail
;
31989 resultobj
= SWIG_FromInt((int)result
);
31996 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31997 PyObject
*resultobj
;
31998 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32000 PyObject
* obj0
= 0 ;
32001 PyObject
* obj1
= 0 ;
32002 char *kwnames
[] = {
32003 (char *) "self",(char *) "kind", NULL
32006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32009 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32013 (arg1
)->SetKind((wxItemKind
)arg2
);
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32018 Py_INCREF(Py_None
); resultobj
= Py_None
;
32025 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32026 PyObject
*resultobj
;
32027 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32029 PyObject
* obj0
= 0 ;
32030 PyObject
* obj1
= 0 ;
32031 char *kwnames
[] = {
32032 (char *) "self",(char *) "checkable", NULL
32035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32038 arg2
= (bool) SWIG_AsBool(obj1
);
32039 if (PyErr_Occurred()) SWIG_fail
;
32041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32042 (arg1
)->SetCheckable(arg2
);
32044 wxPyEndAllowThreads(__tstate
);
32045 if (PyErr_Occurred()) SWIG_fail
;
32047 Py_INCREF(Py_None
); resultobj
= Py_None
;
32054 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32055 PyObject
*resultobj
;
32056 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32058 PyObject
* obj0
= 0 ;
32059 char *kwnames
[] = {
32060 (char *) "self", NULL
32063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32068 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32070 wxPyEndAllowThreads(__tstate
);
32071 if (PyErr_Occurred()) SWIG_fail
;
32074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32082 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32083 PyObject
*resultobj
;
32084 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32086 PyObject
* obj0
= 0 ;
32087 char *kwnames
[] = {
32088 (char *) "self", NULL
32091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32096 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32098 wxPyEndAllowThreads(__tstate
);
32099 if (PyErr_Occurred()) SWIG_fail
;
32102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32110 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32111 PyObject
*resultobj
;
32112 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32113 wxMenu
*arg2
= (wxMenu
*) 0 ;
32114 PyObject
* obj0
= 0 ;
32115 PyObject
* obj1
= 0 ;
32116 char *kwnames
[] = {
32117 (char *) "self",(char *) "menu", NULL
32120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32127 (arg1
)->SetSubMenu(arg2
);
32129 wxPyEndAllowThreads(__tstate
);
32130 if (PyErr_Occurred()) SWIG_fail
;
32132 Py_INCREF(Py_None
); resultobj
= Py_None
;
32139 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32140 PyObject
*resultobj
;
32141 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32143 PyObject
* obj0
= 0 ;
32144 char *kwnames
[] = {
32145 (char *) "self", NULL
32148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32153 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32155 wxPyEndAllowThreads(__tstate
);
32156 if (PyErr_Occurred()) SWIG_fail
;
32159 resultobj
= wxPyMake_wxObject(result
);
32167 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32168 PyObject
*resultobj
;
32169 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32170 bool arg2
= (bool) True
;
32171 PyObject
* obj0
= 0 ;
32172 PyObject
* obj1
= 0 ;
32173 char *kwnames
[] = {
32174 (char *) "self",(char *) "enable", NULL
32177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32181 arg2
= (bool) SWIG_AsBool(obj1
);
32182 if (PyErr_Occurred()) SWIG_fail
;
32185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32186 (arg1
)->Enable(arg2
);
32188 wxPyEndAllowThreads(__tstate
);
32189 if (PyErr_Occurred()) SWIG_fail
;
32191 Py_INCREF(Py_None
); resultobj
= Py_None
;
32198 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32199 PyObject
*resultobj
;
32200 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32202 PyObject
* obj0
= 0 ;
32203 char *kwnames
[] = {
32204 (char *) "self", NULL
32207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32212 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32214 wxPyEndAllowThreads(__tstate
);
32215 if (PyErr_Occurred()) SWIG_fail
;
32218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32226 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32227 PyObject
*resultobj
;
32228 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32229 bool arg2
= (bool) True
;
32230 PyObject
* obj0
= 0 ;
32231 PyObject
* obj1
= 0 ;
32232 char *kwnames
[] = {
32233 (char *) "self",(char *) "check", NULL
32236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32240 arg2
= (bool) SWIG_AsBool(obj1
);
32241 if (PyErr_Occurred()) SWIG_fail
;
32244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32245 (arg1
)->Check(arg2
);
32247 wxPyEndAllowThreads(__tstate
);
32248 if (PyErr_Occurred()) SWIG_fail
;
32250 Py_INCREF(Py_None
); resultobj
= Py_None
;
32257 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32258 PyObject
*resultobj
;
32259 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32261 PyObject
* obj0
= 0 ;
32262 char *kwnames
[] = {
32263 (char *) "self", NULL
32266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32271 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32273 wxPyEndAllowThreads(__tstate
);
32274 if (PyErr_Occurred()) SWIG_fail
;
32277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32285 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32286 PyObject
*resultobj
;
32287 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32288 PyObject
* obj0
= 0 ;
32289 char *kwnames
[] = {
32290 (char *) "self", NULL
32293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32300 wxPyEndAllowThreads(__tstate
);
32301 if (PyErr_Occurred()) SWIG_fail
;
32303 Py_INCREF(Py_None
); resultobj
= Py_None
;
32310 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32311 PyObject
*resultobj
;
32312 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32313 wxString
*arg2
= 0 ;
32314 bool temp2
= False
;
32315 PyObject
* obj0
= 0 ;
32316 PyObject
* obj1
= 0 ;
32317 char *kwnames
[] = {
32318 (char *) "self",(char *) "str", NULL
32321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32325 arg2
= wxString_in_helper(obj1
);
32326 if (arg2
== NULL
) SWIG_fail
;
32330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32331 (arg1
)->SetHelp((wxString
const &)*arg2
);
32333 wxPyEndAllowThreads(__tstate
);
32334 if (PyErr_Occurred()) SWIG_fail
;
32336 Py_INCREF(Py_None
); resultobj
= Py_None
;
32351 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32352 PyObject
*resultobj
;
32353 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32355 PyObject
* obj0
= 0 ;
32356 char *kwnames
[] = {
32357 (char *) "self", NULL
32360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32366 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32367 result
= (wxString
*) &_result_ref
;
32370 wxPyEndAllowThreads(__tstate
);
32371 if (PyErr_Occurred()) SWIG_fail
;
32375 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32377 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32386 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32387 PyObject
*resultobj
;
32388 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32389 wxAcceleratorEntry
*result
;
32390 PyObject
* obj0
= 0 ;
32391 char *kwnames
[] = {
32392 (char *) "self", NULL
32395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32400 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32402 wxPyEndAllowThreads(__tstate
);
32403 if (PyErr_Occurred()) SWIG_fail
;
32405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32412 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
;
32414 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32415 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32416 PyObject
* obj0
= 0 ;
32417 PyObject
* obj1
= 0 ;
32418 char *kwnames
[] = {
32419 (char *) "self",(char *) "accel", NULL
32422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32429 (arg1
)->SetAccel(arg2
);
32431 wxPyEndAllowThreads(__tstate
);
32432 if (PyErr_Occurred()) SWIG_fail
;
32434 Py_INCREF(Py_None
); resultobj
= Py_None
;
32441 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32442 PyObject
*resultobj
;
32444 char *kwnames
[] = {
32448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32451 result
= (int)MenuItem_GetDefaultMarginWidth();
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= SWIG_FromInt((int)result
);
32463 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32464 PyObject
*resultobj
;
32465 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32466 wxBitmap
*arg2
= 0 ;
32467 PyObject
* obj0
= 0 ;
32468 PyObject
* obj1
= 0 ;
32469 char *kwnames
[] = {
32470 (char *) "self",(char *) "bitmap", NULL
32473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32479 if (arg2
== NULL
) {
32480 PyErr_SetString(PyExc_TypeError
,"null reference");
32484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32485 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32487 wxPyEndAllowThreads(__tstate
);
32488 if (PyErr_Occurred()) SWIG_fail
;
32490 Py_INCREF(Py_None
); resultobj
= Py_None
;
32497 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32498 PyObject
*resultobj
;
32499 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32501 PyObject
* obj0
= 0 ;
32502 char *kwnames
[] = {
32503 (char *) "self", NULL
32506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32512 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32513 result
= (wxBitmap
*) &_result_ref
;
32516 wxPyEndAllowThreads(__tstate
);
32517 if (PyErr_Occurred()) SWIG_fail
;
32520 wxBitmap
* resultptr
= new wxBitmap(*result
);
32521 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32529 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32532 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32534 return Py_BuildValue((char *)"");
32536 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32537 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32542 static PyObject
*_wrap_ControlNameStr_get() {
32547 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32549 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32556 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32557 PyObject
*resultobj
;
32558 wxWindow
*arg1
= (wxWindow
*) 0 ;
32560 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32561 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32562 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32563 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32564 long arg5
= (long) 0 ;
32565 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32566 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32567 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32568 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32572 bool temp7
= False
;
32573 PyObject
* obj0
= 0 ;
32574 PyObject
* obj1
= 0 ;
32575 PyObject
* obj2
= 0 ;
32576 PyObject
* obj3
= 0 ;
32577 PyObject
* obj4
= 0 ;
32578 PyObject
* obj5
= 0 ;
32579 PyObject
* obj6
= 0 ;
32580 char *kwnames
[] = {
32581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32587 arg2
= (int) SWIG_AsInt(obj1
);
32588 if (PyErr_Occurred()) SWIG_fail
;
32592 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32598 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32602 arg5
= (long) SWIG_AsLong(obj4
);
32603 if (PyErr_Occurred()) SWIG_fail
;
32606 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32609 if (arg6
== NULL
) {
32610 PyErr_SetString(PyExc_TypeError
,"null reference");
32616 arg7
= wxString_in_helper(obj6
);
32617 if (arg7
== NULL
) SWIG_fail
;
32622 if (!wxPyCheckForApp()) SWIG_fail
;
32623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32624 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32626 wxPyEndAllowThreads(__tstate
);
32627 if (PyErr_Occurred()) SWIG_fail
;
32630 resultobj
= wxPyMake_wxObject(result
);
32646 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32647 PyObject
*resultobj
;
32649 char *kwnames
[] = {
32653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32655 if (!wxPyCheckForApp()) SWIG_fail
;
32656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32657 result
= (wxControl
*)new wxControl();
32659 wxPyEndAllowThreads(__tstate
);
32660 if (PyErr_Occurred()) SWIG_fail
;
32663 resultobj
= wxPyMake_wxObject(result
);
32671 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32672 PyObject
*resultobj
;
32673 wxControl
*arg1
= (wxControl
*) 0 ;
32674 wxWindow
*arg2
= (wxWindow
*) 0 ;
32676 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32677 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32678 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32679 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32680 long arg6
= (long) 0 ;
32681 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32682 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32683 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
32684 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32688 bool temp8
= False
;
32689 PyObject
* obj0
= 0 ;
32690 PyObject
* obj1
= 0 ;
32691 PyObject
* obj2
= 0 ;
32692 PyObject
* obj3
= 0 ;
32693 PyObject
* obj4
= 0 ;
32694 PyObject
* obj5
= 0 ;
32695 PyObject
* obj6
= 0 ;
32696 PyObject
* obj7
= 0 ;
32697 char *kwnames
[] = {
32698 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
32702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32706 arg3
= (int) SWIG_AsInt(obj2
);
32707 if (PyErr_Occurred()) SWIG_fail
;
32711 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32717 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32721 arg6
= (long) SWIG_AsLong(obj5
);
32722 if (PyErr_Occurred()) SWIG_fail
;
32725 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
32726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32728 if (arg7
== NULL
) {
32729 PyErr_SetString(PyExc_TypeError
,"null reference");
32735 arg8
= wxString_in_helper(obj7
);
32736 if (arg8
== NULL
) SWIG_fail
;
32741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32742 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32744 wxPyEndAllowThreads(__tstate
);
32745 if (PyErr_Occurred()) SWIG_fail
;
32748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32764 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32765 PyObject
*resultobj
;
32766 wxControl
*arg1
= (wxControl
*) 0 ;
32767 wxCommandEvent
*arg2
= 0 ;
32768 PyObject
* obj0
= 0 ;
32769 PyObject
* obj1
= 0 ;
32770 char *kwnames
[] = {
32771 (char *) "self",(char *) "event", NULL
32774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
32775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
32778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32780 if (arg2
== NULL
) {
32781 PyErr_SetString(PyExc_TypeError
,"null reference");
32785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32786 (arg1
)->Command(*arg2
);
32788 wxPyEndAllowThreads(__tstate
);
32789 if (PyErr_Occurred()) SWIG_fail
;
32791 Py_INCREF(Py_None
); resultobj
= Py_None
;
32798 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32799 PyObject
*resultobj
;
32800 wxControl
*arg1
= (wxControl
*) 0 ;
32802 PyObject
* obj0
= 0 ;
32803 char *kwnames
[] = {
32804 (char *) "self", NULL
32807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
32808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32812 result
= (arg1
)->GetLabel();
32814 wxPyEndAllowThreads(__tstate
);
32815 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32830 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32831 PyObject
*resultobj
;
32832 wxControl
*arg1
= (wxControl
*) 0 ;
32833 wxString
*arg2
= 0 ;
32834 bool temp2
= False
;
32835 PyObject
* obj0
= 0 ;
32836 PyObject
* obj1
= 0 ;
32837 char *kwnames
[] = {
32838 (char *) "self",(char *) "label", NULL
32841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32845 arg2
= wxString_in_helper(obj1
);
32846 if (arg2
== NULL
) SWIG_fail
;
32850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32851 (arg1
)->SetLabel((wxString
const &)*arg2
);
32853 wxPyEndAllowThreads(__tstate
);
32854 if (PyErr_Occurred()) SWIG_fail
;
32856 Py_INCREF(Py_None
); resultobj
= Py_None
;
32871 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32872 PyObject
*resultobj
;
32873 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
32874 wxVisualAttributes result
;
32875 PyObject
* obj0
= 0 ;
32876 char *kwnames
[] = {
32877 (char *) "variant", NULL
32880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32882 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
32883 if (PyErr_Occurred()) SWIG_fail
;
32886 if (!wxPyCheckForApp()) SWIG_fail
;
32887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32888 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
32890 wxPyEndAllowThreads(__tstate
);
32891 if (PyErr_Occurred()) SWIG_fail
;
32894 wxVisualAttributes
* resultptr
;
32895 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
32896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32904 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
32906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32907 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
32909 return Py_BuildValue((char *)"");
32911 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32912 PyObject
*resultobj
;
32913 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32914 wxString
*arg2
= 0 ;
32915 PyObject
*arg3
= (PyObject
*) NULL
;
32917 bool temp2
= False
;
32918 PyObject
* obj0
= 0 ;
32919 PyObject
* obj1
= 0 ;
32920 PyObject
* obj2
= 0 ;
32921 char *kwnames
[] = {
32922 (char *) "self",(char *) "item",(char *) "clientData", NULL
32925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32929 arg2
= wxString_in_helper(obj1
);
32930 if (arg2
== NULL
) SWIG_fail
;
32937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32938 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32940 wxPyEndAllowThreads(__tstate
);
32941 if (PyErr_Occurred()) SWIG_fail
;
32943 resultobj
= SWIG_FromInt((int)result
);
32958 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32959 PyObject
*resultobj
;
32960 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32961 wxArrayString
*arg2
= 0 ;
32962 bool temp2
= False
;
32963 PyObject
* obj0
= 0 ;
32964 PyObject
* obj1
= 0 ;
32965 char *kwnames
[] = {
32966 (char *) "self",(char *) "strings", NULL
32969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
32970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32973 if (! PySequence_Check(obj1
)) {
32974 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
32977 arg2
= new wxArrayString
;
32979 int i
, len
=PySequence_Length(obj1
);
32980 for (i
=0; i
<len
; i
++) {
32981 PyObject
* item
= PySequence_GetItem(obj1
, i
);
32983 PyObject
* str
= PyObject_Unicode(item
);
32985 PyObject
* str
= PyObject_Str(item
);
32987 if (PyErr_Occurred()) SWIG_fail
;
32988 arg2
->Add(Py2wxString(str
));
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32995 (arg1
)->Append((wxArrayString
const &)*arg2
);
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33000 Py_INCREF(Py_None
); resultobj
= Py_None
;
33002 if (temp2
) delete arg2
;
33007 if (temp2
) delete arg2
;
33013 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33014 PyObject
*resultobj
;
33015 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33016 wxString
*arg2
= 0 ;
33018 PyObject
*arg4
= (PyObject
*) NULL
;
33020 bool temp2
= False
;
33021 PyObject
* obj0
= 0 ;
33022 PyObject
* obj1
= 0 ;
33023 PyObject
* obj2
= 0 ;
33024 PyObject
* obj3
= 0 ;
33025 char *kwnames
[] = {
33026 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33033 arg2
= wxString_in_helper(obj1
);
33034 if (arg2
== NULL
) SWIG_fail
;
33037 arg3
= (int) SWIG_AsInt(obj2
);
33038 if (PyErr_Occurred()) SWIG_fail
;
33043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33044 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33046 wxPyEndAllowThreads(__tstate
);
33047 if (PyErr_Occurred()) SWIG_fail
;
33049 resultobj
= SWIG_FromInt((int)result
);
33064 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33065 PyObject
*resultobj
;
33066 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33067 PyObject
* obj0
= 0 ;
33068 char *kwnames
[] = {
33069 (char *) "self", NULL
33072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33079 wxPyEndAllowThreads(__tstate
);
33080 if (PyErr_Occurred()) SWIG_fail
;
33082 Py_INCREF(Py_None
); resultobj
= Py_None
;
33089 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33090 PyObject
*resultobj
;
33091 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33093 PyObject
* obj0
= 0 ;
33094 PyObject
* obj1
= 0 ;
33095 char *kwnames
[] = {
33096 (char *) "self",(char *) "n", NULL
33099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33102 arg2
= (int) SWIG_AsInt(obj1
);
33103 if (PyErr_Occurred()) SWIG_fail
;
33105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33106 (arg1
)->Delete(arg2
);
33108 wxPyEndAllowThreads(__tstate
);
33109 if (PyErr_Occurred()) SWIG_fail
;
33111 Py_INCREF(Py_None
); resultobj
= Py_None
;
33118 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33119 PyObject
*resultobj
;
33120 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33122 PyObject
* obj0
= 0 ;
33123 char *kwnames
[] = {
33124 (char *) "self", NULL
33127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33132 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33134 wxPyEndAllowThreads(__tstate
);
33135 if (PyErr_Occurred()) SWIG_fail
;
33137 resultobj
= SWIG_FromInt((int)result
);
33144 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33145 PyObject
*resultobj
;
33146 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33148 PyObject
* obj0
= 0 ;
33149 char *kwnames
[] = {
33150 (char *) "self", NULL
33153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33158 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33172 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33173 PyObject
*resultobj
;
33174 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33177 PyObject
* obj0
= 0 ;
33178 PyObject
* obj1
= 0 ;
33179 char *kwnames
[] = {
33180 (char *) "self",(char *) "n", NULL
33183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33186 arg2
= (int) SWIG_AsInt(obj1
);
33187 if (PyErr_Occurred()) SWIG_fail
;
33189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33190 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33192 wxPyEndAllowThreads(__tstate
);
33193 if (PyErr_Occurred()) SWIG_fail
;
33197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33208 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33209 PyObject
*resultobj
;
33210 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33211 wxArrayString result
;
33212 PyObject
* obj0
= 0 ;
33213 char *kwnames
[] = {
33214 (char *) "self", NULL
33217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33222 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33224 wxPyEndAllowThreads(__tstate
);
33225 if (PyErr_Occurred()) SWIG_fail
;
33228 resultobj
= wxArrayString2PyList_helper(result
);
33236 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33237 PyObject
*resultobj
;
33238 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33240 wxString
*arg3
= 0 ;
33241 bool temp3
= False
;
33242 PyObject
* obj0
= 0 ;
33243 PyObject
* obj1
= 0 ;
33244 PyObject
* obj2
= 0 ;
33245 char *kwnames
[] = {
33246 (char *) "self",(char *) "n",(char *) "s", NULL
33249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33252 arg2
= (int) SWIG_AsInt(obj1
);
33253 if (PyErr_Occurred()) SWIG_fail
;
33255 arg3
= wxString_in_helper(obj2
);
33256 if (arg3
== NULL
) SWIG_fail
;
33260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33261 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33263 wxPyEndAllowThreads(__tstate
);
33264 if (PyErr_Occurred()) SWIG_fail
;
33266 Py_INCREF(Py_None
); resultobj
= Py_None
;
33281 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33282 PyObject
*resultobj
;
33283 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33284 wxString
*arg2
= 0 ;
33286 bool temp2
= False
;
33287 PyObject
* obj0
= 0 ;
33288 PyObject
* obj1
= 0 ;
33289 char *kwnames
[] = {
33290 (char *) "self",(char *) "s", NULL
33293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33297 arg2
= wxString_in_helper(obj1
);
33298 if (arg2
== NULL
) SWIG_fail
;
33302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33303 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33305 wxPyEndAllowThreads(__tstate
);
33306 if (PyErr_Occurred()) SWIG_fail
;
33308 resultobj
= SWIG_FromInt((int)result
);
33323 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33324 PyObject
*resultobj
;
33325 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33327 PyObject
* obj0
= 0 ;
33328 PyObject
* obj1
= 0 ;
33329 char *kwnames
[] = {
33330 (char *) "self",(char *) "n", NULL
33333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33336 arg2
= (int) SWIG_AsInt(obj1
);
33337 if (PyErr_Occurred()) SWIG_fail
;
33339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33340 (arg1
)->Select(arg2
);
33342 wxPyEndAllowThreads(__tstate
);
33343 if (PyErr_Occurred()) SWIG_fail
;
33345 Py_INCREF(Py_None
); resultobj
= Py_None
;
33352 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33353 PyObject
*resultobj
;
33354 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33356 PyObject
* obj0
= 0 ;
33357 char *kwnames
[] = {
33358 (char *) "self", NULL
33361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33366 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33368 wxPyEndAllowThreads(__tstate
);
33369 if (PyErr_Occurred()) SWIG_fail
;
33371 resultobj
= SWIG_FromInt((int)result
);
33378 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33379 PyObject
*resultobj
;
33380 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33382 PyObject
* obj0
= 0 ;
33383 char *kwnames
[] = {
33384 (char *) "self", NULL
33387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33392 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33394 wxPyEndAllowThreads(__tstate
);
33395 if (PyErr_Occurred()) SWIG_fail
;
33399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33410 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33411 PyObject
*resultobj
;
33412 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33415 PyObject
* obj0
= 0 ;
33416 PyObject
* obj1
= 0 ;
33417 char *kwnames
[] = {
33418 (char *) "self",(char *) "n", NULL
33421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33424 arg2
= (int) SWIG_AsInt(obj1
);
33425 if (PyErr_Occurred()) SWIG_fail
;
33427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33428 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33430 wxPyEndAllowThreads(__tstate
);
33431 if (PyErr_Occurred()) SWIG_fail
;
33433 resultobj
= result
;
33440 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33441 PyObject
*resultobj
;
33442 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33444 PyObject
*arg3
= (PyObject
*) 0 ;
33445 PyObject
* obj0
= 0 ;
33446 PyObject
* obj1
= 0 ;
33447 PyObject
* obj2
= 0 ;
33448 char *kwnames
[] = {
33449 (char *) "self",(char *) "n",(char *) "clientData", NULL
33452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33455 arg2
= (int) SWIG_AsInt(obj1
);
33456 if (PyErr_Occurred()) SWIG_fail
;
33459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33460 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33462 wxPyEndAllowThreads(__tstate
);
33463 if (PyErr_Occurred()) SWIG_fail
;
33465 Py_INCREF(Py_None
); resultobj
= Py_None
;
33472 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33475 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33477 return Py_BuildValue((char *)"");
33479 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33482 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33484 return Py_BuildValue((char *)"");
33486 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33487 PyObject
*resultobj
;
33488 wxSizerItem
*result
;
33489 char *kwnames
[] = {
33493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33496 result
= (wxSizerItem
*)new wxSizerItem();
33498 wxPyEndAllowThreads(__tstate
);
33499 if (PyErr_Occurred()) SWIG_fail
;
33501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33508 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33509 PyObject
*resultobj
;
33515 wxObject
*arg6
= (wxObject
*) 0 ;
33516 wxSizerItem
*result
;
33517 PyObject
* obj0
= 0 ;
33518 PyObject
* obj1
= 0 ;
33519 PyObject
* obj2
= 0 ;
33520 PyObject
* obj3
= 0 ;
33521 PyObject
* obj4
= 0 ;
33522 PyObject
* obj5
= 0 ;
33523 char *kwnames
[] = {
33524 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33528 arg1
= (int) SWIG_AsInt(obj0
);
33529 if (PyErr_Occurred()) SWIG_fail
;
33530 arg2
= (int) SWIG_AsInt(obj1
);
33531 if (PyErr_Occurred()) SWIG_fail
;
33532 arg3
= (int) SWIG_AsInt(obj2
);
33533 if (PyErr_Occurred()) SWIG_fail
;
33534 arg4
= (int) SWIG_AsInt(obj3
);
33535 if (PyErr_Occurred()) SWIG_fail
;
33536 arg5
= (int) SWIG_AsInt(obj4
);
33537 if (PyErr_Occurred()) SWIG_fail
;
33538 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
33539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33542 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33544 wxPyEndAllowThreads(__tstate
);
33545 if (PyErr_Occurred()) SWIG_fail
;
33547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33554 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33555 PyObject
*resultobj
;
33556 wxWindow
*arg1
= (wxWindow
*) 0 ;
33560 wxObject
*arg5
= (wxObject
*) 0 ;
33561 wxSizerItem
*result
;
33562 PyObject
* obj0
= 0 ;
33563 PyObject
* obj1
= 0 ;
33564 PyObject
* obj2
= 0 ;
33565 PyObject
* obj3
= 0 ;
33566 PyObject
* obj4
= 0 ;
33567 char *kwnames
[] = {
33568 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33574 arg2
= (int) SWIG_AsInt(obj1
);
33575 if (PyErr_Occurred()) SWIG_fail
;
33576 arg3
= (int) SWIG_AsInt(obj2
);
33577 if (PyErr_Occurred()) SWIG_fail
;
33578 arg4
= (int) SWIG_AsInt(obj3
);
33579 if (PyErr_Occurred()) SWIG_fail
;
33580 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33584 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33586 wxPyEndAllowThreads(__tstate
);
33587 if (PyErr_Occurred()) SWIG_fail
;
33589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33596 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33597 PyObject
*resultobj
;
33598 wxSizer
*arg1
= (wxSizer
*) 0 ;
33602 wxObject
*arg5
= (wxObject
*) 0 ;
33603 wxSizerItem
*result
;
33604 PyObject
* obj0
= 0 ;
33605 PyObject
* obj1
= 0 ;
33606 PyObject
* obj2
= 0 ;
33607 PyObject
* obj3
= 0 ;
33608 PyObject
* obj4
= 0 ;
33609 char *kwnames
[] = {
33610 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33616 arg2
= (int) SWIG_AsInt(obj1
);
33617 if (PyErr_Occurred()) SWIG_fail
;
33618 arg3
= (int) SWIG_AsInt(obj2
);
33619 if (PyErr_Occurred()) SWIG_fail
;
33620 arg4
= (int) SWIG_AsInt(obj3
);
33621 if (PyErr_Occurred()) SWIG_fail
;
33622 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33626 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33628 wxPyEndAllowThreads(__tstate
);
33629 if (PyErr_Occurred()) SWIG_fail
;
33631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33638 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33639 PyObject
*resultobj
;
33640 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33641 PyObject
* obj0
= 0 ;
33642 char *kwnames
[] = {
33643 (char *) "self", NULL
33646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33651 (arg1
)->DeleteWindows();
33653 wxPyEndAllowThreads(__tstate
);
33654 if (PyErr_Occurred()) SWIG_fail
;
33656 Py_INCREF(Py_None
); resultobj
= Py_None
;
33663 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33664 PyObject
*resultobj
;
33665 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33666 PyObject
* obj0
= 0 ;
33667 char *kwnames
[] = {
33668 (char *) "self", NULL
33671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
33672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33676 (arg1
)->DetachSizer();
33678 wxPyEndAllowThreads(__tstate
);
33679 if (PyErr_Occurred()) SWIG_fail
;
33681 Py_INCREF(Py_None
); resultobj
= Py_None
;
33688 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33689 PyObject
*resultobj
;
33690 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33692 PyObject
* obj0
= 0 ;
33693 char *kwnames
[] = {
33694 (char *) "self", NULL
33697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
33698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33702 result
= (arg1
)->GetSize();
33704 wxPyEndAllowThreads(__tstate
);
33705 if (PyErr_Occurred()) SWIG_fail
;
33708 wxSize
* resultptr
;
33709 resultptr
= new wxSize((wxSize
&) result
);
33710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33718 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33719 PyObject
*resultobj
;
33720 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33722 PyObject
* obj0
= 0 ;
33723 char *kwnames
[] = {
33724 (char *) "self", NULL
33727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
33728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33732 result
= (arg1
)->CalcMin();
33734 wxPyEndAllowThreads(__tstate
);
33735 if (PyErr_Occurred()) SWIG_fail
;
33738 wxSize
* resultptr
;
33739 resultptr
= new wxSize((wxSize
&) result
);
33740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33748 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33749 PyObject
*resultobj
;
33750 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33755 PyObject
* obj0
= 0 ;
33756 PyObject
* obj1
= 0 ;
33757 PyObject
* obj2
= 0 ;
33758 char *kwnames
[] = {
33759 (char *) "self",(char *) "pos",(char *) "size", NULL
33762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33765 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
33766 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33768 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
33769 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33773 (arg1
)->SetDimension(arg2
,arg3
);
33775 wxPyEndAllowThreads(__tstate
);
33776 if (PyErr_Occurred()) SWIG_fail
;
33778 Py_INCREF(Py_None
); resultobj
= Py_None
;
33785 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33786 PyObject
*resultobj
;
33787 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33789 PyObject
* obj0
= 0 ;
33790 char *kwnames
[] = {
33791 (char *) "self", NULL
33794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
33795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33799 result
= (arg1
)->GetMinSize();
33801 wxPyEndAllowThreads(__tstate
);
33802 if (PyErr_Occurred()) SWIG_fail
;
33805 wxSize
* resultptr
;
33806 resultptr
= new wxSize((wxSize
&) result
);
33807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33815 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33816 PyObject
*resultobj
;
33817 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33820 PyObject
* obj0
= 0 ;
33821 PyObject
* obj1
= 0 ;
33822 PyObject
* obj2
= 0 ;
33823 char *kwnames
[] = {
33824 (char *) "self",(char *) "x",(char *) "y", NULL
33827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33830 arg2
= (int) SWIG_AsInt(obj1
);
33831 if (PyErr_Occurred()) SWIG_fail
;
33832 arg3
= (int) SWIG_AsInt(obj2
);
33833 if (PyErr_Occurred()) SWIG_fail
;
33835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33836 (arg1
)->SetInitSize(arg2
,arg3
);
33838 wxPyEndAllowThreads(__tstate
);
33839 if (PyErr_Occurred()) SWIG_fail
;
33841 Py_INCREF(Py_None
); resultobj
= Py_None
;
33848 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33849 PyObject
*resultobj
;
33850 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33853 PyObject
* obj0
= 0 ;
33854 PyObject
* obj1
= 0 ;
33855 PyObject
* obj2
= 0 ;
33856 char *kwnames
[] = {
33857 (char *) "self",(char *) "width",(char *) "height", NULL
33860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33863 arg2
= (int) SWIG_AsInt(obj1
);
33864 if (PyErr_Occurred()) SWIG_fail
;
33865 arg3
= (int) SWIG_AsInt(obj2
);
33866 if (PyErr_Occurred()) SWIG_fail
;
33868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33869 (arg1
)->SetRatio(arg2
,arg3
);
33871 wxPyEndAllowThreads(__tstate
);
33872 if (PyErr_Occurred()) SWIG_fail
;
33874 Py_INCREF(Py_None
); resultobj
= Py_None
;
33881 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33882 PyObject
*resultobj
;
33883 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33886 PyObject
* obj0
= 0 ;
33887 PyObject
* obj1
= 0 ;
33888 char *kwnames
[] = {
33889 (char *) "self",(char *) "size", NULL
33892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33895 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
33896 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33900 (arg1
)->SetRatio(arg2
);
33902 wxPyEndAllowThreads(__tstate
);
33903 if (PyErr_Occurred()) SWIG_fail
;
33905 Py_INCREF(Py_None
); resultobj
= Py_None
;
33912 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33913 PyObject
*resultobj
;
33914 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33916 PyObject
* obj0
= 0 ;
33917 PyObject
* obj1
= 0 ;
33918 char *kwnames
[] = {
33919 (char *) "self",(char *) "ratio", NULL
33922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33925 arg2
= (float) SWIG_AsFloat(obj1
);
33926 if (PyErr_Occurred()) SWIG_fail
;
33928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33929 (arg1
)->SetRatio(arg2
);
33931 wxPyEndAllowThreads(__tstate
);
33932 if (PyErr_Occurred()) SWIG_fail
;
33934 Py_INCREF(Py_None
); resultobj
= Py_None
;
33941 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33942 PyObject
*resultobj
;
33943 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33945 PyObject
* obj0
= 0 ;
33946 char *kwnames
[] = {
33947 (char *) "self", NULL
33950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
33951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33955 result
= (float)(arg1
)->GetRatio();
33957 wxPyEndAllowThreads(__tstate
);
33958 if (PyErr_Occurred()) SWIG_fail
;
33960 resultobj
= SWIG_FromFloat((float)result
);
33967 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33968 PyObject
*resultobj
;
33969 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33971 PyObject
* obj0
= 0 ;
33972 char *kwnames
[] = {
33973 (char *) "self", NULL
33976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
33977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33981 result
= (bool)(arg1
)->IsWindow();
33983 wxPyEndAllowThreads(__tstate
);
33984 if (PyErr_Occurred()) SWIG_fail
;
33987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33995 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33996 PyObject
*resultobj
;
33997 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33999 PyObject
* obj0
= 0 ;
34000 char *kwnames
[] = {
34001 (char *) "self", NULL
34004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34009 result
= (bool)(arg1
)->IsSizer();
34011 wxPyEndAllowThreads(__tstate
);
34012 if (PyErr_Occurred()) SWIG_fail
;
34015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34023 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34024 PyObject
*resultobj
;
34025 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34027 PyObject
* obj0
= 0 ;
34028 char *kwnames
[] = {
34029 (char *) "self", NULL
34032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34037 result
= (bool)(arg1
)->IsSpacer();
34039 wxPyEndAllowThreads(__tstate
);
34040 if (PyErr_Occurred()) SWIG_fail
;
34043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34051 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34052 PyObject
*resultobj
;
34053 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34055 PyObject
* obj0
= 0 ;
34056 PyObject
* obj1
= 0 ;
34057 char *kwnames
[] = {
34058 (char *) "self",(char *) "proportion", NULL
34061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34064 arg2
= (int) SWIG_AsInt(obj1
);
34065 if (PyErr_Occurred()) SWIG_fail
;
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34068 (arg1
)->SetProportion(arg2
);
34070 wxPyEndAllowThreads(__tstate
);
34071 if (PyErr_Occurred()) SWIG_fail
;
34073 Py_INCREF(Py_None
); resultobj
= Py_None
;
34080 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34081 PyObject
*resultobj
;
34082 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34084 PyObject
* obj0
= 0 ;
34085 char *kwnames
[] = {
34086 (char *) "self", NULL
34089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34094 result
= (int)(arg1
)->GetProportion();
34096 wxPyEndAllowThreads(__tstate
);
34097 if (PyErr_Occurred()) SWIG_fail
;
34099 resultobj
= SWIG_FromInt((int)result
);
34106 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34107 PyObject
*resultobj
;
34108 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34110 PyObject
* obj0
= 0 ;
34111 PyObject
* obj1
= 0 ;
34112 char *kwnames
[] = {
34113 (char *) "self",(char *) "flag", NULL
34116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34119 arg2
= (int) SWIG_AsInt(obj1
);
34120 if (PyErr_Occurred()) SWIG_fail
;
34122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34123 (arg1
)->SetFlag(arg2
);
34125 wxPyEndAllowThreads(__tstate
);
34126 if (PyErr_Occurred()) SWIG_fail
;
34128 Py_INCREF(Py_None
); resultobj
= Py_None
;
34135 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34136 PyObject
*resultobj
;
34137 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34139 PyObject
* obj0
= 0 ;
34140 char *kwnames
[] = {
34141 (char *) "self", NULL
34144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34149 result
= (int)(arg1
)->GetFlag();
34151 wxPyEndAllowThreads(__tstate
);
34152 if (PyErr_Occurred()) SWIG_fail
;
34154 resultobj
= SWIG_FromInt((int)result
);
34161 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34162 PyObject
*resultobj
;
34163 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34165 PyObject
* obj0
= 0 ;
34166 PyObject
* obj1
= 0 ;
34167 char *kwnames
[] = {
34168 (char *) "self",(char *) "border", NULL
34171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34174 arg2
= (int) SWIG_AsInt(obj1
);
34175 if (PyErr_Occurred()) SWIG_fail
;
34177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34178 (arg1
)->SetBorder(arg2
);
34180 wxPyEndAllowThreads(__tstate
);
34181 if (PyErr_Occurred()) SWIG_fail
;
34183 Py_INCREF(Py_None
); resultobj
= Py_None
;
34190 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34191 PyObject
*resultobj
;
34192 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34194 PyObject
* obj0
= 0 ;
34195 char *kwnames
[] = {
34196 (char *) "self", NULL
34199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34204 result
= (int)(arg1
)->GetBorder();
34206 wxPyEndAllowThreads(__tstate
);
34207 if (PyErr_Occurred()) SWIG_fail
;
34209 resultobj
= SWIG_FromInt((int)result
);
34216 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34217 PyObject
*resultobj
;
34218 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34220 PyObject
* obj0
= 0 ;
34221 char *kwnames
[] = {
34222 (char *) "self", NULL
34225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34230 result
= (wxWindow
*)(arg1
)->GetWindow();
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34236 resultobj
= wxPyMake_wxObject(result
);
34244 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34245 PyObject
*resultobj
;
34246 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34247 wxWindow
*arg2
= (wxWindow
*) 0 ;
34248 PyObject
* obj0
= 0 ;
34249 PyObject
* obj1
= 0 ;
34250 char *kwnames
[] = {
34251 (char *) "self",(char *) "window", NULL
34254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34261 (arg1
)->SetWindow(arg2
);
34263 wxPyEndAllowThreads(__tstate
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34266 Py_INCREF(Py_None
); resultobj
= Py_None
;
34273 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34274 PyObject
*resultobj
;
34275 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34277 PyObject
* obj0
= 0 ;
34278 char *kwnames
[] = {
34279 (char *) "self", NULL
34282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34287 result
= (wxSizer
*)(arg1
)->GetSizer();
34289 wxPyEndAllowThreads(__tstate
);
34290 if (PyErr_Occurred()) SWIG_fail
;
34293 resultobj
= wxPyMake_wxSizer(result
);
34301 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34302 PyObject
*resultobj
;
34303 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34304 wxSizer
*arg2
= (wxSizer
*) 0 ;
34305 PyObject
* obj0
= 0 ;
34306 PyObject
* obj1
= 0 ;
34307 char *kwnames
[] = {
34308 (char *) "self",(char *) "sizer", NULL
34311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34318 (arg1
)->SetSizer(arg2
);
34320 wxPyEndAllowThreads(__tstate
);
34321 if (PyErr_Occurred()) SWIG_fail
;
34323 Py_INCREF(Py_None
); resultobj
= Py_None
;
34330 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34331 PyObject
*resultobj
;
34332 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34334 PyObject
* obj0
= 0 ;
34335 char *kwnames
[] = {
34336 (char *) "self", NULL
34339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34345 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34346 result
= (wxSize
*) &_result_ref
;
34349 wxPyEndAllowThreads(__tstate
);
34350 if (PyErr_Occurred()) SWIG_fail
;
34352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34359 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34360 PyObject
*resultobj
;
34361 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34364 PyObject
* obj0
= 0 ;
34365 PyObject
* obj1
= 0 ;
34366 char *kwnames
[] = {
34367 (char *) "self",(char *) "size", NULL
34370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34375 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34379 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34381 wxPyEndAllowThreads(__tstate
);
34382 if (PyErr_Occurred()) SWIG_fail
;
34384 Py_INCREF(Py_None
); resultobj
= Py_None
;
34391 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34392 PyObject
*resultobj
;
34393 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34395 PyObject
* obj0
= 0 ;
34396 PyObject
* obj1
= 0 ;
34397 char *kwnames
[] = {
34398 (char *) "self",(char *) "show", NULL
34401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34404 arg2
= (bool) SWIG_AsBool(obj1
);
34405 if (PyErr_Occurred()) SWIG_fail
;
34407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34408 (arg1
)->Show(arg2
);
34410 wxPyEndAllowThreads(__tstate
);
34411 if (PyErr_Occurred()) SWIG_fail
;
34413 Py_INCREF(Py_None
); resultobj
= Py_None
;
34420 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34421 PyObject
*resultobj
;
34422 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34424 PyObject
* obj0
= 0 ;
34425 char *kwnames
[] = {
34426 (char *) "self", NULL
34429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34434 result
= (bool)(arg1
)->IsShown();
34436 wxPyEndAllowThreads(__tstate
);
34437 if (PyErr_Occurred()) SWIG_fail
;
34440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34448 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34449 PyObject
*resultobj
;
34450 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34452 PyObject
* obj0
= 0 ;
34453 char *kwnames
[] = {
34454 (char *) "self", NULL
34457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34462 result
= (arg1
)->GetPosition();
34464 wxPyEndAllowThreads(__tstate
);
34465 if (PyErr_Occurred()) SWIG_fail
;
34468 wxPoint
* resultptr
;
34469 resultptr
= new wxPoint((wxPoint
&) result
);
34470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34478 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34479 PyObject
*resultobj
;
34480 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34482 PyObject
* obj0
= 0 ;
34483 char *kwnames
[] = {
34484 (char *) "self", NULL
34487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34492 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34494 wxPyEndAllowThreads(__tstate
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34497 resultobj
= result
;
34504 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34507 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34509 return Py_BuildValue((char *)"");
34511 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34512 PyObject
*resultobj
;
34513 wxSizer
*arg1
= (wxSizer
*) 0 ;
34514 PyObject
*arg2
= (PyObject
*) 0 ;
34515 PyObject
* obj0
= 0 ;
34516 PyObject
* obj1
= 0 ;
34517 char *kwnames
[] = {
34518 (char *) "self",(char *) "_self", NULL
34521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34527 wxSizer__setOORInfo(arg1
,arg2
);
34529 wxPyEndAllowThreads(__tstate
);
34530 if (PyErr_Occurred()) SWIG_fail
;
34532 Py_INCREF(Py_None
); resultobj
= Py_None
;
34539 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34540 PyObject
*resultobj
;
34541 wxSizer
*arg1
= (wxSizer
*) 0 ;
34542 PyObject
*arg2
= (PyObject
*) 0 ;
34543 int arg3
= (int) 0 ;
34544 int arg4
= (int) 0 ;
34545 int arg5
= (int) 0 ;
34546 PyObject
*arg6
= (PyObject
*) NULL
;
34547 PyObject
* obj0
= 0 ;
34548 PyObject
* obj1
= 0 ;
34549 PyObject
* obj2
= 0 ;
34550 PyObject
* obj3
= 0 ;
34551 PyObject
* obj4
= 0 ;
34552 PyObject
* obj5
= 0 ;
34553 char *kwnames
[] = {
34554 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34562 arg3
= (int) SWIG_AsInt(obj2
);
34563 if (PyErr_Occurred()) SWIG_fail
;
34566 arg4
= (int) SWIG_AsInt(obj3
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34570 arg5
= (int) SWIG_AsInt(obj4
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34578 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34580 wxPyEndAllowThreads(__tstate
);
34581 if (PyErr_Occurred()) SWIG_fail
;
34583 Py_INCREF(Py_None
); resultobj
= Py_None
;
34590 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34591 PyObject
*resultobj
;
34592 wxSizer
*arg1
= (wxSizer
*) 0 ;
34594 PyObject
*arg3
= (PyObject
*) 0 ;
34595 int arg4
= (int) 0 ;
34596 int arg5
= (int) 0 ;
34597 int arg6
= (int) 0 ;
34598 PyObject
*arg7
= (PyObject
*) NULL
;
34599 PyObject
* obj0
= 0 ;
34600 PyObject
* obj1
= 0 ;
34601 PyObject
* obj2
= 0 ;
34602 PyObject
* obj3
= 0 ;
34603 PyObject
* obj4
= 0 ;
34604 PyObject
* obj5
= 0 ;
34605 PyObject
* obj6
= 0 ;
34606 char *kwnames
[] = {
34607 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34613 arg2
= (int) SWIG_AsInt(obj1
);
34614 if (PyErr_Occurred()) SWIG_fail
;
34617 arg4
= (int) SWIG_AsInt(obj3
);
34618 if (PyErr_Occurred()) SWIG_fail
;
34621 arg5
= (int) SWIG_AsInt(obj4
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34625 arg6
= (int) SWIG_AsInt(obj5
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34633 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34635 wxPyEndAllowThreads(__tstate
);
34636 if (PyErr_Occurred()) SWIG_fail
;
34638 Py_INCREF(Py_None
); resultobj
= Py_None
;
34645 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34646 PyObject
*resultobj
;
34647 wxSizer
*arg1
= (wxSizer
*) 0 ;
34648 PyObject
*arg2
= (PyObject
*) 0 ;
34649 int arg3
= (int) 0 ;
34650 int arg4
= (int) 0 ;
34651 int arg5
= (int) 0 ;
34652 PyObject
*arg6
= (PyObject
*) NULL
;
34653 PyObject
* obj0
= 0 ;
34654 PyObject
* obj1
= 0 ;
34655 PyObject
* obj2
= 0 ;
34656 PyObject
* obj3
= 0 ;
34657 PyObject
* obj4
= 0 ;
34658 PyObject
* obj5
= 0 ;
34659 char *kwnames
[] = {
34660 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34668 arg3
= (int) SWIG_AsInt(obj2
);
34669 if (PyErr_Occurred()) SWIG_fail
;
34672 arg4
= (int) SWIG_AsInt(obj3
);
34673 if (PyErr_Occurred()) SWIG_fail
;
34676 arg5
= (int) SWIG_AsInt(obj4
);
34677 if (PyErr_Occurred()) SWIG_fail
;
34683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34684 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34686 wxPyEndAllowThreads(__tstate
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34689 Py_INCREF(Py_None
); resultobj
= Py_None
;
34696 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34697 PyObject
*resultobj
;
34698 wxSizer
*arg1
= (wxSizer
*) 0 ;
34699 PyObject
*arg2
= (PyObject
*) 0 ;
34701 PyObject
* obj0
= 0 ;
34702 PyObject
* obj1
= 0 ;
34703 char *kwnames
[] = {
34704 (char *) "self",(char *) "item", NULL
34707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34713 result
= (bool)wxSizer_Remove(arg1
,arg2
);
34715 wxPyEndAllowThreads(__tstate
);
34716 if (PyErr_Occurred()) SWIG_fail
;
34719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34727 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34728 PyObject
*resultobj
;
34729 wxSizer
*arg1
= (wxSizer
*) 0 ;
34730 PyObject
*arg2
= (PyObject
*) 0 ;
34732 PyObject
* obj0
= 0 ;
34733 PyObject
* obj1
= 0 ;
34734 char *kwnames
[] = {
34735 (char *) "self",(char *) "item", NULL
34738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
34739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34744 result
= (bool)wxSizer_Detach(arg1
,arg2
);
34746 wxPyEndAllowThreads(__tstate
);
34747 if (PyErr_Occurred()) SWIG_fail
;
34750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34758 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34759 PyObject
*resultobj
;
34760 wxSizer
*arg1
= (wxSizer
*) 0 ;
34761 PyObject
*arg2
= (PyObject
*) 0 ;
34764 PyObject
* obj0
= 0 ;
34765 PyObject
* obj1
= 0 ;
34766 PyObject
* obj2
= 0 ;
34767 char *kwnames
[] = {
34768 (char *) "self",(char *) "item",(char *) "size", NULL
34771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34777 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34781 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
34783 wxPyEndAllowThreads(__tstate
);
34784 if (PyErr_Occurred()) SWIG_fail
;
34786 Py_INCREF(Py_None
); resultobj
= Py_None
;
34793 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34794 PyObject
*resultobj
;
34795 wxSizer
*arg1
= (wxSizer
*) 0 ;
34796 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34797 PyObject
* obj0
= 0 ;
34798 PyObject
* obj1
= 0 ;
34799 char *kwnames
[] = {
34800 (char *) "self",(char *) "item", NULL
34803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34812 wxPyEndAllowThreads(__tstate
);
34813 if (PyErr_Occurred()) SWIG_fail
;
34815 Py_INCREF(Py_None
); resultobj
= Py_None
;
34822 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34823 PyObject
*resultobj
;
34824 wxSizer
*arg1
= (wxSizer
*) 0 ;
34826 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
34827 PyObject
* obj0
= 0 ;
34828 PyObject
* obj1
= 0 ;
34829 PyObject
* obj2
= 0 ;
34830 char *kwnames
[] = {
34831 (char *) "self",(char *) "index",(char *) "item", NULL
34834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34837 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34838 if (PyErr_Occurred()) SWIG_fail
;
34839 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
34840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34843 (arg1
)->Insert(arg2
,arg3
);
34845 wxPyEndAllowThreads(__tstate
);
34846 if (PyErr_Occurred()) SWIG_fail
;
34848 Py_INCREF(Py_None
); resultobj
= Py_None
;
34855 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34856 PyObject
*resultobj
;
34857 wxSizer
*arg1
= (wxSizer
*) 0 ;
34858 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34859 PyObject
* obj0
= 0 ;
34860 PyObject
* obj1
= 0 ;
34861 char *kwnames
[] = {
34862 (char *) "self",(char *) "item", NULL
34865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34872 (arg1
)->Prepend(arg2
);
34874 wxPyEndAllowThreads(__tstate
);
34875 if (PyErr_Occurred()) SWIG_fail
;
34877 Py_INCREF(Py_None
); resultobj
= Py_None
;
34884 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34885 PyObject
*resultobj
;
34886 wxSizer
*arg1
= (wxSizer
*) 0 ;
34891 PyObject
* obj0
= 0 ;
34892 PyObject
* obj1
= 0 ;
34893 PyObject
* obj2
= 0 ;
34894 PyObject
* obj3
= 0 ;
34895 PyObject
* obj4
= 0 ;
34896 char *kwnames
[] = {
34897 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34903 arg2
= (int) SWIG_AsInt(obj1
);
34904 if (PyErr_Occurred()) SWIG_fail
;
34905 arg3
= (int) SWIG_AsInt(obj2
);
34906 if (PyErr_Occurred()) SWIG_fail
;
34907 arg4
= (int) SWIG_AsInt(obj3
);
34908 if (PyErr_Occurred()) SWIG_fail
;
34909 arg5
= (int) SWIG_AsInt(obj4
);
34910 if (PyErr_Occurred()) SWIG_fail
;
34912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34913 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
34915 wxPyEndAllowThreads(__tstate
);
34916 if (PyErr_Occurred()) SWIG_fail
;
34918 Py_INCREF(Py_None
); resultobj
= Py_None
;
34925 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34926 PyObject
*resultobj
;
34927 wxSizer
*arg1
= (wxSizer
*) 0 ;
34930 PyObject
* obj0
= 0 ;
34931 PyObject
* obj1
= 0 ;
34932 char *kwnames
[] = {
34933 (char *) "self",(char *) "size", NULL
34936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34941 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34945 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34947 wxPyEndAllowThreads(__tstate
);
34948 if (PyErr_Occurred()) SWIG_fail
;
34950 Py_INCREF(Py_None
); resultobj
= Py_None
;
34957 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34958 PyObject
*resultobj
;
34959 wxSizer
*arg1
= (wxSizer
*) 0 ;
34961 PyObject
* obj0
= 0 ;
34962 char *kwnames
[] = {
34963 (char *) "self", NULL
34966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34971 result
= (arg1
)->GetSize();
34973 wxPyEndAllowThreads(__tstate
);
34974 if (PyErr_Occurred()) SWIG_fail
;
34977 wxSize
* resultptr
;
34978 resultptr
= new wxSize((wxSize
&) result
);
34979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34987 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34988 PyObject
*resultobj
;
34989 wxSizer
*arg1
= (wxSizer
*) 0 ;
34991 PyObject
* obj0
= 0 ;
34992 char *kwnames
[] = {
34993 (char *) "self", NULL
34996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
34997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35001 result
= (arg1
)->GetPosition();
35003 wxPyEndAllowThreads(__tstate
);
35004 if (PyErr_Occurred()) SWIG_fail
;
35007 wxPoint
* resultptr
;
35008 resultptr
= new wxPoint((wxPoint
&) result
);
35009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35017 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35018 PyObject
*resultobj
;
35019 wxSizer
*arg1
= (wxSizer
*) 0 ;
35021 PyObject
* obj0
= 0 ;
35022 char *kwnames
[] = {
35023 (char *) "self", NULL
35026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35031 result
= (arg1
)->GetMinSize();
35033 wxPyEndAllowThreads(__tstate
);
35034 if (PyErr_Occurred()) SWIG_fail
;
35037 wxSize
* resultptr
;
35038 resultptr
= new wxSize((wxSize
&) result
);
35039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35047 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35048 PyObject
*resultobj
;
35049 wxSizer
*arg1
= (wxSizer
*) 0 ;
35050 PyObject
* obj0
= 0 ;
35051 char *kwnames
[] = {
35052 (char *) "self", NULL
35055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35060 (arg1
)->RecalcSizes();
35062 wxPyEndAllowThreads(__tstate
);
35063 if (PyErr_Occurred()) SWIG_fail
;
35065 Py_INCREF(Py_None
); resultobj
= Py_None
;
35072 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35073 PyObject
*resultobj
;
35074 wxSizer
*arg1
= (wxSizer
*) 0 ;
35076 PyObject
* obj0
= 0 ;
35077 char *kwnames
[] = {
35078 (char *) "self", NULL
35081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35086 result
= (arg1
)->CalcMin();
35088 wxPyEndAllowThreads(__tstate
);
35089 if (PyErr_Occurred()) SWIG_fail
;
35092 wxSize
* resultptr
;
35093 resultptr
= new wxSize((wxSize
&) result
);
35094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35102 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35103 PyObject
*resultobj
;
35104 wxSizer
*arg1
= (wxSizer
*) 0 ;
35105 PyObject
* obj0
= 0 ;
35106 char *kwnames
[] = {
35107 (char *) "self", NULL
35110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35117 wxPyEndAllowThreads(__tstate
);
35118 if (PyErr_Occurred()) SWIG_fail
;
35120 Py_INCREF(Py_None
); resultobj
= Py_None
;
35127 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35128 PyObject
*resultobj
;
35129 wxSizer
*arg1
= (wxSizer
*) 0 ;
35130 wxWindow
*arg2
= (wxWindow
*) 0 ;
35132 PyObject
* obj0
= 0 ;
35133 PyObject
* obj1
= 0 ;
35134 char *kwnames
[] = {
35135 (char *) "self",(char *) "window", NULL
35138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35145 result
= (arg1
)->Fit(arg2
);
35147 wxPyEndAllowThreads(__tstate
);
35148 if (PyErr_Occurred()) SWIG_fail
;
35151 wxSize
* resultptr
;
35152 resultptr
= new wxSize((wxSize
&) result
);
35153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35161 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35162 PyObject
*resultobj
;
35163 wxSizer
*arg1
= (wxSizer
*) 0 ;
35164 wxWindow
*arg2
= (wxWindow
*) 0 ;
35165 PyObject
* obj0
= 0 ;
35166 PyObject
* obj1
= 0 ;
35167 char *kwnames
[] = {
35168 (char *) "self",(char *) "window", NULL
35171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35178 (arg1
)->FitInside(arg2
);
35180 wxPyEndAllowThreads(__tstate
);
35181 if (PyErr_Occurred()) SWIG_fail
;
35183 Py_INCREF(Py_None
); resultobj
= Py_None
;
35190 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35191 PyObject
*resultobj
;
35192 wxSizer
*arg1
= (wxSizer
*) 0 ;
35193 wxWindow
*arg2
= (wxWindow
*) 0 ;
35194 PyObject
* obj0
= 0 ;
35195 PyObject
* obj1
= 0 ;
35196 char *kwnames
[] = {
35197 (char *) "self",(char *) "window", NULL
35200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35207 (arg1
)->SetSizeHints(arg2
);
35209 wxPyEndAllowThreads(__tstate
);
35210 if (PyErr_Occurred()) SWIG_fail
;
35212 Py_INCREF(Py_None
); resultobj
= Py_None
;
35219 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35220 PyObject
*resultobj
;
35221 wxSizer
*arg1
= (wxSizer
*) 0 ;
35222 wxWindow
*arg2
= (wxWindow
*) 0 ;
35223 PyObject
* obj0
= 0 ;
35224 PyObject
* obj1
= 0 ;
35225 char *kwnames
[] = {
35226 (char *) "self",(char *) "window", NULL
35229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35236 (arg1
)->SetVirtualSizeHints(arg2
);
35238 wxPyEndAllowThreads(__tstate
);
35239 if (PyErr_Occurred()) SWIG_fail
;
35241 Py_INCREF(Py_None
); resultobj
= Py_None
;
35248 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35249 PyObject
*resultobj
;
35250 wxSizer
*arg1
= (wxSizer
*) 0 ;
35251 bool arg2
= (bool) False
;
35252 PyObject
* obj0
= 0 ;
35253 PyObject
* obj1
= 0 ;
35254 char *kwnames
[] = {
35255 (char *) "self",(char *) "delete_windows", NULL
35258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35262 arg2
= (bool) SWIG_AsBool(obj1
);
35263 if (PyErr_Occurred()) SWIG_fail
;
35266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35267 (arg1
)->Clear(arg2
);
35269 wxPyEndAllowThreads(__tstate
);
35270 if (PyErr_Occurred()) SWIG_fail
;
35272 Py_INCREF(Py_None
); resultobj
= Py_None
;
35279 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35280 PyObject
*resultobj
;
35281 wxSizer
*arg1
= (wxSizer
*) 0 ;
35282 PyObject
* obj0
= 0 ;
35283 char *kwnames
[] = {
35284 (char *) "self", NULL
35287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35292 (arg1
)->DeleteWindows();
35294 wxPyEndAllowThreads(__tstate
);
35295 if (PyErr_Occurred()) SWIG_fail
;
35297 Py_INCREF(Py_None
); resultobj
= Py_None
;
35304 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35305 PyObject
*resultobj
;
35306 wxSizer
*arg1
= (wxSizer
*) 0 ;
35308 PyObject
* obj0
= 0 ;
35309 char *kwnames
[] = {
35310 (char *) "self", NULL
35313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35318 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35320 wxPyEndAllowThreads(__tstate
);
35321 if (PyErr_Occurred()) SWIG_fail
;
35323 resultobj
= result
;
35330 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35331 PyObject
*resultobj
;
35332 wxSizer
*arg1
= (wxSizer
*) 0 ;
35333 PyObject
*arg2
= (PyObject
*) 0 ;
35334 bool arg3
= (bool) True
;
35335 PyObject
* obj0
= 0 ;
35336 PyObject
* obj1
= 0 ;
35337 PyObject
* obj2
= 0 ;
35338 char *kwnames
[] = {
35339 (char *) "self",(char *) "item",(char *) "show", NULL
35342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35347 arg3
= (bool) SWIG_AsBool(obj2
);
35348 if (PyErr_Occurred()) SWIG_fail
;
35351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35352 wxSizer_Show(arg1
,arg2
,arg3
);
35354 wxPyEndAllowThreads(__tstate
);
35355 if (PyErr_Occurred()) SWIG_fail
;
35357 Py_INCREF(Py_None
); resultobj
= Py_None
;
35364 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35365 PyObject
*resultobj
;
35366 wxSizer
*arg1
= (wxSizer
*) 0 ;
35367 PyObject
*arg2
= (PyObject
*) 0 ;
35368 PyObject
* obj0
= 0 ;
35369 PyObject
* obj1
= 0 ;
35370 char *kwnames
[] = {
35371 (char *) "self",(char *) "item", NULL
35374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35380 wxSizer_Hide(arg1
,arg2
);
35382 wxPyEndAllowThreads(__tstate
);
35383 if (PyErr_Occurred()) SWIG_fail
;
35385 Py_INCREF(Py_None
); resultobj
= Py_None
;
35392 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35393 PyObject
*resultobj
;
35394 wxSizer
*arg1
= (wxSizer
*) 0 ;
35395 PyObject
*arg2
= (PyObject
*) 0 ;
35397 PyObject
* obj0
= 0 ;
35398 PyObject
* obj1
= 0 ;
35399 char *kwnames
[] = {
35400 (char *) "self",(char *) "item", NULL
35403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35409 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35411 wxPyEndAllowThreads(__tstate
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35423 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35424 PyObject
*resultobj
;
35425 wxSizer
*arg1
= (wxSizer
*) 0 ;
35427 PyObject
* obj0
= 0 ;
35428 PyObject
* obj1
= 0 ;
35429 char *kwnames
[] = {
35430 (char *) "self",(char *) "show", NULL
35433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35436 arg2
= (bool) SWIG_AsBool(obj1
);
35437 if (PyErr_Occurred()) SWIG_fail
;
35439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35440 (arg1
)->ShowItems(arg2
);
35442 wxPyEndAllowThreads(__tstate
);
35443 if (PyErr_Occurred()) SWIG_fail
;
35445 Py_INCREF(Py_None
); resultobj
= Py_None
;
35452 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35455 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35457 return Py_BuildValue((char *)"");
35459 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35460 PyObject
*resultobj
;
35462 char *kwnames
[] = {
35466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35469 result
= (wxPySizer
*)new wxPySizer();
35471 wxPyEndAllowThreads(__tstate
);
35472 if (PyErr_Occurred()) SWIG_fail
;
35474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35481 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35482 PyObject
*resultobj
;
35483 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35484 PyObject
*arg2
= (PyObject
*) 0 ;
35485 PyObject
*arg3
= (PyObject
*) 0 ;
35486 PyObject
* obj0
= 0 ;
35487 PyObject
* obj1
= 0 ;
35488 PyObject
* obj2
= 0 ;
35489 char *kwnames
[] = {
35490 (char *) "self",(char *) "self",(char *) "_class", NULL
35493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35500 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35502 wxPyEndAllowThreads(__tstate
);
35503 if (PyErr_Occurred()) SWIG_fail
;
35505 Py_INCREF(Py_None
); resultobj
= Py_None
;
35512 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35515 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35517 return Py_BuildValue((char *)"");
35519 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35520 PyObject
*resultobj
;
35521 int arg1
= (int) wxHORIZONTAL
;
35522 wxBoxSizer
*result
;
35523 PyObject
* obj0
= 0 ;
35524 char *kwnames
[] = {
35525 (char *) "orient", NULL
35528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35530 arg1
= (int) SWIG_AsInt(obj0
);
35531 if (PyErr_Occurred()) SWIG_fail
;
35534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35535 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35537 wxPyEndAllowThreads(__tstate
);
35538 if (PyErr_Occurred()) SWIG_fail
;
35540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35547 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35548 PyObject
*resultobj
;
35549 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35551 PyObject
* obj0
= 0 ;
35552 char *kwnames
[] = {
35553 (char *) "self", NULL
35556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35561 result
= (int)(arg1
)->GetOrientation();
35563 wxPyEndAllowThreads(__tstate
);
35564 if (PyErr_Occurred()) SWIG_fail
;
35566 resultobj
= SWIG_FromInt((int)result
);
35573 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35574 PyObject
*resultobj
;
35575 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35577 PyObject
* obj0
= 0 ;
35578 PyObject
* obj1
= 0 ;
35579 char *kwnames
[] = {
35580 (char *) "self",(char *) "orient", NULL
35583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35586 arg2
= (int) SWIG_AsInt(obj1
);
35587 if (PyErr_Occurred()) SWIG_fail
;
35589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35590 (arg1
)->SetOrientation(arg2
);
35592 wxPyEndAllowThreads(__tstate
);
35593 if (PyErr_Occurred()) SWIG_fail
;
35595 Py_INCREF(Py_None
); resultobj
= Py_None
;
35602 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35603 PyObject
*resultobj
;
35604 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35605 PyObject
* obj0
= 0 ;
35606 char *kwnames
[] = {
35607 (char *) "self", NULL
35610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35615 (arg1
)->RecalcSizes();
35617 wxPyEndAllowThreads(__tstate
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35620 Py_INCREF(Py_None
); resultobj
= Py_None
;
35627 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35628 PyObject
*resultobj
;
35629 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35631 PyObject
* obj0
= 0 ;
35632 char *kwnames
[] = {
35633 (char *) "self", NULL
35636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35641 result
= (arg1
)->CalcMin();
35643 wxPyEndAllowThreads(__tstate
);
35644 if (PyErr_Occurred()) SWIG_fail
;
35647 wxSize
* resultptr
;
35648 resultptr
= new wxSize((wxSize
&) result
);
35649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35657 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35660 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35662 return Py_BuildValue((char *)"");
35664 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35665 PyObject
*resultobj
;
35666 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35667 int arg2
= (int) wxHORIZONTAL
;
35668 wxStaticBoxSizer
*result
;
35669 PyObject
* obj0
= 0 ;
35670 PyObject
* obj1
= 0 ;
35671 char *kwnames
[] = {
35672 (char *) "box",(char *) "orient", NULL
35675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35679 arg2
= (int) SWIG_AsInt(obj1
);
35680 if (PyErr_Occurred()) SWIG_fail
;
35683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35684 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35686 wxPyEndAllowThreads(__tstate
);
35687 if (PyErr_Occurred()) SWIG_fail
;
35689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
35696 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35697 PyObject
*resultobj
;
35698 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35699 wxStaticBox
*result
;
35700 PyObject
* obj0
= 0 ;
35701 char *kwnames
[] = {
35702 (char *) "self", NULL
35705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
35706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35710 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
35712 wxPyEndAllowThreads(__tstate
);
35713 if (PyErr_Occurred()) SWIG_fail
;
35716 resultobj
= wxPyMake_wxObject(result
);
35724 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35725 PyObject
*resultobj
;
35726 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35727 PyObject
* obj0
= 0 ;
35728 char *kwnames
[] = {
35729 (char *) "self", NULL
35732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 (arg1
)->RecalcSizes();
35739 wxPyEndAllowThreads(__tstate
);
35740 if (PyErr_Occurred()) SWIG_fail
;
35742 Py_INCREF(Py_None
); resultobj
= Py_None
;
35749 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35750 PyObject
*resultobj
;
35751 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35753 PyObject
* obj0
= 0 ;
35754 char *kwnames
[] = {
35755 (char *) "self", NULL
35758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35763 result
= (arg1
)->CalcMin();
35765 wxPyEndAllowThreads(__tstate
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35769 wxSize
* resultptr
;
35770 resultptr
= new wxSize((wxSize
&) result
);
35771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35779 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35782 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
35784 return Py_BuildValue((char *)"");
35786 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35787 PyObject
*resultobj
;
35788 int arg1
= (int) 1 ;
35789 int arg2
= (int) 0 ;
35790 int arg3
= (int) 0 ;
35791 int arg4
= (int) 0 ;
35792 wxGridSizer
*result
;
35793 PyObject
* obj0
= 0 ;
35794 PyObject
* obj1
= 0 ;
35795 PyObject
* obj2
= 0 ;
35796 PyObject
* obj3
= 0 ;
35797 char *kwnames
[] = {
35798 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35803 arg1
= (int) SWIG_AsInt(obj0
);
35804 if (PyErr_Occurred()) SWIG_fail
;
35807 arg2
= (int) SWIG_AsInt(obj1
);
35808 if (PyErr_Occurred()) SWIG_fail
;
35811 arg3
= (int) SWIG_AsInt(obj2
);
35812 if (PyErr_Occurred()) SWIG_fail
;
35815 arg4
= (int) SWIG_AsInt(obj3
);
35816 if (PyErr_Occurred()) SWIG_fail
;
35819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35820 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
35822 wxPyEndAllowThreads(__tstate
);
35823 if (PyErr_Occurred()) SWIG_fail
;
35825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
35832 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35833 PyObject
*resultobj
;
35834 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35835 PyObject
* obj0
= 0 ;
35836 char *kwnames
[] = {
35837 (char *) "self", NULL
35840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35845 (arg1
)->RecalcSizes();
35847 wxPyEndAllowThreads(__tstate
);
35848 if (PyErr_Occurred()) SWIG_fail
;
35850 Py_INCREF(Py_None
); resultobj
= Py_None
;
35857 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35858 PyObject
*resultobj
;
35859 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35861 PyObject
* obj0
= 0 ;
35862 char *kwnames
[] = {
35863 (char *) "self", NULL
35866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35871 result
= (arg1
)->CalcMin();
35873 wxPyEndAllowThreads(__tstate
);
35874 if (PyErr_Occurred()) SWIG_fail
;
35877 wxSize
* resultptr
;
35878 resultptr
= new wxSize((wxSize
&) result
);
35879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35887 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35888 PyObject
*resultobj
;
35889 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35891 PyObject
* obj0
= 0 ;
35892 PyObject
* obj1
= 0 ;
35893 char *kwnames
[] = {
35894 (char *) "self",(char *) "cols", NULL
35897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
35898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35900 arg2
= (int) SWIG_AsInt(obj1
);
35901 if (PyErr_Occurred()) SWIG_fail
;
35903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35904 (arg1
)->SetCols(arg2
);
35906 wxPyEndAllowThreads(__tstate
);
35907 if (PyErr_Occurred()) SWIG_fail
;
35909 Py_INCREF(Py_None
); resultobj
= Py_None
;
35916 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35917 PyObject
*resultobj
;
35918 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35920 PyObject
* obj0
= 0 ;
35921 PyObject
* obj1
= 0 ;
35922 char *kwnames
[] = {
35923 (char *) "self",(char *) "rows", NULL
35926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
35927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35929 arg2
= (int) SWIG_AsInt(obj1
);
35930 if (PyErr_Occurred()) SWIG_fail
;
35932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35933 (arg1
)->SetRows(arg2
);
35935 wxPyEndAllowThreads(__tstate
);
35936 if (PyErr_Occurred()) SWIG_fail
;
35938 Py_INCREF(Py_None
); resultobj
= Py_None
;
35945 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35946 PyObject
*resultobj
;
35947 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35949 PyObject
* obj0
= 0 ;
35950 PyObject
* obj1
= 0 ;
35951 char *kwnames
[] = {
35952 (char *) "self",(char *) "gap", NULL
35955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35958 arg2
= (int) SWIG_AsInt(obj1
);
35959 if (PyErr_Occurred()) SWIG_fail
;
35961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35962 (arg1
)->SetVGap(arg2
);
35964 wxPyEndAllowThreads(__tstate
);
35965 if (PyErr_Occurred()) SWIG_fail
;
35967 Py_INCREF(Py_None
); resultobj
= Py_None
;
35974 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35975 PyObject
*resultobj
;
35976 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35978 PyObject
* obj0
= 0 ;
35979 PyObject
* obj1
= 0 ;
35980 char *kwnames
[] = {
35981 (char *) "self",(char *) "gap", NULL
35984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35987 arg2
= (int) SWIG_AsInt(obj1
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35991 (arg1
)->SetHGap(arg2
);
35993 wxPyEndAllowThreads(__tstate
);
35994 if (PyErr_Occurred()) SWIG_fail
;
35996 Py_INCREF(Py_None
); resultobj
= Py_None
;
36003 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36004 PyObject
*resultobj
;
36005 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36007 PyObject
* obj0
= 0 ;
36008 char *kwnames
[] = {
36009 (char *) "self", NULL
36012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36017 result
= (int)(arg1
)->GetCols();
36019 wxPyEndAllowThreads(__tstate
);
36020 if (PyErr_Occurred()) SWIG_fail
;
36022 resultobj
= SWIG_FromInt((int)result
);
36029 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36030 PyObject
*resultobj
;
36031 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36033 PyObject
* obj0
= 0 ;
36034 char *kwnames
[] = {
36035 (char *) "self", NULL
36038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36043 result
= (int)(arg1
)->GetRows();
36045 wxPyEndAllowThreads(__tstate
);
36046 if (PyErr_Occurred()) SWIG_fail
;
36048 resultobj
= SWIG_FromInt((int)result
);
36055 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36056 PyObject
*resultobj
;
36057 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36059 PyObject
* obj0
= 0 ;
36060 char *kwnames
[] = {
36061 (char *) "self", NULL
36064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36069 result
= (int)(arg1
)->GetVGap();
36071 wxPyEndAllowThreads(__tstate
);
36072 if (PyErr_Occurred()) SWIG_fail
;
36074 resultobj
= SWIG_FromInt((int)result
);
36081 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36082 PyObject
*resultobj
;
36083 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36085 PyObject
* obj0
= 0 ;
36086 char *kwnames
[] = {
36087 (char *) "self", NULL
36090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36095 result
= (int)(arg1
)->GetHGap();
36097 wxPyEndAllowThreads(__tstate
);
36098 if (PyErr_Occurred()) SWIG_fail
;
36100 resultobj
= SWIG_FromInt((int)result
);
36107 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36110 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36112 return Py_BuildValue((char *)"");
36114 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36115 PyObject
*resultobj
;
36116 int arg1
= (int) 1 ;
36117 int arg2
= (int) 0 ;
36118 int arg3
= (int) 0 ;
36119 int arg4
= (int) 0 ;
36120 wxFlexGridSizer
*result
;
36121 PyObject
* obj0
= 0 ;
36122 PyObject
* obj1
= 0 ;
36123 PyObject
* obj2
= 0 ;
36124 PyObject
* obj3
= 0 ;
36125 char *kwnames
[] = {
36126 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36131 arg1
= (int) SWIG_AsInt(obj0
);
36132 if (PyErr_Occurred()) SWIG_fail
;
36135 arg2
= (int) SWIG_AsInt(obj1
);
36136 if (PyErr_Occurred()) SWIG_fail
;
36139 arg3
= (int) SWIG_AsInt(obj2
);
36140 if (PyErr_Occurred()) SWIG_fail
;
36143 arg4
= (int) SWIG_AsInt(obj3
);
36144 if (PyErr_Occurred()) SWIG_fail
;
36147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36148 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36150 wxPyEndAllowThreads(__tstate
);
36151 if (PyErr_Occurred()) SWIG_fail
;
36153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36160 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36161 PyObject
*resultobj
;
36162 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36163 PyObject
* obj0
= 0 ;
36164 char *kwnames
[] = {
36165 (char *) "self", NULL
36168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36173 (arg1
)->RecalcSizes();
36175 wxPyEndAllowThreads(__tstate
);
36176 if (PyErr_Occurred()) SWIG_fail
;
36178 Py_INCREF(Py_None
); resultobj
= Py_None
;
36185 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36186 PyObject
*resultobj
;
36187 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36189 PyObject
* obj0
= 0 ;
36190 char *kwnames
[] = {
36191 (char *) "self", NULL
36194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36199 result
= (arg1
)->CalcMin();
36201 wxPyEndAllowThreads(__tstate
);
36202 if (PyErr_Occurred()) SWIG_fail
;
36205 wxSize
* resultptr
;
36206 resultptr
= new wxSize((wxSize
&) result
);
36207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36215 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36216 PyObject
*resultobj
;
36217 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36219 int arg3
= (int) 0 ;
36220 PyObject
* obj0
= 0 ;
36221 PyObject
* obj1
= 0 ;
36222 PyObject
* obj2
= 0 ;
36223 char *kwnames
[] = {
36224 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36230 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36231 if (PyErr_Occurred()) SWIG_fail
;
36233 arg3
= (int) SWIG_AsInt(obj2
);
36234 if (PyErr_Occurred()) SWIG_fail
;
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 (arg1
)->AddGrowableRow(arg2
,arg3
);
36240 wxPyEndAllowThreads(__tstate
);
36241 if (PyErr_Occurred()) SWIG_fail
;
36243 Py_INCREF(Py_None
); resultobj
= Py_None
;
36250 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36251 PyObject
*resultobj
;
36252 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36254 PyObject
* obj0
= 0 ;
36255 PyObject
* obj1
= 0 ;
36256 char *kwnames
[] = {
36257 (char *) "self",(char *) "idx", NULL
36260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36263 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36264 if (PyErr_Occurred()) SWIG_fail
;
36266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36267 (arg1
)->RemoveGrowableRow(arg2
);
36269 wxPyEndAllowThreads(__tstate
);
36270 if (PyErr_Occurred()) SWIG_fail
;
36272 Py_INCREF(Py_None
); resultobj
= Py_None
;
36279 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36280 PyObject
*resultobj
;
36281 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36283 int arg3
= (int) 0 ;
36284 PyObject
* obj0
= 0 ;
36285 PyObject
* obj1
= 0 ;
36286 PyObject
* obj2
= 0 ;
36287 char *kwnames
[] = {
36288 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36294 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36295 if (PyErr_Occurred()) SWIG_fail
;
36297 arg3
= (int) SWIG_AsInt(obj2
);
36298 if (PyErr_Occurred()) SWIG_fail
;
36301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36302 (arg1
)->AddGrowableCol(arg2
,arg3
);
36304 wxPyEndAllowThreads(__tstate
);
36305 if (PyErr_Occurred()) SWIG_fail
;
36307 Py_INCREF(Py_None
); resultobj
= Py_None
;
36314 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36315 PyObject
*resultobj
;
36316 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36318 PyObject
* obj0
= 0 ;
36319 PyObject
* obj1
= 0 ;
36320 char *kwnames
[] = {
36321 (char *) "self",(char *) "idx", NULL
36324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36327 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36328 if (PyErr_Occurred()) SWIG_fail
;
36330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36331 (arg1
)->RemoveGrowableCol(arg2
);
36333 wxPyEndAllowThreads(__tstate
);
36334 if (PyErr_Occurred()) SWIG_fail
;
36336 Py_INCREF(Py_None
); resultobj
= Py_None
;
36343 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36344 PyObject
*resultobj
;
36345 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36347 PyObject
* obj0
= 0 ;
36348 PyObject
* obj1
= 0 ;
36349 char *kwnames
[] = {
36350 (char *) "self",(char *) "direction", NULL
36353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36356 arg2
= (int) SWIG_AsInt(obj1
);
36357 if (PyErr_Occurred()) SWIG_fail
;
36359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36360 (arg1
)->SetFlexibleDirection(arg2
);
36362 wxPyEndAllowThreads(__tstate
);
36363 if (PyErr_Occurred()) SWIG_fail
;
36365 Py_INCREF(Py_None
); resultobj
= Py_None
;
36372 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36373 PyObject
*resultobj
;
36374 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36376 PyObject
* obj0
= 0 ;
36377 char *kwnames
[] = {
36378 (char *) "self", NULL
36381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36386 result
= (int)(arg1
)->GetFlexibleDirection();
36388 wxPyEndAllowThreads(__tstate
);
36389 if (PyErr_Occurred()) SWIG_fail
;
36391 resultobj
= SWIG_FromInt((int)result
);
36398 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36399 PyObject
*resultobj
;
36400 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36402 PyObject
* obj0
= 0 ;
36403 PyObject
* obj1
= 0 ;
36404 char *kwnames
[] = {
36405 (char *) "self",(char *) "mode", NULL
36408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36411 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36412 if (PyErr_Occurred()) SWIG_fail
;
36414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36415 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36420 Py_INCREF(Py_None
); resultobj
= Py_None
;
36427 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36428 PyObject
*resultobj
;
36429 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36431 PyObject
* obj0
= 0 ;
36432 char *kwnames
[] = {
36433 (char *) "self", NULL
36436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36441 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36443 wxPyEndAllowThreads(__tstate
);
36444 if (PyErr_Occurred()) SWIG_fail
;
36446 resultobj
= SWIG_FromInt((int)result
);
36453 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36454 PyObject
*resultobj
;
36455 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36456 wxArrayInt
*result
;
36457 PyObject
* obj0
= 0 ;
36458 char *kwnames
[] = {
36459 (char *) "self", NULL
36462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36468 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36469 result
= (wxArrayInt
*) &_result_ref
;
36472 wxPyEndAllowThreads(__tstate
);
36473 if (PyErr_Occurred()) SWIG_fail
;
36476 resultobj
= PyList_New(0);
36478 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36479 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36480 PyList_Append(resultobj
, val
);
36490 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36491 PyObject
*resultobj
;
36492 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36493 wxArrayInt
*result
;
36494 PyObject
* obj0
= 0 ;
36495 char *kwnames
[] = {
36496 (char *) "self", NULL
36499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36505 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36506 result
= (wxArrayInt
*) &_result_ref
;
36509 wxPyEndAllowThreads(__tstate
);
36510 if (PyErr_Occurred()) SWIG_fail
;
36513 resultobj
= PyList_New(0);
36515 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36516 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36517 PyList_Append(resultobj
, val
);
36527 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36530 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36532 return Py_BuildValue((char *)"");
36534 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36535 PyObject
*resultobj
;
36536 int arg1
= (int) 0 ;
36537 int arg2
= (int) 0 ;
36538 wxGBPosition
*result
;
36539 PyObject
* obj0
= 0 ;
36540 PyObject
* obj1
= 0 ;
36541 char *kwnames
[] = {
36542 (char *) "row",(char *) "col", NULL
36545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36547 arg1
= (int) SWIG_AsInt(obj0
);
36548 if (PyErr_Occurred()) SWIG_fail
;
36551 arg2
= (int) SWIG_AsInt(obj1
);
36552 if (PyErr_Occurred()) SWIG_fail
;
36555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36556 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36558 wxPyEndAllowThreads(__tstate
);
36559 if (PyErr_Occurred()) SWIG_fail
;
36561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36568 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36569 PyObject
*resultobj
;
36570 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36572 PyObject
* obj0
= 0 ;
36573 char *kwnames
[] = {
36574 (char *) "self", NULL
36577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36582 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36584 wxPyEndAllowThreads(__tstate
);
36585 if (PyErr_Occurred()) SWIG_fail
;
36587 resultobj
= SWIG_FromInt((int)result
);
36594 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36595 PyObject
*resultobj
;
36596 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36598 PyObject
* obj0
= 0 ;
36599 char *kwnames
[] = {
36600 (char *) "self", NULL
36603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36608 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36610 wxPyEndAllowThreads(__tstate
);
36611 if (PyErr_Occurred()) SWIG_fail
;
36613 resultobj
= SWIG_FromInt((int)result
);
36620 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36621 PyObject
*resultobj
;
36622 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36624 PyObject
* obj0
= 0 ;
36625 PyObject
* obj1
= 0 ;
36626 char *kwnames
[] = {
36627 (char *) "self",(char *) "row", NULL
36630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36633 arg2
= (int) SWIG_AsInt(obj1
);
36634 if (PyErr_Occurred()) SWIG_fail
;
36636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36637 (arg1
)->SetRow(arg2
);
36639 wxPyEndAllowThreads(__tstate
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36642 Py_INCREF(Py_None
); resultobj
= Py_None
;
36649 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36650 PyObject
*resultobj
;
36651 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36653 PyObject
* obj0
= 0 ;
36654 PyObject
* obj1
= 0 ;
36655 char *kwnames
[] = {
36656 (char *) "self",(char *) "col", NULL
36659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36662 arg2
= (int) SWIG_AsInt(obj1
);
36663 if (PyErr_Occurred()) SWIG_fail
;
36665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36666 (arg1
)->SetCol(arg2
);
36668 wxPyEndAllowThreads(__tstate
);
36669 if (PyErr_Occurred()) SWIG_fail
;
36671 Py_INCREF(Py_None
); resultobj
= Py_None
;
36678 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36679 PyObject
*resultobj
;
36680 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36681 wxGBPosition
*arg2
= 0 ;
36683 wxGBPosition temp2
;
36684 PyObject
* obj0
= 0 ;
36685 PyObject
* obj1
= 0 ;
36686 char *kwnames
[] = {
36687 (char *) "self",(char *) "other", NULL
36690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36695 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36699 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36701 wxPyEndAllowThreads(__tstate
);
36702 if (PyErr_Occurred()) SWIG_fail
;
36705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36713 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36714 PyObject
*resultobj
;
36715 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36716 wxGBPosition
*arg2
= 0 ;
36718 wxGBPosition temp2
;
36719 PyObject
* obj0
= 0 ;
36720 PyObject
* obj1
= 0 ;
36721 char *kwnames
[] = {
36722 (char *) "self",(char *) "other", NULL
36725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36730 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36734 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36736 wxPyEndAllowThreads(__tstate
);
36737 if (PyErr_Occurred()) SWIG_fail
;
36740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36748 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36749 PyObject
*resultobj
;
36750 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36751 int arg2
= (int) 0 ;
36752 int arg3
= (int) 0 ;
36753 PyObject
* obj0
= 0 ;
36754 PyObject
* obj1
= 0 ;
36755 PyObject
* obj2
= 0 ;
36756 char *kwnames
[] = {
36757 (char *) "self",(char *) "row",(char *) "col", NULL
36760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36764 arg2
= (int) SWIG_AsInt(obj1
);
36765 if (PyErr_Occurred()) SWIG_fail
;
36768 arg3
= (int) SWIG_AsInt(obj2
);
36769 if (PyErr_Occurred()) SWIG_fail
;
36772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36773 wxGBPosition_Set(arg1
,arg2
,arg3
);
36775 wxPyEndAllowThreads(__tstate
);
36776 if (PyErr_Occurred()) SWIG_fail
;
36778 Py_INCREF(Py_None
); resultobj
= Py_None
;
36785 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36786 PyObject
*resultobj
;
36787 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36789 PyObject
* obj0
= 0 ;
36790 char *kwnames
[] = {
36791 (char *) "self", NULL
36794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36799 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36801 wxPyEndAllowThreads(__tstate
);
36802 if (PyErr_Occurred()) SWIG_fail
;
36804 resultobj
= result
;
36811 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36814 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36816 return Py_BuildValue((char *)"");
36818 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36819 PyObject
*resultobj
;
36820 int arg1
= (int) 1 ;
36821 int arg2
= (int) 1 ;
36823 PyObject
* obj0
= 0 ;
36824 PyObject
* obj1
= 0 ;
36825 char *kwnames
[] = {
36826 (char *) "rowspan",(char *) "colspan", NULL
36829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36831 arg1
= (int) SWIG_AsInt(obj0
);
36832 if (PyErr_Occurred()) SWIG_fail
;
36835 arg2
= (int) SWIG_AsInt(obj1
);
36836 if (PyErr_Occurred()) SWIG_fail
;
36839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36840 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
36842 wxPyEndAllowThreads(__tstate
);
36843 if (PyErr_Occurred()) SWIG_fail
;
36845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36852 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36853 PyObject
*resultobj
;
36854 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36856 PyObject
* obj0
= 0 ;
36857 char *kwnames
[] = {
36858 (char *) "self", NULL
36861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36866 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36868 wxPyEndAllowThreads(__tstate
);
36869 if (PyErr_Occurred()) SWIG_fail
;
36871 resultobj
= SWIG_FromInt((int)result
);
36878 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36879 PyObject
*resultobj
;
36880 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36882 PyObject
* obj0
= 0 ;
36883 char *kwnames
[] = {
36884 (char *) "self", NULL
36887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36892 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
36894 wxPyEndAllowThreads(__tstate
);
36895 if (PyErr_Occurred()) SWIG_fail
;
36897 resultobj
= SWIG_FromInt((int)result
);
36904 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36905 PyObject
*resultobj
;
36906 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36908 PyObject
* obj0
= 0 ;
36909 PyObject
* obj1
= 0 ;
36910 char *kwnames
[] = {
36911 (char *) "self",(char *) "rowspan", NULL
36914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36917 arg2
= (int) SWIG_AsInt(obj1
);
36918 if (PyErr_Occurred()) SWIG_fail
;
36920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36921 (arg1
)->SetRowspan(arg2
);
36923 wxPyEndAllowThreads(__tstate
);
36924 if (PyErr_Occurred()) SWIG_fail
;
36926 Py_INCREF(Py_None
); resultobj
= Py_None
;
36933 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36934 PyObject
*resultobj
;
36935 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36937 PyObject
* obj0
= 0 ;
36938 PyObject
* obj1
= 0 ;
36939 char *kwnames
[] = {
36940 (char *) "self",(char *) "colspan", NULL
36943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36946 arg2
= (int) SWIG_AsInt(obj1
);
36947 if (PyErr_Occurred()) SWIG_fail
;
36949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36950 (arg1
)->SetColspan(arg2
);
36952 wxPyEndAllowThreads(__tstate
);
36953 if (PyErr_Occurred()) SWIG_fail
;
36955 Py_INCREF(Py_None
); resultobj
= Py_None
;
36962 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36963 PyObject
*resultobj
;
36964 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36965 wxGBSpan
*arg2
= 0 ;
36968 PyObject
* obj0
= 0 ;
36969 PyObject
* obj1
= 0 ;
36970 char *kwnames
[] = {
36971 (char *) "self",(char *) "other", NULL
36974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36979 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36983 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
36985 wxPyEndAllowThreads(__tstate
);
36986 if (PyErr_Occurred()) SWIG_fail
;
36989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36997 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36998 PyObject
*resultobj
;
36999 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37000 wxGBSpan
*arg2
= 0 ;
37003 PyObject
* obj0
= 0 ;
37004 PyObject
* obj1
= 0 ;
37005 char *kwnames
[] = {
37006 (char *) "self",(char *) "other", NULL
37009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37014 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37018 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37020 wxPyEndAllowThreads(__tstate
);
37021 if (PyErr_Occurred()) SWIG_fail
;
37024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37032 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37033 PyObject
*resultobj
;
37034 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37035 int arg2
= (int) 1 ;
37036 int arg3
= (int) 1 ;
37037 PyObject
* obj0
= 0 ;
37038 PyObject
* obj1
= 0 ;
37039 PyObject
* obj2
= 0 ;
37040 char *kwnames
[] = {
37041 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37048 arg2
= (int) SWIG_AsInt(obj1
);
37049 if (PyErr_Occurred()) SWIG_fail
;
37052 arg3
= (int) SWIG_AsInt(obj2
);
37053 if (PyErr_Occurred()) SWIG_fail
;
37056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37057 wxGBSpan_Set(arg1
,arg2
,arg3
);
37059 wxPyEndAllowThreads(__tstate
);
37060 if (PyErr_Occurred()) SWIG_fail
;
37062 Py_INCREF(Py_None
); resultobj
= Py_None
;
37069 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37070 PyObject
*resultobj
;
37071 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37073 PyObject
* obj0
= 0 ;
37074 char *kwnames
[] = {
37075 (char *) "self", NULL
37078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37083 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37085 wxPyEndAllowThreads(__tstate
);
37086 if (PyErr_Occurred()) SWIG_fail
;
37088 resultobj
= result
;
37095 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37098 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37100 return Py_BuildValue((char *)"");
37102 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37103 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37108 static PyObject
*_wrap_DefaultSpan_get() {
37111 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37116 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37117 PyObject
*resultobj
;
37118 wxGBSizerItem
*result
;
37119 char *kwnames
[] = {
37123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37126 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37128 wxPyEndAllowThreads(__tstate
);
37129 if (PyErr_Occurred()) SWIG_fail
;
37131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37138 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37139 PyObject
*resultobj
;
37140 wxWindow
*arg1
= (wxWindow
*) 0 ;
37141 wxGBPosition
*arg2
= 0 ;
37142 wxGBSpan
*arg3
= 0 ;
37145 wxObject
*arg6
= (wxObject
*) 0 ;
37146 wxGBSizerItem
*result
;
37147 wxGBPosition temp2
;
37149 PyObject
* obj0
= 0 ;
37150 PyObject
* obj1
= 0 ;
37151 PyObject
* obj2
= 0 ;
37152 PyObject
* obj3
= 0 ;
37153 PyObject
* obj4
= 0 ;
37154 PyObject
* obj5
= 0 ;
37155 char *kwnames
[] = {
37156 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37164 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37168 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37170 arg4
= (int) SWIG_AsInt(obj3
);
37171 if (PyErr_Occurred()) SWIG_fail
;
37172 arg5
= (int) SWIG_AsInt(obj4
);
37173 if (PyErr_Occurred()) SWIG_fail
;
37174 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37178 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37180 wxPyEndAllowThreads(__tstate
);
37181 if (PyErr_Occurred()) SWIG_fail
;
37183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37190 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37191 PyObject
*resultobj
;
37192 wxSizer
*arg1
= (wxSizer
*) 0 ;
37193 wxGBPosition
*arg2
= 0 ;
37194 wxGBSpan
*arg3
= 0 ;
37197 wxObject
*arg6
= (wxObject
*) 0 ;
37198 wxGBSizerItem
*result
;
37199 wxGBPosition temp2
;
37201 PyObject
* obj0
= 0 ;
37202 PyObject
* obj1
= 0 ;
37203 PyObject
* obj2
= 0 ;
37204 PyObject
* obj3
= 0 ;
37205 PyObject
* obj4
= 0 ;
37206 PyObject
* obj5
= 0 ;
37207 char *kwnames
[] = {
37208 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37216 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37220 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37222 arg4
= (int) SWIG_AsInt(obj3
);
37223 if (PyErr_Occurred()) SWIG_fail
;
37224 arg5
= (int) SWIG_AsInt(obj4
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37226 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37230 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37232 wxPyEndAllowThreads(__tstate
);
37233 if (PyErr_Occurred()) SWIG_fail
;
37235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37242 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37243 PyObject
*resultobj
;
37246 wxGBPosition
*arg3
= 0 ;
37247 wxGBSpan
*arg4
= 0 ;
37250 wxObject
*arg7
= (wxObject
*) 0 ;
37251 wxGBSizerItem
*result
;
37252 wxGBPosition temp3
;
37254 PyObject
* obj0
= 0 ;
37255 PyObject
* obj1
= 0 ;
37256 PyObject
* obj2
= 0 ;
37257 PyObject
* obj3
= 0 ;
37258 PyObject
* obj4
= 0 ;
37259 PyObject
* obj5
= 0 ;
37260 PyObject
* obj6
= 0 ;
37261 char *kwnames
[] = {
37262 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37266 arg1
= (int) SWIG_AsInt(obj0
);
37267 if (PyErr_Occurred()) SWIG_fail
;
37268 arg2
= (int) SWIG_AsInt(obj1
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37272 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37276 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37278 arg5
= (int) SWIG_AsInt(obj4
);
37279 if (PyErr_Occurred()) SWIG_fail
;
37280 arg6
= (int) SWIG_AsInt(obj5
);
37281 if (PyErr_Occurred()) SWIG_fail
;
37282 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37286 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37288 wxPyEndAllowThreads(__tstate
);
37289 if (PyErr_Occurred()) SWIG_fail
;
37291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37298 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37299 PyObject
*resultobj
;
37300 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37301 wxGBPosition result
;
37302 PyObject
* obj0
= 0 ;
37303 char *kwnames
[] = {
37304 (char *) "self", NULL
37307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37312 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37314 wxPyEndAllowThreads(__tstate
);
37315 if (PyErr_Occurred()) SWIG_fail
;
37318 wxGBPosition
* resultptr
;
37319 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37328 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37329 PyObject
*resultobj
;
37330 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37332 PyObject
* obj0
= 0 ;
37333 char *kwnames
[] = {
37334 (char *) "self", NULL
37337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37342 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37344 wxPyEndAllowThreads(__tstate
);
37345 if (PyErr_Occurred()) SWIG_fail
;
37348 wxGBSpan
* resultptr
;
37349 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37358 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37359 PyObject
*resultobj
;
37360 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37361 wxGBPosition
*arg2
= 0 ;
37363 wxGBPosition temp2
;
37364 PyObject
* obj0
= 0 ;
37365 PyObject
* obj1
= 0 ;
37366 char *kwnames
[] = {
37367 (char *) "self",(char *) "pos", NULL
37370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37375 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37379 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37381 wxPyEndAllowThreads(__tstate
);
37382 if (PyErr_Occurred()) SWIG_fail
;
37385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37393 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37394 PyObject
*resultobj
;
37395 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37396 wxGBSpan
*arg2
= 0 ;
37399 PyObject
* obj0
= 0 ;
37400 PyObject
* obj1
= 0 ;
37401 char *kwnames
[] = {
37402 (char *) "self",(char *) "span", NULL
37405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37410 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37414 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37416 wxPyEndAllowThreads(__tstate
);
37417 if (PyErr_Occurred()) SWIG_fail
;
37420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37428 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37429 PyObject
*resultobj
;
37430 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37431 wxGBSizerItem
*arg2
= 0 ;
37433 PyObject
* obj0
= 0 ;
37434 PyObject
* obj1
= 0 ;
37436 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37442 if (arg2
== NULL
) {
37443 PyErr_SetString(PyExc_TypeError
,"null reference");
37447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37448 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37450 wxPyEndAllowThreads(__tstate
);
37451 if (PyErr_Occurred()) SWIG_fail
;
37454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37462 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37463 PyObject
*resultobj
;
37464 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37465 wxGBPosition
*arg2
= 0 ;
37466 wxGBSpan
*arg3
= 0 ;
37468 wxGBPosition temp2
;
37470 PyObject
* obj0
= 0 ;
37471 PyObject
* obj1
= 0 ;
37472 PyObject
* obj2
= 0 ;
37474 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37479 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37483 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37487 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37489 wxPyEndAllowThreads(__tstate
);
37490 if (PyErr_Occurred()) SWIG_fail
;
37493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37501 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37506 argc
= PyObject_Length(args
);
37507 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37508 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37514 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37524 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37532 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
37540 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37549 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37553 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37556 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
37562 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
37567 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37568 PyObject
*resultobj
;
37569 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37572 PyObject
* obj0
= 0 ;
37573 PyObject
* obj1
= 0 ;
37574 PyObject
* obj2
= 0 ;
37575 char *kwnames
[] = {
37576 (char *) "self",(char *) "row",(char *) "col", NULL
37579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
37583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37585 if (arg2
== NULL
) {
37586 PyErr_SetString(PyExc_TypeError
,"null reference");
37589 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
37590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37592 if (arg3
== NULL
) {
37593 PyErr_SetString(PyExc_TypeError
,"null reference");
37597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37598 (arg1
)->GetEndPos(*arg2
,*arg3
);
37600 wxPyEndAllowThreads(__tstate
);
37601 if (PyErr_Occurred()) SWIG_fail
;
37603 Py_INCREF(Py_None
); resultobj
= Py_None
;
37610 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37611 PyObject
*resultobj
;
37612 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37613 wxGridBagSizer
*result
;
37614 PyObject
* obj0
= 0 ;
37615 char *kwnames
[] = {
37616 (char *) "self", NULL
37619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37624 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37626 wxPyEndAllowThreads(__tstate
);
37627 if (PyErr_Occurred()) SWIG_fail
;
37629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37636 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37637 PyObject
*resultobj
;
37638 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37639 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37640 PyObject
* obj0
= 0 ;
37641 PyObject
* obj1
= 0 ;
37642 char *kwnames
[] = {
37643 (char *) "self",(char *) "sizer", NULL
37646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37653 (arg1
)->SetGBSizer(arg2
);
37655 wxPyEndAllowThreads(__tstate
);
37656 if (PyErr_Occurred()) SWIG_fail
;
37658 Py_INCREF(Py_None
); resultobj
= Py_None
;
37665 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37668 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37670 return Py_BuildValue((char *)"");
37672 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37673 PyObject
*resultobj
;
37674 int arg1
= (int) 0 ;
37675 int arg2
= (int) 0 ;
37676 wxGridBagSizer
*result
;
37677 PyObject
* obj0
= 0 ;
37678 PyObject
* obj1
= 0 ;
37679 char *kwnames
[] = {
37680 (char *) "vgap",(char *) "hgap", NULL
37683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37685 arg1
= (int) SWIG_AsInt(obj0
);
37686 if (PyErr_Occurred()) SWIG_fail
;
37689 arg2
= (int) SWIG_AsInt(obj1
);
37690 if (PyErr_Occurred()) SWIG_fail
;
37693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37694 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37696 wxPyEndAllowThreads(__tstate
);
37697 if (PyErr_Occurred()) SWIG_fail
;
37699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37706 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37707 PyObject
*resultobj
;
37708 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37709 PyObject
*arg2
= (PyObject
*) 0 ;
37710 wxGBPosition
*arg3
= 0 ;
37711 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37712 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37713 int arg5
= (int) 0 ;
37714 int arg6
= (int) 0 ;
37715 PyObject
*arg7
= (PyObject
*) NULL
;
37717 wxGBPosition temp3
;
37719 PyObject
* obj0
= 0 ;
37720 PyObject
* obj1
= 0 ;
37721 PyObject
* obj2
= 0 ;
37722 PyObject
* obj3
= 0 ;
37723 PyObject
* obj4
= 0 ;
37724 PyObject
* obj5
= 0 ;
37725 PyObject
* obj6
= 0 ;
37726 char *kwnames
[] = {
37727 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37736 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37741 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37745 arg5
= (int) SWIG_AsInt(obj4
);
37746 if (PyErr_Occurred()) SWIG_fail
;
37749 arg6
= (int) SWIG_AsInt(obj5
);
37750 if (PyErr_Occurred()) SWIG_fail
;
37756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37757 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37759 wxPyEndAllowThreads(__tstate
);
37760 if (PyErr_Occurred()) SWIG_fail
;
37763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37771 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37772 PyObject
*resultobj
;
37773 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37774 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37776 PyObject
* obj0
= 0 ;
37777 PyObject
* obj1
= 0 ;
37778 char *kwnames
[] = {
37779 (char *) "self",(char *) "item", NULL
37782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37789 result
= (bool)(arg1
)->Add(arg2
);
37791 wxPyEndAllowThreads(__tstate
);
37792 if (PyErr_Occurred()) SWIG_fail
;
37795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37803 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37804 PyObject
*resultobj
;
37805 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37807 PyObject
* obj0
= 0 ;
37808 char *kwnames
[] = {
37809 (char *) "self", NULL
37812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37817 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37819 wxPyEndAllowThreads(__tstate
);
37820 if (PyErr_Occurred()) SWIG_fail
;
37823 wxSize
* resultptr
;
37824 resultptr
= new wxSize((wxSize
&) result
);
37825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37833 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37834 PyObject
*resultobj
;
37835 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37838 PyObject
* obj0
= 0 ;
37839 PyObject
* obj1
= 0 ;
37840 char *kwnames
[] = {
37841 (char *) "self",(char *) "sz", NULL
37844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37849 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37853 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37855 wxPyEndAllowThreads(__tstate
);
37856 if (PyErr_Occurred()) SWIG_fail
;
37858 Py_INCREF(Py_None
); resultobj
= Py_None
;
37865 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37866 PyObject
*resultobj
;
37867 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37868 wxWindow
*arg2
= (wxWindow
*) 0 ;
37869 wxGBPosition result
;
37870 PyObject
* obj0
= 0 ;
37871 PyObject
* obj1
= 0 ;
37873 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37880 result
= (arg1
)->GetItemPosition(arg2
);
37882 wxPyEndAllowThreads(__tstate
);
37883 if (PyErr_Occurred()) SWIG_fail
;
37886 wxGBPosition
* resultptr
;
37887 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37896 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37897 PyObject
*resultobj
;
37898 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37899 wxSizer
*arg2
= (wxSizer
*) 0 ;
37900 wxGBPosition result
;
37901 PyObject
* obj0
= 0 ;
37902 PyObject
* obj1
= 0 ;
37904 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37911 result
= (arg1
)->GetItemPosition(arg2
);
37913 wxPyEndAllowThreads(__tstate
);
37914 if (PyErr_Occurred()) SWIG_fail
;
37917 wxGBPosition
* resultptr
;
37918 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37927 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37928 PyObject
*resultobj
;
37929 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37931 wxGBPosition result
;
37932 PyObject
* obj0
= 0 ;
37933 PyObject
* obj1
= 0 ;
37935 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37938 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37939 if (PyErr_Occurred()) SWIG_fail
;
37941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37942 result
= (arg1
)->GetItemPosition(arg2
);
37944 wxPyEndAllowThreads(__tstate
);
37945 if (PyErr_Occurred()) SWIG_fail
;
37948 wxGBPosition
* resultptr
;
37949 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37958 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37963 argc
= PyObject_Length(args
);
37964 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37965 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37971 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37981 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37989 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37997 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38007 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38015 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38023 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38031 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38033 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38038 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38043 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38044 PyObject
*resultobj
;
38045 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38046 wxWindow
*arg2
= (wxWindow
*) 0 ;
38047 wxGBPosition
*arg3
= 0 ;
38049 wxGBPosition temp3
;
38050 PyObject
* obj0
= 0 ;
38051 PyObject
* obj1
= 0 ;
38052 PyObject
* obj2
= 0 ;
38054 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38061 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38065 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38067 wxPyEndAllowThreads(__tstate
);
38068 if (PyErr_Occurred()) SWIG_fail
;
38071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38079 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38080 PyObject
*resultobj
;
38081 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38082 wxSizer
*arg2
= (wxSizer
*) 0 ;
38083 wxGBPosition
*arg3
= 0 ;
38085 wxGBPosition temp3
;
38086 PyObject
* obj0
= 0 ;
38087 PyObject
* obj1
= 0 ;
38088 PyObject
* obj2
= 0 ;
38090 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38097 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38101 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38103 wxPyEndAllowThreads(__tstate
);
38104 if (PyErr_Occurred()) SWIG_fail
;
38107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38115 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38116 PyObject
*resultobj
;
38117 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38119 wxGBPosition
*arg3
= 0 ;
38121 wxGBPosition temp3
;
38122 PyObject
* obj0
= 0 ;
38123 PyObject
* obj1
= 0 ;
38124 PyObject
* obj2
= 0 ;
38126 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38129 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38130 if (PyErr_Occurred()) SWIG_fail
;
38133 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38137 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38139 wxPyEndAllowThreads(__tstate
);
38140 if (PyErr_Occurred()) SWIG_fail
;
38143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38151 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38156 argc
= PyObject_Length(args
);
38157 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38158 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38164 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38174 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38183 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38186 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38195 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38205 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38214 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38217 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38226 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38234 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38237 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38240 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38246 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38251 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38252 PyObject
*resultobj
;
38253 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38254 wxWindow
*arg2
= (wxWindow
*) 0 ;
38256 PyObject
* obj0
= 0 ;
38257 PyObject
* obj1
= 0 ;
38259 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38266 result
= (arg1
)->GetItemSpan(arg2
);
38268 wxPyEndAllowThreads(__tstate
);
38269 if (PyErr_Occurred()) SWIG_fail
;
38272 wxGBSpan
* resultptr
;
38273 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38282 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38283 PyObject
*resultobj
;
38284 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38285 wxSizer
*arg2
= (wxSizer
*) 0 ;
38287 PyObject
* obj0
= 0 ;
38288 PyObject
* obj1
= 0 ;
38290 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38297 result
= (arg1
)->GetItemSpan(arg2
);
38299 wxPyEndAllowThreads(__tstate
);
38300 if (PyErr_Occurred()) SWIG_fail
;
38303 wxGBSpan
* resultptr
;
38304 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38313 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38314 PyObject
*resultobj
;
38315 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38318 PyObject
* obj0
= 0 ;
38319 PyObject
* obj1
= 0 ;
38321 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38324 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38325 if (PyErr_Occurred()) SWIG_fail
;
38327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38328 result
= (arg1
)->GetItemSpan(arg2
);
38330 wxPyEndAllowThreads(__tstate
);
38331 if (PyErr_Occurred()) SWIG_fail
;
38334 wxGBSpan
* resultptr
;
38335 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38344 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38349 argc
= PyObject_Length(args
);
38350 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38351 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38357 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38367 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38375 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38383 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38393 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38401 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38409 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38417 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38419 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38424 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38429 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38430 PyObject
*resultobj
;
38431 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38432 wxWindow
*arg2
= (wxWindow
*) 0 ;
38433 wxGBSpan
*arg3
= 0 ;
38436 PyObject
* obj0
= 0 ;
38437 PyObject
* obj1
= 0 ;
38438 PyObject
* obj2
= 0 ;
38440 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38447 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38451 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38453 wxPyEndAllowThreads(__tstate
);
38454 if (PyErr_Occurred()) SWIG_fail
;
38457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38465 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38466 PyObject
*resultobj
;
38467 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38468 wxSizer
*arg2
= (wxSizer
*) 0 ;
38469 wxGBSpan
*arg3
= 0 ;
38472 PyObject
* obj0
= 0 ;
38473 PyObject
* obj1
= 0 ;
38474 PyObject
* obj2
= 0 ;
38476 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38483 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38487 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38489 wxPyEndAllowThreads(__tstate
);
38490 if (PyErr_Occurred()) SWIG_fail
;
38493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38501 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38502 PyObject
*resultobj
;
38503 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38505 wxGBSpan
*arg3
= 0 ;
38508 PyObject
* obj0
= 0 ;
38509 PyObject
* obj1
= 0 ;
38510 PyObject
* obj2
= 0 ;
38512 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38515 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38516 if (PyErr_Occurred()) SWIG_fail
;
38519 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38523 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38525 wxPyEndAllowThreads(__tstate
);
38526 if (PyErr_Occurred()) SWIG_fail
;
38529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38537 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38542 argc
= PyObject_Length(args
);
38543 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38544 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38550 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38560 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38569 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38572 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38581 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38591 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38600 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38603 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38612 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38620 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38623 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38626 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38632 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38637 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38638 PyObject
*resultobj
;
38639 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38640 wxWindow
*arg2
= (wxWindow
*) 0 ;
38641 wxGBSizerItem
*result
;
38642 PyObject
* obj0
= 0 ;
38643 PyObject
* obj1
= 0 ;
38645 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38652 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38654 wxPyEndAllowThreads(__tstate
);
38655 if (PyErr_Occurred()) SWIG_fail
;
38657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38664 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38665 PyObject
*resultobj
;
38666 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38667 wxSizer
*arg2
= (wxSizer
*) 0 ;
38668 wxGBSizerItem
*result
;
38669 PyObject
* obj0
= 0 ;
38670 PyObject
* obj1
= 0 ;
38672 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38679 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38681 wxPyEndAllowThreads(__tstate
);
38682 if (PyErr_Occurred()) SWIG_fail
;
38684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38691 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38696 argc
= PyObject_Length(args
);
38697 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38698 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38704 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38714 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38722 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38730 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38740 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38748 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38753 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38758 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38759 PyObject
*resultobj
;
38760 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38761 wxGBPosition
*arg2
= 0 ;
38762 wxGBSizerItem
*result
;
38763 wxGBPosition temp2
;
38764 PyObject
* obj0
= 0 ;
38765 PyObject
* obj1
= 0 ;
38766 char *kwnames
[] = {
38767 (char *) "self",(char *) "pos", NULL
38770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38775 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38779 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38781 wxPyEndAllowThreads(__tstate
);
38782 if (PyErr_Occurred()) SWIG_fail
;
38784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38791 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38792 PyObject
*resultobj
;
38793 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38794 wxPoint
*arg2
= 0 ;
38795 wxGBSizerItem
*result
;
38797 PyObject
* obj0
= 0 ;
38798 PyObject
* obj1
= 0 ;
38799 char *kwnames
[] = {
38800 (char *) "self",(char *) "pt", NULL
38803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38808 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38812 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38814 wxPyEndAllowThreads(__tstate
);
38815 if (PyErr_Occurred()) SWIG_fail
;
38817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38824 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38825 PyObject
*resultobj
;
38826 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38827 wxObject
*arg2
= (wxObject
*) 0 ;
38828 wxGBSizerItem
*result
;
38829 PyObject
* obj0
= 0 ;
38830 PyObject
* obj1
= 0 ;
38831 char *kwnames
[] = {
38832 (char *) "self",(char *) "userData", NULL
38835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
38836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
38839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38842 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
38844 wxPyEndAllowThreads(__tstate
);
38845 if (PyErr_Occurred()) SWIG_fail
;
38847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38854 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38855 PyObject
*resultobj
;
38856 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38857 PyObject
* obj0
= 0 ;
38858 char *kwnames
[] = {
38859 (char *) "self", NULL
38862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38867 (arg1
)->RecalcSizes();
38869 wxPyEndAllowThreads(__tstate
);
38870 if (PyErr_Occurred()) SWIG_fail
;
38872 Py_INCREF(Py_None
); resultobj
= Py_None
;
38879 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38880 PyObject
*resultobj
;
38881 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38883 PyObject
* obj0
= 0 ;
38884 char *kwnames
[] = {
38885 (char *) "self", NULL
38888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38893 result
= (arg1
)->CalcMin();
38895 wxPyEndAllowThreads(__tstate
);
38896 if (PyErr_Occurred()) SWIG_fail
;
38899 wxSize
* resultptr
;
38900 resultptr
= new wxSize((wxSize
&) result
);
38901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38909 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
38910 PyObject
*resultobj
;
38911 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38912 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38913 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38915 PyObject
* obj0
= 0 ;
38916 PyObject
* obj1
= 0 ;
38917 PyObject
* obj2
= 0 ;
38919 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
38920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38925 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38930 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38932 wxPyEndAllowThreads(__tstate
);
38933 if (PyErr_Occurred()) SWIG_fail
;
38936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38944 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
38945 PyObject
*resultobj
;
38946 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38947 wxGBPosition
*arg2
= 0 ;
38948 wxGBSpan
*arg3
= 0 ;
38949 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38951 wxGBPosition temp2
;
38953 PyObject
* obj0
= 0 ;
38954 PyObject
* obj1
= 0 ;
38955 PyObject
* obj2
= 0 ;
38956 PyObject
* obj3
= 0 ;
38958 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38963 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38967 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38970 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38975 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38977 wxPyEndAllowThreads(__tstate
);
38978 if (PyErr_Occurred()) SWIG_fail
;
38981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38989 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
38994 argc
= PyObject_Length(args
);
38995 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
38996 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38998 if ((argc
>= 2) && (argc
<= 3)) {
39002 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39012 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39021 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39025 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39033 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39038 if ((argc
>= 3) && (argc
<= 4)) {
39042 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39051 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39055 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39059 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39063 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39071 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39078 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39083 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39086 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39088 return Py_BuildValue((char *)"");
39090 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39091 PyObject
*resultobj
;
39092 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39094 wxWindow
*arg3
= (wxWindow
*) 0 ;
39096 int arg5
= (int) 0 ;
39097 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39098 PyObject
* obj0
= 0 ;
39099 PyObject
* obj1
= 0 ;
39100 PyObject
* obj2
= 0 ;
39101 PyObject
* obj3
= 0 ;
39102 PyObject
* obj4
= 0 ;
39103 PyObject
* obj5
= 0 ;
39104 char *kwnames
[] = {
39105 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39111 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39112 if (PyErr_Occurred()) SWIG_fail
;
39113 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39115 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39116 if (PyErr_Occurred()) SWIG_fail
;
39118 arg5
= (int) SWIG_AsInt(obj4
);
39119 if (PyErr_Occurred()) SWIG_fail
;
39122 arg6
= (int) SWIG_AsInt(obj5
);
39123 if (PyErr_Occurred()) SWIG_fail
;
39126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39127 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39129 wxPyEndAllowThreads(__tstate
);
39130 if (PyErr_Occurred()) SWIG_fail
;
39132 Py_INCREF(Py_None
); resultobj
= Py_None
;
39139 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39140 PyObject
*resultobj
;
39141 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39142 wxWindow
*arg2
= (wxWindow
*) 0 ;
39143 int arg3
= (int) 0 ;
39144 PyObject
* obj0
= 0 ;
39145 PyObject
* obj1
= 0 ;
39146 PyObject
* obj2
= 0 ;
39147 char *kwnames
[] = {
39148 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39157 arg3
= (int) SWIG_AsInt(obj2
);
39158 if (PyErr_Occurred()) SWIG_fail
;
39161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39162 (arg1
)->LeftOf(arg2
,arg3
);
39164 wxPyEndAllowThreads(__tstate
);
39165 if (PyErr_Occurred()) SWIG_fail
;
39167 Py_INCREF(Py_None
); resultobj
= Py_None
;
39174 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39175 PyObject
*resultobj
;
39176 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39177 wxWindow
*arg2
= (wxWindow
*) 0 ;
39178 int arg3
= (int) 0 ;
39179 PyObject
* obj0
= 0 ;
39180 PyObject
* obj1
= 0 ;
39181 PyObject
* obj2
= 0 ;
39182 char *kwnames
[] = {
39183 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39192 arg3
= (int) SWIG_AsInt(obj2
);
39193 if (PyErr_Occurred()) SWIG_fail
;
39196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39197 (arg1
)->RightOf(arg2
,arg3
);
39199 wxPyEndAllowThreads(__tstate
);
39200 if (PyErr_Occurred()) SWIG_fail
;
39202 Py_INCREF(Py_None
); resultobj
= Py_None
;
39209 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39210 PyObject
*resultobj
;
39211 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39212 wxWindow
*arg2
= (wxWindow
*) 0 ;
39213 int arg3
= (int) 0 ;
39214 PyObject
* obj0
= 0 ;
39215 PyObject
* obj1
= 0 ;
39216 PyObject
* obj2
= 0 ;
39217 char *kwnames
[] = {
39218 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39227 arg3
= (int) SWIG_AsInt(obj2
);
39228 if (PyErr_Occurred()) SWIG_fail
;
39231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39232 (arg1
)->Above(arg2
,arg3
);
39234 wxPyEndAllowThreads(__tstate
);
39235 if (PyErr_Occurred()) SWIG_fail
;
39237 Py_INCREF(Py_None
); resultobj
= Py_None
;
39244 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39245 PyObject
*resultobj
;
39246 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39247 wxWindow
*arg2
= (wxWindow
*) 0 ;
39248 int arg3
= (int) 0 ;
39249 PyObject
* obj0
= 0 ;
39250 PyObject
* obj1
= 0 ;
39251 PyObject
* obj2
= 0 ;
39252 char *kwnames
[] = {
39253 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39262 arg3
= (int) SWIG_AsInt(obj2
);
39263 if (PyErr_Occurred()) SWIG_fail
;
39266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39267 (arg1
)->Below(arg2
,arg3
);
39269 wxPyEndAllowThreads(__tstate
);
39270 if (PyErr_Occurred()) SWIG_fail
;
39272 Py_INCREF(Py_None
); resultobj
= Py_None
;
39279 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39280 PyObject
*resultobj
;
39281 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39282 wxWindow
*arg2
= (wxWindow
*) 0 ;
39284 int arg4
= (int) 0 ;
39285 PyObject
* obj0
= 0 ;
39286 PyObject
* obj1
= 0 ;
39287 PyObject
* obj2
= 0 ;
39288 PyObject
* obj3
= 0 ;
39289 char *kwnames
[] = {
39290 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39298 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39299 if (PyErr_Occurred()) SWIG_fail
;
39301 arg4
= (int) SWIG_AsInt(obj3
);
39302 if (PyErr_Occurred()) SWIG_fail
;
39305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39306 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39308 wxPyEndAllowThreads(__tstate
);
39309 if (PyErr_Occurred()) SWIG_fail
;
39311 Py_INCREF(Py_None
); resultobj
= Py_None
;
39318 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39319 PyObject
*resultobj
;
39320 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39321 wxWindow
*arg2
= (wxWindow
*) 0 ;
39324 PyObject
* obj0
= 0 ;
39325 PyObject
* obj1
= 0 ;
39326 PyObject
* obj2
= 0 ;
39327 PyObject
* obj3
= 0 ;
39328 char *kwnames
[] = {
39329 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39337 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39338 if (PyErr_Occurred()) SWIG_fail
;
39339 arg4
= (int) SWIG_AsInt(obj3
);
39340 if (PyErr_Occurred()) SWIG_fail
;
39342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39343 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39345 wxPyEndAllowThreads(__tstate
);
39346 if (PyErr_Occurred()) SWIG_fail
;
39348 Py_INCREF(Py_None
); resultobj
= Py_None
;
39355 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39356 PyObject
*resultobj
;
39357 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39359 PyObject
* obj0
= 0 ;
39360 PyObject
* obj1
= 0 ;
39361 char *kwnames
[] = {
39362 (char *) "self",(char *) "val", NULL
39365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39368 arg2
= (int) SWIG_AsInt(obj1
);
39369 if (PyErr_Occurred()) SWIG_fail
;
39371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39372 (arg1
)->Absolute(arg2
);
39374 wxPyEndAllowThreads(__tstate
);
39375 if (PyErr_Occurred()) SWIG_fail
;
39377 Py_INCREF(Py_None
); resultobj
= Py_None
;
39384 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39385 PyObject
*resultobj
;
39386 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39387 PyObject
* obj0
= 0 ;
39388 char *kwnames
[] = {
39389 (char *) "self", NULL
39392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39397 (arg1
)->Unconstrained();
39399 wxPyEndAllowThreads(__tstate
);
39400 if (PyErr_Occurred()) SWIG_fail
;
39402 Py_INCREF(Py_None
); resultobj
= Py_None
;
39409 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39410 PyObject
*resultobj
;
39411 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39412 PyObject
* obj0
= 0 ;
39413 char *kwnames
[] = {
39414 (char *) "self", NULL
39417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39424 wxPyEndAllowThreads(__tstate
);
39425 if (PyErr_Occurred()) SWIG_fail
;
39427 Py_INCREF(Py_None
); resultobj
= Py_None
;
39434 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39435 PyObject
*resultobj
;
39436 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39438 PyObject
* obj0
= 0 ;
39439 char *kwnames
[] = {
39440 (char *) "self", NULL
39443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39448 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39450 wxPyEndAllowThreads(__tstate
);
39451 if (PyErr_Occurred()) SWIG_fail
;
39454 resultobj
= wxPyMake_wxObject(result
);
39462 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39463 PyObject
*resultobj
;
39464 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39466 PyObject
* obj0
= 0 ;
39467 char *kwnames
[] = {
39468 (char *) "self", NULL
39471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39476 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39478 wxPyEndAllowThreads(__tstate
);
39479 if (PyErr_Occurred()) SWIG_fail
;
39481 resultobj
= SWIG_FromInt((int)result
);
39488 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39489 PyObject
*resultobj
;
39490 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39492 PyObject
* obj0
= 0 ;
39493 PyObject
* obj1
= 0 ;
39494 char *kwnames
[] = {
39495 (char *) "self",(char *) "which", NULL
39498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39501 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39502 if (PyErr_Occurred()) SWIG_fail
;
39504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39505 (arg1
)->SetEdge((wxEdge
)arg2
);
39507 wxPyEndAllowThreads(__tstate
);
39508 if (PyErr_Occurred()) SWIG_fail
;
39510 Py_INCREF(Py_None
); resultobj
= Py_None
;
39517 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39518 PyObject
*resultobj
;
39519 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39521 PyObject
* obj0
= 0 ;
39522 PyObject
* obj1
= 0 ;
39523 char *kwnames
[] = {
39524 (char *) "self",(char *) "v", NULL
39527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39530 arg2
= (int) SWIG_AsInt(obj1
);
39531 if (PyErr_Occurred()) SWIG_fail
;
39533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39534 (arg1
)->SetValue(arg2
);
39536 wxPyEndAllowThreads(__tstate
);
39537 if (PyErr_Occurred()) SWIG_fail
;
39539 Py_INCREF(Py_None
); resultobj
= Py_None
;
39546 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39547 PyObject
*resultobj
;
39548 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39550 PyObject
* obj0
= 0 ;
39551 char *kwnames
[] = {
39552 (char *) "self", NULL
39555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39560 result
= (int)(arg1
)->GetMargin();
39562 wxPyEndAllowThreads(__tstate
);
39563 if (PyErr_Occurred()) SWIG_fail
;
39565 resultobj
= SWIG_FromInt((int)result
);
39572 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39573 PyObject
*resultobj
;
39574 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39576 PyObject
* obj0
= 0 ;
39577 PyObject
* obj1
= 0 ;
39578 char *kwnames
[] = {
39579 (char *) "self",(char *) "m", NULL
39582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39585 arg2
= (int) SWIG_AsInt(obj1
);
39586 if (PyErr_Occurred()) SWIG_fail
;
39588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39589 (arg1
)->SetMargin(arg2
);
39591 wxPyEndAllowThreads(__tstate
);
39592 if (PyErr_Occurred()) SWIG_fail
;
39594 Py_INCREF(Py_None
); resultobj
= Py_None
;
39601 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39602 PyObject
*resultobj
;
39603 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39605 PyObject
* obj0
= 0 ;
39606 char *kwnames
[] = {
39607 (char *) "self", NULL
39610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39615 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39617 wxPyEndAllowThreads(__tstate
);
39618 if (PyErr_Occurred()) SWIG_fail
;
39620 resultobj
= SWIG_FromInt((int)result
);
39627 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39628 PyObject
*resultobj
;
39629 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39631 PyObject
* obj0
= 0 ;
39632 char *kwnames
[] = {
39633 (char *) "self", NULL
39636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39641 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39643 wxPyEndAllowThreads(__tstate
);
39644 if (PyErr_Occurred()) SWIG_fail
;
39646 resultobj
= SWIG_FromInt((int)result
);
39653 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39654 PyObject
*resultobj
;
39655 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39657 PyObject
* obj0
= 0 ;
39658 char *kwnames
[] = {
39659 (char *) "self", NULL
39662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39667 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39669 wxPyEndAllowThreads(__tstate
);
39670 if (PyErr_Occurred()) SWIG_fail
;
39672 resultobj
= SWIG_FromInt((int)result
);
39679 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39680 PyObject
*resultobj
;
39681 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39683 PyObject
* obj0
= 0 ;
39684 char *kwnames
[] = {
39685 (char *) "self", NULL
39688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39693 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39695 wxPyEndAllowThreads(__tstate
);
39696 if (PyErr_Occurred()) SWIG_fail
;
39699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39707 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39708 PyObject
*resultobj
;
39709 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39711 PyObject
* obj0
= 0 ;
39712 PyObject
* obj1
= 0 ;
39713 char *kwnames
[] = {
39714 (char *) "self",(char *) "d", NULL
39717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39720 arg2
= (bool) SWIG_AsBool(obj1
);
39721 if (PyErr_Occurred()) SWIG_fail
;
39723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39724 (arg1
)->SetDone(arg2
);
39726 wxPyEndAllowThreads(__tstate
);
39727 if (PyErr_Occurred()) SWIG_fail
;
39729 Py_INCREF(Py_None
); resultobj
= Py_None
;
39736 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39737 PyObject
*resultobj
;
39738 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39740 PyObject
* obj0
= 0 ;
39741 char *kwnames
[] = {
39742 (char *) "self", NULL
39745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39750 result
= (int)(arg1
)->GetRelationship();
39752 wxPyEndAllowThreads(__tstate
);
39753 if (PyErr_Occurred()) SWIG_fail
;
39755 resultobj
= SWIG_FromInt((int)result
);
39762 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39763 PyObject
*resultobj
;
39764 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39766 PyObject
* obj0
= 0 ;
39767 PyObject
* obj1
= 0 ;
39768 char *kwnames
[] = {
39769 (char *) "self",(char *) "r", NULL
39772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39775 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39776 if (PyErr_Occurred()) SWIG_fail
;
39778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39779 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39781 wxPyEndAllowThreads(__tstate
);
39782 if (PyErr_Occurred()) SWIG_fail
;
39784 Py_INCREF(Py_None
); resultobj
= Py_None
;
39791 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39792 PyObject
*resultobj
;
39793 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39794 wxWindow
*arg2
= (wxWindow
*) 0 ;
39796 PyObject
* obj0
= 0 ;
39797 PyObject
* obj1
= 0 ;
39798 char *kwnames
[] = {
39799 (char *) "self",(char *) "otherW", NULL
39802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39809 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39811 wxPyEndAllowThreads(__tstate
);
39812 if (PyErr_Occurred()) SWIG_fail
;
39815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39823 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39824 PyObject
*resultobj
;
39825 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39826 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39827 wxWindow
*arg3
= (wxWindow
*) 0 ;
39829 PyObject
* obj0
= 0 ;
39830 PyObject
* obj1
= 0 ;
39831 PyObject
* obj2
= 0 ;
39832 char *kwnames
[] = {
39833 (char *) "self",(char *) "constraints",(char *) "win", NULL
39836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39841 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39845 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39847 wxPyEndAllowThreads(__tstate
);
39848 if (PyErr_Occurred()) SWIG_fail
;
39851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39859 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39860 PyObject
*resultobj
;
39861 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39863 wxWindow
*arg3
= (wxWindow
*) 0 ;
39864 wxWindow
*arg4
= (wxWindow
*) 0 ;
39866 PyObject
* obj0
= 0 ;
39867 PyObject
* obj1
= 0 ;
39868 PyObject
* obj2
= 0 ;
39869 PyObject
* obj3
= 0 ;
39870 char *kwnames
[] = {
39871 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39877 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39878 if (PyErr_Occurred()) SWIG_fail
;
39879 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39881 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39885 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39887 wxPyEndAllowThreads(__tstate
);
39888 if (PyErr_Occurred()) SWIG_fail
;
39890 resultobj
= SWIG_FromInt((int)result
);
39897 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39900 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39902 return Py_BuildValue((char *)"");
39904 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39905 PyObject
*resultobj
;
39906 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39907 wxIndividualLayoutConstraint
*result
;
39908 PyObject
* obj0
= 0 ;
39909 char *kwnames
[] = {
39910 (char *) "self", NULL
39913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39916 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39925 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39926 PyObject
*resultobj
;
39927 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39928 wxIndividualLayoutConstraint
*result
;
39929 PyObject
* obj0
= 0 ;
39930 char *kwnames
[] = {
39931 (char *) "self", NULL
39934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39937 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39946 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
;
39948 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39949 wxIndividualLayoutConstraint
*result
;
39950 PyObject
* obj0
= 0 ;
39951 char *kwnames
[] = {
39952 (char *) "self", NULL
39955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39958 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39967 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39968 PyObject
*resultobj
;
39969 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39970 wxIndividualLayoutConstraint
*result
;
39971 PyObject
* obj0
= 0 ;
39972 char *kwnames
[] = {
39973 (char *) "self", NULL
39976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39979 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39988 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39989 PyObject
*resultobj
;
39990 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39991 wxIndividualLayoutConstraint
*result
;
39992 PyObject
* obj0
= 0 ;
39993 char *kwnames
[] = {
39994 (char *) "self", NULL
39997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40000 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40009 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40010 PyObject
*resultobj
;
40011 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40012 wxIndividualLayoutConstraint
*result
;
40013 PyObject
* obj0
= 0 ;
40014 char *kwnames
[] = {
40015 (char *) "self", NULL
40018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40021 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40030 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40031 PyObject
*resultobj
;
40032 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40033 wxIndividualLayoutConstraint
*result
;
40034 PyObject
* obj0
= 0 ;
40035 char *kwnames
[] = {
40036 (char *) "self", NULL
40039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40042 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40051 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40052 PyObject
*resultobj
;
40053 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40054 wxIndividualLayoutConstraint
*result
;
40055 PyObject
* obj0
= 0 ;
40056 char *kwnames
[] = {
40057 (char *) "self", NULL
40060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40063 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40072 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40073 PyObject
*resultobj
;
40074 wxLayoutConstraints
*result
;
40075 char *kwnames
[] = {
40079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40082 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40084 wxPyEndAllowThreads(__tstate
);
40085 if (PyErr_Occurred()) SWIG_fail
;
40087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40094 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40095 PyObject
*resultobj
;
40096 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40097 wxWindow
*arg2
= (wxWindow
*) 0 ;
40098 int *arg3
= (int *) 0 ;
40101 PyObject
* obj0
= 0 ;
40102 PyObject
* obj1
= 0 ;
40103 char *kwnames
[] = {
40104 (char *) "self",(char *) "win", NULL
40108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40115 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40117 wxPyEndAllowThreads(__tstate
);
40118 if (PyErr_Occurred()) SWIG_fail
;
40121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40124 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40125 resultobj
= t_output_helper(resultobj
,o
);
40133 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40134 PyObject
*resultobj
;
40135 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40137 PyObject
* obj0
= 0 ;
40138 char *kwnames
[] = {
40139 (char *) "self", NULL
40142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40147 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40149 wxPyEndAllowThreads(__tstate
);
40150 if (PyErr_Occurred()) SWIG_fail
;
40153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40161 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40164 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40166 return Py_BuildValue((char *)"");
40168 static PyMethodDef SwigMethods
[] = {
40169 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40170 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40171 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40172 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40173 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40174 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40176 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40183 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40195 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40208 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40219 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40223 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40225 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40237 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40239 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40274 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40276 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40302 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40320 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40322 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40330 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40331 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40343 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40345 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40354 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40359 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40365 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40375 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40385 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40389 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40431 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40460 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40462 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40464 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40466 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40468 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40470 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40471 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40472 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40474 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40476 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40477 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40478 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40480 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40482 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40496 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40514 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40517 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40520 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40532 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40537 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40543 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40549 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40611 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40618 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40653 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40663 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40673 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40675 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40677 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40680 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40684 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40687 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40690 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40692 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40697 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40705 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40709 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40712 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40714 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40718 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40735 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40737 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40740 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40742 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40746 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40750 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40758 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40761 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40764 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40768 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40775 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40780 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40785 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40829 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40844 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40848 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40858 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
40907 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
40908 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41015 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41053 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41067 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41070 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41125 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41152 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41182 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41190 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41207 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41208 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41243 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41273 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41276 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41282 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41287 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41299 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41313 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41323 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41333 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41342 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41346 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41352 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41353 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41354 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41355 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41356 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41362 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41363 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41390 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41406 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41408 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41409 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41411 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41412 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41414 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41415 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41417 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41418 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41420 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41421 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41423 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41424 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41426 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41427 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41429 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41430 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41432 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41433 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41435 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41436 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41438 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41439 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41441 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41442 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41444 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41445 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41447 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41448 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41450 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41451 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41453 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41454 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41456 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41457 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41459 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41460 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41462 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41463 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41465 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41468 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41469 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41471 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41472 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41474 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41475 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41477 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41478 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41480 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41481 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41483 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41484 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41486 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41487 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41489 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41490 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41492 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41493 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41495 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41496 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41498 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41499 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41501 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41502 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41504 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41505 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41507 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41508 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41510 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41511 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41513 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41514 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41516 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41517 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41519 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41520 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41522 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41523 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41525 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41526 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41528 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41529 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41531 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41532 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41534 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41535 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41537 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41538 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41540 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41541 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41543 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41544 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41546 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41547 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41549 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41550 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41552 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41553 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41555 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41556 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41558 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41561 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41562 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41564 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41565 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41567 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41568 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41570 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41571 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41573 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41574 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41576 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41577 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41579 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41580 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41582 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41583 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41585 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41586 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41588 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41589 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41591 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41592 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41594 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41595 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41597 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41598 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41600 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41601 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41603 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41604 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41606 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41607 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41609 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41610 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41612 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41613 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41615 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41616 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41618 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41619 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41621 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41622 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41624 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41625 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41627 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41628 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41630 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41631 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41633 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41634 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41636 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41637 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41639 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41640 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41642 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41643 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41645 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41646 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41648 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41649 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41651 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41652 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41654 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41655 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41657 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41658 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41660 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41663 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41666 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41667 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41669 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41670 return (void *)((wxObject
*) ((wxSizer
*) x
));
41672 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41673 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41675 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41676 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41678 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41679 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41681 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41682 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41684 static void *_p_wxImageTo_p_wxObject(void *x
) {
41685 return (void *)((wxObject
*) ((wxImage
*) x
));
41687 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41688 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41690 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41693 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41694 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41696 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41697 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41699 static void *_p_wxControlTo_p_wxObject(void *x
) {
41700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41702 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41703 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41705 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41706 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41708 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41709 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41711 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41712 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41714 static void *_p_wxEventTo_p_wxObject(void *x
) {
41715 return (void *)((wxObject
*) ((wxEvent
*) x
));
41717 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41718 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41720 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41721 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41723 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41724 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41726 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41727 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41729 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41730 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41732 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41733 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41735 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41738 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41739 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41741 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41744 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41745 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41747 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41748 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41750 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41751 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41753 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41754 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41756 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41757 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41759 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41760 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41762 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41763 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41765 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41766 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41768 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41769 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41771 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41772 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41774 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41775 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41777 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41778 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41780 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41781 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41783 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41784 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41786 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41787 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41789 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41790 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41792 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41793 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41795 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41796 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41798 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41799 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41801 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41802 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41804 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41805 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41807 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41808 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41810 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41811 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41813 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41814 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41816 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41817 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41819 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41820 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41822 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41823 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41825 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41826 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41828 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41829 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41831 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41832 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41834 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41835 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41837 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41838 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41840 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41841 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41843 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41846 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41847 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41849 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41850 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41852 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41853 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41855 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41856 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41858 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41859 return (void *)((wxWindow
*) ((wxControl
*) x
));
41861 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41862 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41864 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41865 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41867 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41868 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41870 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41871 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41873 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41874 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41876 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41877 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41879 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41880 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41882 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41883 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41885 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41886 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41888 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41889 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41891 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41892 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41894 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}};
41895 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}};
41896 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}};
41897 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}};
41898 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}};
41899 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}};
41900 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}};
41901 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}};
41902 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}};
41903 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}};
41904 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}};
41905 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}};
41906 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}};
41907 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}};
41908 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}};
41909 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}};
41910 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}};
41911 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}};
41912 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}};
41913 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}};
41914 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}};
41915 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}};
41916 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}};
41917 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}};
41918 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}};
41919 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}};
41920 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}};
41921 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}};
41922 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}};
41923 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}};
41924 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}};
41925 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}};
41926 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}};
41927 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}};
41928 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}};
41929 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}};
41930 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}};
41931 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}};
41932 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}};
41933 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}};
41934 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}};
41935 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}};
41936 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}};
41937 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}};
41938 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}};
41939 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}};
41940 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}};
41941 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}};
41942 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}};
41943 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}};
41944 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}};
41945 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}};
41946 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}};
41947 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}};
41948 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}};
41949 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}};
41950 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}};
41951 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}};
41952 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}};
41953 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}};
41954 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}};
41955 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}};
41956 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}};
41957 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}};
41958 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}};
41959 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}};
41960 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}};
41961 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}};
41962 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}};
41963 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}};
41964 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}};
41965 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}};
41966 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}};
41967 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}};
41968 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}};
41969 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}};
41970 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}};
41971 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}};
41972 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}};
41973 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}};
41974 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}};
41975 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}};
41976 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}};
41977 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}};
41978 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}};
41979 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}};
41980 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}};
41981 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}};
41982 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}};
41983 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}};
41984 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}};
41985 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}};
41986 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}};
41987 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}};
41988 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}};
41989 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}};
41990 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}};
41991 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}};
41992 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}};
41993 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}};
41994 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}};
41995 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}};
41996 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}};
41997 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}};
41998 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}};
41999 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}};
42000 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}};
42001 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}};
42002 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}};
42003 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}};
42004 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}};
42005 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}};
42006 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}};
42007 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}};
42008 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}};
42010 static swig_type_info
*swig_types_initial
[] = {
42011 _swigt__p_wxLayoutConstraints
,
42012 _swigt__p_wxRealPoint
,
42013 _swigt__p_wxSizerItem
,
42014 _swigt__p_wxGBSizerItem
,
42015 _swigt__p_wxScrollEvent
,
42016 _swigt__p_wxIndividualLayoutConstraint
,
42018 _swigt__p_wxBoxSizer
,
42019 _swigt__p_wxStaticBoxSizer
,
42020 _swigt__p_wxGridBagSizer
,
42021 _swigt__p_wxAcceleratorEntry
,
42022 _swigt__p_wxUpdateUIEvent
,
42025 _swigt__p_wxGridSizer
,
42026 _swigt__p_wxFlexGridSizer
,
42027 _swigt__p_wxInitDialogEvent
,
42028 _swigt__p_wxItemContainer
,
42029 _swigt__p_wxNcPaintEvent
,
42030 _swigt__p_wxPaintEvent
,
42031 _swigt__p_wxSysColourChangedEvent
,
42032 _swigt__p_wxMouseCaptureChangedEvent
,
42033 _swigt__p_wxDisplayChangedEvent
,
42034 _swigt__p_wxPaletteChangedEvent
,
42035 _swigt__p_wxControl
,
42037 _swigt__p_wxMenuBarBase
,
42038 _swigt__p_wxSetCursorEvent
,
42039 _swigt__p_wxFSFile
,
42041 _swigt__p_wxRegion
,
42042 _swigt__p_wxPoint2D
,
42046 _swigt__p_wxPySizer
,
42047 _swigt__p_wxVisualAttributes
,
42048 _swigt__p_wxNotifyEvent
,
42049 _swigt__p_wxPyEvent
,
42050 _swigt__p_wxPropagationDisabler
,
42051 _swigt__p_wxAppTraits
,
42052 _swigt__p_wxArrayString
,
42053 _swigt__p_wxShowEvent
,
42054 _swigt__p_wxToolTip
,
42055 _swigt__p_wxMaximizeEvent
,
42056 _swigt__p_wxIconizeEvent
,
42057 _swigt__p_wxActivateEvent
,
42058 _swigt__p_wxMoveEvent
,
42059 _swigt__p_wxSizeEvent
,
42060 _swigt__p_wxQueryNewPaletteEvent
,
42061 _swigt__p_wxWindowCreateEvent
,
42062 _swigt__p_wxIdleEvent
,
42063 _swigt__p_wxMenuItem
,
42064 _swigt__p_wxStaticBox
,
42066 _swigt__p_wxTIFFHandler
,
42067 _swigt__p_wxXPMHandler
,
42068 _swigt__p_wxPNMHandler
,
42069 _swigt__p_wxJPEGHandler
,
42070 _swigt__p_wxPCXHandler
,
42071 _swigt__p_wxGIFHandler
,
42072 _swigt__p_wxPNGHandler
,
42073 _swigt__p_wxANIHandler
,
42074 _swigt__p_wxMemoryFSHandler
,
42075 _swigt__p_wxEvtHandler
,
42076 _swigt__p_wxCURHandler
,
42077 _swigt__p_wxICOHandler
,
42078 _swigt__p_wxBMPHandler
,
42079 _swigt__p_wxImageHandler
,
42080 _swigt__p_wxFileSystemHandler
,
42081 _swigt__p_wxPyFileSystemHandler
,
42082 _swigt__p_wxInternetFSHandler
,
42083 _swigt__p_wxZipFSHandler
,
42085 _swigt__p_wxGBSpan
,
42086 _swigt__p_wxPropagateOnce
,
42087 _swigt__p_wxAcceleratorTable
,
42089 _swigt__p_wxGBPosition
,
42092 _swigt__p_wxScrollWinEvent
,
42093 _swigt__p_wxImageHistogram
,
42096 _swigt__p_wxCursor
,
42097 _swigt__p_wxObject
,
42098 _swigt__p_wxPyInputStream
,
42099 _swigt__p_wxOutputStream
,
42100 _swigt__p_wxInputStream
,
42101 _swigt__p_wxDateTime
,
42102 _swigt__p_wxKeyEvent
,
42103 _swigt__p_wxNavigationKeyEvent
,
42104 _swigt__p_wxWindowDestroyEvent
,
42105 _swigt__p_wxWindow
,
42106 _swigt__p_wxMenuBar
,
42107 _swigt__p_wxFileSystem
,
42108 _swigt__p_wxBitmap
,
42109 _swigt__p_wxMenuEvent
,
42110 _swigt__p_wxContextMenuEvent
,
42111 _swigt__p_unsigned_char
,
42112 _swigt__p_wxCloseEvent
,
42113 _swigt__p_wxEraseEvent
,
42114 _swigt__p_wxMouseEvent
,
42116 _swigt__p_wxCommandEvent
,
42117 _swigt__p_wxPyCommandEvent
,
42118 _swigt__p_wxPyDropTarget
,
42119 _swigt__p_wxChildFocusEvent
,
42120 _swigt__p_wxFocusEvent
,
42121 _swigt__p_wxDropFilesEvent
,
42122 _swigt__p_wxControlWithItems
,
42123 _swigt__p_wxColour
,
42124 _swigt__p_wxValidator
,
42125 _swigt__p_wxPyValidator
,
42130 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42132 static swig_const_info swig_const_table
[] = {
42142 SWIGEXPORT(void) SWIG_init(void) {
42143 static PyObject
*SWIG_globals
= 0;
42144 static int typeinit
= 0;
42147 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42148 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42149 d
= PyModule_GetDict(m
);
42152 for (i
= 0; swig_types_initial
[i
]; i
++) {
42153 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42157 SWIG_InstallConstants(d
,swig_const_table
);
42160 #ifndef wxPyUSE_EXPORT
42161 // Make our API structure a CObject so other modules can import it
42162 // from this module.
42163 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42164 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42168 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42169 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42170 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42171 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42172 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42173 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42174 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42175 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42176 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42177 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42178 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42179 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42180 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42181 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42182 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42183 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42184 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42185 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42186 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42187 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42188 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42189 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42190 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42191 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42192 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42193 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42194 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42195 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42196 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42197 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42198 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42199 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42200 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42201 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42202 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42203 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42204 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42205 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42206 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42207 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42208 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42209 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42210 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42211 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42212 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42213 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42214 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42215 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42216 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42217 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42218 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42219 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42220 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42221 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42222 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42223 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42224 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42225 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42226 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42227 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42228 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42229 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42230 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42231 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42232 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42233 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42234 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42235 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42236 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42237 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42238 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42239 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42240 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42241 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42242 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42243 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42244 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42245 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42246 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42247 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42248 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42249 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42250 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42251 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42252 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42253 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42254 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42255 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42256 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42257 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42258 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42259 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42260 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42261 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42262 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42263 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42264 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42265 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42266 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42267 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42268 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42269 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42270 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42271 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42272 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42273 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42274 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42275 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42276 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42277 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42278 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42279 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42280 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42281 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42282 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42283 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42284 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42285 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42286 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42287 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42288 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42289 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42290 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42291 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42292 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42293 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42294 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42295 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42296 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42297 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42298 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42299 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42300 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42301 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42302 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42303 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42304 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42305 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42306 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42307 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42308 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42309 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42310 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42311 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42312 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42313 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42314 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42315 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42316 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42317 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42318 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42319 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42320 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42321 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42322 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42323 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42324 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42325 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42326 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42327 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42328 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42329 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42330 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42331 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42332 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42333 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42334 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42335 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42336 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42337 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42338 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42339 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42340 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42341 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42342 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42343 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42344 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42345 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42346 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42347 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42348 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42349 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42350 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42351 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42352 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42353 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42354 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42355 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42356 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42357 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42358 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42359 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42360 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42361 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42362 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42363 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42364 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42365 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42366 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42367 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42368 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42369 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42370 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42371 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42372 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42373 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42374 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42375 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42376 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42377 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42378 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42379 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42380 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42381 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42382 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42383 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42384 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42385 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42386 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42387 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42388 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42389 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42390 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42391 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42392 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42393 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42394 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42395 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42396 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42397 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42398 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42399 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42400 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42401 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42402 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42403 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42404 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42405 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42406 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42407 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42408 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42409 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42410 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42411 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42412 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42413 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42414 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42415 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42416 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42417 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42418 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42419 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42420 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42421 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42422 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42423 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42424 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42425 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42426 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42427 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42428 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42429 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42430 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42431 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42432 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42433 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42434 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42435 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42436 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42437 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42438 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42439 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42440 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42441 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42442 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42443 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42444 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42445 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42446 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42447 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42448 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42449 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42450 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42451 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42452 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42453 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42454 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42455 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42456 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42457 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42458 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42459 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42460 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42461 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42462 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42463 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42464 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42465 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42466 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42467 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42468 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42469 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42470 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42471 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42472 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42473 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42474 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42475 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42476 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42477 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42478 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42479 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42480 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42481 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42482 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42483 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42484 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42485 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42486 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42487 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42488 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42489 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42490 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42491 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42492 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42493 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42494 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42495 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42496 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42497 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42498 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42499 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42500 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42501 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42502 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42503 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42504 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42505 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42506 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42507 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42508 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42509 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42510 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42511 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42512 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42513 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42514 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42515 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42516 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42517 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42518 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42519 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42520 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42521 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42522 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42523 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42524 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42525 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42526 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42527 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42528 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42529 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42530 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42531 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42532 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42533 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42534 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42535 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42536 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42537 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42538 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42539 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42540 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42541 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42542 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42543 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42544 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42545 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42546 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42547 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42548 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42549 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42550 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42551 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42552 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42553 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42554 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42555 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42556 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42557 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42558 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42559 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42560 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42561 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42562 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42563 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42564 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42565 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42566 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42567 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42568 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42569 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42570 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42571 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42572 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42573 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42574 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42575 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42576 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42577 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42578 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42579 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42580 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42581 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42582 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42583 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42584 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42585 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42586 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42587 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42588 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42589 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42590 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42591 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42592 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42593 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42594 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42595 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42596 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42597 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42598 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42599 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42600 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42601 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42602 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42603 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42604 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42605 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42606 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42607 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42608 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42609 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42610 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42611 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42612 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42613 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42614 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42615 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42616 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42617 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42618 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42619 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42620 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42621 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42622 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42623 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42624 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42625 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42626 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42627 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42628 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42629 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42630 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42631 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42632 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42633 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42634 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42635 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42636 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42637 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42638 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42639 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42640 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42641 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42642 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42643 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42644 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42645 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42646 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42647 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42648 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42649 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42650 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42651 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42652 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42653 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42654 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42655 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42656 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42657 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42658 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42659 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42660 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42661 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42662 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42663 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42664 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42665 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42666 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42667 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42668 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42669 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42670 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42671 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42672 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42673 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42674 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42675 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42676 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42677 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42678 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42679 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42680 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42681 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42682 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42683 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42684 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42685 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42686 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42687 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42688 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42689 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42690 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42691 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42692 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42693 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42694 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42695 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42696 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42697 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42698 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42699 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42700 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42701 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42702 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42703 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42704 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42705 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42706 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42707 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42708 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42709 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42710 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42711 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42712 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42713 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42714 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42715 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42716 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42717 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42718 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42719 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42720 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42721 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42722 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42723 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42724 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42725 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42726 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42727 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42728 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42729 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42730 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42731 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42732 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42733 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42734 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42735 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42736 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42737 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42738 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42739 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42740 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42742 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42745 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42747 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42748 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42749 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42750 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42751 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42752 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42753 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42754 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42755 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42756 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42757 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42758 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42759 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42760 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42761 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42762 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42763 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42764 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42765 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42766 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42767 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42768 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42769 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42770 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42771 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42772 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42773 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42774 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42775 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42776 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42777 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42778 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42779 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42780 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42781 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42782 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42783 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42784 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42785 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42786 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42787 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42788 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42789 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42790 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42791 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42792 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42793 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42794 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42795 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42796 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42797 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42798 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42799 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42800 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42801 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42802 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42803 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42804 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42805 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42806 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42807 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42808 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42809 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42810 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42811 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42812 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42813 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42814 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42815 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42816 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42817 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42818 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42819 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42820 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42821 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42822 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42823 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42824 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42825 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42826 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42827 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42828 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42829 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42830 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42831 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42832 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42833 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42834 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42835 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42836 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42837 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42838 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42839 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42840 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42841 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42842 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42843 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42844 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42845 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42846 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42847 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42848 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42849 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42850 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42851 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42852 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42853 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42854 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42855 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42856 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42857 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42858 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42859 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42860 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42861 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42862 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42863 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42864 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42865 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42866 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42867 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42868 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42869 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42870 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42871 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42872 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42873 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42874 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42875 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42876 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42877 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42878 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42879 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42880 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42881 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42882 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42883 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42884 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42885 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42886 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42887 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42888 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42889 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42890 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42891 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42892 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42893 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42894 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42895 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42896 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42897 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42898 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42899 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42900 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42901 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
42902 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42903 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42904 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42905 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42906 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42907 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42908 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42909 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42910 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42911 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42912 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42913 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42914 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42915 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42916 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42917 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42918 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42919 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42920 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42921 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42922 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42923 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42924 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42925 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42926 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42928 // Initialize threading, some globals and such
42932 // Although these are defined in __version__ they need to be here too so
42933 // that an assert can be done to ensure that the wxPython and the wxWindows
42935 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42936 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42937 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));